From mboxrd@z Thu Jan 1 00:00:00 1970 From: Doug Anderson Subject: Re: [PATCH] arm64: dts: sdm845: Add videocc node Date: Mon, 26 Nov 2018 16:35:50 -0800 Message-ID: References: <1541414117-27864-1-git-send-email-tdas@codeaurora.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: In-Reply-To: <1541414117-27864-1-git-send-email-tdas@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org To: Taniya Das , Andy Gross Cc: Stephen Boyd , Michael Turquette , David Brown , Rajendra Nayak , linux-arm-msm , "open list:ARM/QUALCOMM SUPPORT" , linux-clk , LKML , devicetree@vger.kernel.org, Rob Herring List-Id: linux-arm-msm@vger.kernel.org Hi, On Mon, Nov 5, 2018 at 2:35 AM Taniya Das wrote: > > This adds the video clock controller node to sdm845 based on the examples > in the bindings. > > Signed-off-by: Taniya Das > --- > arch/arm64/boot/dts/qcom/sdm845.dtsi | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi > index b72bdb0..91a281b 100644 > --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi > +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi > @@ -8,6 +8,7 @@ > #include > #include > #include > +#include > #include > #include > #include > @@ -1256,6 +1257,13 @@ > #power-domain-cells = <1>; > }; > > + videocc: clock-controller@ab00000 { > + compatible = "qcom,sdm845-videocc"; > + reg = <0xab00000 0x10000>; > + #clock-cells = <1>; > + #power-domain-cells = <1>; Any reason not to include "#reset-cells = <1>;" here? The bindings list it as optional but I see no reason why we should leave it off. The file "include/dt-bindings/clock/qcom,videocc-sdm845.h" seems to include some #defines for resets. Even though the driver doesn't seem like it supports it yet, it still should be fine to list it here. > + }; > + > tsens0: thermal-sensor@c263000 { Please sort your new node by unit address. Specifically "ab00000" comes before "af00000", thus I would expect you to have your node right before the dispcc. -Doug