mirror of
https://github.com/openwrt/openwrt.git
synced 2026-06-17 17:01:44 +04:00
161a871edd
The switches from Zyxels XS1930 have one or two fans in the case. They might be controlled in a limited fashion. There's a single GPIO which - depending on the state - drives the fan in slow or fast mode. Wire that up as a device tree node to be able to control that in userspace. XS1930-10 and XS1930-12HP use the same GPIO while XS1930-12F moves that to one of its GPIO expanders. Also add 'kmod-hwmon-gpiofan' for all three devices to be selected by default. Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com> Link: https://github.com/openwrt/openwrt/pull/23428 Signed-off-by: Robert Marko <robimarko@gmail.com>