modules.mk 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. define KernelPackage/linkstation-poweroff
  2. SUBMENU:=$(OTHER_MENU)
  3. DEPENDS:=@TARGET_mvebu
  4. TITLE:=Buffalo LinkStation power off driver
  5. KCONFIG:=CONFIG_POWER_RESET_LINKSTATION
  6. FILES:=$(LINUX_DIR)/drivers/power/reset/linkstation-poweroff.ko
  7. AUTOLOAD:=$(call AutoLoad,31,linkstation-poweroff,1)
  8. endef
  9. define KernelPackage/linkstation-poweroff/description
  10. This driver supports turning off some Buffalo LinkStations by
  11. setting an output pin at the ethernet PHY to the correct state.
  12. It also makes the device compatible with the WoL function.
  13. Say Y here if you have a Buffalo LinkStation LS421D/E.
  14. endef
  15. $(eval $(call KernelPackage,linkstation-poweroff))
  16. define KernelPackage/turris-omnia-mcu
  17. SUBMENU:=$(OTHER_MENU)
  18. TITLE:=CZ.NIC's Turris Omnia MCU driver
  19. DEPENDS:=@TARGET_mvebu_cortexa9
  20. KCONFIG:= \
  21. CONFIG_CZNIC_PLATFORMS=y \
  22. CONFIG_TURRIS_OMNIA_MCU \
  23. CONFIG_TURRIS_OMNIA_MCU_GPIO=y \
  24. CONFIG_TURRIS_OMNIA_MCU_SYSOFF_WAKEUP=y \
  25. CONFIG_TURRIS_OMNIA_MCU_WATCHDOG=y \
  26. CONFIG_TURRIS_OMNIA_MCU_TRNG=y
  27. FILES:=$(LINUX_DIR)/drivers/platform/cznic/turris-omnia-mcu.ko
  28. AUTOLOAD:=$(call AutoProbe,turris-omnia-mcu,1)
  29. endef
  30. define KernelPackage/turris-omnia-mcu/description
  31. This adds support for the features implemented by the microcontroller
  32. on the CZ.NIC's Turris Omnia SOHO router, including true board
  33. poweroff, the ability to configure wake up from powered off state at
  34. a specific time, MCU watchdog and MCU connected GPIO pins.
  35. endef
  36. $(eval $(call KernelPackage,turris-omnia-mcu))
  37. define KernelPackage/leds-turris-omnia
  38. SUBMENU:=$(LEDS_MENU)
  39. TITLE:=LED support for CZ.NIC's Turris Omnia
  40. DEPENDS:=@TARGET_mvebu_cortexa9
  41. KCONFIG:=CONFIG_LEDS_TURRIS_OMNIA
  42. FILES:=$(LINUX_DIR)/drivers/leds/leds-turris-omnia.ko
  43. AUTOLOAD:=$(call AutoLoad,60,leds-turris-omnia,1)
  44. endef
  45. define KernelPackage/leds-turris-omnia/description
  46. This option enables support for the LEDs of the CZ.NIC Turris Omnia.
  47. endef
  48. $(eval $(call KernelPackage,leds-turris-omnia))