Skip to contentSkip to conversation

arm: omap2plus_defconfig: enable more drivers

RFC/PATCH Felipe Balbi 2 participants 4 messages Oct 25, 2013 – Jan 8, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

enable a few more drivers as modules on omap2plus_defconfig, this helps us getting more platforms working out of the box by just building omap2plus_defconfig.

---

Hi Tony,

would you consider enabling these drivers ? I didn't, yet, make sure that these drivers won't cause PM regressions. Wanted to make sure you'd be ok enabling so many of them.

cheers

 arch/arm/configs/omap2plus_defconfig | 26 +++++++++++++++++++++++++-
 1 file changed, 25 insertions(+), 1 deletion(-)
arch/arm/configs/omap2plus_defconfig +25 -1
index 98a50c3..6530956 100644
@@ -134,6 +134,7 @@ CONFIG_KEYBOARD_MATRIX=m
 CONFIG_KEYBOARD_TWL4030=y
 CONFIG_INPUT_TOUCHSCREEN=y
 CONFIG_TOUCHSCREEN_ADS7846=y
+CONFIG_TOUCHSCREEN_TI_AM335X_TSC=m
 CONFIG_INPUT_MISC=y
 CONFIG_INPUT_TWL4030_PWRBUTTON=y
 # CONFIG_LEGACY_PTYS is not set
@@ -169,6 +170,7 @@ CONFIG_DRA752_THERMAL=y
 CONFIG_WATCHDOG=y
 CONFIG_OMAP_WATCHDOG=y
 CONFIG_TWL4030_WATCHDOG=y
+CONFIG_MFD_TI_AM335X_TSCADC=m
 CONFIG_MFD_PALMAS=y
 CONFIG_MFD_TPS65217=y
 CONFIG_MFD_TPS65910=y
@@ -214,13 +216,21 @@ CONFIG_USB=y
 CONFIG_USB_DEBUG=y
 CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
 CONFIG_USB_MON=y
+CONFIG_USB_MUSB_HDRC=m
+CONFIG_USB_MUSB_TUSB6010=m
+CONFIG_USB_MUSB_OMAP2PLUS=m
+CONFIG_USB_MUSB_AM35X=m
+CONFIG_USB_MUSB_DSPS=m
 CONFIG_USB_WDM=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_DWC3=m
+# CONFIG_USB_DWC3_EXYNOS is not set
+CONFIG_USB_DWC3_DEBUG=y
+CONFIG_USB_DWC3_VERBOSE=y
 CONFIG_USB_TEST=y
-CONFIG_NOP_USB_XCEIV=y
 CONFIG_OMAP_USB2=y
 CONFIG_OMAP_USB3=y
+CONFIG_AM335X_PHY_USB=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_DEBUG=y
 CONFIG_USB_GADGET_DEBUG_FILES=y
@@ -242,14 +252,28 @@ CONFIG_LEDS_TRIGGER_CPU=y
 CONFIG_LEDS_TRIGGER_GPIO=y
 CONFIG_LEDS_TRIGGER_DEFAULT_ON=y
 CONFIG_RTC_CLASS=y
+CONFIG_RTC_DRV_PALMAS=m
 CONFIG_RTC_DRV_TWL92330=y
 CONFIG_RTC_DRV_TWL4030=y
+CONFIG_RTC_DRV_TPS65910=m
 CONFIG_RTC_DRV_OMAP=y
 CONFIG_DMADEVICES=y
 CONFIG_TI_EDMA=y
 CONFIG_DMA_OMAP=y
 CONFIG_EXTCON=y
 CONFIG_EXTCON_PALMAS=y
+CONFIG_MEMORY=y
+CONFIG_TI_EMIF=m
+CONFIG_IIO=m
+CONFIG_IIO_BUFFER=y
+CONFIG_IIO_KFIFO_BUF=m
+CONFIG_TI_AM335X_ADC=m
+CONFIG_TWL6030_GPADC=m
+CONFIG_PWM=y
+CONFIG_PWM_TIECAP=m
+CONFIG_PWM_TIEHRPWM=m
+CONFIG_PWM_TWL=m
+CONFIG_PWM_TWL_LED=m
 CONFIG_EXT2_FS=y
 CONFIG_EXT3_FS=y
 # CONFIG_EXT3_FS_XATTR is not set
Signature · 1 line
1.8.4.GIT
maintainer
#1 lore raw
Quoted 4 lines · Felipe Balbi

enable a few more drivers as modules on omap2plus_defconfig, this helps us getting more platforms working out of the box by just building omap2plus_defconfig.

Quoted 8 lines

---

Hi Tony,

would you consider enabling these drivers ? I didn't, yet, make sure that these drivers won't cause PM regressions. Wanted to make sure you'd be ok enabling so many of them.

Sure, we should have all common drivers enabled, preferrably as loadable modules where possible.

Probably at least MUSB gadgets need to be loadable modulees as at least I have my test setup in a rack with USB cables connected all the time. That way the PM tests can be done without the USB modules loaded.

Or maybe we can just PM runtime suspend the USB drivers for PM tests?

Regards,

Tony

#2 lore raw

Hi,

Quoted 17 lines · Tony Lindgren
Quoted 4 lines · Felipe Balbi

enable a few more drivers as modules on omap2plus_defconfig, this helps us getting more platforms working out of the box by just building omap2plus_defconfig.

Quoted 8 lines

---

Hi Tony,

would you consider enabling these drivers ? I didn't, yet, make sure that these drivers won't cause PM regressions. Wanted to make sure you'd be ok enabling so many of them.

Sure, we should have all common drivers enabled, preferrably as loadable modules where possible.

Quoted 7 lines

Probably at least MUSB gadgets need to be loadable modulees as at least I have my test setup in a rack with USB cables connected all the time. That way the PM tests can be done without the USB modules loaded.

Or maybe we can just PM runtime suspend the USB drivers for PM tests?

I'd rather just unload the drivers if they cause issues. The thing is that with a patch like $subject, we get more working out-of-the-box and since most everything is really already in mainline (at least after v3.13 merge window) except for DTS (which should go up on v3.14, all the pending stuff), then we should be in really good shape after enabling all the necessary modules.

Signature · 1 line
balbi
maintainer
#3 lore raw
Quoted 28 lines · Felipe Balbi

Hi,

Quoted 17 lines · Tony Lindgren
Quoted 4 lines · Felipe Balbi

enable a few more drivers as modules on omap2plus_defconfig, this helps us getting more platforms working out of the box by just building omap2plus_defconfig.

Quoted 8 lines

---

Hi Tony,

would you consider enabling these drivers ? I didn't, yet, make sure that these drivers won't cause PM regressions. Wanted to make sure you'd be ok enabling so many of them.

Sure, we should have all common drivers enabled, preferrably as loadable modules where possible.

Quoted 7 lines

Probably at least MUSB gadgets need to be loadable modulees as at least I have my test setup in a rack with USB cables connected all the time. That way the PM tests can be done without the USB modules loaded.

Or maybe we can just PM runtime suspend the USB drivers for PM tests?

Quoted 6 lines

I'd rather just unload the drivers if they cause issues. The thing is that with a patch like $subject, we get more working out-of-the-box and since most everything is really already in mainline (at least after v3.13 merge window) except for DTS (which should go up on v3.14, all the pending stuff), then we should be in really good shape after enabling all the necessary modules.

Just to update the status on this, I've been hoping to get the omap3 PM regression issues out of the way before enabling drivers so we can test for the regressions easily. I've applied patches to enable some of these in omap-for-v3.14/fixes-not-urgent, so this patch will eventually need to be slightly updated.

Regards,

Tony