Message ID | 1582947862-11073-1-git-send-email-Anson.Huang@nxp.com (mailing list archive) |
---|---|
State | Mainlined |
Commit | 444eb18d091ace343edd65dce5c30e851c911fef |
Headers | show |
Series | [V2,RESEND,1/4] dt-bindings: thermal: imx8mm-thermal: Add binding doc for i.MX8MM | expand |
On 29/02/2020 04:44, Anson Huang wrote: > Add thermal binding doc for Freescale's i.MX8MM Thermal Monitoring Unit. > > Signed-off-by: Anson Huang <Anson.Huang@nxp.com> > Reviewed-by: Rob Herring <robh@kernel.org> Applied 1/4 and 2/4. Thanks --- > No change. > --- > .../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 0000000..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@30260000 { > + compatible = "fsl,imx8mm-tmu"; > + reg = <0x30260000 0x10000>; > + clocks = <&clk IMX8MM_CLK_TMU_ROOT>; > + #thermal-sensor-cells = <0>; > +}; >
diff --git a/Documentation/devicetree/bindings/thermal/imx8mm-thermal.txt b/Documentation/devicetree/bindings/thermal/imx8mm-thermal.txt new file mode 100644 index 0000000..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@30260000 { + compatible = "fsl,imx8mm-tmu"; + reg = <0x30260000 0x10000>; + clocks = <&clk IMX8MM_CLK_TMU_ROOT>; + #thermal-sensor-cells = <0>; +};