* Re: [PATCH] dt-bindings: remoteproc: qcom: Add power-domain bindings for Q6V5
2018-11-20 21:08 [PATCH] dt-bindings: remoteproc: qcom: Add power-domain bindings for Q6V5 Sibi Sankar
@ 2018-12-05 22:55 ` Rob Herring
2018-12-06 16:58 ` Bjorn Andersson
2018-12-13 22:05 ` Doug Anderson
2 siblings, 0 replies; 5+ messages in thread
From: Rob Herring @ 2018-12-05 22:55 UTC (permalink / raw)
To: Sibi Sankar
Cc: bjorn.andersson, robh+dt, andy.gross, david.brown, linux-arm-msm,
linux-soc, devicetree, linux-kernel, tsoni, clew, akdwived, ohad,
mark.rutland, linux-remoteproc, Sibi Sankar
On Wed, 21 Nov 2018 02:38:28 +0530, Sibi Sankar wrote:
> Add power-domain bindings for Q6V5 MSS on SDM845 SoCs.
>
> Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
> ---
>
> Add dt-binding corresponding to https://patchwork.kernel.org/patch/10586893/
> (remoteproc: q6v5: Add support to vote for rpmh power domains)
>
> .../devicetree/bindings/remoteproc/qcom,q6v5.txt | 11 +++++++++++
> 1 file changed, 11 insertions(+)
>
Reviewed-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] dt-bindings: remoteproc: qcom: Add power-domain bindings for Q6V5
2018-11-20 21:08 [PATCH] dt-bindings: remoteproc: qcom: Add power-domain bindings for Q6V5 Sibi Sankar
2018-12-05 22:55 ` Rob Herring
@ 2018-12-06 16:58 ` Bjorn Andersson
2018-12-06 17:44 ` Sibi Sankar
2018-12-13 22:05 ` Doug Anderson
2 siblings, 1 reply; 5+ messages in thread
From: Bjorn Andersson @ 2018-12-06 16:58 UTC (permalink / raw)
To: Sibi Sankar
Cc: robh+dt, andy.gross, david.brown, linux-arm-msm, linux-soc,
devicetree, linux-kernel, tsoni, clew, akdwived, ohad,
mark.rutland, linux-remoteproc
On Tue 20 Nov 13:08 PST 2018, Sibi Sankar wrote:
> Add power-domain bindings for Q6V5 MSS on SDM845 SoCs.
>
Thanks Sibi,
> Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
> ---
>
> Add dt-binding corresponding to https://patchwork.kernel.org/patch/10586893/
> (remoteproc: q6v5: Add support to vote for rpmh power domains)
>
> .../devicetree/bindings/remoteproc/qcom,q6v5.txt | 11 +++++++++++
> 1 file changed, 11 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt b/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt
> index 14947562bc67..bd9f4882fcf0 100644
> --- a/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt
> +++ b/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt
> @@ -75,6 +75,17 @@ on the Qualcomm Hexagon core.
> Definition: reference to the regulators to be held on behalf of the
> booting of the Hexagon core
>
> +- power-domains:
> + Usage: required
> + Value type: <phandle>
> + Definition: reference to the cx, mx and mss power-domains to be held on
> + behalf of the booting the Hexagon core
This should mention that these are the domains for SDM845, as the list
seems to differ somewhat between platforms. Please also define the
requirements for MSM8996 (cx & mx) here, while you're at it.
Let's also make sure it includes the "load_state", for SDM845.
Regards,
Bjorn
> +
> +- power-domain-names:
> + Usage: required
> + Value type: <stringlist>
> + Definition: must be "cx", "mx", "mss"
> +
> - qcom,smem-states:
> Usage: required
> Value type: <phandle>
> --
> The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
> a Linux Foundation Collaborative Project
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] dt-bindings: remoteproc: qcom: Add power-domain bindings for Q6V5
2018-12-06 16:58 ` Bjorn Andersson
@ 2018-12-06 17:44 ` Sibi Sankar
0 siblings, 0 replies; 5+ messages in thread
From: Sibi Sankar @ 2018-12-06 17:44 UTC (permalink / raw)
To: Bjorn Andersson
Cc: robh+dt, andy.gross, david.brown, linux-arm-msm, linux-soc,
devicetree, linux-kernel, tsoni, clew, akdwived, ohad,
mark.rutland, linux-remoteproc
Hi Bjorn,
Thanks for the review!
On 2018-12-06 22:28, Bjorn Andersson wrote:
> On Tue 20 Nov 13:08 PST 2018, Sibi Sankar wrote:
>
>> Add power-domain bindings for Q6V5 MSS on SDM845 SoCs.
>>
>
> Thanks Sibi,
>
>> Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
>> ---
>>
>> Add dt-binding corresponding to
>> https://patchwork.kernel.org/patch/10586893/
>> (remoteproc: q6v5: Add support to vote for rpmh power domains)
>>
>> .../devicetree/bindings/remoteproc/qcom,q6v5.txt | 11
>> +++++++++++
>> 1 file changed, 11 insertions(+)
>>
>> diff --git
>> a/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt
>> b/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt
>> index 14947562bc67..bd9f4882fcf0 100644
>> --- a/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt
>> +++ b/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt
>> @@ -75,6 +75,17 @@ on the Qualcomm Hexagon core.
>> Definition: reference to the regulators to be held on behalf of the
>> booting of the Hexagon core
>>
>> +- power-domains:
>> + Usage: required
>> + Value type: <phandle>
>> + Definition: reference to the cx, mx and mss power-domains to be held
>> on
>> + behalf of the booting the Hexagon core
>
> This should mention that these are the domains for SDM845, as the list
> seems to differ somewhat between platforms. Please also define the
> requirements for MSM8996 (cx & mx) here, while you're at it.
>
> Let's also make sure it includes the "load_state", for SDM845.
>
I'll list the power domains per SoC in the next respin
> Regards,
> Bjorn
>
>> +
>> +- power-domain-names:
>> + Usage: required
>> + Value type: <stringlist>
>> + Definition: must be "cx", "mx", "mss"
>> +
>> - qcom,smem-states:
>> Usage: required
>> Value type: <phandle>
>> --
>> The Qualcomm Innovation Center, Inc. is a member of the Code Aurora
>> Forum,
>> a Linux Foundation Collaborative Project
>>
--
-- Sibi Sankar --
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] dt-bindings: remoteproc: qcom: Add power-domain bindings for Q6V5
2018-11-20 21:08 [PATCH] dt-bindings: remoteproc: qcom: Add power-domain bindings for Q6V5 Sibi Sankar
2018-12-05 22:55 ` Rob Herring
2018-12-06 16:58 ` Bjorn Andersson
@ 2018-12-13 22:05 ` Doug Anderson
2 siblings, 0 replies; 5+ messages in thread
From: Doug Anderson @ 2018-12-13 22:05 UTC (permalink / raw)
To: sibis
Cc: Bjorn Andersson, Rob Herring, Andy Gross, David Brown,
linux-arm-msm, open list:ARM/QUALCOMM SUPPORT, devicetree, LKML,
tsoni, clew, akdwived, Ohad Ben Cohen, Mark Rutland,
linux-remoteproc
Hi,
On Tue, Nov 20, 2018 at 1:08 PM Sibi Sankar <sibis@codeaurora.org> wrote:
> diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt b/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt
> index 14947562bc67..bd9f4882fcf0 100644
> --- a/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt
> +++ b/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt
> @@ -75,6 +75,17 @@ on the Qualcomm Hexagon core.
> Definition: reference to the regulators to be held on behalf of the
> booting of the Hexagon core
>
> +- power-domains:
> + Usage: required
Assuming I understand correctly, presumably you want to say that it's
required to list _either_ power-domains or supplies. Right now you
have the bindings saying that you need both regulators and
power-domains on all boards.
> + Value type: <phandle>
> + Definition: reference to the cx, mx and mss power-domains to be held on
> + behalf of the booting the Hexagon core
> +
> +- power-domain-names:
> + Usage: required
> + Value type: <stringlist>
> + Definition: must be "cx", "mx", "mss"
Comparing to the patch you posted at
<https://lkml.kernel.org/r/20181127085828.17908-1-sibis@codeaurora.org>,
it seems like maybe you also need "aop" listed here?
-Doug
^ permalink raw reply [flat|nested] 5+ messages in thread