Re: [PATCH v2 3/7] dt-bindings: remoteproc: qcom: Fixup regulator dependencies
From: Doug Anderson
Date: Mon Dec 17 2018 - 19:01:35 EST
Hi,
On Mon, Dec 17, 2018 at 2:08 AM Sibi Sankar <sibis@xxxxxxxxxxxxxx> wrote:
>
> Fixup regulator supply dependencies for Q6V5 MSS on MSM996 SoCs.
>
> Signed-off-by: Sibi Sankar <sibis@xxxxxxxxxxxxxx>
> ---
> Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt b/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt
> index 780adc043b37..98894e6ad456 100644
> --- a/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt
> +++ b/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt
> @@ -76,7 +76,9 @@ on the Qualcomm Hexagon core.
> Usage: required
> Value type: <phandle>
> Definition: reference to the regulators to be held on behalf of the
> - booting of the Hexagon core
> + booting of the Hexagon core on MSM8916 SoCs
> + reference to the pll-supply regulator to be held on behalf
> + of the booting of the Hexagon core on MSM8996 SoCs
The prose gets in the way and doesn't add anything. I also don't
understand what you're saying for msm8996. You're saying that
"pll-supply" is required there but none of the others? That doesn't
seem to be true in the code I have in front of me, but maybe I'm
missing some patch. For me, I'd write:
For the compatible strings below the following supplies are required:
"qcom,q6v5-pil"
"qcom,msm8916-mss-pil",
"qcom,msm8974-mss-pil"
- cx-supply:
- mss-supply:
- mx-supply:
- pll-supply:
Usage: required
Value type: <phandle>
Definition: reference to the regulators to be held on behalf of the
booting of the Hexagon core
...and if msm8996 actually needs "pll-supply", you could add in...
For the compatible strings below the following supplies are required:
"qcom,msm8996-mss-pil"
- pll-supply:
Usage: required
Value type: <phandle>
Definition: reference to the regulators to be held on behalf of the
booting of the Hexagon core