From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tushar Behera Subject: Re: [PATCH 6/6] ARM: EXYNOS: USB OTG support for Universal C210 Date: Mon, 13 Feb 2012 12:27:01 +0530 Message-ID: <4F38B43D.4080504@linaro.org> References: <1328870146-20312-1-git-send-email-l.majewski@samsung.com> <1328870146-20312-7-git-send-email-l.majewski@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mail-iy0-f174.google.com ([209.85.210.174]:54080 "EHLO mail-iy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751637Ab2BMG5G (ORCPT ); Mon, 13 Feb 2012 01:57:06 -0500 Received: by iacb35 with SMTP id b35so3893679iac.19 for ; Sun, 12 Feb 2012 22:57:06 -0800 (PST) In-Reply-To: <1328870146-20312-7-git-send-email-l.majewski@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org List-Id: linux-samsung-soc@vger.kernel.org To: Lukasz Majewski Cc: linux-samsung-soc@vger.kernel.org, Marek Szyprowski , Kukjin Kim , Joonyoung Shim , Kyungmin Park On 02/10/2012 04:05 PM, Lukasz Majewski wrote: > This patch adds platform data for using S3C-HSOTG driver at > Universal_C210 target. > > Signed-off-by: Lukasz Majewski > Signed-off-by: Kyungmin Park > --- > arch/arm/mach-exynos/mach-universal_c210.c | 5 +++++ > 1 files changed, 5 insertions(+), 0 deletions(-) > > diff --git a/arch/arm/mach-exynos/mach-universal_c210.c b/arch/arm/mach-exynos/mach-universal_c210.c > index dd75101..3aaac61 100644 > --- a/arch/arm/mach-exynos/mach-universal_c210.c > +++ b/arch/arm/mach-exynos/mach-universal_c210.c > @@ -40,6 +40,7 @@ > #include > #include > #include > +#include > > #include > > @@ -927,6 +928,9 @@ static struct gpio universal_camera_gpios[] = { > { GPIO_CAM_MEGA_nRST, GPIOF_OUT_INIT_LOW, "CAM_8M_NRST" }, > }; > > +/* USB OTG */ > +static struct s3c_hsotg_plat universal_hsotg_pdata; > + > static void universal_camera_init(void) > { > s3c_set_platdata(&mipi_csis_platdata, sizeof(mipi_csis_platdata), > @@ -1037,6 +1041,7 @@ static void __init universal_machine_init(void) > i2c_register_board_info(I2C_GPIO_BUS_12, i2c_gpio12_devs, > ARRAY_SIZE(i2c_gpio12_devs)); > > + s3c_hsotg_set_platdata(&universal_hsotg_pdata); > universal_camera_init(); > > /* Last */ Are you not missing the device entry for &s3c_device_usb_hsotg? -- Tushar Behera