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>
master
Stijn Tintel 6 years ago
parent 8e52243c77
commit a51db53792
  1. 17
      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:= \

Loading…
Cancel
Save