* [PATCHv2 0/7] DRA7: DT thermal support
@ 2014-01-06 12:36 ` Eduardo Valentin
0 siblings, 0 replies; 37+ messages in thread
From: Eduardo Valentin @ 2014-01-06 12:36 UTC (permalink / raw)
To: rui.zhang
Cc: linux-pm, devicetree, lm-sensors, linux-kernel, Eduardo Valentin
Hello all,
Now that the basic thermal DT support is merged into Rui's tree,
I am resending this series, which introduces the DT node entries
for DRA7 thermal limits representation.
The series adds two thermal zones, to represent IVA and DSPEVE,
respectively. It also adds the support to tmp102 and a corresponding
pcb thermal zone.
There are only cosmetic changes from v1. A couple of spaces and tabulations
have been fixed, and minor changes in sentences present in commit log.
One difference from V1 is the fact that now bandgap is introduced under
OCP, which is also a minor diff.
This patch series has been runtime tested on DRA7-evm.
All best
Eduardo Valentin (7):
arm: dts: add dra7 DSPEVE thermal data
arm: dts: add dra7 IVA thermal data
arm: dts: dra7: add bandgap entry
arm: dts: add cooling properties on dra7 cpu node
arm: dts: dra7: add thermal data
arm: dts: add tmp102 i2c sensor node on dra7-evm
arm: dts: add thermal zones info on tmp102 for DRA7-EVM
arch/arm/boot/dts/dra7-dspeve-thermal.dtsi | 28 ++++++++++++++++++++++++++++
arch/arm/boot/dts/dra7-evm.dts | 22 ++++++++++++++++++++++
arch/arm/boot/dts/dra7-iva-thermal.dtsi | 28 ++++++++++++++++++++++++++++
arch/arm/boot/dts/dra7.dtsi | 26 ++++++++++++++++++++++++++
4 files changed, 104 insertions(+)
create mode 100644 arch/arm/boot/dts/dra7-dspeve-thermal.dtsi
create mode 100644 arch/arm/boot/dts/dra7-iva-thermal.dtsi
--
1.8.2.1.342.gfa7285d
^ permalink raw reply [flat|nested] 37+ messages in thread
* [lm-sensors] [PATCHv2 0/7] DRA7: DT thermal support
@ 2014-01-06 12:36 ` Eduardo Valentin
0 siblings, 0 replies; 37+ messages in thread
From: Eduardo Valentin @ 2014-01-06 12:36 UTC (permalink / raw)
To: rui.zhang
Cc: linux-pm, devicetree, lm-sensors, linux-kernel, Eduardo Valentin
Hello all,
Now that the basic thermal DT support is merged into Rui's tree,
I am resending this series, which introduces the DT node entries
for DRA7 thermal limits representation.
The series adds two thermal zones, to represent IVA and DSPEVE,
respectively. It also adds the support to tmp102 and a corresponding
pcb thermal zone.
There are only cosmetic changes from v1. A couple of spaces and tabulations
have been fixed, and minor changes in sentences present in commit log.
One difference from V1 is the fact that now bandgap is introduced under
OCP, which is also a minor diff.
This patch series has been runtime tested on DRA7-evm.
All best
Eduardo Valentin (7):
arm: dts: add dra7 DSPEVE thermal data
arm: dts: add dra7 IVA thermal data
arm: dts: dra7: add bandgap entry
arm: dts: add cooling properties on dra7 cpu node
arm: dts: dra7: add thermal data
arm: dts: add tmp102 i2c sensor node on dra7-evm
arm: dts: add thermal zones info on tmp102 for DRA7-EVM
arch/arm/boot/dts/dra7-dspeve-thermal.dtsi | 28 ++++++++++++++++++++++++++++
arch/arm/boot/dts/dra7-evm.dts | 22 ++++++++++++++++++++++
arch/arm/boot/dts/dra7-iva-thermal.dtsi | 28 ++++++++++++++++++++++++++++
arch/arm/boot/dts/dra7.dtsi | 26 ++++++++++++++++++++++++++
4 files changed, 104 insertions(+)
create mode 100644 arch/arm/boot/dts/dra7-dspeve-thermal.dtsi
create mode 100644 arch/arm/boot/dts/dra7-iva-thermal.dtsi
--
1.8.2.1.342.gfa7285d
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 37+ messages in thread
* [PATCHv2 0/7] DRA7: DT thermal support
@ 2014-01-06 12:36 ` Eduardo Valentin
0 siblings, 0 replies; 37+ messages in thread
From: Eduardo Valentin @ 2014-01-06 12:36 UTC (permalink / raw)
To: rui.zhang
Cc: linux-pm, devicetree, lm-sensors, linux-kernel, Eduardo Valentin
Hello all,
Now that the basic thermal DT support is merged into Rui's tree,
I am resending this series, which introduces the DT node entries
for DRA7 thermal limits representation.
The series adds two thermal zones, to represent IVA and DSPEVE,
respectively. It also adds the support to tmp102 and a corresponding
pcb thermal zone.
There are only cosmetic changes from v1. A couple of spaces and tabulations
have been fixed, and minor changes in sentences present in commit log.
One difference from V1 is the fact that now bandgap is introduced under
OCP, which is also a minor diff.
This patch series has been runtime tested on DRA7-evm.
All best
Eduardo Valentin (7):
arm: dts: add dra7 DSPEVE thermal data
arm: dts: add dra7 IVA thermal data
arm: dts: dra7: add bandgap entry
arm: dts: add cooling properties on dra7 cpu node
arm: dts: dra7: add thermal data
arm: dts: add tmp102 i2c sensor node on dra7-evm
arm: dts: add thermal zones info on tmp102 for DRA7-EVM
arch/arm/boot/dts/dra7-dspeve-thermal.dtsi | 28 ++++++++++++++++++++++++++++
arch/arm/boot/dts/dra7-evm.dts | 22 ++++++++++++++++++++++
arch/arm/boot/dts/dra7-iva-thermal.dtsi | 28 ++++++++++++++++++++++++++++
arch/arm/boot/dts/dra7.dtsi | 26 ++++++++++++++++++++++++++
4 files changed, 104 insertions(+)
create mode 100644 arch/arm/boot/dts/dra7-dspeve-thermal.dtsi
create mode 100644 arch/arm/boot/dts/dra7-iva-thermal.dtsi
--
1.8.2.1.342.gfa7285d
^ permalink raw reply [flat|nested] 37+ messages in thread
* [PATCHv2 1/7] arm: dts: add dra7 DSPEVE thermal data
2014-01-06 12:36 ` [lm-sensors] " Eduardo Valentin
(?)
(?)
@ 2014-01-06 12:36 ` Eduardo Valentin
-1 siblings, 0 replies; 37+ messages in thread
From: Eduardo Valentin @ 2014-01-06 12:36 UTC (permalink / raw)
To: rui.zhang
Cc: Mark Rutland, devicetree, Ian Campbell, Russell King, Pawel Moll,
linux-pm, Stephen Warren, linux-kernel, Rob Herring, lm-sensors,
Eduardo Valentin, Benoît Cousson, linux-arm-kernel
This patch introduces a dtsi file to contain the thermal data
for DSPEVE domain on DRA7 and later SoCs. This data will
enable a thermal shutdown at 125C.
Cc: Benoît Cousson <bcousson@baylibre.com>
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: devicetree@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
---
arch/arm/boot/dts/dra7-dspeve-thermal.dtsi | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
create mode 100644 arch/arm/boot/dts/dra7-dspeve-thermal.dtsi
diff --git a/arch/arm/boot/dts/dra7-dspeve-thermal.dtsi b/arch/arm/boot/dts/dra7-dspeve-thermal.dtsi
new file mode 100644
index 0000000..50e78b6
--- /dev/null
+++ b/arch/arm/boot/dts/dra7-dspeve-thermal.dtsi
@@ -0,0 +1,28 @@
+/*
+ * Device Tree Source for DRA7 SoC DSPEVE thermal
+ *
+ * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
+ * Contact: Eduardo Valentin <eduardo.valentin@ti.com>
+ *
+ * This file is licensed under the terms of the GNU General Public License
+ * version 2. This program is licensed "as is" without any warranty of any
+ * kind, whether express or implied.
+ */
+
+#include <dt-bindings/thermal/thermal.h>
+
+dspeve_thermal: dspeve_thermal {
+ polling-delay-passive = <250>; /* milliseconds */
+ polling-delay = <1000>; /* milliseconds */
+
+ /* sensor ID */
+ thermal-sensors = <&bandgap 3>;
+
+ trips {
+ dspeve_crit: dspeve_crit {
+ temperature = <125000>; /* milliCelsius */
+ hysteresis = <2000>; /* milliCelsius */
+ type = "critical";
+ };
+ };
+};
--
1.8.2.1.342.gfa7285d
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [lm-sensors] [PATCHv2 1/7] arm: dts: add dra7 DSPEVE thermal data
@ 2014-01-06 12:36 ` Eduardo Valentin
0 siblings, 0 replies; 37+ messages in thread
From: Eduardo Valentin @ 2014-01-06 12:36 UTC (permalink / raw)
To: rui.zhang
Cc: linux-pm, devicetree, lm-sensors, linux-kernel, Eduardo Valentin,
Benoît Cousson, Rob Herring, Pawel Moll, Mark Rutland,
Stephen Warren, Ian Campbell, Russell King, linux-arm-kernel
VGhpcyBwYXRjaCBpbnRyb2R1Y2VzIGEgZHRzaSBmaWxlIHRvIGNvbnRhaW4gdGhlIHRoZXJtYWwg
ZGF0YQpmb3IgRFNQRVZFIGRvbWFpbiBvbiBEUkE3IGFuZCBsYXRlciBTb0NzLiBUaGlzIGRhdGEg
d2lsbAplbmFibGUgYSB0aGVybWFsIHNodXRkb3duIGF0IDEyNUMuCgpDYzogQmVub8OudCBDb3Vz
c29uIDxiY291c3NvbkBiYXlsaWJyZS5jb20+CkNjOiBaaGFuZyBSdWkgPHJ1aS56aGFuZ0BpbnRl
bC5jb20+CkNjOiBSb2IgSGVycmluZyA8cm9iLmhlcnJpbmdAY2FseGVkYS5jb20+CkNjOiBQYXdl
bCBNb2xsIDxwYXdlbC5tb2xsQGFybS5jb20+CkNjOiBNYXJrIFJ1dGxhbmQgPG1hcmsucnV0bGFu
ZEBhcm0uY29tPgpDYzogU3RlcGhlbiBXYXJyZW4gPHN3YXJyZW5Ad3d3ZG90b3JnLm9yZz4KQ2M6
IElhbiBDYW1wYmVsbCA8aWpjK2RldmljZXRyZWVAaGVsbGlvbi5vcmcudWs+CkNjOiBSdXNzZWxs
IEtpbmcgPGxpbnV4QGFybS5saW51eC5vcmcudWs+CkNjOiBkZXZpY2V0cmVlQHZnZXIua2VybmVs
Lm9yZwpDYzogbGludXgtYXJtLWtlcm5lbEBsaXN0cy5pbmZyYWRlYWQub3JnCkNjOiBsaW51eC1r
ZXJuZWxAdmdlci5rZXJuZWwub3JnClNpZ25lZC1vZmYtYnk6IEVkdWFyZG8gVmFsZW50aW4gPGVk
dWFyZG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
c3Mgb3IgaW1wbGllZC4KKyAqLworCisjaW5jbHVkZSA8ZHQtYmluZGluZ3MvdGhlcm1hbC90aGVy
bWFsLmg+CisKK2RzcGV2ZV90aGVybWFsOiBkc3BldmVfdGhlcm1hbCB7CisJcG9sbGluZy1kZWxh
eS1wYXNzaXZlID0gPDI1MD47IC8qIG1pbGxpc2Vjb25kcyAqLworCXBvbGxpbmctZGVsYXkgPSA8
MTAwMD47IC8qIG1pbGxpc2Vjb25kcyAqLworCisJCQkvKiBzZW5zb3IgICAgICAgSUQgKi8KKwl0
aGVybWFsLXNlbnNvcnMgPSA8JmJhbmRnYXAgICAgIDM+OworCisJdHJpcHMgeworCQlkc3BldmVf
Y3JpdDogZHNwZXZlX2NyaXQgeworCQkJdGVtcGVyYXR1cmUgPSA8MTI1MDAwPjsgLyogbWlsbGlD
ZWxzaXVzICovCisJCQloeXN0ZXJlc2lzID0gPDIwMDA+OyAvKiBtaWxsaUNlbHNpdXMgKi8KKwkJ
CXR5cGUgPSAiY3JpdGljYWwiOworCQl9OworCX07Cit9OwotLSAKMS44LjIuMS4zNDIuZ2ZhNzI4
NWQKCgpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwpsbS1z
ZW5zb3JzIG1haWxpbmcgbGlzdApsbS1zZW5zb3JzQGxtLXNlbnNvcnMub3JnCmh0dHA6Ly9saXN0
cy5sbS1zZW5zb3JzLm9yZy9tYWlsbWFuL2xpc3RpbmZvL2xtLXNlbnNvcnM
^ permalink raw reply [flat|nested] 37+ messages in thread
* [PATCHv2 1/7] arm: dts: add dra7 DSPEVE thermal data
@ 2014-01-06 12:36 ` Eduardo Valentin
0 siblings, 0 replies; 37+ messages in thread
From: Eduardo Valentin @ 2014-01-06 12:36 UTC (permalink / raw)
To: linux-arm-kernel
This patch introduces a dtsi file to contain the thermal data
for DSPEVE domain on DRA7 and later SoCs. This data will
enable a thermal shutdown at 125C.
Cc: Beno?t Cousson <bcousson@baylibre.com>
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: devicetree at vger.kernel.org
Cc: linux-arm-kernel at lists.infradead.org
Cc: linux-kernel at vger.kernel.org
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
---
arch/arm/boot/dts/dra7-dspeve-thermal.dtsi | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
create mode 100644 arch/arm/boot/dts/dra7-dspeve-thermal.dtsi
diff --git a/arch/arm/boot/dts/dra7-dspeve-thermal.dtsi b/arch/arm/boot/dts/dra7-dspeve-thermal.dtsi
new file mode 100644
index 0000000..50e78b6
--- /dev/null
+++ b/arch/arm/boot/dts/dra7-dspeve-thermal.dtsi
@@ -0,0 +1,28 @@
+/*
+ * Device Tree Source for DRA7 SoC DSPEVE thermal
+ *
+ * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
+ * Contact: Eduardo Valentin <eduardo.valentin@ti.com>
+ *
+ * This file is licensed under the terms of the GNU General Public License
+ * version 2. This program is licensed "as is" without any warranty of any
+ * kind, whether express or implied.
+ */
+
+#include <dt-bindings/thermal/thermal.h>
+
+dspeve_thermal: dspeve_thermal {
+ polling-delay-passive = <250>; /* milliseconds */
+ polling-delay = <1000>; /* milliseconds */
+
+ /* sensor ID */
+ thermal-sensors = <&bandgap 3>;
+
+ trips {
+ dspeve_crit: dspeve_crit {
+ temperature = <125000>; /* milliCelsius */
+ hysteresis = <2000>; /* milliCelsius */
+ type = "critical";
+ };
+ };
+};
--
1.8.2.1.342.gfa7285d
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [PATCHv2 1/7] arm: dts: add dra7 DSPEVE thermal data
@ 2014-01-06 12:36 ` Eduardo Valentin
0 siblings, 0 replies; 37+ messages in thread
From: Eduardo Valentin @ 2014-01-06 12:36 UTC (permalink / raw)
To: rui.zhang
Cc: linux-pm, devicetree, lm-sensors, linux-kernel, Eduardo Valentin,
Benoît Cousson, Rob Herring, Pawel Moll, Mark Rutland,
Stephen Warren, Ian Campbell, Russell King, linux-arm-kernel
This patch introduces a dtsi file to contain the thermal data
for DSPEVE domain on DRA7 and later SoCs. This data will
enable a thermal shutdown at 125C.
Cc: Benoît Cousson <bcousson@baylibre.com>
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: devicetree@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
---
arch/arm/boot/dts/dra7-dspeve-thermal.dtsi | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
create mode 100644 arch/arm/boot/dts/dra7-dspeve-thermal.dtsi
diff --git a/arch/arm/boot/dts/dra7-dspeve-thermal.dtsi b/arch/arm/boot/dts/dra7-dspeve-thermal.dtsi
new file mode 100644
index 0000000..50e78b6
--- /dev/null
+++ b/arch/arm/boot/dts/dra7-dspeve-thermal.dtsi
@@ -0,0 +1,28 @@
+/*
+ * Device Tree Source for DRA7 SoC DSPEVE thermal
+ *
+ * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
+ * Contact: Eduardo Valentin <eduardo.valentin@ti.com>
+ *
+ * This file is licensed under the terms of the GNU General Public License
+ * version 2. This program is licensed "as is" without any warranty of any
+ * kind, whether express or implied.
+ */
+
+#include <dt-bindings/thermal/thermal.h>
+
+dspeve_thermal: dspeve_thermal {
+ polling-delay-passive = <250>; /* milliseconds */
+ polling-delay = <1000>; /* milliseconds */
+
+ /* sensor ID */
+ thermal-sensors = <&bandgap 3>;
+
+ trips {
+ dspeve_crit: dspeve_crit {
+ temperature = <125000>; /* milliCelsius */
+ hysteresis = <2000>; /* milliCelsius */
+ type = "critical";
+ };
+ };
+};
--
1.8.2.1.342.gfa7285d
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [PATCHv2 2/7] arm: dts: add dra7 IVA thermal data
2014-01-06 12:36 ` [lm-sensors] " Eduardo Valentin
(?)
(?)
@ 2014-01-06 12:36 ` Eduardo Valentin
-1 siblings, 0 replies; 37+ messages in thread
From: Eduardo Valentin @ 2014-01-06 12:36 UTC (permalink / raw)
To: rui.zhang-ral2JQCrhuEAvxtiuMwx3w
Cc: linux-pm-u79uwXL29TY76Z2rM5mHXA,
devicetree-u79uwXL29TY76Z2rM5mHXA,
lm-sensors-GZX6beZjE8VD60Wz+7aTrA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA, Eduardo Valentin,
Benoît Cousson, Rob Herring, Pawel Moll, Mark Rutland,
Stephen Warren, Ian Campbell, Russell King,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
This patch introduces a dtsi file to contain the thermal data
for IVA domain on DRA7 and later SoCs. This data will
enable a thermal shutdown at 125C.
Cc: Benoît Cousson <bcousson-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>
Cc: Zhang Rui <rui.zhang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: Rob Herring <rob.herring-bsGFqQB8/DxBDgjK7y7TUQ@public.gmane.org>
Cc: Pawel Moll <pawel.moll-5wv7dgnIgG8@public.gmane.org>
Cc: Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>
Cc: Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
Cc: Ian Campbell <ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org>
Cc: Russell King <linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org>
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Signed-off-by: Eduardo Valentin <eduardo.valentin-l0cyMroinI0@public.gmane.org>
---
arch/arm/boot/dts/dra7-iva-thermal.dtsi | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
create mode 100644 arch/arm/boot/dts/dra7-iva-thermal.dtsi
diff --git a/arch/arm/boot/dts/dra7-iva-thermal.dtsi b/arch/arm/boot/dts/dra7-iva-thermal.dtsi
new file mode 100644
index 0000000..4895f65
--- /dev/null
+++ b/arch/arm/boot/dts/dra7-iva-thermal.dtsi
@@ -0,0 +1,28 @@
+/*
+ * Device Tree Source for DRA7 SoC IVA thermal
+ *
+ * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
+ * Contact: Eduardo Valentin <eduardo.valentin-l0cyMroinI0@public.gmane.org>
+ *
+ * This file is licensed under the terms of the GNU General Public License
+ * version 2. This program is licensed "as is" without any warranty of any
+ * kind, whether express or implied.
+ */
+
+#include <dt-bindings/thermal/thermal.h>
+
+iva_thermal: iva_thermal {
+ polling-delay-passive = <250>; /* milliseconds */
+ polling-delay = <1000>; /* milliseconds */
+
+ /* sensor ID */
+ thermal-sensors = <&bandgap 4>;
+
+ trips {
+ iva_crit: iva_crit {
+ temperature = <125000>; /* milliCelsius */
+ hysteresis = <2000>; /* milliCelsius */
+ type = "critical";
+ };
+ };
+};
--
1.8.2.1.342.gfa7285d
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [lm-sensors] [PATCHv2 2/7] arm: dts: add dra7 IVA thermal data
@ 2014-01-06 12:36 ` Eduardo Valentin
0 siblings, 0 replies; 37+ messages in thread
From: Eduardo Valentin @ 2014-01-06 12:36 UTC (permalink / raw)
To: rui.zhang
Cc: linux-pm, devicetree, lm-sensors, linux-kernel, Eduardo Valentin,
Benoît Cousson, Rob Herring, Pawel Moll, Mark Rutland,
Stephen Warren, Ian Campbell, Russell King, linux-arm-kernel
VGhpcyBwYXRjaCBpbnRyb2R1Y2VzIGEgZHRzaSBmaWxlIHRvIGNvbnRhaW4gdGhlIHRoZXJtYWwg
ZGF0YQpmb3IgSVZBIGRvbWFpbiBvbiBEUkE3IGFuZCBsYXRlciBTb0NzLiBUaGlzIGRhdGEgd2ls
bAplbmFibGUgYSB0aGVybWFsIHNodXRkb3duIGF0IDEyNUMuCgpDYzogQmVub8OudCBDb3Vzc29u
IDxiY291c3NvbkBiYXlsaWJyZS5jb20+CkNjOiBaaGFuZyBSdWkgPHJ1aS56aGFuZ0BpbnRlbC5j
b20+CkNjOiBSb2IgSGVycmluZyA8cm9iLmhlcnJpbmdAY2FseGVkYS5jb20+CkNjOiBQYXdlbCBN
b2xsIDxwYXdlbC5tb2xsQGFybS5jb20+CkNjOiBNYXJrIFJ1dGxhbmQgPG1hcmsucnV0bGFuZEBh
cm0uY29tPgpDYzogU3RlcGhlbiBXYXJyZW4gPHN3YXJyZW5Ad3d3ZG90b3JnLm9yZz4KQ2M6IElh
biBDYW1wYmVsbCA8aWpjK2RldmljZXRyZWVAaGVsbGlvbi5vcmcudWs+CkNjOiBSdXNzZWxsIEtp
bmcgPGxpbnV4QGFybS5saW51eC5vcmcudWs+CkNjOiBkZXZpY2V0cmVlQHZnZXIua2VybmVsLm9y
ZwpDYzogbGludXgtYXJtLWtlcm5lbEBsaXN0cy5pbmZyYWRlYWQub3JnCkNjOiBsaW51eC1rZXJu
ZWxAdmdlci5rZXJuZWwub3JnClNpZ25lZC1vZmYtYnk6IEVkdWFyZG8gVmFsZW50aW4gPGVkdWFy
ZG8udmFsZW50aW5AdGk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aW5jbHVkZSA8ZHQtYmluZGluZ3MvdGhlcm1hbC90aGVybWFsLmg+CisKK2l2YV90aGVybWFs
OiBpdmFfdGhlcm1hbCB7CisJcG9sbGluZy1kZWxheS1wYXNzaXZlID0gPDI1MD47IC8qIG1pbGxp
c2Vjb25kcyAqLworCXBvbGxpbmctZGVsYXkgPSA8MTAwMD47IC8qIG1pbGxpc2Vjb25kcyAqLwor
CisJCQkvKiBzZW5zb3IgICAgICAgSUQgKi8KKwl0aGVybWFsLXNlbnNvcnMgPSA8JmJhbmRnYXAg
ICAgIDQ+OworCisJdHJpcHMgeworCQlpdmFfY3JpdDogaXZhX2NyaXQgeworCQkJdGVtcGVyYXR1
cmUgPSA8MTI1MDAwPjsgLyogbWlsbGlDZWxzaXVzICovCisJCQloeXN0ZXJlc2lzID0gPDIwMDA+
OyAvKiBtaWxsaUNlbHNpdXMgKi8KKwkJCXR5cGUgPSAiY3JpdGljYWwiOworCQl9OworCX07Cit9
OwotLSAKMS44LjIuMS4zNDIuZ2ZhNzI4NWQKCgpfX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fXwpsbS1zZW5zb3JzIG1haWxpbmcgbGlzdApsbS1zZW5zb3JzQGxt
LXNlbnNvcnMub3JnCmh0dHA6Ly9saXN0cy5sbS1zZW5zb3JzLm9yZy9tYWlsbWFuL2xpc3RpbmZv
L2xtLXNlbnNvcnM
^ permalink raw reply [flat|nested] 37+ messages in thread
* [PATCHv2 2/7] arm: dts: add dra7 IVA thermal data
@ 2014-01-06 12:36 ` Eduardo Valentin
0 siblings, 0 replies; 37+ messages in thread
From: Eduardo Valentin @ 2014-01-06 12:36 UTC (permalink / raw)
To: linux-arm-kernel
This patch introduces a dtsi file to contain the thermal data
for IVA domain on DRA7 and later SoCs. This data will
enable a thermal shutdown at 125C.
Cc: Beno?t Cousson <bcousson@baylibre.com>
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: devicetree at vger.kernel.org
Cc: linux-arm-kernel at lists.infradead.org
Cc: linux-kernel at vger.kernel.org
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
---
arch/arm/boot/dts/dra7-iva-thermal.dtsi | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
create mode 100644 arch/arm/boot/dts/dra7-iva-thermal.dtsi
diff --git a/arch/arm/boot/dts/dra7-iva-thermal.dtsi b/arch/arm/boot/dts/dra7-iva-thermal.dtsi
new file mode 100644
index 0000000..4895f65
--- /dev/null
+++ b/arch/arm/boot/dts/dra7-iva-thermal.dtsi
@@ -0,0 +1,28 @@
+/*
+ * Device Tree Source for DRA7 SoC IVA thermal
+ *
+ * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
+ * Contact: Eduardo Valentin <eduardo.valentin@ti.com>
+ *
+ * This file is licensed under the terms of the GNU General Public License
+ * version 2. This program is licensed "as is" without any warranty of any
+ * kind, whether express or implied.
+ */
+
+#include <dt-bindings/thermal/thermal.h>
+
+iva_thermal: iva_thermal {
+ polling-delay-passive = <250>; /* milliseconds */
+ polling-delay = <1000>; /* milliseconds */
+
+ /* sensor ID */
+ thermal-sensors = <&bandgap 4>;
+
+ trips {
+ iva_crit: iva_crit {
+ temperature = <125000>; /* milliCelsius */
+ hysteresis = <2000>; /* milliCelsius */
+ type = "critical";
+ };
+ };
+};
--
1.8.2.1.342.gfa7285d
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [PATCHv2 2/7] arm: dts: add dra7 IVA thermal data
@ 2014-01-06 12:36 ` Eduardo Valentin
0 siblings, 0 replies; 37+ messages in thread
From: Eduardo Valentin @ 2014-01-06 12:36 UTC (permalink / raw)
To: rui.zhang
Cc: linux-pm, devicetree, lm-sensors, linux-kernel, Eduardo Valentin,
Benoît Cousson, Rob Herring, Pawel Moll, Mark Rutland,
Stephen Warren, Ian Campbell, Russell King, linux-arm-kernel
This patch introduces a dtsi file to contain the thermal data
for IVA domain on DRA7 and later SoCs. This data will
enable a thermal shutdown at 125C.
Cc: Benoît Cousson <bcousson@baylibre.com>
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: devicetree@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
---
arch/arm/boot/dts/dra7-iva-thermal.dtsi | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
create mode 100644 arch/arm/boot/dts/dra7-iva-thermal.dtsi
diff --git a/arch/arm/boot/dts/dra7-iva-thermal.dtsi b/arch/arm/boot/dts/dra7-iva-thermal.dtsi
new file mode 100644
index 0000000..4895f65
--- /dev/null
+++ b/arch/arm/boot/dts/dra7-iva-thermal.dtsi
@@ -0,0 +1,28 @@
+/*
+ * Device Tree Source for DRA7 SoC IVA thermal
+ *
+ * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
+ * Contact: Eduardo Valentin <eduardo.valentin@ti.com>
+ *
+ * This file is licensed under the terms of the GNU General Public License
+ * version 2. This program is licensed "as is" without any warranty of any
+ * kind, whether express or implied.
+ */
+
+#include <dt-bindings/thermal/thermal.h>
+
+iva_thermal: iva_thermal {
+ polling-delay-passive = <250>; /* milliseconds */
+ polling-delay = <1000>; /* milliseconds */
+
+ /* sensor ID */
+ thermal-sensors = <&bandgap 4>;
+
+ trips {
+ iva_crit: iva_crit {
+ temperature = <125000>; /* milliCelsius */
+ hysteresis = <2000>; /* milliCelsius */
+ type = "critical";
+ };
+ };
+};
--
1.8.2.1.342.gfa7285d
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [PATCHv2 3/7] arm: dts: dra7: add bandgap entry
2014-01-06 12:36 ` [lm-sensors] " Eduardo Valentin
(?)
(?)
@ 2014-01-06 12:36 ` Eduardo Valentin
-1 siblings, 0 replies; 37+ messages in thread
From: Eduardo Valentin @ 2014-01-06 12:36 UTC (permalink / raw)
To: rui.zhang
Cc: linux-pm, devicetree, lm-sensors, linux-kernel, Eduardo Valentin,
Benoît Cousson, Rob Herring, Pawel Moll, Mark Rutland,
Stephen Warren, Ian Campbell, Russell King, linux-arm-kernel
This patch adds bandgap IP entry on DRA7 dtsi device tree file.
Cc: Benoît Cousson <bcousson@baylibre.com>
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: devicetree@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
---
arch/arm/boot/dts/dra7.dtsi | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi
index d0df4c4..8f21157 100644
--- a/arch/arm/boot/dts/dra7.dtsi
+++ b/arch/arm/boot/dts/dra7.dtsi
@@ -119,6 +119,18 @@
pinctrl-single,function-mask = <0x3fffffff>;
};
+ bandgap: bandgap {
+ reg = <0x4a0021e0 0xc
+ 0x4a00232c 0xc
+ 0x4a002380 0x2c
+ 0x4a0023C0 0x3c
+ 0x4a002564 0x8
+ 0x4a002574 0x50>;
+ compatible = "ti,dra752-bandgap";
+ interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>;
+ #thermal-sensor-cells = <1>;
+ };
+
sdma: dma-controller@4a056000 {
compatible = "ti,omap4430-sdma";
reg = <0x4a056000 0x1000>;
--
1.8.2.1.342.gfa7285d
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [lm-sensors] [PATCHv2 3/7] arm: dts: dra7: add bandgap entry
@ 2014-01-06 12:36 ` Eduardo Valentin
0 siblings, 0 replies; 37+ messages in thread
From: Eduardo Valentin @ 2014-01-06 12:36 UTC (permalink / raw)
To: rui.zhang
Cc: linux-pm, devicetree, lm-sensors, linux-kernel, Eduardo Valentin,
Benoît Cousson, Rob Herring, Pawel Moll, Mark Rutland,
Stephen Warren, Ian Campbell, Russell King, linux-arm-kernel
VGhpcyBwYXRjaCBhZGRzIGJhbmRnYXAgSVAgZW50cnkgb24gRFJBNyBkdHNpIGRldmljZSB0cmVl
IGZpbGUuCgpDYzogQmVub8OudCBDb3Vzc29uIDxiY291c3NvbkBiYXlsaWJyZS5jb20+CkNjOiBa
aGFuZyBSdWkgPHJ1aS56aGFuZ0BpbnRlbC5jb20+CkNjOiBSb2IgSGVycmluZyA8cm9iLmhlcnJp
bmdAY2FseGVkYS5jb20+CkNjOiBQYXdlbCBNb2xsIDxwYXdlbC5tb2xsQGFybS5jb20+CkNjOiBN
YXJrIFJ1dGxhbmQgPG1hcmsucnV0bGFuZEBhcm0uY29tPgpDYzogU3RlcGhlbiBXYXJyZW4gPHN3
YXJyZW5Ad3d3ZG90b3JnLm9yZz4KQ2M6IElhbiBDYW1wYmVsbCA8aWpjK2RldmljZXRyZWVAaGVs
bGlvbi5vcmcudWs+CkNjOiBSdXNzZWxsIEtpbmcgPGxpbnV4QGFybS5saW51eC5vcmcudWs+CkNj
OiBkZXZpY2V0cmVlQHZnZXIua2VybmVsLm9yZwpDYzogbGludXgtYXJtLWtlcm5lbEBsaXN0cy5p
bmZyYWRlYWQub3JnCkNjOiB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CAweDEwMDA+OwotLSAKMS44LjIuMS4zNDIuZ2ZhNzI4NWQKCgpfX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwpsbS1zZW5zb3JzIG1h
aWxpbmcgbGlzdApsbS1zZW5zb3JzQGxtLXNlbnNvcnMub3JnCmh0dHA6Ly9saXN0cy5sbS1zZW5z
b3JzLm9yZy9tYWlsbWFuL2xpc3RpbmZvL2xtLXNlbnNvcnM
^ permalink raw reply [flat|nested] 37+ messages in thread
* [PATCHv2 3/7] arm: dts: dra7: add bandgap entry
@ 2014-01-06 12:36 ` Eduardo Valentin
0 siblings, 0 replies; 37+ messages in thread
From: Eduardo Valentin @ 2014-01-06 12:36 UTC (permalink / raw)
To: linux-arm-kernel
This patch adds bandgap IP entry on DRA7 dtsi device tree file.
Cc: Beno?t Cousson <bcousson@baylibre.com>
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: devicetree at vger.kernel.org
Cc: linux-arm-kernel at lists.infradead.org
Cc: linux-kernel at vger.kernel.org
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
---
arch/arm/boot/dts/dra7.dtsi | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi
index d0df4c4..8f21157 100644
--- a/arch/arm/boot/dts/dra7.dtsi
+++ b/arch/arm/boot/dts/dra7.dtsi
@@ -119,6 +119,18 @@
pinctrl-single,function-mask = <0x3fffffff>;
};
+ bandgap: bandgap {
+ reg = <0x4a0021e0 0xc
+ 0x4a00232c 0xc
+ 0x4a002380 0x2c
+ 0x4a0023C0 0x3c
+ 0x4a002564 0x8
+ 0x4a002574 0x50>;
+ compatible = "ti,dra752-bandgap";
+ interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>;
+ #thermal-sensor-cells = <1>;
+ };
+
sdma: dma-controller at 4a056000 {
compatible = "ti,omap4430-sdma";
reg = <0x4a056000 0x1000>;
--
1.8.2.1.342.gfa7285d
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [PATCHv2 3/7] arm: dts: dra7: add bandgap entry
@ 2014-01-06 12:36 ` Eduardo Valentin
0 siblings, 0 replies; 37+ messages in thread
From: Eduardo Valentin @ 2014-01-06 12:36 UTC (permalink / raw)
To: rui.zhang
Cc: linux-pm, devicetree, lm-sensors, linux-kernel, Eduardo Valentin,
Benoît Cousson, Rob Herring, Pawel Moll, Mark Rutland,
Stephen Warren, Ian Campbell, Russell King, linux-arm-kernel
This patch adds bandgap IP entry on DRA7 dtsi device tree file.
Cc: Benoît Cousson <bcousson@baylibre.com>
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: devicetree@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
---
arch/arm/boot/dts/dra7.dtsi | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi
index d0df4c4..8f21157 100644
--- a/arch/arm/boot/dts/dra7.dtsi
+++ b/arch/arm/boot/dts/dra7.dtsi
@@ -119,6 +119,18 @@
pinctrl-single,function-mask = <0x3fffffff>;
};
+ bandgap: bandgap {
+ reg = <0x4a0021e0 0xc
+ 0x4a00232c 0xc
+ 0x4a002380 0x2c
+ 0x4a0023C0 0x3c
+ 0x4a002564 0x8
+ 0x4a002574 0x50>;
+ compatible = "ti,dra752-bandgap";
+ interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>;
+ #thermal-sensor-cells = <1>;
+ };
+
sdma: dma-controller@4a056000 {
compatible = "ti,omap4430-sdma";
reg = <0x4a056000 0x1000>;
--
1.8.2.1.342.gfa7285d
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [PATCHv2 4/7] arm: dts: add cooling properties on dra7 cpu node
2014-01-06 12:36 ` [lm-sensors] " Eduardo Valentin
(?)
(?)
@ 2014-01-06 12:36 ` Eduardo Valentin
-1 siblings, 0 replies; 37+ messages in thread
From: Eduardo Valentin @ 2014-01-06 12:36 UTC (permalink / raw)
To: rui.zhang
Cc: linux-pm, devicetree, lm-sensors, linux-kernel, Eduardo Valentin,
Benoît Cousson, Rob Herring, Pawel Moll, Mark Rutland,
Stephen Warren, Ian Campbell, Russell King, linux-arm-kernel
DRA7 devices can reach high temperatures and thus
needs to have cpufreq-cooling on systems running on it.
This patch adds the required cooling device properties
so that cpufreq-cpu0 driver loads the cooling device.
Cc: Benoît Cousson <bcousson@baylibre.com>
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: devicetree@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
---
arch/arm/boot/dts/dra7.dtsi | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi
index 8f21157..139472c 100644
--- a/arch/arm/boot/dts/dra7.dtsi
+++ b/arch/arm/boot/dts/dra7.dtsi
@@ -47,6 +47,11 @@
1000000 1060000
1176000 1160000
>;
+
+ /* cooling properties */
+ #cooling-cells = <2>; /* min and max */
+ #cooling-min-level = <0>;
+ #cooling-max-level = <1>;
};
cpu@1 {
device_type = "cpu";
--
1.8.2.1.342.gfa7285d
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [lm-sensors] [PATCHv2 4/7] arm: dts: add cooling properties on dra7 cpu node
@ 2014-01-06 12:36 ` Eduardo Valentin
0 siblings, 0 replies; 37+ messages in thread
From: Eduardo Valentin @ 2014-01-06 12:36 UTC (permalink / raw)
To: rui.zhang
Cc: linux-pm, devicetree, lm-sensors, linux-kernel, Eduardo Valentin,
Benoît Cousson, Rob Herring, Pawel Moll, Mark Rutland,
Stephen Warren, Ian Campbell, Russell King, linux-arm-kernel
RFJBNyBkZXZpY2VzIGNhbiByZWFjaCBoaWdoIHRlbXBlcmF0dXJlcyBhbmQgdGh1cwpuZWVkcyB0
byBoYXZlIGNwdWZyZXEtY29vbGluZyBvbiBzeXN0ZW1zIHJ1bm5pbmcgb24gaXQuCgpUaGlzIHBh
dGNoIGFkZHMgdGhlIHJlcXVpcmVkIGNvb2xpbmcgZGV2aWNlIHByb3BlcnRpZXMKc28gdGhhdCBj
cHVmcmVxLWNwdTAgZHJpdmVyIGxvYWRzIHRoZSBjb29saW5nIGRldmljZS4KCkNjOiBCZW5vw650
IENvdXNzb24gPGJjb3Vzc29uQGJheWxpYnJlLmNvbT4KQ2M6IFpoYW5nIFJ1aSA8cnVpLnpoYW5n
QGludGVsLmNvbT4KQ2M6IFJvYiBIZXJyaW5nIDxyb2IuaGVycmluZ0BjYWx4ZWRhLmNvbT4KQ2M6
IFBhd2VsIE1vbGwgPHBhd2VsLm1vbGxAYXJtLmNvbT4KQ2M6IE1hcmsgUnV0bGFuZCA8bWFyay5y
dXRsYW5kQGFybS5jb20+CkNjOiBTdGVwaGVuIFdhcnJlbiA8c3dhcnJlbk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l9fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fCmxtLXNlbnNvcnMgbWFpbGluZyBsaXN0CmxtLXNlbnNv
cnNAbG0tc2Vuc29ycy5vcmcKaHR0cDovL2xpc3RzLmxtLXNlbnNvcnMub3JnL21haWxtYW4vbGlz
dGluZm8vbG0tc2Vuc29ycw=
^ permalink raw reply [flat|nested] 37+ messages in thread
* [PATCHv2 4/7] arm: dts: add cooling properties on dra7 cpu node
@ 2014-01-06 12:36 ` Eduardo Valentin
0 siblings, 0 replies; 37+ messages in thread
From: Eduardo Valentin @ 2014-01-06 12:36 UTC (permalink / raw)
To: linux-arm-kernel
DRA7 devices can reach high temperatures and thus
needs to have cpufreq-cooling on systems running on it.
This patch adds the required cooling device properties
so that cpufreq-cpu0 driver loads the cooling device.
Cc: Beno?t Cousson <bcousson@baylibre.com>
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: devicetree at vger.kernel.org
Cc: linux-arm-kernel at lists.infradead.org
Cc: linux-kernel at vger.kernel.org
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
---
arch/arm/boot/dts/dra7.dtsi | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi
index 8f21157..139472c 100644
--- a/arch/arm/boot/dts/dra7.dtsi
+++ b/arch/arm/boot/dts/dra7.dtsi
@@ -47,6 +47,11 @@
1000000 1060000
1176000 1160000
>;
+
+ /* cooling properties */
+ #cooling-cells = <2>; /* min and max */
+ #cooling-min-level = <0>;
+ #cooling-max-level = <1>;
};
cpu at 1 {
device_type = "cpu";
--
1.8.2.1.342.gfa7285d
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [PATCHv2 4/7] arm: dts: add cooling properties on dra7 cpu node
@ 2014-01-06 12:36 ` Eduardo Valentin
0 siblings, 0 replies; 37+ messages in thread
From: Eduardo Valentin @ 2014-01-06 12:36 UTC (permalink / raw)
To: rui.zhang
Cc: linux-pm, devicetree, lm-sensors, linux-kernel, Eduardo Valentin,
Benoît Cousson, Rob Herring, Pawel Moll, Mark Rutland,
Stephen Warren, Ian Campbell, Russell King, linux-arm-kernel
DRA7 devices can reach high temperatures and thus
needs to have cpufreq-cooling on systems running on it.
This patch adds the required cooling device properties
so that cpufreq-cpu0 driver loads the cooling device.
Cc: Benoît Cousson <bcousson@baylibre.com>
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: devicetree@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
---
arch/arm/boot/dts/dra7.dtsi | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi
index 8f21157..139472c 100644
--- a/arch/arm/boot/dts/dra7.dtsi
+++ b/arch/arm/boot/dts/dra7.dtsi
@@ -47,6 +47,11 @@
1000000 1060000
1176000 1160000
>;
+
+ /* cooling properties */
+ #cooling-cells = <2>; /* min and max */
+ #cooling-min-level = <0>;
+ #cooling-max-level = <1>;
};
cpu@1 {
device_type = "cpu";
--
1.8.2.1.342.gfa7285d
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [PATCHv2 5/7] arm: dts: dra7: add thermal data
2014-01-06 12:36 ` [lm-sensors] " Eduardo Valentin
(?)
(?)
@ 2014-01-06 12:36 ` Eduardo Valentin
-1 siblings, 0 replies; 37+ messages in thread
From: Eduardo Valentin @ 2014-01-06 12:36 UTC (permalink / raw)
To: rui.zhang
Cc: linux-pm, devicetree, lm-sensors, linux-kernel, Eduardo Valentin,
Benoît Cousson, Rob Herring, Pawel Moll, Mark Rutland,
Stephen Warren, Ian Campbell, Russell King, linux-arm-kernel
This patch adds thermal data for DRA7 SoCs. Cpufreq cooling
will be enabled for MPU domain whenever it crosses 100C.
GPU, CORE, DSPEVE, IVA will be exposed and system shall
shutdown when they cross 125C.
Cc: Benoît Cousson <bcousson@baylibre.com>
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: devicetree@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
---
arch/arm/boot/dts/dra7.dtsi | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi
index 139472c..4784c0c 100644
--- a/arch/arm/boot/dts/dra7.dtsi
+++ b/arch/arm/boot/dts/dra7.dtsi
@@ -68,6 +68,15 @@
<GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
};
+ thermal_zones: thermal-zones {
+ /* SoC thermal zones */
+ #include "omap4-cpu-thermal.dtsi"
+ #include "omap5-gpu-thermal.dtsi"
+ #include "omap5-core-thermal.dtsi"
+ #include "dra7-dspeve-thermal.dtsi"
+ #include "dra7-iva-thermal.dtsi"
+ };
+
gic: interrupt-controller@48211000 {
compatible = "arm,cortex-a15-gic";
interrupt-controller;
--
1.8.2.1.342.gfa7285d
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [lm-sensors] [PATCHv2 5/7] arm: dts: dra7: add thermal data
@ 2014-01-06 12:36 ` Eduardo Valentin
0 siblings, 0 replies; 37+ messages in thread
From: Eduardo Valentin @ 2014-01-06 12:36 UTC (permalink / raw)
To: rui.zhang
Cc: linux-pm, devicetree, lm-sensors, linux-kernel, Eduardo Valentin,
Benoît Cousson, Rob Herring, Pawel Moll, Mark Rutland,
Stephen Warren, Ian Campbell, Russell King, linux-arm-kernel
VGhpcyBwYXRjaCBhZGRzIHRoZXJtYWwgZGF0YSBmb3IgRFJBNyBTb0NzLiBDcHVmcmVxIGNvb2xp
bmcKd2lsbCBiZSBlbmFibGVkIGZvciBNUFUgZG9tYWluIHdoZW5ldmVyIGl0IGNyb3NzZXMgMTAw
Qy4KR1BVLCBDT1JFLCBEU1BFVkUsIElWQSB3aWxsIGJlIGV4cG9zZWQgYW5kIHN5c3RlbSBzaGFs
bApzaHV0ZG93biB3aGVuIHRoZXkgY3Jvc3MgMTI1Qy4KCkNjOiBCZW5vw650IENvdXNzb24gPGJj
b3Vzc29uQGJheWxpYnJlLmNvbT4KQ2M6IFpoYW5nIFJ1aSA8cnVpLnpoYW5nQGludGVsLmNvbT4K
Q2M6IFJvYiBIZXJyaW5nIDxyb2IuaGVycmluZ0BjYWx4ZWRhLmNvbT4KQ2M6IFBhd2VsIE1vbGwg
PHBhd2VsLm1vbGxAYXJtLmNvbT4KQ2M6IE1hcmsgUnV0bGFuZCA8bWFyay5ydXRsYW5kQGFybS5j
b20+CkNjOiBTdGVwaGVuIFdhcnJlbiA8c3dhcnJlbkB3d3dkb3Rvcmcub3JnPgpDYzogSWFuIENh
bXBiZWxsIDxpamMrZGV2aWNldHJlZUBoZWxsaW9uLm9yZy51az4KQ2M6IFJ1c3NlbGwgS2luZyA8
bGludXhAYXJtLmxpbnV4Lm9yZy51az4KQ2M6IGRldmljZX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29tcGF0aWJsZSA9ICJhcm0sY29ydGV4LWEx
NS1naWMiOwogCQlpbnRlcnJ1cHQtY29udHJvbGxlcjsKLS0gCjEuOC4yLjEuMzQyLmdmYTcyODVk
CgoKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KbG0tc2Vu
c29ycyBtYWlsaW5nIGxpc3QKbG0tc2Vuc29yc0BsbS1zZW5zb3JzLm9yZwpodHRwOi8vbGlzdHMu
bG0tc2Vuc29ycy5vcmcvbWFpbG1hbi9saXN0aW5mby9sbS1zZW5zb3Jz
^ permalink raw reply [flat|nested] 37+ messages in thread
* [PATCHv2 5/7] arm: dts: dra7: add thermal data
@ 2014-01-06 12:36 ` Eduardo Valentin
0 siblings, 0 replies; 37+ messages in thread
From: Eduardo Valentin @ 2014-01-06 12:36 UTC (permalink / raw)
To: linux-arm-kernel
This patch adds thermal data for DRA7 SoCs. Cpufreq cooling
will be enabled for MPU domain whenever it crosses 100C.
GPU, CORE, DSPEVE, IVA will be exposed and system shall
shutdown when they cross 125C.
Cc: Beno?t Cousson <bcousson@baylibre.com>
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: devicetree at vger.kernel.org
Cc: linux-arm-kernel at lists.infradead.org
Cc: linux-kernel at vger.kernel.org
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
---
arch/arm/boot/dts/dra7.dtsi | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi
index 139472c..4784c0c 100644
--- a/arch/arm/boot/dts/dra7.dtsi
+++ b/arch/arm/boot/dts/dra7.dtsi
@@ -68,6 +68,15 @@
<GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
};
+ thermal_zones: thermal-zones {
+ /* SoC thermal zones */
+ #include "omap4-cpu-thermal.dtsi"
+ #include "omap5-gpu-thermal.dtsi"
+ #include "omap5-core-thermal.dtsi"
+ #include "dra7-dspeve-thermal.dtsi"
+ #include "dra7-iva-thermal.dtsi"
+ };
+
gic: interrupt-controller at 48211000 {
compatible = "arm,cortex-a15-gic";
interrupt-controller;
--
1.8.2.1.342.gfa7285d
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [PATCHv2 5/7] arm: dts: dra7: add thermal data
@ 2014-01-06 12:36 ` Eduardo Valentin
0 siblings, 0 replies; 37+ messages in thread
From: Eduardo Valentin @ 2014-01-06 12:36 UTC (permalink / raw)
To: rui.zhang
Cc: linux-pm, devicetree, lm-sensors, linux-kernel, Eduardo Valentin,
Benoît Cousson, Rob Herring, Pawel Moll, Mark Rutland,
Stephen Warren, Ian Campbell, Russell King, linux-arm-kernel
This patch adds thermal data for DRA7 SoCs. Cpufreq cooling
will be enabled for MPU domain whenever it crosses 100C.
GPU, CORE, DSPEVE, IVA will be exposed and system shall
shutdown when they cross 125C.
Cc: Benoît Cousson <bcousson@baylibre.com>
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: devicetree@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
---
arch/arm/boot/dts/dra7.dtsi | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi
index 139472c..4784c0c 100644
--- a/arch/arm/boot/dts/dra7.dtsi
+++ b/arch/arm/boot/dts/dra7.dtsi
@@ -68,6 +68,15 @@
<GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
};
+ thermal_zones: thermal-zones {
+ /* SoC thermal zones */
+ #include "omap4-cpu-thermal.dtsi"
+ #include "omap5-gpu-thermal.dtsi"
+ #include "omap5-core-thermal.dtsi"
+ #include "dra7-dspeve-thermal.dtsi"
+ #include "dra7-iva-thermal.dtsi"
+ };
+
gic: interrupt-controller@48211000 {
compatible = "arm,cortex-a15-gic";
interrupt-controller;
--
1.8.2.1.342.gfa7285d
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [PATCHv2 6/7] arm: dts: add tmp102 i2c sensor node on dra7-evm
2014-01-06 12:36 ` [lm-sensors] " Eduardo Valentin
(?)
(?)
@ 2014-01-06 12:36 ` Eduardo Valentin
-1 siblings, 0 replies; 37+ messages in thread
From: Eduardo Valentin @ 2014-01-06 12:36 UTC (permalink / raw)
To: rui.zhang-ral2JQCrhuEAvxtiuMwx3w
Cc: linux-pm-u79uwXL29TY76Z2rM5mHXA,
devicetree-u79uwXL29TY76Z2rM5mHXA,
lm-sensors-GZX6beZjE8VD60Wz+7aTrA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA, Eduardo Valentin,
Benoît Cousson, Rob Herring, Pawel Moll, Mark Rutland,
Stephen Warren, Ian Campbell, Russell King,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
On dra7-evm there is an tmp102 temperature sensor on i2c bus 1.
This patch adds its device tree node.
Cc: Benoît Cousson <bcousson-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>
Cc: Zhang Rui <rui.zhang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: Rob Herring <rob.herring-bsGFqQB8/DxBDgjK7y7TUQ@public.gmane.org>
Cc: Pawel Moll <pawel.moll-5wv7dgnIgG8@public.gmane.org>
Cc: Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>
Cc: Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
Cc: Ian Campbell <ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org>
Cc: Russell King <linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org>
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Signed-off-by: Eduardo Valentin <eduardo.valentin-l0cyMroinI0@public.gmane.org>
---
arch/arm/boot/dts/dra7-evm.dts | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts
index 5babba0..36e2c9e 100644
--- a/arch/arm/boot/dts/dra7-evm.dts
+++ b/arch/arm/boot/dts/dra7-evm.dts
@@ -212,6 +212,13 @@
};
};
};
+
+ tmp102: tmp102@48 {
+ compatible = "ti,tmp102";
+ reg = <0x48>;
+
+ #thermal-sensor-cells = <0>;
+ };
};
&i2c2 {
--
1.8.2.1.342.gfa7285d
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [lm-sensors] [PATCHv2 6/7] arm: dts: add tmp102 i2c sensor node on dra7-evm
@ 2014-01-06 12:36 ` Eduardo Valentin
0 siblings, 0 replies; 37+ messages in thread
From: Eduardo Valentin @ 2014-01-06 12:36 UTC (permalink / raw)
To: rui.zhang
Cc: linux-pm, devicetree, lm-sensors, linux-kernel, Eduardo Valentin,
Benoît Cousson, Rob Herring, Pawel Moll, Mark Rutland,
Stephen Warren, Ian Campbell, Russell King,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LjM2ZTJjOWUgMTAwNjQ0Ci0tLSBhL2FyY2gv
YXJtL2Jvb3QvZHRzL2RyYTctZXZtLmR0cworKysgYi9hcmNoL2FybS9ib290L2R0cy9kcmE3LWV2
bS5kdHMKQEAgLTIxMiw2ICsyMTIsMTMgQEAKIAkJCX07CiAJCX07CiAJfTsKKworCXRtcDEwMjog
dG1wMTAyQDQ4IHsKKwkJY29tcGF0aWJsZSA9ICJ0aSx0bXAxMDIiOworCQlyZWcgPSA8MHg0OD47
CisKKwkJI3RoZXJtYWwtc2Vuc29yLWNlbGxzID0gPDA+OworCX07CiB9OwogCiAmaTJjMiB7Ci0t
IAoxLjguMi4xLjM0Mi5nZmE3Mjg1ZAoKCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fCmxtLXNlbnNvcnMgbWFpbGluZyBsaXN0CmxtLXNlbnNvcnNAbG0tc2Vu
c29ycy5vcmcKaHR0cDovL2xpc3RzLmxtLXNlbnNvcnMub3JnL21haWxtYW4vbGlzdGluZm8vbG0t
c2Vuc29ycw=
^ permalink raw reply [flat|nested] 37+ messages in thread
* [PATCHv2 6/7] arm: dts: add tmp102 i2c sensor node on dra7-evm
@ 2014-01-06 12:36 ` Eduardo Valentin
0 siblings, 0 replies; 37+ messages in thread
From: Eduardo Valentin @ 2014-01-06 12:36 UTC (permalink / raw)
To: linux-arm-kernel
On dra7-evm there is an tmp102 temperature sensor on i2c bus 1.
This patch adds its device tree node.
Cc: Beno?t Cousson <bcousson@baylibre.com>
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: devicetree at vger.kernel.org
Cc: linux-arm-kernel at lists.infradead.org
Cc: linux-kernel at vger.kernel.org
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
---
arch/arm/boot/dts/dra7-evm.dts | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts
index 5babba0..36e2c9e 100644
--- a/arch/arm/boot/dts/dra7-evm.dts
+++ b/arch/arm/boot/dts/dra7-evm.dts
@@ -212,6 +212,13 @@
};
};
};
+
+ tmp102: tmp102 at 48 {
+ compatible = "ti,tmp102";
+ reg = <0x48>;
+
+ #thermal-sensor-cells = <0>;
+ };
};
&i2c2 {
--
1.8.2.1.342.gfa7285d
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [PATCHv2 6/7] arm: dts: add tmp102 i2c sensor node on dra7-evm
@ 2014-01-06 12:36 ` Eduardo Valentin
0 siblings, 0 replies; 37+ messages in thread
From: Eduardo Valentin @ 2014-01-06 12:36 UTC (permalink / raw)
To: rui.zhang
Cc: linux-pm, devicetree, lm-sensors, linux-kernel, Eduardo Valentin,
Benoît Cousson, Rob Herring, Pawel Moll, Mark Rutland,
Stephen Warren, Ian Campbell, Russell King, linux-arm-kernel
On dra7-evm there is an tmp102 temperature sensor on i2c bus 1.
This patch adds its device tree node.
Cc: Benoît Cousson <bcousson@baylibre.com>
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: devicetree@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
---
arch/arm/boot/dts/dra7-evm.dts | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts
index 5babba0..36e2c9e 100644
--- a/arch/arm/boot/dts/dra7-evm.dts
+++ b/arch/arm/boot/dts/dra7-evm.dts
@@ -212,6 +212,13 @@
};
};
};
+
+ tmp102: tmp102@48 {
+ compatible = "ti,tmp102";
+ reg = <0x48>;
+
+ #thermal-sensor-cells = <0>;
+ };
};
&i2c2 {
--
1.8.2.1.342.gfa7285d
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [PATCHv2 7/7] arm: dts: add thermal zones info on tmp102 for DRA7-EVM
2014-01-06 12:36 ` [lm-sensors] " Eduardo Valentin
(?)
(?)
@ 2014-01-06 12:36 ` Eduardo Valentin
-1 siblings, 0 replies; 37+ messages in thread
From: Eduardo Valentin @ 2014-01-06 12:36 UTC (permalink / raw)
To: rui.zhang
Cc: linux-pm, devicetree, lm-sensors, linux-kernel, Eduardo Valentin,
Benoît Cousson, Rob Herring, Pawel Moll, Mark Rutland,
Stephen Warren, Ian Campbell, Russell King, linux-arm-kernel
Add simple thermal zone on tmp102.
Cc: Benoît Cousson <bcousson@baylibre.com>
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: devicetree@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
---
arch/arm/boot/dts/dra7-evm.dts | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts
index 36e2c9e..1ea9c3d 100644
--- a/arch/arm/boot/dts/dra7-evm.dts
+++ b/arch/arm/boot/dts/dra7-evm.dts
@@ -95,6 +95,21 @@
};
};
+&thermal_zones {
+ pcb_thermal: pcb_thermal {
+ polling-delay-passive = <250>; /* milliseconds */
+ polling-delay = <1000>; /* milliseconds */
+ thermal-sensors = <&tmp102>;
+ trips {
+ crit@80000 {
+ temperature = <80000>;
+ hysteresis = <1000>;
+ type = "critical";
+ };
+ };
+ };
+};
+
&i2c1 {
status = "okay";
pinctrl-names = "default";
--
1.8.2.1.342.gfa7285d
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [lm-sensors] [PATCHv2 7/7] arm: dts: add thermal zones info on tmp102 for DRA7-EVM
@ 2014-01-06 12:36 ` Eduardo Valentin
0 siblings, 0 replies; 37+ messages in thread
From: Eduardo Valentin @ 2014-01-06 12:36 UTC (permalink / raw)
To: rui.zhang
Cc: linux-pm, devicetree, lm-sensors, linux-kernel, Eduardo Valentin,
Benoît Cousson, Rob Herring, Pawel Moll, Mark Rutland,
Stephen Warren, Ian Campbell, Russell King, linux-arm-kernel
QWRkIHNpbXBsZSB0aGVybWFsIHpvbmUgb24gdG1wMTAyLgoKQ2M6IEJlbm/DrnQgQ291c3NvbiA8
YmNvdXNzb25AYmF5bGlicmUuY29tPgpDYzogWmhhbmcgUnVpIDxydWkuemhhbmdAaW50ZWwuY29t
PgpDYzogUm9iIEhlcnJpbmcgPHJvYi5oZXJyaW5nQGNhbHhlZGEuY29tPgpDYzogUGF3ZWwgTW9s
bCA8cGF3ZWwubW9sbEBhcm0uY29tPgpDYzogTWFyayBSdXRsYW5kIDxtYXJrLnJ1dGxhbmRAYXJt
LmNvbT4KQ2M6IFN0ZXBoZW4gV2FycmVuIDxzd2FycmVuQHd3d2RvdG9yZy5vcmc+CkNjOiBJYW4g
Q2FtcGJlbGwgPGlqYytkZXZpY2V0cmVlQGhlbGxpb24ub3JnLnVrPgpDYzogUnVzc2VsbCBLaW5n
IDxsaW51eEBhcm0ubGludXgub3JnLnVrPgpDYzogZGV2aWNldHJlZUB2Z2VyLmtlcm5lbC5vcmcK
Q2M6IGxpbnV4LW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LjM0Mi5nZmE3Mjg1ZAoKCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fCmxtLXNlbnNvcnMgbWFpbGluZyBsaXN0CmxtLXNlbnNvcnNAbG0t
c2Vuc29ycy5vcmcKaHR0cDovL2xpc3RzLmxtLXNlbnNvcnMub3JnL21haWxtYW4vbGlzdGluZm8v
bG0tc2Vuc29ycw=
^ permalink raw reply [flat|nested] 37+ messages in thread
* [PATCHv2 7/7] arm: dts: add thermal zones info on tmp102 for DRA7-EVM
@ 2014-01-06 12:36 ` Eduardo Valentin
0 siblings, 0 replies; 37+ messages in thread
From: Eduardo Valentin @ 2014-01-06 12:36 UTC (permalink / raw)
To: linux-arm-kernel
Add simple thermal zone on tmp102.
Cc: Beno?t Cousson <bcousson@baylibre.com>
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: devicetree at vger.kernel.org
Cc: linux-arm-kernel at lists.infradead.org
Cc: linux-kernel at vger.kernel.org
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
---
arch/arm/boot/dts/dra7-evm.dts | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts
index 36e2c9e..1ea9c3d 100644
--- a/arch/arm/boot/dts/dra7-evm.dts
+++ b/arch/arm/boot/dts/dra7-evm.dts
@@ -95,6 +95,21 @@
};
};
+&thermal_zones {
+ pcb_thermal: pcb_thermal {
+ polling-delay-passive = <250>; /* milliseconds */
+ polling-delay = <1000>; /* milliseconds */
+ thermal-sensors = <&tmp102>;
+ trips {
+ crit at 80000 {
+ temperature = <80000>;
+ hysteresis = <1000>;
+ type = "critical";
+ };
+ };
+ };
+};
+
&i2c1 {
status = "okay";
pinctrl-names = "default";
--
1.8.2.1.342.gfa7285d
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [PATCHv2 7/7] arm: dts: add thermal zones info on tmp102 for DRA7-EVM
@ 2014-01-06 12:36 ` Eduardo Valentin
0 siblings, 0 replies; 37+ messages in thread
From: Eduardo Valentin @ 2014-01-06 12:36 UTC (permalink / raw)
To: rui.zhang
Cc: linux-pm, devicetree, lm-sensors, linux-kernel, Eduardo Valentin,
Benoît Cousson, Rob Herring, Pawel Moll, Mark Rutland,
Stephen Warren, Ian Campbell, Russell King, linux-arm-kernel
Add simple thermal zone on tmp102.
Cc: Benoît Cousson <bcousson@baylibre.com>
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: devicetree@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
---
arch/arm/boot/dts/dra7-evm.dts | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts
index 36e2c9e..1ea9c3d 100644
--- a/arch/arm/boot/dts/dra7-evm.dts
+++ b/arch/arm/boot/dts/dra7-evm.dts
@@ -95,6 +95,21 @@
};
};
+&thermal_zones {
+ pcb_thermal: pcb_thermal {
+ polling-delay-passive = <250>; /* milliseconds */
+ polling-delay = <1000>; /* milliseconds */
+ thermal-sensors = <&tmp102>;
+ trips {
+ crit@80000 {
+ temperature = <80000>;
+ hysteresis = <1000>;
+ type = "critical";
+ };
+ };
+ };
+};
+
&i2c1 {
status = "okay";
pinctrl-names = "default";
--
1.8.2.1.342.gfa7285d
^ permalink raw reply related [flat|nested] 37+ messages in thread
* Re: [PATCHv2 0/7] DRA7: DT thermal support
2014-01-06 12:36 ` [lm-sensors] " Eduardo Valentin
(?)
@ 2014-01-06 14:46 ` Zhang Rui
-1 siblings, 0 replies; 37+ messages in thread
From: Zhang Rui @ 2014-01-06 14:46 UTC (permalink / raw)
To: Eduardo Valentin
Cc: linux-pm-u79uwXL29TY76Z2rM5mHXA,
devicetree-u79uwXL29TY76Z2rM5mHXA,
lm-sensors-GZX6beZjE8VD60Wz+7aTrA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA
On Mon, 2014-01-06 at 08:36 -0400, Eduardo Valentin wrote:
> Hello all,
>
> Now that the basic thermal DT support is merged into Rui's tree,
> I am resending this series, which introduces the DT node entries
> for DRA7 thermal limits representation.
>
> The series adds two thermal zones, to represent IVA and DSPEVE,
> respectively. It also adds the support to tmp102 and a corresponding
> pcb thermal zone.
>
> There are only cosmetic changes from v1. A couple of spaces and tabulations
> have been fixed, and minor changes in sentences present in commit log.
> One difference from V1 is the fact that now bandgap is introduced under
> OCP, which is also a minor diff.
>
> This patch series has been runtime tested on DRA7-evm.
>
> All best
>
> Eduardo Valentin (7):
> arm: dts: add dra7 DSPEVE thermal data
> arm: dts: add dra7 IVA thermal data
> arm: dts: dra7: add bandgap entry
> arm: dts: add cooling properties on dra7 cpu node
> arm: dts: dra7: add thermal data
> arm: dts: add tmp102 i2c sensor node on dra7-evm
> arm: dts: add thermal zones info on tmp102 for DRA7-EVM
>
> arch/arm/boot/dts/dra7-dspeve-thermal.dtsi | 28 ++++++++++++++++++++++++++++
> arch/arm/boot/dts/dra7-evm.dts | 22 ++++++++++++++++++++++
> arch/arm/boot/dts/dra7-iva-thermal.dtsi | 28 ++++++++++++++++++++++++++++
> arch/arm/boot/dts/dra7.dtsi | 26 ++++++++++++++++++++++++++
I'm okay with this patch set. But as long as this patch set does not
change any code under drivers/thermal/, I prefer these patches to go to
your thermal-soc tree first.
thanks,
rui
> 4 files changed, 104 insertions(+)
> create mode 100644 arch/arm/boot/dts/dra7-dspeve-thermal.dtsi
> create mode 100644 arch/arm/boot/dts/dra7-iva-thermal.dtsi
>
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [lm-sensors] [PATCHv2 0/7] DRA7: DT thermal support
@ 2014-01-06 14:46 ` Zhang Rui
0 siblings, 0 replies; 37+ messages in thread
From: Zhang Rui @ 2014-01-06 14:46 UTC (permalink / raw)
To: Eduardo Valentin; +Cc: linux-pm, devicetree, lm-sensors, linux-kernel
On Mon, 2014-01-06 at 08:36 -0400, Eduardo Valentin wrote:
> Hello all,
>
> Now that the basic thermal DT support is merged into Rui's tree,
> I am resending this series, which introduces the DT node entries
> for DRA7 thermal limits representation.
>
> The series adds two thermal zones, to represent IVA and DSPEVE,
> respectively. It also adds the support to tmp102 and a corresponding
> pcb thermal zone.
>
> There are only cosmetic changes from v1. A couple of spaces and tabulations
> have been fixed, and minor changes in sentences present in commit log.
> One difference from V1 is the fact that now bandgap is introduced under
> OCP, which is also a minor diff.
>
> This patch series has been runtime tested on DRA7-evm.
>
> All best
>
> Eduardo Valentin (7):
> arm: dts: add dra7 DSPEVE thermal data
> arm: dts: add dra7 IVA thermal data
> arm: dts: dra7: add bandgap entry
> arm: dts: add cooling properties on dra7 cpu node
> arm: dts: dra7: add thermal data
> arm: dts: add tmp102 i2c sensor node on dra7-evm
> arm: dts: add thermal zones info on tmp102 for DRA7-EVM
>
> arch/arm/boot/dts/dra7-dspeve-thermal.dtsi | 28 ++++++++++++++++++++++++++++
> arch/arm/boot/dts/dra7-evm.dts | 22 ++++++++++++++++++++++
> arch/arm/boot/dts/dra7-iva-thermal.dtsi | 28 ++++++++++++++++++++++++++++
> arch/arm/boot/dts/dra7.dtsi | 26 ++++++++++++++++++++++++++
I'm okay with this patch set. But as long as this patch set does not
change any code under drivers/thermal/, I prefer these patches to go to
your thermal-soc tree first.
thanks,
rui
> 4 files changed, 104 insertions(+)
> create mode 100644 arch/arm/boot/dts/dra7-dspeve-thermal.dtsi
> create mode 100644 arch/arm/boot/dts/dra7-iva-thermal.dtsi
>
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PATCHv2 0/7] DRA7: DT thermal support
@ 2014-01-06 14:46 ` Zhang Rui
0 siblings, 0 replies; 37+ messages in thread
From: Zhang Rui @ 2014-01-06 14:46 UTC (permalink / raw)
To: Eduardo Valentin; +Cc: linux-pm, devicetree, lm-sensors, linux-kernel
On Mon, 2014-01-06 at 08:36 -0400, Eduardo Valentin wrote:
> Hello all,
>
> Now that the basic thermal DT support is merged into Rui's tree,
> I am resending this series, which introduces the DT node entries
> for DRA7 thermal limits representation.
>
> The series adds two thermal zones, to represent IVA and DSPEVE,
> respectively. It also adds the support to tmp102 and a corresponding
> pcb thermal zone.
>
> There are only cosmetic changes from v1. A couple of spaces and tabulations
> have been fixed, and minor changes in sentences present in commit log.
> One difference from V1 is the fact that now bandgap is introduced under
> OCP, which is also a minor diff.
>
> This patch series has been runtime tested on DRA7-evm.
>
> All best
>
> Eduardo Valentin (7):
> arm: dts: add dra7 DSPEVE thermal data
> arm: dts: add dra7 IVA thermal data
> arm: dts: dra7: add bandgap entry
> arm: dts: add cooling properties on dra7 cpu node
> arm: dts: dra7: add thermal data
> arm: dts: add tmp102 i2c sensor node on dra7-evm
> arm: dts: add thermal zones info on tmp102 for DRA7-EVM
>
> arch/arm/boot/dts/dra7-dspeve-thermal.dtsi | 28 ++++++++++++++++++++++++++++
> arch/arm/boot/dts/dra7-evm.dts | 22 ++++++++++++++++++++++
> arch/arm/boot/dts/dra7-iva-thermal.dtsi | 28 ++++++++++++++++++++++++++++
> arch/arm/boot/dts/dra7.dtsi | 26 ++++++++++++++++++++++++++
I'm okay with this patch set. But as long as this patch set does not
change any code under drivers/thermal/, I prefer these patches to go to
your thermal-soc tree first.
thanks,
rui
> 4 files changed, 104 insertions(+)
> create mode 100644 arch/arm/boot/dts/dra7-dspeve-thermal.dtsi
> create mode 100644 arch/arm/boot/dts/dra7-iva-thermal.dtsi
>
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PATCHv2 0/7] DRA7: DT thermal support
2014-01-06 14:46 ` [lm-sensors] " Zhang Rui
(?)
@ 2014-01-06 14:53 ` Eduardo Valentin
-1 siblings, 0 replies; 37+ messages in thread
From: Eduardo Valentin @ 2014-01-06 14:53 UTC (permalink / raw)
To: Zhang Rui
Cc: Eduardo Valentin, linux-pm, devicetree, lm-sensors, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 2056 bytes --]
On 06-01-2014 10:46, Zhang Rui wrote:
> On Mon, 2014-01-06 at 08:36 -0400, Eduardo Valentin wrote:
>> Hello all,
>>
>> Now that the basic thermal DT support is merged into Rui's tree,
>> I am resending this series, which introduces the DT node entries
>> for DRA7 thermal limits representation.
>>
>> The series adds two thermal zones, to represent IVA and DSPEVE,
>> respectively. It also adds the support to tmp102 and a corresponding
>> pcb thermal zone.
>>
>> There are only cosmetic changes from v1. A couple of spaces and tabulations
>> have been fixed, and minor changes in sentences present in commit log.
>> One difference from V1 is the fact that now bandgap is introduced under
>> OCP, which is also a minor diff.
>>
>> This patch series has been runtime tested on DRA7-evm.
>>
>> All best
>>
>> Eduardo Valentin (7):
>> arm: dts: add dra7 DSPEVE thermal data
>> arm: dts: add dra7 IVA thermal data
>> arm: dts: dra7: add bandgap entry
>> arm: dts: add cooling properties on dra7 cpu node
>> arm: dts: dra7: add thermal data
>> arm: dts: add tmp102 i2c sensor node on dra7-evm
>> arm: dts: add thermal zones info on tmp102 for DRA7-EVM
>>
>> arch/arm/boot/dts/dra7-dspeve-thermal.dtsi | 28 ++++++++++++++++++++++++++++
>> arch/arm/boot/dts/dra7-evm.dts | 22 ++++++++++++++++++++++
>> arch/arm/boot/dts/dra7-iva-thermal.dtsi | 28 ++++++++++++++++++++++++++++
>> arch/arm/boot/dts/dra7.dtsi | 26 ++++++++++++++++++++++++++
>
> I'm okay with this patch set. But as long as this patch set does not
> change any code under drivers/thermal/, I prefer these patches to go to
> your thermal-soc tree first.
No problem at all. I will be queuing them.
>
> thanks,
> rui
>> 4 files changed, 104 insertions(+)
>> create mode 100644 arch/arm/boot/dts/dra7-dspeve-thermal.dtsi
>> create mode 100644 arch/arm/boot/dts/dra7-iva-thermal.dtsi
>>
>
>
>
>
--
You have got to be excited about what you are doing. (L. Lamport)
Eduardo Valentin
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 295 bytes --]
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [lm-sensors] [PATCHv2 0/7] DRA7: DT thermal support
@ 2014-01-06 14:53 ` Eduardo Valentin
0 siblings, 0 replies; 37+ messages in thread
From: Eduardo Valentin @ 2014-01-06 14:53 UTC (permalink / raw)
To: Zhang Rui
Cc: Eduardo Valentin, linux-pm, devicetree, lm-sensors, linux-kernel
[-- Attachment #1.1: Type: text/plain, Size: 2056 bytes --]
On 06-01-2014 10:46, Zhang Rui wrote:
> On Mon, 2014-01-06 at 08:36 -0400, Eduardo Valentin wrote:
>> Hello all,
>>
>> Now that the basic thermal DT support is merged into Rui's tree,
>> I am resending this series, which introduces the DT node entries
>> for DRA7 thermal limits representation.
>>
>> The series adds two thermal zones, to represent IVA and DSPEVE,
>> respectively. It also adds the support to tmp102 and a corresponding
>> pcb thermal zone.
>>
>> There are only cosmetic changes from v1. A couple of spaces and tabulations
>> have been fixed, and minor changes in sentences present in commit log.
>> One difference from V1 is the fact that now bandgap is introduced under
>> OCP, which is also a minor diff.
>>
>> This patch series has been runtime tested on DRA7-evm.
>>
>> All best
>>
>> Eduardo Valentin (7):
>> arm: dts: add dra7 DSPEVE thermal data
>> arm: dts: add dra7 IVA thermal data
>> arm: dts: dra7: add bandgap entry
>> arm: dts: add cooling properties on dra7 cpu node
>> arm: dts: dra7: add thermal data
>> arm: dts: add tmp102 i2c sensor node on dra7-evm
>> arm: dts: add thermal zones info on tmp102 for DRA7-EVM
>>
>> arch/arm/boot/dts/dra7-dspeve-thermal.dtsi | 28 ++++++++++++++++++++++++++++
>> arch/arm/boot/dts/dra7-evm.dts | 22 ++++++++++++++++++++++
>> arch/arm/boot/dts/dra7-iva-thermal.dtsi | 28 ++++++++++++++++++++++++++++
>> arch/arm/boot/dts/dra7.dtsi | 26 ++++++++++++++++++++++++++
>
> I'm okay with this patch set. But as long as this patch set does not
> change any code under drivers/thermal/, I prefer these patches to go to
> your thermal-soc tree first.
No problem at all. I will be queuing them.
>
> thanks,
> rui
>> 4 files changed, 104 insertions(+)
>> create mode 100644 arch/arm/boot/dts/dra7-dspeve-thermal.dtsi
>> create mode 100644 arch/arm/boot/dts/dra7-iva-thermal.dtsi
>>
>
>
>
>
--
You have got to be excited about what you are doing. (L. Lamport)
Eduardo Valentin
[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 295 bytes --]
[-- Attachment #2: Type: text/plain, Size: 153 bytes --]
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PATCHv2 0/7] DRA7: DT thermal support
@ 2014-01-06 14:53 ` Eduardo Valentin
0 siblings, 0 replies; 37+ messages in thread
From: Eduardo Valentin @ 2014-01-06 14:53 UTC (permalink / raw)
To: Zhang Rui
Cc: Eduardo Valentin, linux-pm, devicetree, lm-sensors, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 2056 bytes --]
On 06-01-2014 10:46, Zhang Rui wrote:
> On Mon, 2014-01-06 at 08:36 -0400, Eduardo Valentin wrote:
>> Hello all,
>>
>> Now that the basic thermal DT support is merged into Rui's tree,
>> I am resending this series, which introduces the DT node entries
>> for DRA7 thermal limits representation.
>>
>> The series adds two thermal zones, to represent IVA and DSPEVE,
>> respectively. It also adds the support to tmp102 and a corresponding
>> pcb thermal zone.
>>
>> There are only cosmetic changes from v1. A couple of spaces and tabulations
>> have been fixed, and minor changes in sentences present in commit log.
>> One difference from V1 is the fact that now bandgap is introduced under
>> OCP, which is also a minor diff.
>>
>> This patch series has been runtime tested on DRA7-evm.
>>
>> All best
>>
>> Eduardo Valentin (7):
>> arm: dts: add dra7 DSPEVE thermal data
>> arm: dts: add dra7 IVA thermal data
>> arm: dts: dra7: add bandgap entry
>> arm: dts: add cooling properties on dra7 cpu node
>> arm: dts: dra7: add thermal data
>> arm: dts: add tmp102 i2c sensor node on dra7-evm
>> arm: dts: add thermal zones info on tmp102 for DRA7-EVM
>>
>> arch/arm/boot/dts/dra7-dspeve-thermal.dtsi | 28 ++++++++++++++++++++++++++++
>> arch/arm/boot/dts/dra7-evm.dts | 22 ++++++++++++++++++++++
>> arch/arm/boot/dts/dra7-iva-thermal.dtsi | 28 ++++++++++++++++++++++++++++
>> arch/arm/boot/dts/dra7.dtsi | 26 ++++++++++++++++++++++++++
>
> I'm okay with this patch set. But as long as this patch set does not
> change any code under drivers/thermal/, I prefer these patches to go to
> your thermal-soc tree first.
No problem at all. I will be queuing them.
>
> thanks,
> rui
>> 4 files changed, 104 insertions(+)
>> create mode 100644 arch/arm/boot/dts/dra7-dspeve-thermal.dtsi
>> create mode 100644 arch/arm/boot/dts/dra7-iva-thermal.dtsi
>>
>
>
>
>
--
You have got to be excited about what you are doing. (L. Lamport)
Eduardo Valentin
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 295 bytes --]
^ permalink raw reply [flat|nested] 37+ messages in thread
end of thread, other threads:[~2014-01-06 14:54 UTC | newest]
Thread overview: 37+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-06 12:36 [PATCHv2 0/7] DRA7: DT thermal support Eduardo Valentin
2014-01-06 12:36 ` Eduardo Valentin
2014-01-06 12:36 ` [lm-sensors] " Eduardo Valentin
2014-01-06 12:36 ` [PATCHv2 1/7] arm: dts: add dra7 DSPEVE thermal data Eduardo Valentin
2014-01-06 12:36 ` Eduardo Valentin
2014-01-06 12:36 ` Eduardo Valentin
2014-01-06 12:36 ` [lm-sensors] " Eduardo Valentin
2014-01-06 12:36 ` [PATCHv2 3/7] arm: dts: dra7: add bandgap entry Eduardo Valentin
2014-01-06 12:36 ` Eduardo Valentin
2014-01-06 12:36 ` Eduardo Valentin
2014-01-06 12:36 ` [lm-sensors] " Eduardo Valentin
2014-01-06 12:36 ` [PATCHv2 4/7] arm: dts: add cooling properties on dra7 cpu node Eduardo Valentin
2014-01-06 12:36 ` Eduardo Valentin
2014-01-06 12:36 ` Eduardo Valentin
2014-01-06 12:36 ` [lm-sensors] " Eduardo Valentin
2014-01-06 12:36 ` [PATCHv2 5/7] arm: dts: dra7: add thermal data Eduardo Valentin
2014-01-06 12:36 ` Eduardo Valentin
2014-01-06 12:36 ` Eduardo Valentin
2014-01-06 12:36 ` [lm-sensors] " Eduardo Valentin
2014-01-06 12:36 ` [PATCHv2 7/7] arm: dts: add thermal zones info on tmp102 for DRA7-EVM Eduardo Valentin
2014-01-06 12:36 ` Eduardo Valentin
2014-01-06 12:36 ` Eduardo Valentin
2014-01-06 12:36 ` [lm-sensors] " Eduardo Valentin
[not found] ` <1389011811-13004-1-git-send-email-eduardo.valentin-l0cyMroinI0@public.gmane.org>
2014-01-06 12:36 ` [PATCHv2 2/7] arm: dts: add dra7 IVA thermal data Eduardo Valentin
2014-01-06 12:36 ` Eduardo Valentin
2014-01-06 12:36 ` Eduardo Valentin
2014-01-06 12:36 ` [lm-sensors] " Eduardo Valentin
2014-01-06 12:36 ` [PATCHv2 6/7] arm: dts: add tmp102 i2c sensor node on dra7-evm Eduardo Valentin
2014-01-06 12:36 ` Eduardo Valentin
2014-01-06 12:36 ` Eduardo Valentin
2014-01-06 12:36 ` [lm-sensors] " Eduardo Valentin
2014-01-06 14:46 ` [PATCHv2 0/7] DRA7: DT thermal support Zhang Rui
2014-01-06 14:46 ` Zhang Rui
2014-01-06 14:46 ` [lm-sensors] " Zhang Rui
2014-01-06 14:53 ` Eduardo Valentin
2014-01-06 14:53 ` Eduardo Valentin
2014-01-06 14:53 ` [lm-sensors] " Eduardo Valentin
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.