[PATCH v2] clk: sirf: re-arch to make the codes support both prima2 and atlas6

Barry Song 21cnbao at gmail.com
Sat Jan 11 00:27:36 EST 2014


2014/1/6 Barry Song <21cnbao at gmail.com>:
> From: Barry Song <Baohua.Song at csr.com>
>
> sirfprima2 and sirfatlas6 are two different SoCs in CSR SiRF series. for
> prima2 and atlas6, there are many shared clocks but there are still
> some different register layout and hardware clocks, then result in
> different clock table.
>
> here we re-arch the driver to
> 1. clk-common.c provides common clocks for prima2 and atlas6,
> 2. clk-prima2.h describles registers of prima2 and clk-prima2.c provides
> prima2 specific clocks and clock table.
> 3. clk-atlas6.h describles registers of atlas6 and clk-atlas6.c provides
> atlas6 specific clocks and clock table.
> 4. clk.h and clk.c expose external interfaces and provide uniform entry
> for both prima2 and atlas6.
>
> so both prima2 and atlas6 will get support by drivers/clk/sirf.
>
> Signed-off-by: Barry Song <Baohua.Song at csr.com>
> Signed-off-by: Rongjun Ying <Rongjun.Ying at csr.com>
> ---
>  -v2:
>  rebase to 3.13-rc;
>  use CLK_OF_DECLARE and make init function static

Hi Mike,
any feedback for this? i sent v1 some time ago and didn't get your
answer. and here it has been v2.

-barry



More information about the linux-arm-kernel mailing list