2020-08-28 09:20:36 +00:00
|
|
|
define KernelPackage/linkstation-poweroff
|
|
|
|
SUBMENU:=$(OTHER_MENU)
|
|
|
|
DEPENDS:=@TARGET_mvebu
|
|
|
|
TITLE:=Buffalo LinkStation power off driver
|
2022-01-01 13:00:56 +00:00
|
|
|
KCONFIG:=CONFIG_POWER_RESET_LINKSTATION
|
2020-08-28 09:20:36 +00:00
|
|
|
FILES:=$(LINUX_DIR)/drivers/power/reset/linkstation-poweroff.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,31,linkstation-poweroff,1)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/linkstation-poweroff/description
|
|
|
|
This driver supports turning off some Buffalo LinkStations by
|
|
|
|
setting an output pin at the ethernet PHY to the correct state.
|
|
|
|
It also makes the device compatible with the WoL function.
|
|
|
|
Say Y here if you have a Buffalo LinkStation LS421D/E.
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,linkstation-poweroff))
|
2022-05-19 19:10:34 +00:00
|
|
|
|
|
|
|
|
2023-10-20 09:29:37 +00:00
|
|
|
define KernelPackage/turris-omnia-mcu
|
|
|
|
SUBMENU:=$(OTHER_MENU)
|
|
|
|
TITLE:=CZ.NIC's Turris Omnia MCU driver
|
|
|
|
DEPENDS:=@TARGET_mvebu_cortexa9
|
|
|
|
KCONFIG:= \
|
|
|
|
CONFIG_CZNIC_PLATFORMS=y \
|
|
|
|
CONFIG_TURRIS_OMNIA_MCU
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/platform/cznic/turris-omnia-mcu.ko
|
|
|
|
AUTOLOAD:=$(call AutoProbe,turris-omnia-mcu,1)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/turris-omnia-mcu/description
|
|
|
|
This adds support for the features implemented by the microcontroller
|
|
|
|
on the CZ.NIC's Turris Omnia SOHO router, including true board
|
|
|
|
poweroff, the ability to configure wake up from powered off state at
|
|
|
|
a specific time, MCU watchdog and MCU connected GPIO pins.
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,turris-omnia-mcu))
|
|
|
|
|
|
|
|
|
2022-05-19 19:10:34 +00:00
|
|
|
define KernelPackage/leds-turris-omnia
|
|
|
|
SUBMENU:=$(LEDS_MENU)
|
|
|
|
TITLE:=LED support for CZ.NIC's Turris Omnia
|
|
|
|
DEPENDS:=@TARGET_mvebu_cortexa9
|
|
|
|
KCONFIG:=CONFIG_LEDS_TURRIS_OMNIA
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/leds/leds-turris-omnia.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,60,leds-turris-omnia,1)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/leds-turris-omnia/description
|
|
|
|
This option enables support for the LEDs of the CZ.NIC Turris Omnia.
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,leds-turris-omnia))
|