ARM: OMAP2: CM/PM: remove direct register accesses outside CM code
authorTero Kristo <t-kristo@ti.com>
Fri, 11 Oct 2013 16:15:31 +0000 (19:15 +0300)
committerPaul Walmsley <paul@pwsan.com>
Sat, 19 Oct 2013 16:11:51 +0000 (10:11 -0600)
commitcd6e9db27728e8bcf98cb667996b121761f58121
treefefd3a81cc6719f574471fe78c94e4b126b72c6a
parentd0e639c9e06d44e713170031fe05fb60ebe680af
ARM: OMAP2: CM/PM: remove direct register accesses outside CM code

Users of the CM funtionality should not access the CM registers directly
by themselves. Thus, added new CM driver APIs for the OMAP2 specific
functionalities which support the existing direct register accesses, and
changed the platform code to use these. This is done in preparation
for moving the CM code into its own individual driver.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/clkt2xxx_apll.c
arch/arm/mach-omap2/clkt2xxx_dpllcore.c
arch/arm/mach-omap2/clkt2xxx_virt_prcm_set.c
arch/arm/mach-omap2/cm2xxx.c
arch/arm/mach-omap2/cm2xxx.h
arch/arm/mach-omap2/pm24xx.c