linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: fix MMC2 regulators for Exynos5420 Arndale Octa board
@ 2014-10-02 16:10 Bartlomiej Zolnierkiewicz
  2014-10-02 16:19 ` Doug Anderson
  2014-10-02 18:16 ` Ulf Hansson
  0 siblings, 2 replies; 16+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2014-10-02 16:10 UTC (permalink / raw)
  To: linux-arm-kernel

Regulators for MMC2 (SD card) are PVDD_TFLASH_2V8 (LDO19) for vmmc
and PVDD_APIO_MMCOFF_2V8 (LDO13) for vqmmc.  Currently the device
tree entry for MMC2 uses PVDD_PRE_1V8 (LDO10) for vmmc and vqmmc is
not specified.  Fix it.

Without this patch:
- "mmc: dw_mmc: use mmc_regulator_get_supply to handle regulators"
  patch causes a SD card detection to fail
- "mmc: dw_mmc: Support voltage changes" patch causes a boot hang

This patch fixes both above problems.

Suggested-by: Doug Anderson <dianders@google.com>
Cc: Yuvaraj Kumar C D <yuvaraj.cd@samsung.com>
Cc: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
---
 arch/arm/boot/dts/exynos5420-arndale-octa.dts |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Index: b/arch/arm/boot/dts/exynos5420-arndale-octa.dts
===================================================================
--- a/arch/arm/boot/dts/exynos5420-arndale-octa.dts	2014-10-02 15:44:53.014826886 +0200
+++ b/arch/arm/boot/dts/exynos5420-arndale-octa.dts	2014-10-02 17:35:24.110600398 +0200
@@ -74,7 +74,8 @@
 		samsung,dw-mshc-ddr-timing = <1 2>;
 		pinctrl-names = "default";
 		pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
-		vmmc-supply = <&ldo10_reg>;
+		vmmc-supply = <&ldo19_reg>;
+		vqmmc-supply = <&ldo13_reg>;
 
 		slot at 0 {
 			reg = <0>;

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2014-10-09 11:41 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-02 16:10 [PATCH] ARM: dts: fix MMC2 regulators for Exynos5420 Arndale Octa board Bartlomiej Zolnierkiewicz
2014-10-02 16:19 ` Doug Anderson
2014-10-02 16:39   ` Bartlomiej Zolnierkiewicz
2014-10-02 16:45     ` Doug Anderson
2014-10-02 17:24       ` Bartlomiej Zolnierkiewicz
2014-10-06 16:51         ` Doug Anderson
2014-10-08  0:19           ` Jaehoon Chung
2014-10-08  9:31             ` Ulf Hansson
2014-10-02 18:16 ` Ulf Hansson
2014-10-08 12:07   ` Arnd Bergmann
2014-10-08 12:50     ` Ulf Hansson
2014-10-08 15:20       ` Arnd Bergmann
2014-10-08 15:29         ` Doug Anderson
2014-10-08 18:28           ` Arnd Bergmann
2014-10-09  8:46             ` Ulf Hansson
2014-10-09 11:41               ` Arnd Bergmann

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).