From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754571Ab2LaDjb (ORCPT ); Sun, 30 Dec 2012 22:39:31 -0500 Received: from mail-pa0-f48.google.com ([209.85.220.48]:63120 "EHLO mail-pa0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750841Ab2LaDj3 (ORCPT ); Sun, 30 Dec 2012 22:39:29 -0500 Message-ID: <50E108EA.1010404@linaro.org> Date: Mon, 31 Dec 2012 09:09:22 +0530 From: Tushar Behera User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Dongjin Kim CC: Russell King , Kukjin Kim , Tomasz Figa , Kyungmin Park , Thomas Abraham , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, "linux-samsung-soc@vger.kernel.org" Subject: Re: [PATCH RESEND] ARM: dts: Add EHCI device tree node for Exynos4 References: <1356921918-12959-1-git-send-email-tobetter@gmail.com> In-Reply-To: <1356921918-12959-1-git-send-email-tobetter@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/31/2012 08:15 AM, Dongjin Kim wrote: > This patch adds EHCI device node on device tree for Exynos4 and defines its > default platform data, s5p_usb_phy_init and s5p_usb_phy_exit, so that those > function can be called from the driver. > > Signed-off-by: Dongjin Kim > --- > arch/arm/boot/dts/exynos4.dtsi | 7 +++++++ > arch/arm/mach-exynos/mach-exynos4-dt.c | 9 +++++++++ > 2 files changed, 16 insertions(+) [ ... ] > > +static struct s5p_ehci_platdata s5p_ehci_platdata = { > + .phy_init = s5p_usb_phy_init, > + .phy_exit = s5p_usb_phy_exit, > +}; > + Going by the recent development on Samsung USBPHY driver, we won't need these hooks once that patch gets accepted. [1] Patch for adding EHCI support for EXYNOS5-DT can be found here.[2] [1] https://patchwork.kernel.org/patch/1794651/ [2] https://patchwork.kernel.org/patch/1875491/ > /* > * The following lookup table is used to override device names when devices > * are registered from device tree. This is temporarily added to enable > @@ -80,6 +87,8 @@ static const struct of_dev_auxdata exynos4_auxdata_lookup[] __initconst = { > OF_DEV_AUXDATA("arm,pl330", EXYNOS4_PA_MDMA1, "dma-pl330.2", NULL), > OF_DEV_AUXDATA("samsung,exynos4210-tmu", EXYNOS4_PA_TMU, > "exynos-tmu", NULL), > + OF_DEV_AUXDATA("samsung,exynos-ehci", EXYNOS4_PA_EHCI, > + "s5p-ehci", &s5p_ehci_platdata), > {}, > }; > > -- Tushar Behera