All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eduardo Valentin <eduardo.valentin@ti.com>
To: <swarren@wwwdotorg.org>, <pawel.moll@arm.com>,
	<mark.rutland@arm.com>, <ian.campbell@citrix.com>,
	<rob.herring@calxeda.com>, <linux@roeck-us.net>,
	<rui.zhang@intel.com>, <grant.likely@linaro.org>
Cc: <linux-pm@vger.kernel.org>, <devicetree@vger.kernel.org>,
	<lm-sensors@lm-sensors.org>, <linux-kernel@vger.kernel.org>,
	Eduardo Valentin <eduardo.valentin@ti.com>
Subject: [PATCH 2/7] arm: dts: add dra7 IVA thermal data
Date: Tue, 1 Oct 2013 14:32:19 -0400	[thread overview]
Message-ID: <1380652344-18819-3-git-send-email-eduardo.valentin@ti.com> (raw)
In-Reply-To: <1380652344-18819-1-git-send-email-eduardo.valentin@ti.com>

This patch changes 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.

This thermal data can be reused across TI SoC devices.

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..fea0cea
--- /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 = THERMAL_TRIP_CRITICAL;
+		};
+	};
+};
-- 
1.8.2.1.342.gfa7285d


WARNING: multiple messages have this Message-ID (diff)
From: Eduardo Valentin <eduardo.valentin-l0cyMroinI0@public.gmane.org>
To: swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org,
	pawel.moll-5wv7dgnIgG8@public.gmane.org,
	mark.rutland-5wv7dgnIgG8@public.gmane.org,
	ian.campbell-Sxgqhf6Nn4DQT0dZR+AlfA@public.gmane.org,
	rob.herring-bsGFqQB8/DxBDgjK7y7TUQ@public.gmane.org,
	linux-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org,
	rui.zhang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org,
	grant.likely-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org
Cc: linux-pm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	lm-sensors-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Eduardo Valentin <eduardo.valentin-l0cyMroinI0@public.gmane.org>
Subject: [PATCH 2/7] arm: dts: add dra7 IVA thermal data
Date: Tue, 1 Oct 2013 14:32:19 -0400	[thread overview]
Message-ID: <1380652344-18819-3-git-send-email-eduardo.valentin@ti.com> (raw)
In-Reply-To: <1380652344-18819-1-git-send-email-eduardo.valentin-l0cyMroinI0@public.gmane.org>

This patch changes 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.

This thermal data can be reused across TI SoC devices.

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..fea0cea
--- /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 = THERMAL_TRIP_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

WARNING: multiple messages have this Message-ID (diff)
From: Eduardo Valentin <eduardo.valentin@ti.com>
To: swarren@wwwdotorg.org, pawel.moll@arm.com, mark.rutland@arm.com,
	ian.campbell@citrix.com, rob.herring@calxeda.com,
	linux@roeck-us.net, rui.zhang@intel.com, grant.likely@linaro.org
Cc: linux-pm@vger.kernel.org, devicetree@vger.kernel.org,
	lm-sensors@lm-sensors.org, linux-kernel@vger.kernel.org,
	Eduardo Valentin <eduardo.valentin@ti.com>
Subject: [lm-sensors] [PATCH 2/7] arm: dts: add dra7 IVA thermal data
Date: Tue, 01 Oct 2013 18:32:19 +0000	[thread overview]
Message-ID: <1380652344-18819-3-git-send-email-eduardo.valentin@ti.com> (raw)
In-Reply-To: <1380652344-18819-1-git-send-email-eduardo.valentin@ti.com>

This patch changes 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.

This thermal data can be reused across TI SoC devices.

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..fea0cea
--- /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 = THERMAL_TRIP_CRITICAL;
+		};
+	};
+};
-- 
1.8.2.1.342.gfa7285d


