lkml.org 
[lkml]   [2012]   [Jun]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v1 04/11] arm: omap: hwmod: add a new addr space in otg for writing to control module
    Date
    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.

    Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
    ---
    arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 5 +++++
    1 files changed, 5 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 249ff76..2c28754 100644
    --- a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
    +++ b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
    @@ -5897,6 +5897,11 @@ static struct omap_hwmod_addr_space omap44xx_usb_otg_hs_addrs[] = {
    .pa_end = 0x4a0ab003,
    .flags = ADDR_TYPE_RT
    },
    + {
    + .pa_start = 0x4a00233c,
    + .pa_end = 0x4a00233f,
    + .flags = ADDR_TYPE_RT
    + },
    { }
    };

    --
    1.7.5.4


    \
     
     \ /
      Last update: 2012-06-28 14:21    [W:3.964 / U:0.028 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site