[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 5 May 2022 10:37:45 +0200
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Robert Marko <robimarko@...il.com>, agross@...nel.org,
bjorn.andersson@...aro.org, jassisinghbrar@...il.com,
robh+dt@...nel.org, krzysztof.kozlowski+dt@...aro.org,
mturquette@...libre.com, sboyd@...nel.org,
linux-arm-msm@...r.kernel.org, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org, linux-clk@...r.kernel.org,
dmitry.baryshkov@...aro.org
Subject: Re: [PATCH v2 5/6] dt-bindings: mailbox: qcom: set correct
#clock-cells
On 03/05/2022 21:56, Robert Marko wrote:
> diff --git a/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml b/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml
> index 3b5ba7ecc19d..1f803925867e 100644
> --- a/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml
> +++ b/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml
> @@ -50,7 +50,7 @@ properties:
> const: 1
>
> '#clock-cells':
> - const: 0
> + enum: [0, 1]
>
> clock-names:
> minItems: 2
> @@ -96,6 +96,22 @@ allOf:
> properties:
> clocks:
> maxItems: 3
> + - if:
> + properties:
> + compatible:
> + enum:
> + - qcom,ipq6018-apcs-apps-global
> + - qcom,ipq8074-apcs-apps-global
> + then:
> + properties:
> + '#clock-cells':
> + const: 1
> +
If there is a respin, please drop this blank line.
> + else:
> + properties:
> + '#clock-cells':
> + const: 0
> +
> examples:
>
> # Example apcs with msm8996
Best regards,
Krzysztof
Powered by blists - more mailing lists