Re: [PATCH 1/4] dt-bindings: thermal: imx8mm-thermal: Add binding doc for i.MX8MM

2019-07-22 Thread Rob Herring
On Thu,  4 Jul 2019 17:13:10 +0800, anson.hu...@nxp.com wrote:
> From: Anson Huang 
> 
> Add thermal binding doc for Freescale's i.MX8MM Thermal Monitoring Unit.
> 
> Signed-off-by: Anson Huang 
> ---
>  .../devicetree/bindings/thermal/imx8mm-thermal.txt| 15 
> +++
>  1 file changed, 15 insertions(+)
>  create mode 100644 
> Documentation/devicetree/bindings/thermal/imx8mm-thermal.txt
> 

Reviewed-by: Rob Herring 


[PATCH 1/4] dt-bindings: thermal: imx8mm-thermal: Add binding doc for i.MX8MM

2019-07-04 Thread Anson . Huang
From: Anson Huang 

Add thermal binding doc for Freescale's i.MX8MM Thermal Monitoring Unit.

Signed-off-by: Anson Huang 
---
 .../devicetree/bindings/thermal/imx8mm-thermal.txt| 15 +++
 1 file changed, 15 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/thermal/imx8mm-thermal.txt

diff --git a/Documentation/devicetree/bindings/thermal/imx8mm-thermal.txt 
b/Documentation/devicetree/bindings/thermal/imx8mm-thermal.txt
new file mode 100644
index 000..d09ae82
--- /dev/null
+++ b/Documentation/devicetree/bindings/thermal/imx8mm-thermal.txt
@@ -0,0 +1,15 @@
+* Thermal Monitoring Unit (TMU) on Freescale i.MX8MM SoC
+
+Required properties:
+- compatible : Must be "fsl,imx8mm-tmu".
+- reg : Address range of TMU registers.
+- clocks : TMU's clock source.
+- #thermal-sensor-cells : Should be 0. See ./thermal.txt for a description.
+
+Example:
+tmu: tmu@3026 {
+   compatible = "fsl,imx8mm-tmu";
+   reg = <0x3026 0x1>;
+   clocks = <&clk IMX8MM_CLK_TMU_ROOT>;
+   #thermal-sensor-cells = <0>;
+};
-- 
2.7.4