From: lee.jones@linaro.org (Lee Jones)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/6] thermal: sti: Supply Device Tree documentation
Date: Thu, 5 Jun 2014 16:06:54 +0100 [thread overview]
Message-ID: <1401980819-19962-2-git-send-email-lee.jones@linaro.org> (raw)
In-Reply-To: <1401980819-19962-1-git-send-email-lee.jones@linaro.org>
Signed-off-by: Ajit Pal Singh <ajitpal.singh@st.com>
Acked-by: Peter Griffin <peter.griffin@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
---
.../devicetree/bindings/thermal/st-thermal.txt | 42 ++++++++++++++++++++++
1 file changed, 42 insertions(+)
create mode 100644 Documentation/devicetree/bindings/thermal/st-thermal.txt
diff --git a/Documentation/devicetree/bindings/thermal/st-thermal.txt b/Documentation/devicetree/bindings/thermal/st-thermal.txt
new file mode 100644
index 0000000..3b9251b
--- /dev/null
+++ b/Documentation/devicetree/bindings/thermal/st-thermal.txt
@@ -0,0 +1,42 @@
+Binding for Thermal Sensor driver for STMicroelectronics STi series of SoCs.
+
+Required parameters:
+-------------------
+
+compatible : st,<SoC>-<module>-thermal; should be one of:
+ "st,stih415-sas-thermal",
+ "st,stih415-mpe-thermal",
+ "st,stih416-sas-thermal"
+ "st,stih416-mpe-thermal"
+ "st,stid127-thermal" or
+ "st,stih407-thermal"
+ according to the SoC type (stih415, stih416, stid127, stih407)
+ and module type (sas or mpe). On stid127 & stih407 there is only
+ one die/module, so there is no module type in the compatible
+ string.
+clock-names : Should be "thermal".
+ See: Documentation/devicetree/bindings/resource-names.txt
+clocks : Phandle of the clock used by the thermal sensor.
+ See: Documentation/devicetree/bindings/clock/clock-bindings.txt
+
+Optional parameters:
+-------------------
+
+reg : For non-sysconf based sensors, this should be the physical base
+ address and length of the sensor's registers.
+interrupts : Standard way to define interrupt number.
+ Interrupt is mandatory to be defined when compatible is
+ "stih416-mpe-thermal".
+ NB: For thermal sensor's for which no interrupt has been
+ defined, a polling delay of 1000ms will be used to read the
+ temperature from device.
+
+Example:
+
+ temp1 at fdfe8000 {
+ compatible = "st,stih416-mpe-thermal";
+ reg = <0xfdfe8000 0x10>;
+ clock-names = "thermal";
+ clocks = <&clk_m_mpethsens>;
+ interrupts = <GIC_SPI 23 IRQ_TYPE_NONE>;
+ };
--
1.8.3.2
next prev parent reply other threads:[~2014-06-05 15:06 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-05 15:06 [RESEND PATCH 0/6] thermal: sti: Add new Thermal driver Lee Jones
2014-06-05 15:06 ` Lee Jones [this message]
2014-06-05 15:06 ` [PATCH 2/6] thermal: sti: Introduce ST Thermal core code Lee Jones
2014-06-14 22:31 ` Pavel Machek
2014-06-05 15:06 ` [PATCH 3/6] thermal: sti: Add support for ST's System Config Register based Thermal controller Lee Jones
2014-06-05 15:06 ` [PATCH 4/6] thermal: sti: Add support for ST's Memory Mapped " Lee Jones
2014-06-05 15:06 ` [PATCH 5/6] ARM: STi: DT: STiH416: Supply Thermal Controller Device Tree nodes Lee Jones
2014-07-21 9:33 ` Maxime Coquelin
2014-06-05 15:06 ` [PATCH 6/6] ARM: multi_v7_defconfig: Configure in ST's Thermal Controller Lee Jones
2014-07-21 9:50 ` Maxime Coquelin
2014-06-24 9:23 ` [RESEND PATCH 0/6] thermal: sti: Add new Thermal driver Lee Jones
2014-07-09 12:08 ` Lee Jones
2014-07-09 13:19 ` Zhang Rui
2014-07-09 13:46 ` Lee Jones
2014-07-14 13:08 ` Lee Jones
2014-07-14 14:14 ` Zhang Rui
2014-07-14 14:27 ` Lee Jones
2014-07-21 9:17 ` Lee Jones
2014-07-21 9:34 ` Zhang Rui
2014-07-21 10:13 ` Lee Jones
2014-08-11 13:56 ` Lee Jones
-- strict thread matches above, loose matches on Subject: below --
2014-05-30 9:38 [PATCH " Lee Jones
2014-05-30 9:38 ` [PATCH 1/6] thermal: sti: Supply Device Tree documentation Lee Jones
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=1401980819-19962-2-git-send-email-lee.jones@linaro.org \
--to=lee.jones@linaro.org \
--cc=linux-arm-kernel@lists.infradead.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 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).