* [PATCH 0/4] arm: dts: am57xx: Correct the thermal thresholds
@ 2016-04-28 9:49 Keerthy
[not found] ` <1461837002-10393-1-git-send-email-j-keerthy-l0cyMroinI0@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Keerthy @ 2016-04-28 9:49 UTC (permalink / raw)
To: tony-4v6yS6AI5VpBDgjK7y7TUQ
Cc: robh+dt-DgEjT+Ai2ygdnm+yROfE0A, mark.rutland-5wv7dgnIgG8,
linux-omap-u79uwXL29TY76Z2rM5mHXA,
devicetree-u79uwXL29TY76Z2rM5mHXA,
inux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
t-kristo-l0cyMroinI0, j-keerthy-l0cyMroinI0
Currently all the am57xx versions are wrongly re-using the dra7 thermal
threholds. Introduing the correct thermal thresholds based on industrial
or commercial grade silicon present on the individual boards.
Tested on AM57XX-BEAGLE-X15 (Commercial) and AM572X-IDK(Industrial)
for the trip_point node sysfs temperatures.
These patches are on top of:
https://kernel.googlesource.com/pub/scm/linux/kernel/git/tmlind/linux-omap/+/omap-for-v4.7/dt
Keerthy (4):
ARM: dts: am57xx: Introduce commercial grade thermal thresholds
ARM: dts: am57xx: Introduce industrial grade thermal thresholds
ARM: dts: am57xx: Include the commercial grade thresholds
ARM: dts: am57xx-idk: Include Industrial grade thermal thresholds
arch/arm/boot/dts/am57xx-beagle-x15.dts | 1 +
arch/arm/boot/dts/am57xx-commercial-grade.dtsi | 23 +++++++++++++++++++++++
arch/arm/boot/dts/am57xx-idk-common.dtsi | 2 ++
arch/arm/boot/dts/am57xx-industrial-grade.dtsi | 23 +++++++++++++++++++++++
4 files changed, 49 insertions(+)
create mode 100644 arch/arm/boot/dts/am57xx-commercial-grade.dtsi
create mode 100644 arch/arm/boot/dts/am57xx-industrial-grade.dtsi
--
1.9.1
--
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] 5+ messages in thread
* [PATCH 1/4] ARM: dts: am57xx: Introduce commercial grade thermal thresholds
[not found] ` <1461837002-10393-1-git-send-email-j-keerthy-l0cyMroinI0@public.gmane.org>
@ 2016-04-28 9:49 ` Keerthy
2016-04-28 9:50 ` [PATCH 2/4] ARM: dts: am57xx: Introduce industrial " Keerthy
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Keerthy @ 2016-04-28 9:49 UTC (permalink / raw)
To: tony-4v6yS6AI5VpBDgjK7y7TUQ
Cc: robh+dt-DgEjT+Ai2ygdnm+yROfE0A, mark.rutland-5wv7dgnIgG8,
linux-omap-u79uwXL29TY76Z2rM5mHXA,
devicetree-u79uwXL29TY76Z2rM5mHXA,
inux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
t-kristo-l0cyMroinI0, j-keerthy-l0cyMroinI0
The silicon versions which are non ES2.0 are commercial grade silicon
and have lower thermal thresholds.
Signed-off-by: Keerthy <j-keerthy-l0cyMroinI0@public.gmane.org>
---
arch/arm/boot/dts/am57xx-commercial-grade.dtsi | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
create mode 100644 arch/arm/boot/dts/am57xx-commercial-grade.dtsi
diff --git a/arch/arm/boot/dts/am57xx-commercial-grade.dtsi b/arch/arm/boot/dts/am57xx-commercial-grade.dtsi
new file mode 100644
index 0000000..c183654
--- /dev/null
+++ b/arch/arm/boot/dts/am57xx-commercial-grade.dtsi
@@ -0,0 +1,23 @@
+&cpu_alert0 {
+ temperature = <80000>; /* milliCelsius */
+};
+
+&cpu_crit {
+ temperature = <90000>; /* milliCelsius */
+};
+
+&gpu_crit {
+ temperature = <90000>; /* milliCelsius */
+};
+
+&core_crit {
+ temperature = <90000>; /* milliCelsius */
+};
+
+&dspeve_crit {
+ temperature = <90000>; /* milliCelsius */
+};
+
+&iva_crit {
+ temperature = <90000>; /* milliCelsius */
+};
--
1.9.1
--
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] 5+ messages in thread
* [PATCH 2/4] ARM: dts: am57xx: Introduce industrial grade thermal thresholds
[not found] ` <1461837002-10393-1-git-send-email-j-keerthy-l0cyMroinI0@public.gmane.org>
2016-04-28 9:49 ` [PATCH 1/4] ARM: dts: am57xx: Introduce commercial grade " Keerthy
@ 2016-04-28 9:50 ` Keerthy
2016-04-28 9:50 ` [PATCH 3/4] ARM: dts: am57xx-beagle-x15: Include the commercial grade thresholds Keerthy
2016-04-28 9:50 ` [PATCH 4/4] ARM: dts: am57xx-idk: Include Industrial grade thermal thresholds Keerthy
3 siblings, 0 replies; 5+ messages in thread
From: Keerthy @ 2016-04-28 9:50 UTC (permalink / raw)
To: tony-4v6yS6AI5VpBDgjK7y7TUQ
Cc: robh+dt-DgEjT+Ai2ygdnm+yROfE0A, mark.rutland-5wv7dgnIgG8,
linux-omap-u79uwXL29TY76Z2rM5mHXA,
devicetree-u79uwXL29TY76Z2rM5mHXA,
inux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
t-kristo-l0cyMroinI0, j-keerthy-l0cyMroinI0
The silicon version ES2.0 onwards are industrial grade samples
and have higher thermal thresholds than commecial grade samples.
Signed-off-by: Keerthy <j-keerthy-l0cyMroinI0@public.gmane.org>
---
arch/arm/boot/dts/am57xx-industrial-grade.dtsi | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
create mode 100644 arch/arm/boot/dts/am57xx-industrial-grade.dtsi
diff --git a/arch/arm/boot/dts/am57xx-industrial-grade.dtsi b/arch/arm/boot/dts/am57xx-industrial-grade.dtsi
new file mode 100644
index 0000000..70c8c4b
--- /dev/null
+++ b/arch/arm/boot/dts/am57xx-industrial-grade.dtsi
@@ -0,0 +1,23 @@
+&cpu_alert0 {
+ temperature = <90000>; /* milliCelsius */
+};
+
+&cpu_crit {
+ temperature = <105000>; /* milliCelsius */
+};
+
+&gpu_crit {
+ temperature = <105000>; /* milliCelsius */
+};
+
+&core_crit {
+ temperature = <105000>; /* milliCelsius */
+};
+
+&dspeve_crit {
+ temperature = <105000>; /* milliCelsius */
+};
+
+&iva_crit {
+ temperature = <105000>; /* milliCelsius */
+};
--
1.9.1
--
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] 5+ messages in thread
* [PATCH 3/4] ARM: dts: am57xx-beagle-x15: Include the commercial grade thresholds
[not found] ` <1461837002-10393-1-git-send-email-j-keerthy-l0cyMroinI0@public.gmane.org>
2016-04-28 9:49 ` [PATCH 1/4] ARM: dts: am57xx: Introduce commercial grade " Keerthy
2016-04-28 9:50 ` [PATCH 2/4] ARM: dts: am57xx: Introduce industrial " Keerthy
@ 2016-04-28 9:50 ` Keerthy
2016-04-28 9:50 ` [PATCH 4/4] ARM: dts: am57xx-idk: Include Industrial grade thermal thresholds Keerthy
3 siblings, 0 replies; 5+ messages in thread
From: Keerthy @ 2016-04-28 9:50 UTC (permalink / raw)
To: tony-4v6yS6AI5VpBDgjK7y7TUQ
Cc: robh+dt-DgEjT+Ai2ygdnm+yROfE0A, mark.rutland-5wv7dgnIgG8,
linux-omap-u79uwXL29TY76Z2rM5mHXA,
devicetree-u79uwXL29TY76Z2rM5mHXA,
inux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
t-kristo-l0cyMroinI0, j-keerthy-l0cyMroinI0
am57xx-beagle-x15 have commercial grade samples whose
thermal thresholds lower than dra7. Hence correcting the same.
Signed-off-by: Keerthy <j-keerthy-l0cyMroinI0@public.gmane.org>
---
arch/arm/boot/dts/am57xx-beagle-x15.dts | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/am57xx-beagle-x15.dts b/arch/arm/boot/dts/am57xx-beagle-x15.dts
index f0a0efb..f6904f6 100644
--- a/arch/arm/boot/dts/am57xx-beagle-x15.dts
+++ b/arch/arm/boot/dts/am57xx-beagle-x15.dts
@@ -8,6 +8,7 @@
/dts-v1/;
#include "dra74x.dtsi"
+#include "am57xx-commercial-grade.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
--
1.9.1
--
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] 5+ messages in thread
* [PATCH 4/4] ARM: dts: am57xx-idk: Include Industrial grade thermal thresholds
[not found] ` <1461837002-10393-1-git-send-email-j-keerthy-l0cyMroinI0@public.gmane.org>
` (2 preceding siblings ...)
2016-04-28 9:50 ` [PATCH 3/4] ARM: dts: am57xx-beagle-x15: Include the commercial grade thresholds Keerthy
@ 2016-04-28 9:50 ` Keerthy
3 siblings, 0 replies; 5+ messages in thread
From: Keerthy @ 2016-04-28 9:50 UTC (permalink / raw)
To: tony-4v6yS6AI5VpBDgjK7y7TUQ
Cc: robh+dt-DgEjT+Ai2ygdnm+yROfE0A, mark.rutland-5wv7dgnIgG8,
linux-omap-u79uwXL29TY76Z2rM5mHXA,
devicetree-u79uwXL29TY76Z2rM5mHXA,
inux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
t-kristo-l0cyMroinI0, j-keerthy-l0cyMroinI0
am57xx-idk have Industrial grade samples whose thermal
thresholds are different as compared with dra7. Hence correcting the same.
Signed-off-by: Keerthy <j-keerthy-l0cyMroinI0@public.gmane.org>
---
arch/arm/boot/dts/am57xx-idk-common.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/boot/dts/am57xx-idk-common.dtsi b/arch/arm/boot/dts/am57xx-idk-common.dtsi
index 2805b68..b01a594 100644
--- a/arch/arm/boot/dts/am57xx-idk-common.dtsi
+++ b/arch/arm/boot/dts/am57xx-idk-common.dtsi
@@ -6,6 +6,8 @@
* published by the Free Software Foundation.
*/
+#include "am57xx-industrial-grade.dtsi"
+
/ {
aliases {
rtc0 = &tps659038_rtc;
--
1.9.1
--
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] 5+ messages in thread
end of thread, other threads:[~2016-04-28 9:50 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-28 9:49 [PATCH 0/4] arm: dts: am57xx: Correct the thermal thresholds Keerthy
[not found] ` <1461837002-10393-1-git-send-email-j-keerthy-l0cyMroinI0@public.gmane.org>
2016-04-28 9:49 ` [PATCH 1/4] ARM: dts: am57xx: Introduce commercial grade " Keerthy
2016-04-28 9:50 ` [PATCH 2/4] ARM: dts: am57xx: Introduce industrial " Keerthy
2016-04-28 9:50 ` [PATCH 3/4] ARM: dts: am57xx-beagle-x15: Include the commercial grade thresholds Keerthy
2016-04-28 9:50 ` [PATCH 4/4] ARM: dts: am57xx-idk: Include Industrial grade thermal thresholds Keerthy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).