omap4: control: Add accessor api's for pad control module
authorSantosh Shilimkar <santosh.shilimkar@ti.com>
Mon, 27 Sep 2010 20:02:57 +0000 (14:02 -0600)
committerPaul Walmsley <paul@pwsan.com>
Mon, 27 Sep 2010 20:02:57 +0000 (14:02 -0600)
commit70ba71a25e02ef7b8796723c8615955620e465ff
tree2f438307bd74e24f26c35727800fef46bb7bf675
parent0c3492467c99f3d0d83a48012ee6e672b016759c
omap4: control: Add accessor api's for pad control module

On OMAP4 control pad are not addressable from control
core base. So the common omap_ctrl_read/write APIs breaks
Hence export separate APIs to manage the omap4 pad control
registers.

This APIs will work only for OMAP4

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/control.c
arch/arm/plat-omap/include/plat/control.h