All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kishon Vijay Abraham I <kishon@ti.com>
To: <kishon@ti.com>, <grant.likely@secretlab.ca>,
	<rob.herring@calxeda.com>, <rob@landley.net>,
	<linux@arm.linux.org.uk>, <gregkh@linuxfoundation.org>,
	<b-cousson@ti.com>, <rnayak@ti.com>, <tony@atomide.com>,
	<devicetree-discuss@lists.ozlabs.org>,
	<linux-doc@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	<linux-arm-kernel@lists.infradead.org>, <balbi@ti.com>,
	<linux-omap@vger.kernel.org>, <linux-usb@vger.kernel.org>
Subject: [PATCH v4 04/11] arm: omap: hwmod: add a new addr space in otg for writing to control module
Date: Wed, 18 Jul 2012 16:08:35 +0530	[thread overview]
Message-ID: <1342607922-11554-5-git-send-email-kishon@ti.com> (raw)
In-Reply-To: <1342607922-11554-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 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 ba24d15..c50d828 100644
--- a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
+++ b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
@@ -5922,6 +5922,11 @@ static struct omap_hwmod_addr_space omap44xx_usb_otg_hs_addrs[] = {
 		.pa_end		= 0x4a0ab7ff,
 		.flags		= ADDR_TYPE_RT
 	},
+	{
+		.pa_start	= 0x4a00233c,
+		.pa_end		= 0x4a00233f,
+		.flags		= ADDR_TYPE_RT
+	},
 	{ }
 };
 
-- 
1.7.5.4


WARNING: multiple messages have this Message-ID (diff)
From: Kishon Vijay Abraham I <kishon@ti.com>
To: kishon@ti.com, grant.likely@secretlab.ca,
	rob.herring@calxeda.com, rob@landley.net, linux@arm.linux.org.uk,
	gregkh@linuxfoundation.org, b-cousson@ti.com, rnayak@ti.com,
	tony@atomide.com, devicetree-discuss@lists.ozlabs.org,
	linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org, balbi@ti.com,
	linux-omap@vger.kernel.org, linux-usb@vger.kernel.org
Subject: [PATCH v4 04/11] arm: omap: hwmod: add a new addr space in otg for writing to control module
Date: Wed, 18 Jul 2012 16:08:35 +0530	[thread overview]
Message-ID: <1342607922-11554-5-git-send-email-kishon@ti.com> (raw)
In-Reply-To: <1342607922-11554-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 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 ba24d15..c50d828 100644
--- a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
+++ b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
@@ -5922,6 +5922,11 @@ static struct omap_hwmod_addr_space omap44xx_usb_otg_hs_addrs[] = {
 		.pa_end		= 0x4a0ab7ff,
 		.flags		= ADDR_TYPE_RT
 	},
+	{
+		.pa_start	= 0x4a00233c,
+		.pa_end		= 0x4a00233f,
+		.flags		= ADDR_TYPE_RT
+	},
 	{ }
 };
 
-- 
1.7.5.4

WARNING: multiple messages have this Message-ID (diff)
From: kishon@ti.com (Kishon Vijay Abraham I)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v4 04/11] arm: omap: hwmod: add a new addr space in otg for writing to control module
Date: Wed, 18 Jul 2012 16:08:35 +0530	[thread overview]
Message-ID: <1342607922-11554-5-git-send-email-kishon@ti.com> (raw)
In-Reply-To: <1342607922-11554-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 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 ba24d15..c50d828 100644
--- a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
+++ b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
@@ -5922,6 +5922,11 @@ static struct omap_hwmod_addr_space omap44xx_usb_otg_hs_addrs[] = {
 		.pa_end		= 0x4a0ab7ff,
 		.flags		= ADDR_TYPE_RT
 	},
+	{
+		.pa_start	= 0x4a00233c,
+		.pa_end		= 0x4a00233f,
+		.flags		= ADDR_TYPE_RT
+	},
 	{ }
 };
 
