[ARM] omap: mcbsp: convert to use fck/ick clocks directly
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Fri, 23 Jan 2009 10:26:46 +0000 (10:26 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 8 Feb 2009 17:50:19 +0000 (17:50 +0000)
commitb820ce4e6736ddad7ccda528e10aaf37ad3f13f9
tree173ca76cff521df77256564ee3905ccd0928f10f
parent1b5715ec471d1def9722e22b6cb1d24841b5e290
[ARM] omap: mcbsp: convert to use fck/ick clocks directly

Rather than introducing a special 'mcbsp_clk' with code behind it in
mach-omap*/mcbsp.c to handle the SoC specifics, arrange for the mcbsp
driver to be like any other driver.  mcbsp requests its fck and ick
clocks directly, and the SoC specific code deals with selecting the
correct clock.

There is one oddity to deal with - OMAP1 fiddles with the DSP clocks
and DSP reset, so we move this to the two callback functions.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-omap1/clock.c
arch/arm/mach-omap1/mcbsp.c
arch/arm/mach-omap2/clock24xx.c
arch/arm/mach-omap2/clock34xx.c
arch/arm/mach-omap2/mcbsp.c
arch/arm/plat-omap/include/mach/mcbsp.h
arch/arm/plat-omap/mcbsp.c