arm: vt8500: clk: Add Common Clock Framework support
PATCH v5 9/9 arm: vt8500: clk: Add Common Clock Framework support
This patch adds common clock framework support for arch-vt8500. Support for PLL and device clocks on VT8500, WM8505 and WM8650 are included.
---
Changes made as per Mike's review.
Split endisable() into enable/disable.
Style tidy up - remove extra blank lines.
drivers/clk/Makefile | 1 + drivers/clk/clk-vt8500.c | 510 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 511 insertions(+) create mode 100644 drivers/clk/clk-vt8500.c
drivers/clk/Makefile +1 -0
@@ -10,6 +10,7 @@ obj-$(CONFIG_ARCH_SOCFPGA) += socfpga/ obj-$(CONFIG_PLAT_SPEAR) += spear/ obj-$(CONFIG_ARCH_U300) += clk-u300.o obj-$(CONFIG_ARCH_INTEGRATOR) += versatile/ +obj-$(CONFIG_ARCH_VT8500) += clk-vt8500.o # Chip specific obj-$(CONFIG_COMMON_CLK_WM831X) += clk-wm831x.o
drivers/clk/clk-vt8500.c new file +510 -0
510 lines not on this page · raw message
Signature · 1 line
1.7.9.5
PATCH v5 9/9 arm: vt8500: clk: Add Common Clock Framework support
Quoting Tony Prisk (2012-09-02 16:01:36)
Quoted 9 lines
This patch adds common clock framework support for arch-vt8500. Support for PLL and device clocks on VT8500, WM8505 and WM8650 are included.
Signed-off-by Tony Prisk <[email protected]>---
Changes made as per Mike's review.
Splitendisable()into enable/disable.
Style tidy up - remove extra blank lines.
Hi Tony,
This looks good. I've taken it into clk-next for some testing.
Regards,
Mike
PATCH v5 9/9 arm: vt8500: clk: Add Common Clock Framework support
Quoted 11 lines · Mike Turquette
Quoting Tony Prisk (2012-09-02 16:01:36)
Quoted 9 lines
This patch adds common clock framework support for arch-vt8500. Support for PLL and device clocks on VT8500, WM8505 and WM8650 are included.
Signed-off-by Tony Prisk <[email protected]>---
Changes made as per Mike's review.
Splitendisable()into enable/disable.
Style tidy up - remove extra blank lines.
Quoted 6 lines
Hi Tony,
This looks good. I've taken it into clk-next for some testing.
Regards,
Mike
Presumably this patch wouldn't apply cleanly unless you also added patch 6/9. Can you let me know how you handled it so I can work with Arnd to get all the other patches in through arm-soc.
Regards,
Tony P
PATCH v5 9/9 arm: vt8500: clk: Add Common Clock Framework support
In reply to Mike TurquetteQuoted 11 lines · Mike Turquette
Quoting Tony Prisk (2012-09-02 16:01:36)
Quoted 9 lines
This patch adds common clock framework support for arch-vt8500. Support for PLL and device clocks on VT8500, WM8505 and WM8650 are included.
Signed-off-by Tony Prisk <[email protected]>---
Changes made as per Mike's review.
Splitendisable()into enable/disable.
Style tidy up - remove extra blank lines.
Quoted 6 lines
Hi Tony,
This looks good. I've taken it into clk-next for some testing.
Regards,
Mike
Presumably this patch wouldn't apply cleanly unless you also added patch 6/9. Can you let me know how you handled it so I can work with Arnd to get all the other patches in through arm-soc.
Regards,
Tony P
PATCH v5 9/9 arm: vt8500: clk: Add Common Clock Framework support
Quoting Tony Prisk (2012-09-10 21:32:35)
Quoted 14 lines · Mike Turquette
Quoted 13 lines
Quoting Tony Prisk (2012-09-02 16:01:36)
Quoted 9 lines
This patch adds common clock framework support for arch-vt8500. Support for PLL and device clocks on VT8500, WM8505 and WM8650 are included.
Signed-off-by Tony Prisk <[email protected]>---
Changes made as per Mike's review.
Splitendisable()into enable/disable.
Style tidy up - remove extra blank lines.Hi Tony,
Quoted 9 lines
Quoted 4 lines
This looks good. I've taken it into clk-next for some testing.
Regards,
MikePresumably this patch wouldn't apply cleanly unless you also added patch 6/9. Can you let me know how you handled it so I can work with Arnd to get all the other patches in through arm-soc.
I see no dependency between patch #9 and #6. This patch simply introduces a new C file and adds an entry into drivers/clk/Makefile. Am I missing something?
Also, I did not push my clk-next branch out publicly last night with this change so it is no problem for me to drop it. Would you prefer the whole series go through arm-soc? If so this patch has my:
Regards,
Mike
Quoted 2 lines
Regards,
Tony P
PATCH v5 9/9 arm: vt8500: clk: Add Common Clock Framework support
Quoted 29 lines · Mike Turquette
Quoting Tony Prisk (2012-09-10 21:32:35)
Quoted 14 lines · Mike Turquette
Quoted 13 lines
Quoting Tony Prisk (2012-09-02 16:01:36)
Quoted 9 lines
This patch adds common clock framework support for arch-vt8500. Support for PLL and device clocks on VT8500, WM8505 and WM8650 are included.
Signed-off-by Tony Prisk <[email protected]>---
Changes made as per Mike's review.
Splitendisable()into enable/disable.
Style tidy up - remove extra blank lines.Hi Tony,
Quoted 9 lines
Quoted 4 lines
This looks good. I've taken it into clk-next for some testing.
Regards,
MikePresumably this patch wouldn't apply cleanly unless you also added patch 6/9. Can you let me know how you handled it so I can work with Arnd to get all the other patches in through arm-soc.
I see no dependency between patch #9 and #6. This patch simply introduces a new C file and adds an entry into
drivers/clk/Makefile. Am I missing something?
Quoted 11 lines
Also, I did not push my clk-next branch out publicly last night with this change so it is no problem for me to drop it. Would you prefer the whole series go through arm-soc? If so this patch has my:
Acked-by Mike Turquette <[email protected]>Regards,
MikeQuoted 2 lines
Regards,
Tony P
Mike,
Sorry - I got that backwards - patch 6 has a dependency on this patch. It would definitely be easier for the whole lot to go through arm-soc since you're okay with that.
Thanks for your time.
Regards
Tony P