From: kishon@ti.com (Kishon Vijay Abraham I)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v7 2/7] arm: omap: hwmod: add a new addr space in otg for writing to control module
Date: Mon, 6 Aug 2012 18:37:55 +0530 [thread overview]
Message-ID: <1344258480-4304-3-git-send-email-kishon@ti.com> (raw)
In-Reply-To: <1344258480-4304-1-git-send-email-kishon@ti.com>
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 file changed, 5 insertions(+)
diff --git a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
index e8e5405..6334e22 100644
--- a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
+++ b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
@@ -5885,6 +5885,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.9.5
next prev parent reply other threads:[~2012-08-06 13:07 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-06 13:07 [PATCH v7 0/7] omap: musb: Add device tree support Kishon Vijay Abraham I
2012-08-06 13:07 ` [PATCH v7 1/7] drivers: usb: phy: add a new driver for omap usb2 phy Kishon Vijay Abraham I
2012-09-06 12:15 ` ABRAHAM, KISHON VIJAY
2012-09-06 13:03 ` Arnd Bergmann
2012-09-06 13:16 ` Felipe Balbi
2012-08-06 13:07 ` Kishon Vijay Abraham I [this message]
2012-08-06 13:07 ` [PATCH v7 3/7] drivers: usb: otg: make twl6030_usb as a comparator driver to omap_usb2 Kishon Vijay Abraham I
2012-08-06 13:07 ` [PATCH v7 4/7] drivers: usb: twl6030: Add dt support for twl6030 usb Kishon Vijay Abraham I
2012-08-06 13:07 ` [PATCH v7 5/7] drivers: usb: twl4030: Add device tree support for twl4030 usb Kishon Vijay Abraham I
2012-08-06 13:07 ` [PATCH v7 6/7] drivers: usb: musb: Add device tree support for omap musb glue Kishon Vijay Abraham I
2012-08-06 13:08 ` [PATCH v7 7/7] arm: omap: phy: remove unused functions from omap-phy-internal.c Kishon Vijay Abraham I
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1344258480-4304-3-git-send-email-kishon@ti.com \
--to=kishon@ti.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).