From: Lee Jones <lee.jones@linaro.org>
To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org
Cc: devicetree@vger.kernel.org, kernel@stlinux.com,
linux-pm@vger.kernel.org, lee.jones@linaro.org,
patrice.chotard@st.com, eduardo.valentin@ti.com,
rui.zhang@intel.com, ajitpal.singh@st.com,
maxime.coquelin@st.com
Subject: [PATCH 1/6] thermal: sti: Supply Device Tree documentation
Date: Fri, 30 May 2014 10:38:30 +0100 [thread overview]
Message-ID: <1401442715-6350-2-git-send-email-lee.jones@linaro.org> (raw)
In-Reply-To: <1401442715-6350-1-git-send-email-lee.jones@linaro.org>
Signed-off-by: Ajit Pal Singh <ajitpal.singh@st.com>
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..8537fdc
--- /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@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-05-30 9:38 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-30 9:38 [PATCH 0/6] thermal: sti: Add new Thermal driver Lee Jones
2014-05-30 9:38 ` Lee Jones [this message]
2014-06-05 12:01 ` [STLinux Kernel] [PATCH 1/6] thermal: sti: Supply Device Tree documentation Peter Griffin
2014-06-05 12:25 ` Lee Jones
2014-06-05 14:56 ` [PATCH v1 " Lee Jones
2014-05-30 9:38 ` [PATCH 2/6] thermal: sti: Introduce ST Thermal core code Lee Jones
2014-05-30 9:38 ` [PATCH 3/6] thermal: sti: Add support for ST's System Config Register based Thermal controller Lee Jones
2014-06-05 15:16 ` [STLinux Kernel] " Peter Griffin
2014-06-05 15:22 ` Peter Griffin
2014-05-30 9:38 ` [PATCH 4/6] thermal: sti: Add support for ST's Memory Mapped " Lee Jones
2014-06-05 15:26 ` [STLinux Kernel] " Peter Griffin
2014-05-30 9:38 ` [PATCH 5/6] ARM: STi: DT: STiH416: Supply Thermal Controller Device Tree nodes Lee Jones
2014-05-30 9:38 ` [PATCH 6/6] ARM: multi_v7_defconfig: Configure in ST's Thermal Controller Lee Jones
2014-07-01 2:07 ` [PATCH 0/6] thermal: sti: Add new Thermal driver Zhang Rui
-- strict thread matches above, loose matches on Subject: below --
2014-06-05 15:06 [RESEND PATCH " Lee Jones
2014-06-05 15:06 ` [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=1401442715-6350-2-git-send-email-lee.jones@linaro.org \
--to=lee.jones@linaro.org \
--cc=ajitpal.singh@st.com \
--cc=devicetree@vger.kernel.org \
--cc=eduardo.valentin@ti.com \
--cc=kernel@stlinux.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=maxime.coquelin@st.com \
--cc=patrice.chotard@st.com \
--cc=rui.zhang@intel.com \
/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).