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

2014-01-14 Thread Barry Song
2014/1/15 Mike Turquette : > Quoting Barry Song (2014-01-05 21:38:19) >> diff --git a/drivers/clk/sirf/clk-atlas6.c b/drivers/clk/sirf/clk-atlas6.c >> new file mode 100644 >> index 000..21e776a >> --- /dev/null >> +++ b/drivers/clk/sirf/clk-atlas6.c >> @@ -0,0 +1,153 @@ >> +/* >> + * Clock

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

2014-01-14 Thread Mike Turquette
Quoting Barry Song (2014-01-05 21:38:19) > diff --git a/drivers/clk/sirf/clk-atlas6.c b/drivers/clk/sirf/clk-atlas6.c > new file mode 100644 > index 000..21e776a > --- /dev/null > +++ b/drivers/clk/sirf/clk-atlas6.c > @@ -0,0 +1,153 @@ > +/* > + * Clock tree for CSR SiRFatlasVI > + * > + *

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

2014-01-14 Thread Barry Song
2014/1/6 Barry Song <21cn...@gmail.com>: > From: Barry Song > > 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

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

2014-01-14 Thread Barry Song
2014/1/6 Barry Song 21cn...@gmail.com: From: Barry Song baohua.s...@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

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

2014-01-14 Thread Mike Turquette
Quoting Barry Song (2014-01-05 21:38:19) diff --git a/drivers/clk/sirf/clk-atlas6.c b/drivers/clk/sirf/clk-atlas6.c new file mode 100644 index 000..21e776a --- /dev/null +++ b/drivers/clk/sirf/clk-atlas6.c @@ -0,0 +1,153 @@ +/* + * Clock tree for CSR SiRFatlasVI + * + * Copyright (c)

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

2014-01-14 Thread Barry Song
2014/1/15 Mike Turquette mturque...@linaro.org: Quoting Barry Song (2014-01-05 21:38:19) diff --git a/drivers/clk/sirf/clk-atlas6.c b/drivers/clk/sirf/clk-atlas6.c new file mode 100644 index 000..21e776a --- /dev/null +++ b/drivers/clk/sirf/clk-atlas6.c @@ -0,0 +1,153 @@ +/* + * Clock

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

2014-01-10 Thread Barry Song
2014/1/6 Barry Song <21cn...@gmail.com>: > From: Barry Song > > 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

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

2014-01-10 Thread Barry Song
2014/1/6 Barry Song 21cn...@gmail.com: From: Barry Song baohua.s...@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

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

2014-01-05 Thread Barry Song
From: Barry Song 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

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

2014-01-05 Thread Barry Song
From: Barry Song baohua.s...@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