[U-Boot,v2,05/10] arm: dts: k3-am65: Add VTM node
diff mbox series

Message ID 20191021092515.25608-6-j-keerthy@ti.com
State Superseded
Delegated to: Tom Rini
Headers show
Series
  • misc: Add AVS class 0 support for AM6
Related show

Commit Message

Keerthy Oct. 21, 2019, 9:25 a.m. UTC
From: Tero Kristo <t-kristo@ti.com>

Add VTM node for voltage and thermal management. For u-boot, this is needed
for supporting AVS class 0, as the efuse values for the OPPs are stored
under the VTM.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Keerthy <j-keerthy@ti.com>
---
 arch/arm/dts/k3-am65-wakeup.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Lokesh Vutla Oct. 24, 2019, 6:42 a.m. UTC | #1
On 21/10/19 2:55 PM, Keerthy wrote:
> From: Tero Kristo <t-kristo@ti.com>
> 
> Add VTM node for voltage and thermal management. For u-boot, this is needed
> for supporting AVS class 0, as the efuse values for the OPPs are stored
> under the VTM.
> 
> Signed-off-by: Tero Kristo <t-kristo@ti.com>
> Signed-off-by: Keerthy <j-keerthy@ti.com>
> ---
>  arch/arm/dts/k3-am65-wakeup.dtsi | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/arch/arm/dts/k3-am65-wakeup.dtsi b/arch/arm/dts/k3-am65-wakeup.dtsi
> index 2676d6035b..5d050c6fd8 100644
> --- a/arch/arm/dts/k3-am65-wakeup.dtsi
> +++ b/arch/arm/dts/k3-am65-wakeup.dtsi
> @@ -62,4 +62,11 @@
>  		clocks = <&k3_clks 115 1>;
>  		power-domains = <&k3_pds 115 TI_SCI_PD_EXCLUSIVE>;
>  	};
> +
> +	wkup_vtm0: wkup_vtm@42050000 {
> +		compatible = "ti,am654-vtm", "ti,am654-avs";
> +		reg = <0x42050000 0x25c>;
> +		power-domains = <&k3_pds 80>;
> +		#thermal-sensor-cells = <1>;
> +	};

Is this going to be used in kernel? If not can you move this to r5-base board?

Thanks and regards,
Lokesh

>  };
>
Keerthy Oct. 24, 2019, 6:52 a.m. UTC | #2
On 24/10/19 12:12 PM, Lokesh Vutla wrote:
> 
> 
> On 21/10/19 2:55 PM, Keerthy wrote:
>> From: Tero Kristo <t-kristo@ti.com>
>>
>> Add VTM node for voltage and thermal management. For u-boot, this is needed
>> for supporting AVS class 0, as the efuse values for the OPPs are stored
>> under the VTM.
>>
>> Signed-off-by: Tero Kristo <t-kristo@ti.com>
>> Signed-off-by: Keerthy <j-keerthy@ti.com>
>> ---
>>   arch/arm/dts/k3-am65-wakeup.dtsi | 7 +++++++
>>   1 file changed, 7 insertions(+)
>>
>> diff --git a/arch/arm/dts/k3-am65-wakeup.dtsi b/arch/arm/dts/k3-am65-wakeup.dtsi
>> index 2676d6035b..5d050c6fd8 100644
>> --- a/arch/arm/dts/k3-am65-wakeup.dtsi
>> +++ b/arch/arm/dts/k3-am65-wakeup.dtsi
>> @@ -62,4 +62,11 @@
>>   		clocks = <&k3_clks 115 1>;
>>   		power-domains = <&k3_pds 115 TI_SCI_PD_EXCLUSIVE>;
>>   	};
>> +
>> +	wkup_vtm0: wkup_vtm@42050000 {
>> +		compatible = "ti,am654-vtm", "ti,am654-avs";
>> +		reg = <0x42050000 0x25c>;
>> +		power-domains = <&k3_pds 80>;
>> +		#thermal-sensor-cells = <1>;
>> +	};
> 
> Is this going to be used in kernel? If not can you move this to r5-base board?

This could be potentially used for thermal in kernel. As of now this is 
not. So yes i will move this to r5-base board.

Thanks,
Keerthy

> 
> Thanks and regards,
> Lokesh
> 
>>   };
>>

Patch
diff mbox series

diff --git a/arch/arm/dts/k3-am65-wakeup.dtsi b/arch/arm/dts/k3-am65-wakeup.dtsi
index 2676d6035b..5d050c6fd8 100644
--- a/arch/arm/dts/k3-am65-wakeup.dtsi
+++ b/arch/arm/dts/k3-am65-wakeup.dtsi
@@ -62,4 +62,11 @@ 
 		clocks = <&k3_clks 115 1>;
 		power-domains = <&k3_pds 115 TI_SCI_PD_EXCLUSIVE>;
 	};
+
+	wkup_vtm0: wkup_vtm@42050000 {
+		compatible = "ti,am654-vtm", "ti,am654-avs";
+		reg = <0x42050000 0x25c>;
+		power-domains = <&k3_pds 80>;
+		#thermal-sensor-cells = <1>;
+	};
 };