summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
diff options
context:
space:
mode:
authorKishon Vijay Abraham I2012-09-11 11:09:38 +0200
committerFelipe Balbi2012-09-11 11:13:19 +0200
commit94715d59453dd3aba588fd6b6881f4cb4fac5440 (patch)
treed6f4529dd7593acc76792497264a6edd883a876b /arch/arm/mach-omap2/omap_hwmod_44xx_data.c
parentusb: musb: core: fix kernel-doc of musb_init_controller() (diff)
downloadkernel-qcow2-linux-94715d59453dd3aba588fd6b6881f4cb4fac5440.tar.gz
kernel-qcow2-linux-94715d59453dd3aba588fd6b6881f4cb4fac5440.tar.xz
kernel-qcow2-linux-94715d59453dd3aba588fd6b6881f4cb4fac5440.zip
arm: omap: hwmod: add a new addr space in otg for writing to control module
The mailbox register for usb otg in omap is present in control module. On detection of any events VBUS or ID, this register should be written to send the notification to musb core. Till we have a separate control module driver to write to control module, omap2430 will handle the register writes to control module by itself. So a new address space to represent this control module register is added to usb_otg_hs. Acked-by: Benoit Cousson <b-cousson@ti.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/omap_hwmod_44xx_data.c')
-rw-r--r--arch/arm/mach-omap2/omap_hwmod_44xx_data.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
index 242aee498ceb..3c19120e0cdf 100644
--- a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
+++ b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
@@ -5890,6 +5890,12 @@ static struct omap_hwmod_addr_space omap44xx_usb_otg_hs_addrs[] = {
.pa_end = 0x4a0ab003,
.flags = ADDR_TYPE_RT
},
+ {
+ /* XXX: Remove this once control module driver is in place */
+ .pa_start = 0x4a00233c,
+ .pa_end = 0x4a00233f,
+ .flags = ADDR_TYPE_RT
+ },
{ }
};