Re: [PATCH 3/6] dt-bindings: clock: qcom: Add second power-domain to CAMCC
From: Dmitry Baryshkov
Date: Wed Nov 20 2024 - 07:00:48 EST
On Tue, Nov 19, 2024 at 01:10:32PM +0000, Bryan O'Donoghue wrote:
> The x1e80100 has two power-domains for the CAMCC not one.
>
> Capture this as:
> minItems:1
> maxItems:2
>
> Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@xxxxxxxxxx>
> ---
> Documentation/devicetree/bindings/clock/qcom,sm8450-camcc.yaml | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/clock/qcom,sm8450-camcc.yaml b/Documentation/devicetree/bindings/clock/qcom,sm8450-camcc.yaml
> index 0766f66c7dc4f6b81afa01f156c490f4f742fcee..afb7e37118b691658fc5cc71e97b110dcee7f22a 100644
> --- a/Documentation/devicetree/bindings/clock/qcom,sm8450-camcc.yaml
> +++ b/Documentation/devicetree/bindings/clock/qcom,sm8450-camcc.yaml
> @@ -39,9 +39,10 @@ properties:
> - description: Sleep clock source
>
> power-domains:
> - maxItems: 1
> + minItems: 1
> + maxItems: 2
> description:
> - A phandle and PM domain specifier for the MMCX power domain.
> + A phandle and PM domain specifier for the MMCX or MCX power domains.
Should there be an if, selecting which platforms need 1 domain and which
need both?
>
> required-opps:
> maxItems: 1
>
> --
> 2.45.2
>
--
With best wishes
Dmitry