linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: pawel.moll@arm.com (Pawel Moll)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH RESEND] ARM: vexpress: Enable regulator framework when MMCI is in use
Date: Fri, 28 Nov 2014 16:44:31 +0000	[thread overview]
Message-ID: <1417193071-801-1-git-send-email-pawel.moll@arm.com> (raw)
In-Reply-To: <1417192440.4371.15.camel@arm.com>

The MMCI driver, when used with a Device Tree described device, relies
on the "vmmc" voltage regulator supply to set the OCR register voltage bits,
using MMC core's mmc_regulator_get_supply() function.

Without the regulator framework present there are no valid operating
voltages reported and the device initialisation fails:

mmci-pl18x 10005000.mmci: No vmmc regulator found
mmci-pl18x 10005000.mmci: no support for card's volts
mmc0: error -22 whilst initialising SD card

Signed-off-by: Pawel Moll <pawel.moll@arm.com>
---
 arch/arm/mach-vexpress/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-vexpress/Kconfig b/arch/arm/mach-vexpress/Kconfig
index 9a96bab..d6b16d9 100644
--- a/arch/arm/mach-vexpress/Kconfig
+++ b/arch/arm/mach-vexpress/Kconfig
@@ -16,6 +16,7 @@ menuconfig ARCH_VEXPRESS
 	select POWER_RESET
 	select POWER_RESET_VEXPRESS
 	select POWER_SUPPLY
+	select REGULATOR if MMC_ARMMMCI
 	select REGULATOR_FIXED_VOLTAGE if REGULATOR
 	select VEXPRESS_CONFIG
 	select VEXPRESS_SYSCFG
-- 
2.1.0

  reply	other threads:[~2014-11-28 16:44 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-25 18:17 [PATCH v2 RESEND 1/2] ARM: vexpress: Remove non-DT code Pawel Moll
2014-11-25 18:17 ` [PATCH 2/2] MAINTAINERS: ARM Versatile Express platform Pawel Moll
2014-11-26  1:54   ` Mike Turquette
2014-11-26  1:59     ` Joe Perches
2014-11-26 12:04       ` Pawel Moll
2014-11-26 12:17         ` Arnd Bergmann
2014-11-26 14:40           ` Pawel Moll
2014-11-26 15:40             ` Joe Perches
2014-11-26 12:13   ` [PATCH v2] " Pawel Moll
2014-11-28 15:14     ` Arnd Bergmann
2014-11-28 17:56     ` Joe Perches
2014-12-01 13:57       ` Pawel Moll
2014-12-01 14:16         ` [PATCH] MAINTAINERS: ARM Versatile Express platform, add missing pattern Pawel Moll
2014-12-04 16:02           ` Arnd Bergmann
2014-11-28 15:08 ` [PATCH v2 RESEND 1/2] ARM: vexpress: Remove non-DT code Arnd Bergmann
2014-11-28 15:30   ` Russell King - ARM Linux
2014-11-28 15:53     ` Pawel Moll
2014-11-28 16:31       ` Arnd Bergmann
2014-11-28 16:34         ` Pawel Moll
2014-11-28 16:44           ` Pawel Moll [this message]
2014-11-28 20:57             ` [PATCH RESEND] ARM: vexpress: Enable regulator framework when MMCI is in use Arnd Bergmann
2014-11-28 16:48       ` [PATCH v2 RESEND 1/2] ARM: vexpress: Remove non-DT code Russell King - ARM Linux

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1417193071-801-1-git-send-email-pawel.moll@arm.com \
    --to=pawel.moll@arm.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).