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

Barry Song 21cnbao at gmail.com
Mon Jan 14 20:43:45 EST 2013


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.

>
> 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