2019-10-17 12:57:53

by Thara Gopinath

[permalink] [raw]
Subject: [PATCH v3 7/7] arm64: dts: qcom: Add mx power domain as thermal warming device.

RPMh hosts mx power domain that can be used to warm up the SoC.
Add sub-node to rpmhpd node for mx to be recognized
as thermal warming device on sdm845.

Signed-off-by: Thara Gopinath <[email protected]>
---
arch/arm64/boot/dts/qcom/sdm845.dtsi | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi
index 0222f48..0671c8a 100644
--- a/arch/arm64/boot/dts/qcom/sdm845.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi
@@ -3788,6 +3788,11 @@
opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
};
};
+
+ mx_cdev: mx {
+ #cooling-cells = <2>;
+ .name = "mx";
+ };
};

rsc_hlos: interconnect {
--
2.1.4


2019-10-29 07:21:49

by Rob Herring (Arm)

[permalink] [raw]
Subject: Re: [PATCH v3 7/7] arm64: dts: qcom: Add mx power domain as thermal warming device.

On Wed, Oct 16, 2019 at 03:37:21PM -0400, Thara Gopinath wrote:
> RPMh hosts mx power domain that can be used to warm up the SoC.
> Add sub-node to rpmhpd node for mx to be recognized
> as thermal warming device on sdm845.
>
> Signed-off-by: Thara Gopinath <[email protected]>
> ---
> arch/arm64/boot/dts/qcom/sdm845.dtsi | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi
> index 0222f48..0671c8a 100644
> --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi
> @@ -3788,6 +3788,11 @@
> opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
> };
> };
> +
> + mx_cdev: mx {
> + #cooling-cells = <2>;
> + .name = "mx";

Copy this from C code?

> + };
> };
>
> rsc_hlos: interconnect {
> --
> 2.1.4
>

2019-10-30 14:25:09

by Thara Gopinath

[permalink] [raw]
Subject: Re: [PATCH v3 7/7] arm64: dts: qcom: Add mx power domain as thermal warming device.

On 10/28/2019 09:31 PM, Rob Herring wrote:
> On Wed, Oct 16, 2019 at 03:37:21PM -0400, Thara Gopinath wrote:
>> RPMh hosts mx power domain that can be used to warm up the SoC.
>> Add sub-node to rpmhpd node for mx to be recognized
>> as thermal warming device on sdm845.
>>
>> Signed-off-by: Thara Gopinath <[email protected]>
>> ---
>> arch/arm64/boot/dts/qcom/sdm845.dtsi | 5 +++++
>> 1 file changed, 5 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi
>> index 0222f48..0671c8a 100644
>> --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi
>> +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi
>> @@ -3788,6 +3788,11 @@
>> opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
>> };
>> };
>> +
>> + mx_cdev: mx {
>> + #cooling-cells = <2>;
>> + .name = "mx";
>
> Copy this from C code?
Hi Rob,

What do you mean ?

>
>> + };
>> };
>>
>> rsc_hlos: interconnect {
>> --
>> 2.1.4
>>


--
Warm Regards
Thara