Skip to contentSkip to conversation

ARM: vexpress_defconfig: Enable voltage regulators

PATCH Superseded Christoffer Dall 2 participants 2 messages Jun 10, 2013 – Jul 1, 2013

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: vexpress_defconfig: Enable voltage regulators

Enable the Versatile Express voltage regulators by default.

This should work on all verstatile express platforms and not enabling it prevents a defconfig'ed kernel from using the SD card controller on the qemu emulated platform, which is unfortunate for first-time casual users.

---
 arch/arm/configs/vexpress_defconfig |    3 +++
 1 file changed, 3 insertions(+)
arch/arm/configs/vexpress_defconfig +3 -0
index f2de51f..17104d9 100644
@@ -138,3 +138,6 @@ CONFIG_DEBUG_LL=y
 CONFIG_EARLY_PRINTK=y
 # CONFIG_CRYPTO_ANSI_CPRNG is not set
 # CONFIG_CRYPTO_HW is not set
+CONFIG_REGULATOR=y
+CONFIG_REGULATOR_FIXED_VOLTAGE=y
+CONFIG_REGULATOR_VEXPRESS=y
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 ARM: vexpress_defconfig: Enable voltage regulators

Quoted 25 lines · Christoffer Dall

Enable the Versatile Express voltage regulators by default.

This should work on all verstatile express platforms and not enabling it prevents a defconfig'ed kernel from using the SD card controller on the qemu emulated platform, which is unfortunate for first-time casual users.

---
 arch/arm/configs/vexpress_defconfig |    3 +++
 1 file changed, 3 insertions(+)
arch/arm/configs/vexpress_defconfig +3 -0
index f2de51f..17104d9 100644
@@ -138,3 +138,6 @@ CONFIG_DEBUG_LL=y
 CONFIG_EARLY_PRINTK=y
 # CONFIG_CRYPTO_ANSI_CPRNG is not set
 # CONFIG_CRYPTO_HW is not set
+CONFIG_REGULATOR=y
+CONFIG_REGULATOR_FIXED_VOLTAGE=y
+CONFIG_REGULATOR_VEXPRESS=y
Quoted 1 line

From my testing, only the CONFIG_REGULATOR=y is required to get MMC

working on real hardware with Linux 3.10. Is CONFIG_REGULATOR_VEXPRESS actually required to get QEMU working properly?

We definitely don't need CONFIG_REGULATOR_FIXED_VOLTAGE because config ARCH_VEXPRESS has "select REGULATOR_FIXED_VOLTAGE if REGULATOR".

Signature · 1 line
Tixy