Re: [PATCH] arm64: dts: qcom: ipq6018: add #power-domain-cells for gcc node

From: Krzysztof Kozlowski
Date: Thu Jan 04 2024 - 05:08:00 EST


On 04/01/2024 10:53, Dmitry Baryshkov wrote:
> On Thu, 4 Jan 2024 at 10:06, Fenglin Wu via B4 Relay
> <devnull+quic_fenglinw.quicinc.com@xxxxxxxxxx> wrote:
>>
>> From: Fenglin Wu <quic_fenglinw@xxxxxxxxxxx>
>>
>> Property '#power-domain-cells' is required as per defined in qcom,gcc.yaml
>> so add it for ipq6018 gcc device node to eliminate following warning in
>> dtbs_check:
>>
>> arch/arm64/boot/dts/qcom/ipq6018-cp01-c1.dtb: gcc@1800000:
>> '#power-domain-cells' is a required property
>> from schema $id: http://devicetree.org/schemas/clock/qcom,gcc-ipq6018.yaml#
>
> But ipq6018 doesn't implement GDSC support. So for the sake of fixing
> the warning you are adding a bogus property.

Reminds me "fix" of removal of address/size-cells from DSI.

The point of fixing all the warnings is not only to make the warning go
away, but rather to fix the actual cause of the warning.

Best regards,
Krzysztof