aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStijn Tintel <stijn@linux-ipv6.be>2018-12-06 21:28:46 +0200
committerStijn Tintel <stijn@linux-ipv6.be>2018-12-18 23:19:21 +0200
commita51db537920eb1c66a2cdcb7bdba629f80531e3b (patch)
treebc2755b72eb32b1535a52fc31909008fbb832706
parent8e52243c77dc884c6ebba2e47bc9c4a5f9f27376 (diff)
downloadupstream-a51db537920eb1c66a2cdcb7bdba629f80531e3b.tar.gz
upstream-a51db537920eb1c66a2cdcb7bdba629f80531e3b.tar.bz2
upstream-a51db537920eb1c66a2cdcb7bdba629f80531e3b.zip
brcm2708: add kmod-hwmon-rpi-poe-fan
Add kernel module for the fan on the PoE HAT for the 3B+ model in kernel 4.14. Without this, the fan will not turn on. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
-rw-r--r--target/linux/brcm2708/modules.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/target/linux/brcm2708/modules.mk b/target/linux/brcm2708/modules.mk
index e7292970d6..66aa7341c2 100644
--- a/target/linux/brcm2708/modules.mk
+++ b/target/linux/brcm2708/modules.mk
@@ -28,6 +28,23 @@ endef
$(eval $(call KernelPackage,drm-vc4))
+
+define KernelPackage/hwmon-rpi-poe-fan
+ SUBMENU:=$(HWMON_MENU)
+ TITLE:=Raspberry Pi PoE HAT fan
+ DEPENDS:=@TARGET_brcm2708 @LINUX_4_14 +kmod-hwmon-core
+ KCONFIG:=CONFIG_SENSORS_RPI_POE_FAN
+ FILES:=$(LINUX_DIR)/drivers/hwmon/rpi-poe-fan.ko
+ AUTOLOAD:=$(call AutoProbe,rpi-poe-fan)
+endef
+
+define KernelPackage/hwmon-rpi-poe-fan/description
+ Raspberry Pi PoE HAT fan driver
+endef
+
+$(eval $(call KernelPackage,hwmon-rpi-poe-fan))
+
+
define KernelPackage/sound-arm-bcm2835
TITLE:=BCM2835 ALSA driver
KCONFIG:= \