apm821xx: WNDR4700: use upstream tc654 cooling devices
authorChristian Lamparter <chunkeey@gmail.com>
Sat, 12 Feb 2022 18:53:37 +0000 (19:53 +0100)
committerChristian Lamparter <chunkeey@gmail.com>
Sat, 19 Feb 2022 18:34:18 +0000 (19:34 +0100)
commitb0d5939b80008aca8090832eb9918b998f08e8f3
tree6b970e40522a930b139a006d5833d6b315dd56ad
parent2aa97ecb59e9bc654c14af78337bef02e08965bf
apm821xx: WNDR4700: use upstream tc654 cooling devices

Upstream hwmon-maintainer had various comments about
the changes to the tc654 driver. These have been
addressed and the cooling device support is destined
for inclusion.

One of the comments was the change of the cooling states
scaling. No longer the driver uses the same values as the
hwmon interface, instead the states are now the 17 states
the tc654 supports.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
target/linux/apm821xx/base-files/etc/init.d/hwmon_fancontrol [new file with mode: 0644]
target/linux/apm821xx/dts/netgear-wndr4700.dts
target/linux/apm821xx/patches-5.10/804-hwmon-tc654-add-thermal_cooling-device.patch