From 96b8a47a32c91ff63f95727e0a51db69540d8b01 Mon Sep 17 00:00:00 2001 From: Luke Go Date: Tue, 14 Jul 2020 11:56:12 +0900 Subject: [PATCH] ODROID-N2/N2-PLUS: pwm-fan: Changed the trip point. Change-Id: I2dcee110ff1939216dfdb20e0069f5298b43e9ad Signed-off-by: Luke Go --- .../dts/amlogic/mesong12_odroid_common.dtsi | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/arch/arm64/boot/dts/amlogic/mesong12_odroid_common.dtsi b/arch/arm64/boot/dts/amlogic/mesong12_odroid_common.dtsi index b143908fb9e7..4c77d8c299ef 100644 --- a/arch/arm64/boot/dts/amlogic/mesong12_odroid_common.dtsi +++ b/arch/arm64/boot/dts/amlogic/mesong12_odroid_common.dtsi @@ -15,6 +15,8 @@ * */ +#include + /{ aliases { serial0 = &uart_AO; @@ -266,17 +268,12 @@ &soc_thermal { trips { fan_0: trip-point@4 { - temperature = <45000>; + temperature = <65000>; hysteresis = <5000>; type = "active"; }; fan_1: trip-point@5 { - temperature = <55000>; - hysteresis = <5000>; - type = "active"; - }; - fan_2: trip-point@6 { - temperature = <60000>; + temperature = <75000>; hysteresis = <5000>; type = "active"; }; @@ -284,15 +281,11 @@ cooling-maps { fan_cooling_map0 { trip = <&fan_0>; - cooling-device = <&pwmfan 0 1>; + cooling-device = <&pwmfan THERMAL_NO_LIMIT 2>; }; fan_cooling_map1 { trip = <&fan_1>; - cooling-device = <&pwmfan 1 2>; - }; - fan_cooling_map2 { - trip = <&fan_2>; - cooling-device = <&pwmfan 2 3>; + cooling-device = <&pwmfan 2 THERMAL_NO_LIMIT>; }; }; };