diff mbox series

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

Message ID 1582947862-11073-1-git-send-email-Anson.Huang@nxp.com
State Not Applicable, archived
Headers show
Series [V2,RESEND,1/4] dt-bindings: thermal: imx8mm-thermal: Add binding doc for i.MX8MM | expand

Commit Message

Anson Huang Feb. 29, 2020, 3:44 a.m. UTC
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>
---
No change.
---
 .../devicetree/bindings/thermal/imx8mm-thermal.txt        | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/thermal/imx8mm-thermal.txt

Comments

Daniel Lezcano March 12, 2020, 11 a.m. UTC | #1
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>;
> +};
>
Shawn Guo March 12, 2020, 2:25 p.m. UTC | #2
On Sat, Feb 29, 2020 at 11:44:21AM +0800, Anson Huang wrote:
> Enable CONFIG_IMX8MM_THERMAL as module to support i.MX8MM
> thermal driver.
> 
> Signed-off-by: Anson Huang <Anson.Huang@nxp.com>

Applied, thanks.
Shawn Guo March 12, 2020, 2:27 p.m. UTC | #3
On Sat, Feb 29, 2020 at 11:44:22AM +0800, Anson Huang wrote:
> Add thermal zone and tmu node to support i.MX8MM thermal
> driver, ONLY cpu thermal zone is supported, and cpu cooling
> is also added.
> 
> Signed-off-by: Anson Huang <Anson.Huang@nxp.com>

Applied, thanks.
diff mbox series

Patch

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>;
+};