[PATCH] clk: prima2: enable dt-binding clkdev mapping

Mike Turquette mturquette at linaro.org
Tue Jan 15 19:32:39 EST 2013


Quoting Barry Song (2013-01-14 17:43:45)
> Hi Mike,
> 
> 2013/1/15 Mike Turquette <mturquette at linaro.org>:
> > Quoting Barry Song (2012-12-20 00:51:31)
> >> From: Barry Song <Baohua.Song at csr.com>
> >>
> >> this patche deletes hard code that registers clkdev by things like:
> >> clk_register_clkdev(clk, NULL, "b0030000.nand");
> >> clk_register_clkdev(clk, NULL, "b0040000.audio");
> >> clk_register_clkdev(clk, NULL, "b0080000.usp");
> >> prima2 clock controller becomes a clock provider and  every dt node
> >> just declares its clock sources by dt prop.
> >>
> >> it also makes us easier to extend this driver to support both prima2
> >> and marco as marco has different address mapping with prima2.
> >>
> >> Signed-off-by: Barry Song <Baohua.Song at csr.com>
> >
> > Barry,
> >
> > The changes to clk-prima2.c look OK to me.  Did you want me to take this
> > patch through clk-next?
> 
> yes. since it has no conflict with what i am handling in my machine codes.
> 

Taken into clk-next.

Thanks,
Mike

> >
> > Thanks,
> > Mike
> >
> >> ---
> >>  .../devicetree/bindings/clock/prima2-clock.txt     |   73 +++++++
> >>  arch/arm/boot/dts/prima2.dtsi                      |   31 +++-
> >>  drivers/clk/clk-prima2.c                           |  205 ++++++++------------
> >>  3 files changed, 183 insertions(+), 126 deletions(-)
> >>  create mode 100644 Documentation/devicetree/bindings/clock/prima2-clock.txt
> 
> -barry



More information about the linux-arm-kernel mailing list