clk: sirf: re-arch to make the codes support both prima2 and atlas6
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: NBarry Song <Baohua.Song@csr.com> Signed-off-by: NRongjun Ying <Rongjun.Ying@csr.com> Signed-off-by: NMike Turquette <mturquette@linaro.org>
Showing
drivers/clk/sirf/Makefile
0 → 100644
drivers/clk/sirf/atlas6.h
0 → 100644
drivers/clk/sirf/clk-atlas6.c
0 → 100644
drivers/clk/sirf/clk-prima2.c
0 → 100644
drivers/clk/sirf/prima2.h
0 → 100644
想要评论请 注册 或 登录