devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RESEND 0/4] arm: dts: am57xx: Correct the thermal thresholds
@ 2016-04-28 10:05 Keerthy
       [not found] ` <1461837949-11116-1-git-send-email-j-keerthy-l0cyMroinI0@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Keerthy @ 2016-04-28 10:05 UTC (permalink / raw)
  To: tony-4v6yS6AI5VpBDgjK7y7TUQ
  Cc: robh+dt-DgEjT+Ai2ygdnm+yROfE0A, mark.rutland-5wv7dgnIgG8,
	linux-omap-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	t-kristo-l0cyMroinI0, j-keerthy-l0cyMroinI0

Noticed that earlier post had a wrong list name hence resending the
series.

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] 8+ messages in thread

* [PATCH RESEND 1/4] ARM: dts: am57xx: Introduce commercial grade thermal thresholds
       [not found] ` <1461837949-11116-1-git-send-email-j-keerthy-l0cyMroinI0@public.gmane.org>
@ 2016-04-28 10:05   ` Keerthy
  2016-04-28 10:05   ` [PATCH RESEND 2/4] ARM: dts: am57xx: Introduce industrial " Keerthy
                     ` (3 subsequent siblings)
  4 siblings, 0 replies; 8+ messages in thread
From: Keerthy @ 2016-04-28 10:05 UTC (permalink / raw)
  To: tony-4v6yS6AI5VpBDgjK7y7TUQ
  Cc: robh+dt-DgEjT+Ai2ygdnm+yROfE0A, mark.rutland-5wv7dgnIgG8,
	linux-omap-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-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] 8+ messages in thread

* [PATCH RESEND 2/4] ARM: dts: am57xx: Introduce industrial grade thermal thresholds
       [not found] ` <1461837949-11116-1-git-send-email-j-keerthy-l0cyMroinI0@public.gmane.org>
  2016-04-28 10:05   ` [PATCH RESEND 1/4] ARM: dts: am57xx: Introduce commercial grade " Keerthy
@ 2016-04-28 10:05   ` Keerthy
  2016-04-28 10:05   ` [PATCH RESEND 3/4] ARM: dts: am57xx-beagle-x15: Include the commercial grade thresholds Keerthy
                     ` (2 subsequent siblings)
  4 siblings, 0 replies; 8+ messages in thread
From: Keerthy @ 2016-04-28 10:05 UTC (permalink / raw)
  To: tony-4v6yS6AI5VpBDgjK7y7TUQ
  Cc: robh+dt-DgEjT+Ai2ygdnm+yROfE0A, mark.rutland-5wv7dgnIgG8,
	linux-omap-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-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] 8+ messages in thread

* [PATCH RESEND 3/4] ARM: dts: am57xx-beagle-x15: Include the commercial grade thresholds
       [not found] ` <1461837949-11116-1-git-send-email-j-keerthy-l0cyMroinI0@public.gmane.org>
  2016-04-28 10:05   ` [PATCH RESEND 1/4] ARM: dts: am57xx: Introduce commercial grade " Keerthy
  2016-04-28 10:05   ` [PATCH RESEND 2/4] ARM: dts: am57xx: Introduce industrial " Keerthy
@ 2016-04-28 10:05   ` Keerthy
  2016-04-28 10:05   ` [PATCH RESEND 4/4] ARM: dts: am57xx-idk: Include Industrial grade thermal thresholds Keerthy
  2016-05-10  4:24   ` [PATCH RESEND 0/4] arm: dts: am57xx: Correct the " Keerthy
  4 siblings, 0 replies; 8+ messages in thread
From: Keerthy @ 2016-04-28 10:05 UTC (permalink / raw)
  To: tony-4v6yS6AI5VpBDgjK7y7TUQ
  Cc: robh+dt-DgEjT+Ai2ygdnm+yROfE0A, mark.rutland-5wv7dgnIgG8,
	linux-omap-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-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] 8+ messages in thread

* [PATCH RESEND 4/4] ARM: dts: am57xx-idk: Include Industrial grade  thermal thresholds
       [not found] ` <1461837949-11116-1-git-send-email-j-keerthy-l0cyMroinI0@public.gmane.org>
                     ` (2 preceding siblings ...)
  2016-04-28 10:05   ` [PATCH RESEND 3/4] ARM: dts: am57xx-beagle-x15: Include the commercial grade thresholds Keerthy
@ 2016-04-28 10:05   ` Keerthy
  2016-05-10  4:24   ` [PATCH RESEND 0/4] arm: dts: am57xx: Correct the " Keerthy
  4 siblings, 0 replies; 8+ messages in thread
From: Keerthy @ 2016-04-28 10:05 UTC (permalink / raw)
  To: tony-4v6yS6AI5VpBDgjK7y7TUQ
  Cc: robh+dt-DgEjT+Ai2ygdnm+yROfE0A, mark.rutland-5wv7dgnIgG8,
	linux-omap-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-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] 8+ messages in thread

* Re: [PATCH RESEND 0/4] arm: dts: am57xx: Correct the thermal thresholds
       [not found] ` <1461837949-11116-1-git-send-email-j-keerthy-l0cyMroinI0@public.gmane.org>
                     ` (3 preceding siblings ...)
  2016-04-28 10:05   ` [PATCH RESEND 4/4] ARM: dts: am57xx-idk: Include Industrial grade thermal thresholds Keerthy
