MIPS: lantiq: implement support for clkdev api
authorJohn Crispin <blogic@openwrt.org>
Tue, 17 Apr 2012 13:53:19 +0000 (15:53 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 21 May 2012 13:31:51 +0000 (14:31 +0100)
commit287e3f3f4e68ca881e3faa413e7aa114fee609d3
treef33d5e8b76c50306eee6540570b39d5bcd92210f
parentbd51db7f3bf2ba23ff55f6d5fdcec04c74df13e4
MIPS: lantiq: implement support for clkdev api

This patch unifies all clock generation and gating code into one file.
All drivers will now be able to request their clocks via their device.
This patch also adds support for the clockout feature, which allows
clock generation on external pins.

Support for COMMON_CLK will be provided in the next series.

Signed-off-by: John Crispin <blogic@openwrt.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3804/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
12 files changed:
arch/mips/Kconfig
arch/mips/include/asm/mach-lantiq/lantiq.h
arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
arch/mips/lantiq/clk.c
arch/mips/lantiq/clk.h
arch/mips/lantiq/xway/Makefile
arch/mips/lantiq/xway/clk-ase.c [deleted file]
arch/mips/lantiq/xway/clk-xway.c [deleted file]
arch/mips/lantiq/xway/clk.c [new file with mode: 0644]
arch/mips/lantiq/xway/ebu.c [deleted file]
arch/mips/lantiq/xway/pmu.c [deleted file]
arch/mips/lantiq/xway/sysctrl.c [new file with mode: 0644]