_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

  parent reply	other threads:[~2013-10-01 18:34 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-01 18:32 [PATCH 0/7] DRA7: DT thermal support Eduardo Valentin
2013-10-01 18:32 ` [lm-sensors] " Eduardo Valentin
2013-10-01 18:32 ` Eduardo Valentin
2013-10-01 18:32 ` [PATCH 1/7] arm: dts: add dra7 DSPEVE thermal data Eduardo Valentin
2013-10-01 18:32   ` [lm-sensors] " Eduardo Valentin
2013-10-01 18:32   ` Eduardo Valentin
2013-10-01 22:37   ` Nishanth Menon
2013-10-01 22:37     ` [lm-sensors] " Nishanth Menon
2013-10-01 22:37     ` Nishanth Menon
2013-10-02  1:27     ` Eduardo Valentin
2013-10-02  1:27       ` [lm-sensors] " Eduardo Valentin
2013-10-02  1:27       ` Eduardo Valentin
2013-10-01 18:32 ` Eduardo Valentin [this message]
2013-10-01 18:32   ` [lm-sensors] [PATCH 2/7] arm: dts: add dra7 IVA " Eduardo Valentin
2013-10-01 18:32   ` Eduardo Valentin
2013-10-01 22:33   ` Nishanth Menon
2013-10-01 22:33     ` [lm-sensors] " Nishanth Menon
2013-10-01 22:33     ` Nishanth Menon
2013-10-02  1:26     ` Eduardo Valentin
2013-10-02  1:26       ` [lm-sensors] " Eduardo Valentin
2013-10-02  1:26       ` Eduardo Valentin
2013-10-01 18:32 ` [PATCH 3/7] arm: dts: dra7: add bandgap entry Eduardo Valentin
2013-10-01 18:32   ` [lm-sensors] " Eduardo Valentin
2013-10-01 18:32   ` Eduardo Valentin
2013-10-01 22:46   ` Nishanth Menon
2013-10-01 22:46     ` [lm-sensors] " Nishanth Menon
2013-10-01 22:46     ` Nishanth Menon
2013-10-02  1:28     ` Eduardo Valentin
2013-10-02  1:28       ` [lm-sensors] " Eduardo Valentin
2013-10-02  1:28       ` Eduardo Valentin
2013-11-06 20:23   ` [PATCHv2 " Eduardo Valentin
2013-11-06 20:23     ` [lm-sensors] " Eduardo Valentin
2013-11-06 20:23     ` Eduardo Valentin
2013-10-01 18:32 ` [PATCH 4/7] arm: dts: add cooling properties on dra7 cpu node Eduardo Valentin
2013-10-01 18:32   ` [lm-sensors] " Eduardo Valentin
2013-10-01 18:32   ` Eduardo Valentin
2013-10-01 18:32 ` [PATCH 5/7] arm: dts: dra7: add thermal data Eduardo Valentin
2013-10-01 18:32   ` [lm-sensors] " Eduardo Valentin
2013-10-01 18:32   ` Eduardo Valentin
2013-10-01 18:32 ` [PATCH 6/7] arm: dts: add tmp102 i2c sensor node on dra7-evm Eduardo Valentin
2013-10-01 18:32   ` [lm-sensors] " Eduardo Valentin
2013-10-01 18:32   ` Eduardo Valentin
2013-10-01 22:51   ` Nishanth Menon
2013-10-01 22:51     ` [lm-sensors] " Nishanth Menon
2013-10-01 22:51     ` Nishanth Menon
2013-10-02  1:32     ` Eduardo Valentin
2013-10-02  1:32       ` [lm-sensors] " Eduardo Valentin
2013-10-02  1:32       ` Eduardo Valentin
2013-10-01 18:32 ` [PATCH 7/7] arm: dts: add thermal zones info on tmp102 for DRA7-EVM Eduardo Valentin
2013-10-01 18:32   ` [lm-sensors] " Eduardo Valentin
2013-10-01 18:32   ` Eduardo Valentin
2013-10-01 22:58 ` [PATCH 0/7] DRA7: DT thermal support Nishanth Menon
2013-10-01 22:58   ` [lm-sensors] " Nishanth Menon
2013-10-01 22:58   ` Nishanth Menon
2013-10-02  1:45   ` Eduardo Valentin
2013-10-02  1:45     ` [lm-sensors] " Eduardo Valentin
2013-10-02  1:45     ` Eduardo Valentin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1380652344-18819-3-git-send-email-eduardo.valentin@ti.com \
    --to=eduardo.valentin@ti.com \
    --cc=devicetree@vger.kernel.org \
    --cc=grant.likely@linaro.org \
    --cc=ian.campbell@citrix.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=lm-sensors@lm-sensors.org \
    --cc=mark.rutland@arm.com \
    --cc=pawel.moll@arm.com \
    --cc=rob.herring@calxeda.com \
    --cc=rui.zhang@intel.com \
    --cc=swarren@wwwdotorg.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.