public inbox for linux-tegra@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 5/6] ARM: tegra: USB_ULPI needs USB
@ 2012-03-02 20:58 Alan Ott
       [not found] ` <1330721919-8800-1-git-send-email-alan-yzvJWuRpmD1zbRFIqnYvSA@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Alan Ott @ 2012-03-02 20:58 UTC (permalink / raw)
  To: Colin Cross, Olof Johansson, Stephen Warren, Russell King,
	linux-tegra, linux-arm-kernel, linux-kernel
  Cc: Arnd Bergmann, Alan Ott

From: Arnd Bergmann <arnd@arndb.de>

The USB_ULPI driver is selected by tegra, but can only be
built if at least one of USB or USB_GADGET is enabled.
The kernel fails to link if both are off.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Alan Ott <alan@signal11.us>
---
 arch/arm/mach-tegra/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-tegra/Kconfig b/arch/arm/mach-tegra/Kconfig
index 60f3e4b..9bb8a37 100644
--- a/arch/arm/mach-tegra/Kconfig
+++ b/arch/arm/mach-tegra/Kconfig
@@ -10,6 +10,7 @@ config ARCH_TEGRA_2x_SOC
 	select USB_ARCH_HAS_EHCI if USB_SUPPORT
 	select USB_ULPI if USB_SUPPORT
 	select USB_ULPI_VIEWPORT if USB_SUPPORT
+	select USB_GADGET if USB_SUPPORT && !USB
 	select CPU_FREQ_TABLE if CPU_FREQ
 	help
 	  Support for NVIDIA Tegra AP20 and T20 processors, based on the
-- 
1.7.0.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v2 5/6] ARM: tegra: USB_ULPI needs USB
       [not found] ` <1330721919-8800-1-git-send-email-alan-yzvJWuRpmD1zbRFIqnYvSA@public.gmane.org>
@ 2012-03-04 18:40   ` Olof Johansson
       [not found]     ` <20120304184015.GE31064-O5ziIzlqnXUVNXGz7ipsyg@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Olof Johansson @ 2012-03-04 18:40 UTC (permalink / raw)
  To: Alan Ott
  Cc: Colin Cross, Stephen Warren, Russell King,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA, Arnd Bergmann

On Fri, Mar 02, 2012 at 03:58:39PM -0500, Alan Ott wrote:
> From: Arnd Bergmann <arnd-r2nGTMty4D4@public.gmane.org>
> 
> The USB_ULPI driver is selected by tegra, but can only be
> built if at least one of USB or USB_GADGET is enabled.
> The kernel fails to link if both are off.
> 
> Signed-off-by: Arnd Bergmann <arnd-r2nGTMty4D4@public.gmane.org>
> Signed-off-by: Alan Ott <alan-yzvJWuRpmD1zbRFIqnYvSA@public.gmane.org>
> ---
>  arch/arm/mach-tegra/Kconfig |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/mach-tegra/Kconfig b/arch/arm/mach-tegra/Kconfig
> index 60f3e4b..9bb8a37 100644
> --- a/arch/arm/mach-tegra/Kconfig
> +++ b/arch/arm/mach-tegra/Kconfig
> @@ -10,6 +10,7 @@ config ARCH_TEGRA_2x_SOC
>  	select USB_ARCH_HAS_EHCI if USB_SUPPORT
>  	select USB_ULPI if USB_SUPPORT
>  	select USB_ULPI_VIEWPORT if USB_SUPPORT
> +	select USB_GADGET if USB_SUPPORT && !USB
>  	select CPU_FREQ_TABLE if CPU_FREQ
>  	help
>  	  Support for NVIDIA Tegra AP20 and T20 processors, based on the

This is another patch that needs the same change for T30.


-Olof

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v2 5/6] ARM: tegra: USB_ULPI needs USB
       [not found]     ` <20120304184015.GE31064-O5ziIzlqnXUVNXGz7ipsyg@public.gmane.org>
@ 2012-03-04 19:46       ` Alan Ott
  0 siblings, 0 replies; 3+ messages in thread
From: Alan Ott @ 2012-03-04 19:46 UTC (permalink / raw)
  To: Olof Johansson
  Cc: Colin Cross, Stephen Warren, Russell King,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA, Arnd Bergmann

On 3/4/12 1:40 PM, Olof Johansson wrote:
> On Fri, Mar 02, 2012 at 03:58:39PM -0500, Alan Ott wrote:
>> From: Arnd Bergmann<arnd-r2nGTMty4D4@public.gmane.org>
>>
>> The USB_ULPI driver is selected by tegra, but can only be
>> built if at least one of USB or USB_GADGET is enabled.
>> The kernel fails to link if both are off.
>>
>> Signed-off-by: Arnd Bergmann<arnd-r2nGTMty4D4@public.gmane.org>
>> Signed-off-by: Alan Ott<alan-yzvJWuRpmD1zbRFIqnYvSA@public.gmane.org>
>> ---
> This is another patch that needs the same change for T30.
>
>
> -Olof

It is in v3. It looks like you took (or at least replied to) v2 for all 
these.

Alan.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-03-04 19:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-02 20:58 [PATCH v2 5/6] ARM: tegra: USB_ULPI needs USB Alan Ott
     [not found] ` <1330721919-8800-1-git-send-email-alan-yzvJWuRpmD1zbRFIqnYvSA@public.gmane.org>
2012-03-04 18:40   ` Olof Johansson
     [not found]     ` <20120304184015.GE31064-O5ziIzlqnXUVNXGz7ipsyg@public.gmane.org>
2012-03-04 19:46       ` Alan Ott

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox