[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <64c24ac5-f689-4226-8f28-1f597aa3b892@quicinc.com>
Date: Fri, 27 Sep 2024 18:32:10 +0530
From: Sricharan Ramabadhran <quic_srichara@...cinc.com>
To: Krzysztof Kozlowski <krzk@...nel.org>
CC: <andersson@...nel.org>, <konradybcio@...nel.org>, <robh@...nel.org>,
<krzk+dt@...nel.org>, <conor+dt@...nel.org>, <mturquette@...libre.com>,
<sboyd@...nel.org>, <ulf.hansson@...aro.org>,
<linus.walleij@...aro.org>, <catalin.marinas@....com>,
<p.zabel@...gutronix.de>, <geert+renesas@...der.be>,
<dmitry.baryshkov@...aro.org>, <neil.armstrong@...aro.org>,
<linux-arm-msm@...r.kernel.org>, <devicetree@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <linux-clk@...r.kernel.org>,
<linux-mmc@...r.kernel.org>, <linux-gpio@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>, <quic_varada@...cinc.com>
Subject: Re: [PATCH V2 2/9] dt-bindings: clock: Add Qualcomm IPQ5424 GCC
binding
On 9/27/2024 2:13 PM, Krzysztof Kozlowski wrote:
> On Fri, Sep 27, 2024 at 12:22:37PM +0530, Sricharan R wrote:
>> From: Sricharan Ramabadhran <quic_srichara@...cinc.com>
>>
>> Add binding for the Qualcomm IPQ5424 Global Clock Controller
>>
>> Signed-off-by: Sricharan Ramabadhran <quic_srichara@...cinc.com>
>> ---
>> [v2] Added the bindings as a part of ipq5332-gcc.yaml itself.
>> Difference between ipq5332 and ipq5424 being 2 additional phy's.
>>
>> .../bindings/clock/qcom,ipq5332-gcc.yaml | 57 +++-
>> include/dt-bindings/clock/qcom,ipq5424-gcc.h | 156 +++++++++
>> include/dt-bindings/reset/qcom,ipq5424-gcc.h | 310 ++++++++++++++++++
>> 3 files changed, 508 insertions(+), 15 deletions(-)
>> create mode 100644 include/dt-bindings/clock/qcom,ipq5424-gcc.h
>> create mode 100644 include/dt-bindings/reset/qcom,ipq5424-gcc.h
>>
>> diff --git a/Documentation/devicetree/bindings/clock/qcom,ipq5332-gcc.yaml b/Documentation/devicetree/bindings/clock/qcom,ipq5332-gcc.yaml
>> index 9193de681de2..aaa8b399c3b4 100644
>> --- a/Documentation/devicetree/bindings/clock/qcom,ipq5332-gcc.yaml
>> +++ b/Documentation/devicetree/bindings/clock/qcom,ipq5332-gcc.yaml
>> @@ -4,31 +4,24 @@
>> $id: http://devicetree.org/schemas/clock/qcom,ipq5332-gcc.yaml#
>> $schema: http://devicetree.org/meta-schemas/core.yaml#
>>
>> -title: Qualcomm Global Clock & Reset Controller on IPQ5332
>> +title: Qualcomm Global Clock & Reset Controller on IPQ5332 and IPQ5424
>>
>> maintainers:
>> - Bjorn Andersson <andersson@...nel.org>
>>
>> description: |
>> Qualcomm global clock control module provides the clocks, resets and power
>> - domains on IPQ5332.
>> + domains on IPQ5332 and IPQ5424.
>>
>> - See also:: include/dt-bindings/clock/qcom,gcc-ipq5332.h
>> -
>> -allOf:
>> - - $ref: qcom,gcc.yaml#
>> + See also::
>> + include/dt-bindings/clock/qcom,gcc-ipq5332.h
>> + include/dt-bindings/clock/qcom,gcc-ipq5424.h
>>
>> properties:
>> compatible:
>> - const: qcom,ipq5332-gcc
>> -
>> - clocks:
>> - items:
>> - - description: Board XO clock source
>> - - description: Sleep clock source
>> - - description: PCIE 2lane PHY pipe clock source
>> - - description: PCIE 2lane x1 PHY pipe clock source (For second lane)
>> - - description: USB PCIE wrapper pipe clock source
>
> You cannot remove properties from top-level. Unify the list, so it uses
> common part (ipq5332) and keep it here with minItems. Then in allOf you
> only control min/maxItems.
>
ok, got it. Will fix in V3. Thanks !!
Regards,
Sricharan
Powered by blists - more mailing lists