From: Sergei Shtylyov <sshtylyov-Igf4POYTYCDQT0dZR+AlfA@public.gmane.org>
To: Anji jonnala <anjir-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
Cc: bryanh-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org,
davidb-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org,
dwalker-zu3NM2574RrQT0dZR+AlfA@public.gmane.org,
linux-arm-msm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH] msm: board-msm8960: Add USB peripheral and OTG support
Date: Tue, 22 Mar 2011 14:18:49 +0300 [thread overview]
Message-ID: <4D888599.4080705@ru.mvista.com> (raw)
In-Reply-To: <1300783908-4638-1-git-send-email-anjir-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
Hello.
On 22-03-2011 11:51, Anji jonnala wrote:
> Signed-off-by: Anji jonnala <anjir-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
[...]
> diff --git a/arch/arm/mach-msm/devices-msm8960.c b/arch/arm/mach-msm/devices-msm8960.c
> index 894ff98..8baf4fa 100644
> --- a/arch/arm/mach-msm/devices-msm8960.c
> +++ b/arch/arm/mach-msm/devices-msm8960.c
[...]
> @@ -89,6 +90,52 @@ struct platform_device msm8960_device_uart_gsbi5 = {
> .resource = resources_uart_gsbi5,
> };
>
> +static struct resource resources_otg[] = {
> + {
> + .start = MSM8960_HSUSB_PHYS,
> + .end = MSM8960_HSUSB_PHYS + MSM8960_HSUSB_SIZE,
You forgot "- 1".
> + .flags = IORESOURCE_MEM,
> + },
> + {
> + .start = USB1_HS_IRQ,
> + .end = USB1_HS_IRQ,
> + .flags = IORESOURCE_IRQ,
> + },
> +};
> +
> +struct platform_device msm_device_otg = {
> + .name = "msm_otg",
> + .id = -1,
> + .num_resources = ARRAY_SIZE(resources_otg),
> + .resource = resources_otg,
> + .dev = {
> + .coherent_dma_mask = 0xffffffff,
> + },
> +};
> +
> +static struct resource resources_hsusb[] = {
> + {
> + .start = MSM8960_HSUSB_PHYS,
> + .end = MSM8960_HSUSB_PHYS + MSM8960_HSUSB_SIZE,
You forgot "- 1" here too.
WBR, Sergei
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
WARNING: multiple messages have this Message-ID (diff)
From: sshtylyov@mvista.com (Sergei Shtylyov)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] msm: board-msm8960: Add USB peripheral and OTG support
Date: Tue, 22 Mar 2011 14:18:49 +0300 [thread overview]
Message-ID: <4D888599.4080705@ru.mvista.com> (raw)
In-Reply-To: <1300783908-4638-1-git-send-email-anjir@codeaurora.org>
Hello.
On 22-03-2011 11:51, Anji jonnala wrote:
> Signed-off-by: Anji jonnala <anjir@codeaurora.org>
[...]
> diff --git a/arch/arm/mach-msm/devices-msm8960.c b/arch/arm/mach-msm/devices-msm8960.c
> index 894ff98..8baf4fa 100644
> --- a/arch/arm/mach-msm/devices-msm8960.c
> +++ b/arch/arm/mach-msm/devices-msm8960.c
[...]
> @@ -89,6 +90,52 @@ struct platform_device msm8960_device_uart_gsbi5 = {
> .resource = resources_uart_gsbi5,
> };
>
> +static struct resource resources_otg[] = {
> + {
> + .start = MSM8960_HSUSB_PHYS,
> + .end = MSM8960_HSUSB_PHYS + MSM8960_HSUSB_SIZE,
You forgot "- 1".
> + .flags = IORESOURCE_MEM,
> + },
> + {
> + .start = USB1_HS_IRQ,
> + .end = USB1_HS_IRQ,
> + .flags = IORESOURCE_IRQ,
> + },
> +};
> +
> +struct platform_device msm_device_otg = {
> + .name = "msm_otg",
> + .id = -1,
> + .num_resources = ARRAY_SIZE(resources_otg),
> + .resource = resources_otg,
> + .dev = {
> + .coherent_dma_mask = 0xffffffff,
> + },
> +};
> +
> +static struct resource resources_hsusb[] = {
> + {
> + .start = MSM8960_HSUSB_PHYS,
> + .end = MSM8960_HSUSB_PHYS + MSM8960_HSUSB_SIZE,
You forgot "- 1" here too.
WBR, Sergei
next prev parent reply other threads:[~2011-03-22 11:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-22 8:51 [PATCH] msm: board-msm8960: Add USB peripheral and OTG support Anji jonnala
2011-03-22 8:51 ` Anji jonnala
[not found] ` <1300783908-4638-1-git-send-email-anjir-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2011-03-22 11:18 ` Sergei Shtylyov [this message]
2011-03-22 11:18 ` Sergei Shtylyov
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=4D888599.4080705@ru.mvista.com \
--to=sshtylyov-igf4poytycdqt0dzr+alfa@public.gmane.org \
--cc=anjir-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org \
--cc=bryanh-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org \
--cc=davidb-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org \
--cc=dwalker-zu3NM2574RrQT0dZR+AlfA@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=linux-arm-msm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.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 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.