Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1425988
| From | Rob Herring <robh@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [RESEND PATCH v2 02/13] drivers: clk: st: Simplify clock binding of STiH4xx platforms |
| Date | 2016-06-19 17:30 +0200 |
| Message-ID | <rLMPD-46P-1@gated-at.bofh.it> (permalink) |
| References | <rKBMB-6A6-5@gated-at.bofh.it> <rKBMC-6A6-45@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, Jun 16, 2016 at 11:20:22AM +0200, Gabriel Fernandez wrote: > This patch reworks the clock binding to avoid too much detail in DT. > Now we have only compatible string per type of clock > (remark from Rob https://lkml.org/lkml/2016/5/25/492) > I have no idea what the clock trees and clock controller in these chips look like, so it's hard to say if the changes here are good. It still looks like things are somewhat fine grained clocks in DT. I'll leave it up to the platform maintainers to decide... > Signed-off-by: Gabriel Fernandez <gabriel.fernandez@linaro.org> > --- > .../devicetree/bindings/clock/st/st,clkgen-mux.txt | 2 +- > .../devicetree/bindings/clock/st/st,clkgen-pll.txt | 11 ++-- > .../devicetree/bindings/clock/st/st,clkgen.txt | 2 +- > .../devicetree/bindings/clock/st/st,quadfs.txt | 6 +-- > drivers/clk/st/clkgen-fsyn.c | 41 ++++++-------- > drivers/clk/st/clkgen-mux.c | 28 ++++------ > drivers/clk/st/clkgen-pll.c | 62 ++++++++++------------ > 7 files changed, 65 insertions(+), 87 deletions(-) > > diff --git a/Documentation/devicetree/bindings/clock/st/st,clkgen-mux.txt b/Documentation/devicetree/bindings/clock/st/st,clkgen-mux.txt > index 4d277d6..9a46cb1d7 100644 > --- a/Documentation/devicetree/bindings/clock/st/st,clkgen-mux.txt > +++ b/Documentation/devicetree/bindings/clock/st/st,clkgen-mux.txt > @@ -10,7 +10,7 @@ This binding uses the common clock binding[1]. > Required properties: > > - compatible : shall be: > - "st,stih407-clkgen-a9-mux", "st,clkgen-mux" > + "st,stih407-clkgen-a9-mux" > > - #clock-cells : from common clock binding; shall be set to 0. > > diff --git a/Documentation/devicetree/bindings/clock/st/st,clkgen-pll.txt b/Documentation/devicetree/bindings/clock/st/st,clkgen-pll.txt > index c9fd674..be0b043 100644 > --- a/Documentation/devicetree/bindings/clock/st/st,clkgen-pll.txt > +++ b/Documentation/devicetree/bindings/clock/st/st,clkgen-pll.txt > @@ -9,11 +9,10 @@ Base address is located to the parent node. See clock binding[2] > Required properties: > > - compatible : shall be: > - "st,stih407-plls-c32-a0", "st,clkgen-plls-c32" > - "st,stih407-plls-c32-a9", "st,clkgen-plls-c32" > - "sst,plls-c32-cx_0", "st,clkgen-plls-c32" > - "sst,plls-c32-cx_1", "st,clkgen-plls-c32" > - "st,stih418-plls-c28-a9", "st,clkgen-plls-c32" > + "st,clkgen-pll0" > + "st,clkgen-pll0" Repeated. Supposed to be 0 and 1? This seems a bit generic, too. > + "st,stih407-clkgen-plla9" > + "st,stih418-clkgen-plla9"
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[RESEND PATCH v2 00/13] Clock improvement for video playback Gabriel Fernandez <gabriel.fernandez@linaro.org> - 2016-06-16 11:30 +0200
[RESEND PATCH v2 11/13] ARM: DT: STiH418: Enable synchronous clock mode for video clocks Gabriel Fernandez <gabriel.fernandez@linaro.org> - 2016-06-16 11:30 +0200
[RESEND PATCH v2 13/13] ARM: DT: STi: STiH410: clock configuration to address 720p and 1080p Gabriel Fernandez <gabriel.fernandez@linaro.org> - 2016-06-16 11:30 +0200
[RESEND PATCH v2 02/13] drivers: clk: st: Simplify clock binding of STiH4xx platforms Gabriel Fernandez <gabriel.fernandez@linaro.org> - 2016-06-16 11:30 +0200
Re: [RESEND PATCH v2 02/13] drivers: clk: st: Simplify clock binding of STiH4xx platforms Rob Herring <robh@kernel.org> - 2016-06-19 17:30 +0200
Re: [RESEND PATCH v2 02/13] drivers: clk: st: Simplify clock binding of STiH4xx platforms Gabriel Fernandez <gabriel.fernandez@linaro.org> - 2016-06-20 09:40 +0200
Re: [RESEND PATCH v2 01/13] drivers: clk: st: Remove stih415-416 clock support Rob Herring <robh@kernel.org> - 2016-06-19 17:00 +0200
csiph-web