Re: [PATCH v7 04/10] dt-bindings: clock: Add Qualcomm QCS615 Display clock controller

From: Taniya Das
Date: Thu Apr 24 2025 - 05:44:10 EST




On 4/15/2025 10:55 AM, Krzysztof Kozlowski wrote:
> On 14/04/2025 10:42, Taniya Das wrote:
>> +
>> +required:
>> + - compatible
>> + - reg
>
> Drop
>
>> + - clocks
>> + - '#clock-cells'
>
> Drop
>
>> + - '#reset-cells'
>
> Drop
>
> Please look at other bindings when writing yours.

Unfortunately I picked the wrong example. But fixed it in the next patch.

>
>> + - '#power-domain-cells'
>> +
>> +allOf:
>> + - $ref: qcom,gcc.yaml#
>> +
>> +unevaluatedProperties: false
>> +
>> +examples:
>> + - |
>> + #include <dt-bindings/clock/qcom,rpmh.h>
>> + #include <dt-bindings/clock/qcom,qcs615-gcc.h>
>> + clock-controller@af00000 {
>> + compatible = "qcom,qcs615-dispcc";
>> + reg = <0x0af00000 0x20000>;
>> + clocks = <&rpmhcc RPMH_CXO_CLK>,
>> + <&gcc GCC_DISP_GPLL0_DIV_CLK_SRC>,
>> + <&mdss_dsi0_phy 0>,
>> + <&mdss_dsi0_phy 1>,
>> + <&mdss_dsi1_phy 0>,
>> + <&mdss_dp_phy 0>,
>> + <&mdss_dp_vco 0>;
>
>
> Drop excessive spaces before '0'.
>
Fixed in the latest patch.
>
> Best regards,
> Krzysztof
>