From: Sergei Shtylyov <sshtylyov@mvista.com>
To: Kishon Vijay Abraham I <kishon@ti.com>
Cc: gregkh@linuxfoundation.org, tony@atomide.com,
linux@arm.linux.org.uk, eballetbo@gmail.com, javier@dowhile0.org,
b-cousson@ti.com, balbi@ti.com,
linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org
Subject: Re: [PATCH 2/5] ARM: OMAP: devices: create device for usb part of control module
Date: Wed, 06 Feb 2013 17:01:59 +0400 [thread overview]
Message-ID: <51125447.5010209@mvista.com> (raw)
In-Reply-To: <1360130294-5976-3-git-send-email-kishon@ti.com>
Hello.
On 06-02-2013 9:58, Kishon Vijay Abraham I wrote:
> A seperate driver has been added to handle the usb part of control
> module. A device for the above driver is created here, using the register
> address information to be used by the driver for powering on the PHY and
> for writing to the mailbox.
> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
> Acked-by: Tony Lindgren <tony@atomide.com>
> ---
> arch/arm/mach-omap2/devices.c | 45 +++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 45 insertions(+)
> diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c
> index 626f3ea..6cda103 100644
> --- a/arch/arm/mach-omap2/devices.c
> +++ b/arch/arm/mach-omap2/devices.c
> @@ -20,6 +20,7 @@
[...]
> @@ -254,6 +255,49 @@ static inline void omap_init_camera(void)
[...]
> +static struct platform_device omap4_control_usb = {
> + .name = "omap-control-usb",
> + .id = -1,
> + .dev = {
> + .platform_data = &omap4_control_usb_pdata,
> + },
> + .num_resources = 2,
> + .resource = omap4_control_usb_res,
Either align = or not, not both at once.
> +};
WBR, Sergei
next prev parent reply other threads:[~2013-02-06 13:02 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-06 5:58 [PATCH 0/5] ARM: OMAP: arm part of usb patches Kishon Vijay Abraham I
2013-02-06 5:58 ` [PATCH 1/5] ARM: OMAP4: remove control module address space from PHY and OTG Kishon Vijay Abraham I
2013-02-06 5:58 ` [PATCH 2/5] ARM: OMAP: devices: create device for usb part of control module Kishon Vijay Abraham I
2013-02-06 13:01 ` Sergei Shtylyov [this message]
2013-02-06 5:58 ` [PATCH 3/5] ARM: OMAP2: MUSB: Specify omap4 has mailbox Kishon Vijay Abraham I
2013-02-06 10:57 ` Russell King - ARM Linux
2013-02-06 11:03 ` Felipe Balbi
2013-02-06 11:22 ` Felipe Balbi
2013-02-06 11:36 ` Russell King - ARM Linux
2013-02-06 5:58 ` [PATCH 4/5] ARM: OMAP: USB: Add phy binding information Kishon Vijay Abraham I
2013-02-06 5:58 ` [PATCH 5/5] usb: omap_control_usb: fix compile warning 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=51125447.5010209@mvista.com \
--to=sshtylyov@mvista.com \
--cc=b-cousson@ti.com \
--cc=balbi@ti.com \
--cc=eballetbo@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=javier@dowhile0.org \
--cc=kishon@ti.com \
--cc=linux-arm-kernel@lists.infradead.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=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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox