Skip to contentSkip to conversation

OMAP3: MMC needs CONFIG_REGULATOR{,_TWL4030} now in defconfigs

PATCH In review Paul Walmsley 3 participants 3 messages Mar 24, 2009 – Mar 25, 2009 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 OMAP3: MMC needs CONFIG_REGULATOR{,_TWL4030} now in defconfigs

MMC doesn't work after 3fe326511c66ab842ef0a09a1f4c564b1a8beecf unless CONFIG_REGULATOR, CONFIG_REGULATOR_TWL4030 are present in the .config. Add those in for all OMAP3 defconfigs. Tested on BeagleBoard, but this is presumably needed for anything with MMC and TWL4030.

---
 arch/arm/configs/omap3_beagle_defconfig  |    3 ++-
 arch/arm/configs/omap3_evm_defconfig     |    3 ++-
 arch/arm/configs/omap3_pandora_defconfig |    3 ++-
 arch/arm/configs/omap_3430sdp_defconfig  |    3 ++-
 arch/arm/configs/omap_ldp_defconfig      |    3 ++-
 arch/arm/configs/overo_defconfig         |    2 ++
 6 files changed, 12 insertions(+), 5 deletions(-)
arch/arm/configs/omap3_beagle_defconfig +2 -1
index 194eafa..aeeac33 100644
@@ -1040,10 +1040,11 @@ CONFIG_RTC_DRV_TWL4030=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
 
 #
arch/arm/configs/omap3_evm_defconfig +2 -1
index f276c3a..018c9e1 100644
@@ -1098,10 +1098,11 @@ CONFIG_RTC_LIB=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
 
 #
arch/arm/configs/omap3_pandora_defconfig +2 -1
index 1c2b7a2..3c467fc 100644
@@ -1156,10 +1156,11 @@ CONFIG_RTC_DRV_TWL4030=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
 
 #
arch/arm/configs/omap_3430sdp_defconfig +2 -1
index f7b1bd6..b686f34 100644
@@ -1165,10 +1165,11 @@ CONFIG_RTC_DRV_TWL4030=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
 
 #
arch/arm/configs/omap_ldp_defconfig +2 -1
index d88e6d7..a41b844 100644
@@ -1104,10 +1104,11 @@ CONFIG_RTC_DRV_TWL4030=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
 
 #
arch/arm/configs/overo_defconfig +2 -0
index 3bdbf94..dcca647 100644
@@ -1601,9 +1601,11 @@ CONFIG_RTC_DRV_TWL4030=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
 
 #
Acked-by on v1 1/1
#1 lore raw
Quoted 7 lines · Paul Walmsley

MMC doesn't work after 3fe326511c66ab842ef0a09a1f4c564b1a8beecf unless CONFIG_REGULATOR, CONFIG_REGULATOR_TWL4030 are present in the .config. Add those in for all OMAP3 defconfigs.  Tested on BeagleBoard, but this is presumably needed for anything with MMC and TWL4030.

I seem to have given up on updating defconfigs, but that doesn't mean it's not a good thing to do!

Same thing with twl4030 GPIO support, on most of those platforms.

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html