From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manivannan Sadhasivam Subject: Re: [PATCH v2 3/3] dt-bindings: clock: Modify Actions Soc clock bindings Date: Sat, 30 Jun 2018 15:02:02 +0530 Message-ID: <20180630093202.GB7320@Mani-XPS-13-9360> References: <20180626192820.28237-3-sravanhome@gmail.com> <20180628191805.3722-1-sravanhome@gmail.com> <20180628191805.3722-4-sravanhome@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20180628191805.3722-4-sravanhome@gmail.com> Sender: linux-kernel-owner@vger.kernel.org To: Saravanan Sekar Cc: afaerber@suse.de, sboyd@kernel.org, pn@denx.de, linux-arm-kernel@lists.infradead.org, mturquette@baylibre.com, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, catalin.marinas@arm.com, will.deacon@arm.com, devicetree@vger.kernel.org List-Id: devicetree@vger.kernel.org Hi Saravanan, I agree with modifying the existing binding to accomodate other SoC's of the same family. But the binding should be "actions,owl-cmu.txt" since it reflects the family name. Andreas, what do you think? On Thu, Jun 28, 2018 at 09:18:05PM +0200, Saravanan Sekar wrote: > Modify clock bindings common Actions Semi Soc family S700/S900. > > Signed-off-by: Parthiban Nallathambi > Signed-off-by: Saravanan Sekar > --- > ...tions,s900-cmu.txt => actions,sx00-cmu.txt} | 18 ++++++++++-------- > 1 file changed, 10 insertions(+), 8 deletions(-) > rename Documentation/devicetree/bindings/clock/{actions,s900-cmu.txt => actions,sx00-cmu.txt} (71%) > > diff --git a/Documentation/devicetree/bindings/clock/actions,s900-cmu.txt b/Documentation/devicetree/bindings/clock/actions,sx00-cmu.txt > similarity index 71% > rename from Documentation/devicetree/bindings/clock/actions,s900-cmu.txt > rename to Documentation/devicetree/bindings/clock/actions,sx00-cmu.txt > index 93e4fb827cd6..8dc7edb4d198 100644 > --- a/Documentation/devicetree/bindings/clock/actions,s900-cmu.txt > +++ b/Documentation/devicetree/bindings/clock/actions,sx00-cmu.txt > @@ -1,12 +1,14 @@ > -* Actions S900 Clock Management Unit (CMU) > +* Actions S900/S700 Clock Management Unit (CMU) > Same as above. Should be Actions OWL SoC's Clock Management Unit (CMU). > -The Actions S900 clock management unit generates and supplies clock to various > -controllers within the SoC. The clock binding described here is applicable to > -S900 SoC. > +The Actions S900/S700 clock management unit generates and supplies clock to > +various controllers within the SoC. The clock binding described here is > +applicable to S900/S700 SoC. > > Required Properties: > > -- compatible: should be "actions,s900-cmu" > +- compatible: should be one of this Change to: compatible: should be one of the following: Thanks, Mani > + "actions,s900-cmu" > + "actions,s700-cmu" > - reg: physical base address of the controller and length of memory mapped > region. > - clocks: Reference to the parent clocks ("hosc", "losc") > @@ -15,9 +17,9 @@ Required Properties: > Each clock is assigned an identifier, and client nodes can use this identifier > to specify the clock which they consume. > > -All available clocks are defined as preprocessor macros in > -dt-bindings/clock/actions,s900-cmu.h header and can be used in device > -tree sources. > +All available clocks are defined as preprocessor macros in corresponding > +dt-bindings/clock/actions,s900-cmu.h or s700-cmu.h header and can be used in > +device tree sources. > > External clocks: > > -- > 2.18.0 >