From a01e8d3175d601b71dac3c5f3575e12c2d93bd22 Mon Sep 17 00:00:00 2001 From: ThomasKaiser Date: Thu, 6 Sep 2018 09:25:01 -0700 Subject: [PATCH] Increase thermal trip points for Allwinner H5 --- ...-sun4i-gpadc-iio-add-h5-thermal-zone.patch | 28 +++++++++---------- ...-sun4i-gpadc-iio-add-h5-thermal-zone.patch | 28 +++++++++---------- .../sunxi-next/board-nanopi-k1-add.patch | 4 +-- 3 files changed, 30 insertions(+), 30 deletions(-) diff --git a/patch/kernel/sunxi-dev/ths-29-sun4i-gpadc-iio-add-h5-thermal-zone.patch b/patch/kernel/sunxi-dev/ths-29-sun4i-gpadc-iio-add-h5-thermal-zone.patch index ba6693a8bf..a167a5e57b 100644 --- a/patch/kernel/sunxi-dev/ths-29-sun4i-gpadc-iio-add-h5-thermal-zone.patch +++ b/patch/kernel/sunxi-dev/ths-29-sun4i-gpadc-iio-add-h5-thermal-zone.patch @@ -23,35 +23,35 @@ index 55b95569..422589b3 100644 + + trips { + cpu_warm: cpu_warm { -+ temperature = <65000>; -+ hysteresis = <2000>; -+ type = "passive"; -+ }; -+ -+ cpu_hot_pre: cpu_hot_pre { -+ temperature = <70000>; -+ hysteresis = <2000>; -+ type = "passive"; -+ }; -+ -+ cpu_hot: cpu_hot { + temperature = <75000>; + hysteresis = <2000>; + type = "passive"; + }; + -+ cpu_very_hot_pre: cpu_very_hot_pre { ++ cpu_hot_pre: cpu_hot_pre { ++ temperature = <80000>; ++ hysteresis = <2000>; ++ type = "passive"; ++ }; ++ ++ cpu_hot: cpu_hot { + temperature = <85000>; + hysteresis = <2000>; + type = "passive"; + }; + -+ cpu_very_hot: cpu_very_hot { ++ cpu_very_hot_pre: cpu_very_hot_pre { + temperature = <90000>; + hysteresis = <2000>; + type = "passive"; + }; + ++ cpu_very_hot: cpu_very_hot { ++ temperature = <95000>; ++ hysteresis = <2000>; ++ type = "passive"; ++ }; ++ + cpu_crit: cpu_crit { + temperature = <105000>; + hysteresis = <2000>; diff --git a/patch/kernel/sunxi-next/29-sun4i-gpadc-iio-add-h5-thermal-zone.patch b/patch/kernel/sunxi-next/29-sun4i-gpadc-iio-add-h5-thermal-zone.patch index ba6693a8bf..a167a5e57b 100644 --- a/patch/kernel/sunxi-next/29-sun4i-gpadc-iio-add-h5-thermal-zone.patch +++ b/patch/kernel/sunxi-next/29-sun4i-gpadc-iio-add-h5-thermal-zone.patch @@ -23,35 +23,35 @@ index 55b95569..422589b3 100644 + + trips { + cpu_warm: cpu_warm { -+ temperature = <65000>; -+ hysteresis = <2000>; -+ type = "passive"; -+ }; -+ -+ cpu_hot_pre: cpu_hot_pre { -+ temperature = <70000>; -+ hysteresis = <2000>; -+ type = "passive"; -+ }; -+ -+ cpu_hot: cpu_hot { + temperature = <75000>; + hysteresis = <2000>; + type = "passive"; + }; + -+ cpu_very_hot_pre: cpu_very_hot_pre { ++ cpu_hot_pre: cpu_hot_pre { ++ temperature = <80000>; ++ hysteresis = <2000>; ++ type = "passive"; ++ }; ++ ++ cpu_hot: cpu_hot { + temperature = <85000>; + hysteresis = <2000>; + type = "passive"; + }; + -+ cpu_very_hot: cpu_very_hot { ++ cpu_very_hot_pre: cpu_very_hot_pre { + temperature = <90000>; + hysteresis = <2000>; + type = "passive"; + }; + ++ cpu_very_hot: cpu_very_hot { ++ temperature = <95000>; ++ hysteresis = <2000>; ++ type = "passive"; ++ }; ++ + cpu_crit: cpu_crit { + temperature = <105000>; + hysteresis = <2000>; diff --git a/patch/kernel/sunxi-next/board-nanopi-k1-add.patch b/patch/kernel/sunxi-next/board-nanopi-k1-add.patch index 016e4f9b7d..2d2d50ba8b 100644 --- a/patch/kernel/sunxi-next/board-nanopi-k1-add.patch +++ b/patch/kernel/sunxi-next/board-nanopi-k1-add.patch @@ -254,7 +254,7 @@ index 000000000000..52337a18721f + bus-width = <8>; + non-removable; + cap-mmc-hw-reset; -+ boot_device = <0>; ++ boot_device = <0>; + status = "okay"; +}; + @@ -363,4 +363,4 @@ index 000000000000..52337a18721f + usb0_vbus-supply = <®_usb0_vbus>; + status = "okay"; +}; -\ No newline at end of file \ No newline at end of file +\ No newline at end of file