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

From: Barry Song
Date: Sat Jan 11 2014 - 00:28:15 EST


2014/1/6 Barry Song <21cnbao@xxxxxxxxx>:
> From: Barry Song <Baohua.Song@xxxxxxx>
>
> 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@xxxxxxx>
> Signed-off-by: Rongjun Ying <Rongjun.Ying@xxxxxxx>
> ---
> -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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/