Re: [PATCH v5 3/4] arm64: dts: sdm845: Add minimal dts/dtsi files for sdm845 SoC and MTP

From: Rajendra Nayak
Date: Mon Mar 12 2018 - 03:07:18 EST




On 03/10/2018 02:30 AM, Doug Anderson wrote:
> Hi,
>
> On Wed, Feb 21, 2018 at 10:12 PM, Rajendra Nayak <rnayak@xxxxxxxxxxxxxx> wrote:
>> + gcc: clock-controller@100000 {
>> + compatible = "qcom,gcc-sdm845";
>> + reg = <0x100000 0x1f0000>;
>> + #clock-cells = <1>;
>> + #reset-cells = <1>;
>> + };
>
> Seems like we need "#power-domain-cells = <1>;" in the gcc node.
>
> It is true that the property is listed as "optional" in the bindings,
> but we certainly know that the
> "include/dt-bindings/clock/qcom,gcc-sdm845.h" that's posted [1]
> contains several defines ending in "_GDSC" and once we start
> referencing those we'll need "#power-domain-cells". Seems like we
> should just have it from the beginning.
>
> NOTE: IMHO adding "#power-domain-cells" could be done as a follow-on
> patch, but since (I think) this series still hasn't landed I guess we
> could just send up v6?

thanks for catching this, I'll send out v6 in a bit.

>
> [1] https://patchwork.kernel.org/patch/10267093/
>
>
> -Doug
> --
> To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>

--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation