diff mbox

[10/10] OMAP3: update OMAP3 Beagle defconfig, v2

Message ID 20090812165258.GM7278@atomide.com (mailing list archive)
State Awaiting Upstream, archived
Headers show

Commit Message

Tony Lindgren Aug. 12, 2009, 4:52 p.m. UTC
* Felipe Balbi <felipe.balbi@nokia.com> [090812 15:29]:
> Hi,
> 
> On Wed, Aug 12, 2009 at 02:24:15PM +0200, ext Tony Lindgren wrote:
> > From: Paul Walmsley <paul@pwsan.com>
> > 
> > Update the OMAP3 Beagle defconfig to add EHCI, MMC, TWL4030 GPIO support.
> > Beagle can again use MMC rootfs after this patch.  Tested on BeagleBoard
> > rev C2.
> > 

<snip>

> > @@ -981,10 +987,11 @@ CONFIG_RTC_INTF_DEV=y
> >  #
> >  # Voltage and Current regulators
> >  #
> > -# CONFIG_REGULATOR is not set
> > +CONFIG_REGULATOR=y
> >  # CONFIG_REGULATOR_FIXED_VOLTAGE is not set
> >  # CONFIG_REGULATOR_VIRTUAL_CONSUMER is not set
> >  # CONFIG_REGULATOR_BQ24022 is not set
> > +CONFIG_REGULATOR_TWL4030=y
> >  # CONFIG_UIO is not set
> 
> musb will still fail here if we don't have twl4030-usb enabled.
> 
> could you updated the patch to add that as well ??

Updated. Maybe take a look and see if the USB options make sense
to you? I could not enable OTG for some reason..

Regards,

Tony

Comments

Kevin Hilman Aug. 12, 2009, 5:20 p.m. UTC | #1
Tony Lindgren <tony@atomide.com> writes:

> * Felipe Balbi <felipe.balbi@nokia.com> [090812 15:29]:
>> Hi,
>> 
>> On Wed, Aug 12, 2009 at 02:24:15PM +0200, ext Tony Lindgren wrote:
>> > From: Paul Walmsley <paul@pwsan.com>
>> > 
>> > Update the OMAP3 Beagle defconfig to add EHCI, MMC, TWL4030 GPIO support.
>> > Beagle can again use MMC rootfs after this patch.  Tested on BeagleBoard
>> > rev C2.
>> > 
>
> <snip>
>
>> > @@ -981,10 +987,11 @@ CONFIG_RTC_INTF_DEV=y
>> >  #
>> >  # Voltage and Current regulators
>> >  #
>> > -# CONFIG_REGULATOR is not set
>> > +CONFIG_REGULATOR=y
>> >  # CONFIG_REGULATOR_FIXED_VOLTAGE is not set
>> >  # CONFIG_REGULATOR_VIRTUAL_CONSUMER is not set
>> >  # CONFIG_REGULATOR_BQ24022 is not set
>> > +CONFIG_REGULATOR_TWL4030=y
>> >  # CONFIG_UIO is not set
>> 
>> musb will still fail here if we don't have twl4030-usb enabled.
>> 
>> could you updated the patch to add that as well ??
>
> Updated. Maybe take a look and see if the USB options make sense
> to you? I could not enable OTG for some reason..
>

Probably because OTG depends on CONFIG_PM I think.

Kevin

>
> From 5dc8c8ffb27d93533d71493ca4a419f0290a3b2f Mon Sep 17 00:00:00 2001
> From: Paul Walmsley <paul@pwsan.com>
> Date: Wed, 12 Aug 2009 15:06:36 +0300
> Subject: [PATCH] OMAP3: update OMAP3 Beagle defconfig
>
> Update the OMAP3 Beagle defconfig to add EHCI, MMC, TWL4030 GPIO support.
> Beagle can again use MMC rootfs after this patch.  Tested on BeagleBoard
> rev C2.
>
> Signed-off-by: Paul Walmsley <paul@pwsan.com>
> Cc: Jason Kridner <jkridner@beagleboard.org>
> Signed-off-by: Tony Lindgren <tony@atomide.com>
>
> diff --git a/arch/arm/configs/omap3_beagle_defconfig b/arch/arm/configs/omap3_beagle_defconfig
> index 4c6fb7e..882f374 100644
> --- a/arch/arm/configs/omap3_beagle_defconfig
> +++ b/arch/arm/configs/omap3_beagle_defconfig
> @@ -236,6 +236,7 @@ CONFIG_ARM_THUMB=y
>  # CONFIG_CPU_BPREDICT_DISABLE is not set
>  CONFIG_HAS_TLS_REG=y
>  # CONFIG_OUTER_CACHE is not set
> +CONFIG_COMMON_CLKDEV=y
>  
>  #
>  # Bus support
> @@ -713,6 +714,7 @@ CONFIG_GPIOLIB=y
>  # CONFIG_GPIO_MAX732X is not set
>  # CONFIG_GPIO_PCA953X is not set
>  # CONFIG_GPIO_PCF857X is not set
> +CONFIG_GPIO_TWL4030=y
>  
>  #
>  # PCI GPIO expanders:
> @@ -741,6 +743,7 @@ CONFIG_SSB_POSSIBLE=y
>  # CONFIG_MFD_SM501 is not set
>  # CONFIG_HTC_EGPIO is not set
>  # CONFIG_HTC_PASIC3 is not set
> +CONFIG_TWL4030_CORE=y
>  # CONFIG_UCB1400_CORE is not set
>  # CONFIG_MFD_TMIO is not set
>  # CONFIG_MFD_T7L66XB is not set
> @@ -787,7 +790,7 @@ CONFIG_DUMMY_CONSOLE=y
>  CONFIG_USB_SUPPORT=y
>  CONFIG_USB_ARCH_HAS_HCD=y
>  CONFIG_USB_ARCH_HAS_OHCI=y
> -# CONFIG_USB_ARCH_HAS_EHCI is not set
> +CONFIG_USB_ARCH_HAS_EHCI=y
>  CONFIG_USB=y
>  # CONFIG_USB_DEBUG is not set
>  # CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set
> @@ -806,6 +809,8 @@ CONFIG_USB_MON=y
>  #
>  # USB Host Controller Drivers
>  #
> +CONFIG_USB_EHCI_HCD=y
> +CONFIG_USB_EHCI_ROOT_HUB_TT=y
>  # CONFIG_USB_C67X00_HCD is not set
>  # CONFIG_USB_ISP116X_HCD is not set
>  # CONFIG_USB_ISP1760_HCD is not set
> @@ -906,6 +911,15 @@ CONFIG_USB_ETH_RNDIS=y
>  # CONFIG_USB_MIDI_GADGET is not set
>  # CONFIG_USB_G_PRINTER is not set
>  # CONFIG_USB_CDC_COMPOSITE is not set
> +
> +#
> +# OTG and related infrastructure
> +#
> +CONFIG_USB_OTG_UTILS=y
> +# CONFIG_USB_GPIO_VBUS is not set
> +# CONFIG_ISP1301_OMAP is not set
> +CONFIG_TWL4030_USB=y
> +# CONFIG_NOP_USB_XCEIV is not set
>  CONFIG_MMC=y
>  # CONFIG_MMC_DEBUG is not set
>  # CONFIG_MMC_UNSAFE_RESUME is not set
> @@ -923,6 +937,7 @@ CONFIG_MMC_BLOCK_BOUNCE=y
>  #
>  # CONFIG_MMC_SDHCI is not set
>  # CONFIG_MMC_OMAP is not set
> +CONFIG_MMC_OMAP_HS=y
>  # CONFIG_MEMSTICK is not set
>  # CONFIG_ACCESSIBILITY is not set
>  # CONFIG_NEW_LEDS is not set
> @@ -981,10 +996,11 @@ CONFIG_RTC_INTF_DEV=y
>  #
>  # Voltage and Current regulators
>  #
> -# CONFIG_REGULATOR is not set
> +CONFIG_REGULATOR=y
>  # CONFIG_REGULATOR_FIXED_VOLTAGE is not set
>  # CONFIG_REGULATOR_VIRTUAL_CONSUMER is not set
>  # CONFIG_REGULATOR_BQ24022 is not set
> +CONFIG_REGULATOR_TWL4030=y
>  # CONFIG_UIO is not set
>  
>  #
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Felipe Balbi Aug. 12, 2009, 7:11 p.m. UTC | #2
On Wed, Aug 12, 2009 at 10:20:34AM -0700, Kevin Hilman wrote:
> Tony Lindgren <tony@atomide.com> writes:
> 
> > * Felipe Balbi <felipe.balbi@nokia.com> [090812 15:29]:
> >> Hi,
> >> 
> >> On Wed, Aug 12, 2009 at 02:24:15PM +0200, ext Tony Lindgren wrote:
> >> > From: Paul Walmsley <paul@pwsan.com>
> >> > 
> >> > Update the OMAP3 Beagle defconfig to add EHCI, MMC, TWL4030 GPIO support.
> >> > Beagle can again use MMC rootfs after this patch.  Tested on BeagleBoard
> >> > rev C2.
> >> > 
> >
> > <snip>
> >
> >> > @@ -981,10 +987,11 @@ CONFIG_RTC_INTF_DEV=y
> >> >  #
> >> >  # Voltage and Current regulators
> >> >  #
> >> > -# CONFIG_REGULATOR is not set
> >> > +CONFIG_REGULATOR=y
> >> >  # CONFIG_REGULATOR_FIXED_VOLTAGE is not set
> >> >  # CONFIG_REGULATOR_VIRTUAL_CONSUMER is not set
> >> >  # CONFIG_REGULATOR_BQ24022 is not set
> >> > +CONFIG_REGULATOR_TWL4030=y
> >> >  # CONFIG_UIO is not set
> >> 
> >> musb will still fail here if we don't have twl4030-usb enabled.
> >> 
> >> could you updated the patch to add that as well ??
> >
> > Updated. Maybe take a look and see if the USB options make sense
> > to you? I could not enable OTG for some reason..
> >
> 
> Probably because OTG depends on CONFIG_PM I think.

correct
Tony Lindgren Aug. 13, 2009, 7:02 a.m. UTC | #3
* Felipe Balbi <me@felipebalbi.com> [090812 22:11]:
> On Wed, Aug 12, 2009 at 10:20:34AM -0700, Kevin Hilman wrote:
> > Tony Lindgren <tony@atomide.com> writes:
> > 
> > > * Felipe Balbi <felipe.balbi@nokia.com> [090812 15:29]:
> > >> Hi,
> > >> 
> > >> On Wed, Aug 12, 2009 at 02:24:15PM +0200, ext Tony Lindgren wrote:
> > >> > From: Paul Walmsley <paul@pwsan.com>
> > >> > 
> > >> > Update the OMAP3 Beagle defconfig to add EHCI, MMC, TWL4030 GPIO support.
> > >> > Beagle can again use MMC rootfs after this patch.  Tested on BeagleBoard
> > >> > rev C2.
> > >> > 
> > >
> > > <snip>
> > >
> > >> > @@ -981,10 +987,11 @@ CONFIG_RTC_INTF_DEV=y
> > >> >  #
> > >> >  # Voltage and Current regulators
> > >> >  #
> > >> > -# CONFIG_REGULATOR is not set
> > >> > +CONFIG_REGULATOR=y
> > >> >  # CONFIG_REGULATOR_FIXED_VOLTAGE is not set
> > >> >  # CONFIG_REGULATOR_VIRTUAL_CONSUMER is not set
> > >> >  # CONFIG_REGULATOR_BQ24022 is not set
> > >> > +CONFIG_REGULATOR_TWL4030=y
> > >> >  # CONFIG_UIO is not set
> > >> 
> > >> musb will still fail here if we don't have twl4030-usb enabled.
> > >> 
> > >> could you updated the patch to add that as well ??
> > >
> > > Updated. Maybe take a look and see if the USB options make sense
> > > to you? I could not enable OTG for some reason..
> > >
> > 
> > Probably because OTG depends on CONFIG_PM I think.
> 
> correct

I don't have a Beagle, so somebody please check this defconfig and enable
PM and OTG if possible.

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

From 5dc8c8ffb27d93533d71493ca4a419f0290a3b2f Mon Sep 17 00:00:00 2001
From: Paul Walmsley <paul@pwsan.com>
Date: Wed, 12 Aug 2009 15:06:36 +0300
Subject: [PATCH] OMAP3: update OMAP3 Beagle defconfig

Update the OMAP3 Beagle defconfig to add EHCI, MMC, TWL4030 GPIO support.
Beagle can again use MMC rootfs after this patch.  Tested on BeagleBoard
rev C2.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Jason Kridner <jkridner@beagleboard.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>

diff --git a/arch/arm/configs/omap3_beagle_defconfig b/arch/arm/configs/omap3_beagle_defconfig
index 4c6fb7e..882f374 100644
--- a/arch/arm/configs/omap3_beagle_defconfig
+++ b/arch/arm/configs/omap3_beagle_defconfig
@@ -236,6 +236,7 @@  CONFIG_ARM_THUMB=y
 # CONFIG_CPU_BPREDICT_DISABLE is not set
 CONFIG_HAS_TLS_REG=y
 # CONFIG_OUTER_CACHE is not set
+CONFIG_COMMON_CLKDEV=y
 
 #
 # Bus support
@@ -713,6 +714,7 @@  CONFIG_GPIOLIB=y
 # CONFIG_GPIO_MAX732X is not set
 # CONFIG_GPIO_PCA953X is not set
 # CONFIG_GPIO_PCF857X is not set
+CONFIG_GPIO_TWL4030=y
 
 #
 # PCI GPIO expanders:
@@ -741,6 +743,7 @@  CONFIG_SSB_POSSIBLE=y
 # CONFIG_MFD_SM501 is not set
 # CONFIG_HTC_EGPIO is not set
 # CONFIG_HTC_PASIC3 is not set
+CONFIG_TWL4030_CORE=y
 # CONFIG_UCB1400_CORE is not set
 # CONFIG_MFD_TMIO is not set
 # CONFIG_MFD_T7L66XB is not set
@@ -787,7 +790,7 @@  CONFIG_DUMMY_CONSOLE=y
 CONFIG_USB_SUPPORT=y
 CONFIG_USB_ARCH_HAS_HCD=y
 CONFIG_USB_ARCH_HAS_OHCI=y
-# CONFIG_USB_ARCH_HAS_EHCI is not set
+CONFIG_USB_ARCH_HAS_EHCI=y
 CONFIG_USB=y
 # CONFIG_USB_DEBUG is not set
 # CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set
@@ -806,6 +809,8 @@  CONFIG_USB_MON=y
 #
 # USB Host Controller Drivers
 #
+CONFIG_USB_EHCI_HCD=y
+CONFIG_USB_EHCI_ROOT_HUB_TT=y
 # CONFIG_USB_C67X00_HCD is not set
 # CONFIG_USB_ISP116X_HCD is not set
 # CONFIG_USB_ISP1760_HCD is not set
@@ -906,6 +911,15 @@  CONFIG_USB_ETH_RNDIS=y
 # CONFIG_USB_MIDI_GADGET is not set
 # CONFIG_USB_G_PRINTER is not set
 # CONFIG_USB_CDC_COMPOSITE is not set
+
+#
+# OTG and related infrastructure
+#
+CONFIG_USB_OTG_UTILS=y
+# CONFIG_USB_GPIO_VBUS is not set
+# CONFIG_ISP1301_OMAP is not set
+CONFIG_TWL4030_USB=y
+# CONFIG_NOP_USB_XCEIV is not set
 CONFIG_MMC=y
 # CONFIG_MMC_DEBUG is not set
 # CONFIG_MMC_UNSAFE_RESUME is not set
@@ -923,6 +937,7 @@  CONFIG_MMC_BLOCK_BOUNCE=y
 #
 # CONFIG_MMC_SDHCI is not set
 # CONFIG_MMC_OMAP is not set
+CONFIG_MMC_OMAP_HS=y
 # CONFIG_MEMSTICK is not set
 # CONFIG_ACCESSIBILITY is not set
 # CONFIG_NEW_LEDS is not set
@@ -981,10 +996,11 @@  CONFIG_RTC_INTF_DEV=y
 #
 # Voltage and Current regulators
 #
-# CONFIG_REGULATOR is not set
+CONFIG_REGULATOR=y
 # CONFIG_REGULATOR_FIXED_VOLTAGE is not set
 # CONFIG_REGULATOR_VIRTUAL_CONSUMER is not set
 # CONFIG_REGULATOR_BQ24022 is not set
+CONFIG_REGULATOR_TWL4030=y
 # CONFIG_UIO is not set
 
 #