-- 
1.7.5.4

  parent reply	other threads:[~2012-07-18 10:40 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-18 10:38 [PATCH v4 00/11] omap: musb: Add device tree support Kishon Vijay Abraham I
2012-07-18 10:38 ` Kishon Vijay Abraham I
2012-07-18 10:38 ` Kishon Vijay Abraham I
2012-07-18 10:38 ` [PATCH v4 01/11] drivers: usb: otg: add a new driver for omap usb2 phy Kishon Vijay Abraham I
2012-07-18 10:38   ` Kishon Vijay Abraham I
2012-07-18 10:38   ` Kishon Vijay Abraham I
2012-07-18 10:38 ` [PATCH v4 02/11] arm/dts: omap: Add omap-usb2 dt data Kishon Vijay Abraham I
2012-07-18 10:38   ` Kishon Vijay Abraham I
2012-07-18 10:38   ` Kishon Vijay Abraham I
2012-07-18 10:38 ` [PATCH v4 03/11] drivers: usb: otg: make twl6030_usb as a comparator driver to omap_usb2 Kishon Vijay Abraham I
2012-07-18 10:38   ` Kishon Vijay Abraham I
2012-07-18 10:38   ` Kishon Vijay Abraham I
2012-07-18 10:38 ` Kishon Vijay Abraham I [this message]
2012-07-18 10:38   ` [PATCH v4 04/11] arm: omap: hwmod: add a new addr space in otg for writing to control module Kishon Vijay Abraham I
2012-07-18 10:38   ` Kishon Vijay Abraham I
2012-07-18 10:38 ` [PATCH v4 05/11] drivers: usb: twl6030: Add dt support for twl6030 usb Kishon Vijay Abraham I
2012-07-18 10:38   ` Kishon Vijay Abraham I
2012-07-18 10:38   ` Kishon Vijay Abraham I
2012-07-18 10:38 ` [PATCH v4 06/11] arm/dts: Add twl6030-usb data Kishon Vijay Abraham I
2012-07-18 10:38   ` Kishon Vijay Abraham I
2012-07-18 10:38   ` Kishon Vijay Abraham I
2012-07-18 10:38 ` [PATCH v4 07/11] drivers: usb: twl4030: Add device tree support for twl4030 usb Kishon Vijay Abraham I
2012-07-18 10:38   ` Kishon Vijay Abraham I
2012-07-18 10:38   ` Kishon Vijay Abraham I
2012-07-18 10:38 ` [PATCH v4 08/11] arm/dts: Add twl4030-usb data Kishon Vijay Abraham I
2012-07-18 10:38   ` Kishon Vijay Abraham I
2012-07-18 10:38   ` Kishon Vijay Abraham I
2012-07-18 10:38 ` [PATCH v4 09/11] drivers: usb: musb: Add device tree support for omap musb glue Kishon Vijay Abraham I
2012-07-18 10:38   ` Kishon Vijay Abraham I
2012-07-18 10:38   ` Kishon Vijay Abraham I
2012-07-19 13:21   ` Gupta, Ajay Kumar
2012-07-19 13:21     ` Gupta, Ajay Kumar
2012-07-19 13:21     ` Gupta, Ajay Kumar
2012-07-19 14:48     ` ABRAHAM, KISHON VIJAY
2012-07-19 14:48       ` ABRAHAM, KISHON VIJAY
2012-07-19 14:48       ` ABRAHAM, KISHON VIJAY
2012-07-18 10:38 ` [PATCH v4 10/11] arm/dts: omap: Add usb_otg and glue data Kishon Vijay Abraham I
2012-07-18 10:38   ` Kishon Vijay Abraham I
2012-07-18 10:38   ` Kishon Vijay Abraham I
2012-07-18 10:38 ` [PATCH v4 11/11] arm: omap: phy: remove unused functions from omap-phy-internal.c Kishon Vijay Abraham I
2012-07-18 10:38   ` Kishon Vijay Abraham I
2012-07-18 10:38   ` 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=1342607922-11554-5-git-send-email-kishon@ti.com \
    --to=kishon@ti.com \
    --cc=b-cousson@ti.com \
    --cc=balbi@ti.com \
    --cc=devicetree-discuss@lists.ozlabs.org \
    --cc=grant.likely@secretlab.ca \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=rnayak@ti.com \
    --cc=rob.herring@calxeda.com \
    --cc=rob@landley.net \
    --cc=tony@atomide.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.