From a3e6521c1a7d4c78d825833e224272ec89a38bf2 Mon Sep 17 00:00:00 2001 From: Andreas Eberlein Date: Tue, 23 Jun 2020 22:59:26 +0200 Subject: x86: add led driver for PC Engines APU1 This driver adds the LED support for the PC Engines APU1. This integrates the Linux kernel driver and includes a patch to support newer firmware versions. Also the default LED configuration is updated to use the correct devices. Signed-off-by: Andreas Eberlein --- package/kernel/linux/modules/leds.mk | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'package/kernel/linux/modules') diff --git a/package/kernel/linux/modules/leds.mk b/package/kernel/linux/modules/leds.mk index bc94e54ae1..2e5a56df1a 100644 --- a/package/kernel/linux/modules/leds.mk +++ b/package/kernel/linux/modules/leds.mk @@ -84,6 +84,22 @@ endef $(eval $(call KernelPackage,ledtrig-oneshot)) +define KernelPackage/leds-apu + SUBMENU:=$(LEDS_MENU) + TITLE:=PC Engines APU1 LED support + DEPENDS:= @GPIO_SUPPORT @TARGET_x86 + KCONFIG:=CONFIG_LEDS_APU + FILES:=$(LINUX_DIR)/drivers/leds/leds-apu.ko + AUTOLOAD:=$(call AutoLoad,60,leds-apu,1) +endef + +define KernelPackage/leds-apu/description + Driver for the PC Engines APU1 LEDs. +endef + +$(eval $(call KernelPackage,leds-apu)) + + define KernelPackage/leds-pca963x SUBMENU:=$(LEDS_MENU) TITLE:=PCA963x LED support -- cgit v1.2.3