aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq806x/files-4.9/arch/arm
diff options
context:
space:
mode:
authorPavel Kubelun <be.dissent@gmail.com>2017-03-24 16:12:40 +0300
committerJohn Crispin <john@phrozen.org>2017-03-27 08:05:10 +0200
commit9ac4c1dcee7ba101233ac03437382e0831b74577 (patch)
treea4925f9beec5f715bc700baefa3c515a9fa98b8b /target/linux/ipq806x/files-4.9/arch/arm
parentdc32d0a53cc01d9f644c6e9851b6770440d4b28c (diff)
downloadupstream-9ac4c1dcee7ba101233ac03437382e0831b74577.tar.gz
upstream-9ac4c1dcee7ba101233ac03437382e0831b74577.tar.bz2
upstream-9ac4c1dcee7ba101233ac03437382e0831b74577.zip
ipq806x: tsens: convert degrees to millicelsius
Current driver shows temp in full degrees while other apps await it to be in millidegrees. Initially the driver represents termal data in millidegrees but then it gets divided by TSENS_FACTOR. So lets just set it to '1'. Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
Diffstat (limited to 'target/linux/ipq806x/files-4.9/arch/arm')
-rw-r--r--target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq8064.dtsi154
1 files changed, 77 insertions, 77 deletions
diff --git a/target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq8064.dtsi b/target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq8064.dtsi
index dd55754106..2c7ba5acc1 100644
--- a/target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq8064.dtsi
+++ b/target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq8064.dtsi
@@ -85,26 +85,26 @@
trips {
cpu-critical-hi {
- temperature = <125>;
- hysteresis = <2>;
+ temperature = <125000>;
+ hysteresis = <2000>;
type = "critical_high";
};
cpu-config-hi {
- temperature = <105>;
- hysteresis = <2>;
+ temperature = <105000>;
+ hysteresis = <2000>;
type = "configurable_hi";
};
cpu-config-lo {
- temperature = <95>;
- hysteresis = <2>;
+ temperature = <95000>;
+ hysteresis = <2000>;
type = "configurable_lo";
};
cpu-critical-low {
temperature = <0>;
- hysteresis = <2>;
+ hysteresis = <2000>;
type = "critical_low";
};
};
@@ -117,26 +117,26 @@
trips {
cpu-critical-hi {
- temperature = <125>;
- hysteresis = <2>;
+ temperature = <125000>;
+ hysteresis = <2000>;
type = "critical_high";
};
cpu-config-hi {
- temperature = <105>;
- hysteresis = <2>;
+ temperature = <105000>;
+ hysteresis = <2000>;
type = "configurable_hi";
};
cpu-config-lo {
- temperature = <95>;
- hysteresis = <2>;
+ temperature = <95000>;
+ hysteresis = <2000>;
type = "configurable_lo";
};
cpu-critical-low {
temperature = <0>;
- hysteresis = <2>;
+ hysteresis = <2000>;
type = "critical_low";
};
};
@@ -149,26 +149,26 @@
trips {
cpu-critical-hi {
- temperature = <125>;
- hysteresis = <2>;
+ temperature = <125000>;
+ hysteresis = <2000>;
type = "critical_high";
};
cpu-config-hi {
- temperature = <105>;
- hysteresis = <2>;
+ temperature = <105000>;
+ hysteresis = <2000>;
type = "configurable_hi";
};
cpu-config-lo {
- temperature = <95>;
- hysteresis = <2>;
+ temperature = <95000>;
+ hysteresis = <2000>;
type = "configurable_lo";
};
cpu-critical-low {
temperature = <0>;
- hysteresis = <2>;
+ hysteresis = <2000>;
type = "critical_low";
};
};
@@ -181,26 +181,26 @@
trips {
cpu-critical-hi {
- temperature = <125>;
- hysteresis = <2>;
+ temperature = <125000>;
+ hysteresis = <2000>;
type = "critical_high";
};
cpu-config-hi {
- temperature = <105>;
- hysteresis = <2>;
+ temperature = <105000>;
+ hysteresis = <2000>;
type = "configurable_hi";
};
cpu-config-lo {
- temperature = <95>;
- hysteresis = <2>;
+ temperature = <95000>;
+ hysteresis = <2000>;
type = "configurable_lo";
};
cpu-critical-low {
temperature = <0>;
- hysteresis = <2>;
+ hysteresis = <2000>;
type = "critical_low";
};
};
@@ -213,26 +213,26 @@
trips {
cpu-critical-hi {
- temperature = <125>;
- hysteresis = <2>;
+ temperature = <125000>;
+ hysteresis = <2000>;
type = "critical_high";
};
cpu-config-hi {
- temperature = <105>;
- hysteresis = <2>;
+ temperature = <105000>;
+ hysteresis = <2000>;
type = "configurable_hi";
};
cpu-config-lo {
- temperature = <95>;
- hysteresis = <2>;
+ temperature = <95000>;
+ hysteresis = <2000>;
type = "configurable_lo";
};
cpu-critical-low {
temperature = <0>;
- hysteresis = <2>;
+ hysteresis = <2000>;
type = "critical_low";
};
};
@@ -245,26 +245,26 @@
trips {
cpu-critical-hi {
- temperature = <125>;
- hysteresis = <2>;
+ temperature = <125000>;
+ hysteresis = <2000>;
type = "critical_high";
};
cpu-config-hi {
- temperature = <105>;
- hysteresis = <2>;
+ temperature = <105000>;
+ hysteresis = <2000>;
type = "configurable_hi";
};
cpu-config-lo {
- temperature = <95>;
- hysteresis = <2>;
+ temperature = <95000>;
+ hysteresis = <2000>;
type = "configurable_lo";
};
cpu-critical-low {
temperature = <0>;
- hysteresis = <2>;
+ hysteresis = <2000>;
type = "critical_low";
};
};
@@ -277,26 +277,26 @@
trips {
cpu-critical-hi {
- temperature = <125>;
- hysteresis = <2>;
+ temperature = <125000>;
+ hysteresis = <2000>;
type = "critical_high";
};
cpu-config-hi {
- temperature = <105>;
- hysteresis = <2>;
+ temperature = <105000>;
+ hysteresis = <2000>;
type = "configurable_hi";
};
cpu-config-lo {
- temperature = <95>;
- hysteresis = <2>;
+ temperature = <95000>;
+ hysteresis = <2000>;
type = "configurable_lo";
};
cpu-critical-low {
temperature = <0>;
- hysteresis = <2>;
+ hysteresis = <2000>;
type = "critical_low";
};
};
@@ -309,26 +309,26 @@
trips {
cpu-critical-hi {
- temperature = <125>;
- hysteresis = <2>;
+ temperature = <125000>;
+ hysteresis = <2000>;
type = "critical_high";
};
cpu-config-hi {
- temperature = <105>;
- hysteresis = <2>;
+ temperature = <105000>;
+ hysteresis = <2000>;
type = "configurable_hi";
};
cpu-config-lo {
- temperature = <95>;
- hysteresis = <2>;
+ temperature = <95000>;
+ hysteresis = <2000>;
type = "configurable_lo";
};
cpu-critical-low {
temperature = <0>;
- hysteresis = <2>;
+ hysteresis = <2000>;
type = "critical_low";
};
};
@@ -341,26 +341,26 @@
trips {
cpu-critical-hi {
- temperature = <125>;
- hysteresis = <2>;
+ temperature = <125000>;
+ hysteresis = <2000>;
type = "critical_high";
};
cpu-config-hi {
- temperature = <105>;
- hysteresis = <2>;
+ temperature = <105000>;
+ hysteresis = <2000>;
type = "configurable_hi";
};
cpu-config-lo {
- temperature = <95>;
- hysteresis = <2>;
+ temperature = <95000>;
+ hysteresis = <2000>;
type = "configurable_lo";
};
cpu-critical-low {
temperature = <0>;
- hysteresis = <2>;
+ hysteresis = <2000>;
type = "critical_low";
};
};
@@ -373,26 +373,26 @@
trips {
cpu-critical-hi {
- temperature = <125>;
- hysteresis = <2>;
+ temperature = <125000>;
+ hysteresis = <2000>;
type = "critical_high";
};
cpu-config-hi {
- temperature = <105>;
- hysteresis = <2>;
+ temperature = <105000>;
+ hysteresis = <2000>;
type = "configurable_hi";
};
cpu-config-lo {
- temperature = <95>;
- hysteresis = <2>;
+ temperature = <95000>;
+ hysteresis = <2000>;
type = "configurable_lo";
};
cpu-critical-low {
temperature = <0>;
- hysteresis = <2>;
+ hysteresis = <2000>;
type = "critical_low";
};
};
@@ -405,26 +405,26 @@
trips {
cpu-critical-hi {
- temperature = <125>;
- hysteresis = <2>;
+ temperature = <125000>;
+ hysteresis = <2000>;
type = "critical_high";
};
cpu-config-hi {
- temperature = <105>;
- hysteresis = <2>;
+ temperature = <105000>;
+ hysteresis = <2000>;
type = "configurable_hi";
};
cpu-config-lo {
- temperature = <95>;
- hysteresis = <2>;
+ temperature = <95000>;
+ hysteresis = <2000>;
type = "configurable_lo";
};
cpu-critical-low {
temperature = <0>;
- hysteresis = <2>;
+ hysteresis = <2000>;
type = "critical_low";
};
};