From b0d5939b80008aca8090832eb9918b998f08e8f3 Mon Sep 17 00:00:00 2001 From: Christian Lamparter Date: Sat, 12 Feb 2022 19:53:37 +0100 Subject: 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 --- target/linux/apm821xx/dts/netgear-wndr4700.dts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'target/linux/apm821xx/dts') diff --git a/target/linux/apm821xx/dts/netgear-wndr4700.dts b/target/linux/apm821xx/dts/netgear-wndr4700.dts index 12d9dc0bfd..fe0f713943 100644 --- a/target/linux/apm821xx/dts/netgear-wndr4700.dts +++ b/target/linux/apm821xx/dts/netgear-wndr4700.dts @@ -105,32 +105,32 @@ map1 { trip = <&cpu_alert1>; - cooling-device = <&fan0 1 76>; + cooling-device = <&fan0 1 1>; }; map2 { trip = <&cpu_alert2>; - cooling-device = <&fan0 77 101>; + cooling-device = <&fan0 2 4>; }; map3 { trip = <&cpu_alert3>; - cooling-device = <&fan0 102 147>; + cooling-device = <&fan0 4 8>; }; map4 { trip = <&cpu_alert4>; - cooling-device = <&fan0 148 207>; + cooling-device = <&fan0 9 12>; }; map5 { trip = <&cpu_alert5>; - cooling-device = <&fan0 208 231>; + cooling-device = <&fan0 13 15>; }; map6 { trip = <&cpu_alert6>; - cooling-device =<&fan0 232 THERMAL_NO_LIMIT>; + cooling-device =<&fan0 16 THERMAL_NO_LIMIT>; }; }; }; -- cgit v1.2.3