@ 2016-05-10  4:24   ` Keerthy
       [not found]     ` <57316262.80003-l0cyMroinI0@public.gmane.org>
  4 siblings, 1 reply; 8+ messages in thread
From: Keerthy @ 2016-05-10  4:24 UTC (permalink / raw)
  To: Keerthy, tony-4v6yS6AI5VpBDgjK7y7TUQ
  Cc: robh+dt-DgEjT+Ai2ygdnm+yROfE0A, mark.rutland-5wv7dgnIgG8,
	linux-omap-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	t-kristo-l0cyMroinI0

Tony,

On Thursday 28 April 2016 03:35 PM, Keerthy wrote:
> Noticed that earlier post had a wrong list name hence resending the
> series.
>
> 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.
>

A Gentle ping on this series.

> 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
>
--
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] 8+ messages in thread

* Re: [PATCH RESEND 0/4] arm: dts: am57xx: Correct the thermal thresholds
       [not found]     ` <57316262.80003-l0cyMroinI0@public.gmane.org>
@ 2016-05-12 20:35       ` Tony Lindgren
       [not found]         ` <20160512203505.GV5995-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Tony Lindgren @ 2016-05-12 20:35 UTC (permalink / raw)
  To: Keerthy
  Cc: Keerthy, robh+dt-DgEjT+Ai2ygdnm+yROfE0A, mark.rutland-5wv7dgnIgG8,
	linux-omap-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	t-kristo-l0cyMroinI0

Hi,

* Keerthy <a0393675-l0cyMroinI0@public.gmane.org> [160509 21:25]:
> Tony,
> 
> On Thursday 28 April 2016 03:35 PM, Keerthy wrote:
> >Noticed that earlier post had a wrong list name hence resending the
> >series.
> >
> >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.
> >
> 
> A Gentle ping on this series.

I already have these in Linux next for v4.7 merge window:

5b6042237dc8 ("ARM: dts: am57xx-idk: Include Industrial grade  thermal thresholds")
266e62f97539 ("ARM: dts: am57xx-beagle-x15: Include the commercial grade thresholds")
cf9b7d5e9cfd ("ARM: dts: am57xx: Introduce industrial grade thermal thresholds")
286db0a516e0 ("ARM: dts: am57xx: Introduce commercial grade thermal thresholds")

Care to check if those are OK? If fixes are needed, please post an
incremental patch against current Linux next.

Regards,

Tony
--
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] 8+ messages in thread

* Re: [PATCH RESEND 0/4] arm: dts: am57xx: Correct the thermal thresholds
       [not found]         ` <20160512203505.GV5995-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
@ 2016-05-13  5:19           ` Keerthy
  0 siblings, 0 replies; 8+ messages in thread
From: Keerthy @ 2016-05-13  5:19 UTC (permalink / raw)
  To: Tony Lindgren
  Cc: Keerthy, robh+dt-DgEjT+Ai2ygdnm+yROfE0A, mark.rutland-5wv7dgnIgG8,
	linux-omap-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	t-kristo-l0cyMroinI0



On Friday 13 May 2016 02:05 AM, Tony Lindgren wrote:
> Hi,
>
> * Keerthy <a0393675-l0cyMroinI0@public.gmane.org> [160509 21:25]:
>> Tony,
>>
>> On Thursday 28 April 2016 03:35 PM, Keerthy wrote:
>>> Noticed that earlier post had a wrong list name hence resending the
>>> series.
>>>
>>> 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.
>>>
>>
>> A Gentle ping on this series.
>
> I already have these in Linux next for v4.7 merge window:
>
> 5b6042237dc8 ("ARM: dts: am57xx-idk: Include Industrial grade  thermal thresholds")
> 266e62f97539 ("ARM: dts: am57xx-beagle-x15: Include the commercial grade thresholds")
> cf9b7d5e9cfd ("ARM: dts: am57xx: Introduce industrial grade thermal thresholds")
> 286db0a516e0 ("ARM: dts: am57xx: Introduce commercial grade thermal thresholds")
>
> Care to check if those are OK? If fixes are needed, please post an
> incremental patch against current Linux next.

Thanks Tony. Those 4 commits are fine.

Regards,
Keerthy
>
> Regards,
>
> Tony
>
--
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] 8+ messages in thread

end of thread, other threads:[~2016-05-13  5:19 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-28 10:05 [PATCH RESEND 0/4] arm: dts: am57xx: Correct the thermal thresholds Keerthy
     [not found] ` <1461837949-11116-1-git-send-email-j-keerthy-l0cyMroinI0@public.gmane.org>
2016-04-28 10:05   ` [PATCH RESEND 1/4] ARM: dts: am57xx: Introduce commercial grade " Keerthy
2016-04-28 10:05   ` [PATCH RESEND 2/4] ARM: dts: am57xx: Introduce industrial " Keerthy
2016-04-28 10:05   ` [PATCH RESEND 3/4] ARM: dts: am57xx-beagle-x15: Include the commercial grade thresholds Keerthy
2016-04-28 10:05   ` [PATCH RESEND 4/4] ARM: dts: am57xx-idk: Include Industrial grade thermal thresholds Keerthy
2016-05-10  4:24   ` [PATCH RESEND 0/4] arm: dts: am57xx: Correct the " Keerthy
     [not found]     ` <57316262.80003-l0cyMroinI0@public.gmane.org>
2016-05-12 20:35       ` Tony Lindgren
     [not found]         ` <20160512203505.GV5995-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2016-05-13  5:19           ` 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).