realtek: HPE 1920-48G-PoE: allow fan speed control
authorEvan Jobling <[email protected]>
Thu, 23 Jan 2025 00:13:35 +0000 (00:13 +0000)
committerSander Vanheule <[email protected]>
Sat, 22 Feb 2025 11:32:35 +0000 (12:32 +0100)
commit8f3b24643b40e14be1c9c092c74030c29fa9d8c2
treeff3e603389083342ea542fcb10023373a6328d14
parent0ae0766f29e537484748ce6681d78d33ecea8ec6
realtek: HPE 1920-48G-PoE: allow fan speed control

The JG928A has an RTL8231 on the aux mdio bus. Add it to dts to expose
the GPIO pins used to control and monitor the fan speed. To enable speed
control, add the appropriate kernel driver module to DEVICE_PACKAGES.

Of note, this does not control all fans for the unit. The power supply
fans are not controlled.

Signed-off-by: Evan Jobling <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/17699
Signed-off-by: Sander Vanheule <[email protected]>
(cherry picked from commit cbd1acbad3448280a180640e2a1a37a7144e1fb3)
target/linux/realtek/dts/rtl8393_hpe_1920-48g-poe.dts
target/linux/realtek/image/rtl839x.mk