diff mbox series

[v3,12/13] ARM: dts: sti: add the thermal sensor node within stih418

Message ID 20210331204228.26107-13-avolmat@me.com
State Accepted
Commit 11061d6cafcf8f77ec4591a91da1a89bef142637
Headers show
Series [v3,01/13] ARM: dts: sti: update flexgen compatible within stih418-clock | expand

Commit Message

Alain Volmat March 31, 2021, 8:42 p.m. UTC
The STiH418 embedded the same sensor as the STiH410.
This commit adds the corresponding node, relying on the st_thermal
driver.

Signed-off-by: Alain Volmat <avolmat@me.com>
---
 arch/arm/boot/dts/stih418.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Patrice CHOTARD Aug. 3, 2021, 12:08 p.m. UTC | #1
Hi Alain

On 3/31/21 10:42 PM, Alain Volmat wrote:
> The STiH418 embedded the same sensor as the STiH410.

> This commit adds the corresponding node, relying on the st_thermal

> driver.

> 

> Signed-off-by: Alain Volmat <avolmat@me.com>

> ---

>  arch/arm/boot/dts/stih418.dtsi | 8 ++++++++

>  1 file changed, 8 insertions(+)

> 

> diff --git a/arch/arm/boot/dts/stih418.dtsi b/arch/arm/boot/dts/stih418.dtsi

> index 39a249983496..97eda4392fbe 100644

> --- a/arch/arm/boot/dts/stih418.dtsi

> +++ b/arch/arm/boot/dts/stih418.dtsi

> @@ -108,5 +108,13 @@

>  			assigned-clock-parents = <&clk_s_c0_pll1 0>;

>  			assigned-clock-rates = <200000000>;

>  		};

> +

> +		thermal@91a0000 {

> +			compatible = "st,stih407-thermal";

> +			reg = <0x91a0000 0x28>;

> +			clock-names = "thermal";

> +			clocks = <&clk_sysin>;

> +			interrupts = <GIC_SPI 205 IRQ_TYPE_EDGE_RISING>;

> +		};

>  	};

>  };

> 


Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>


Thanks
Patrice
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/stih418.dtsi b/arch/arm/boot/dts/stih418.dtsi
index 39a249983496..97eda4392fbe 100644
--- a/arch/arm/boot/dts/stih418.dtsi
+++ b/arch/arm/boot/dts/stih418.dtsi
@@ -108,5 +108,13 @@ 
 			assigned-clock-parents = <&clk_s_c0_pll1 0>;
 			assigned-clock-rates = <200000000>;
 		};
+
+		thermal@91a0000 {
+			compatible = "st,stih407-thermal";
+			reg = <0x91a0000 0x28>;
+			clock-names = "thermal";
+			clocks = <&clk_sysin>;
+			interrupts = <GIC_SPI 205 IRQ_TYPE_EDGE_RISING>;
+		};
 	};
 };