From: Bartlomiej Zolnierkiewicz Date: Thu, 2 Oct 2014 16:10:06 +0000 (+0200) Subject: ARM: dts: fix MMC2 regulators for Exynos5420 Arndale Octa board X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=583f958b8a23343c904ec0790c25c96f5f82d409;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git ARM: dts: fix MMC2 regulators for Exynos5420 Arndale Octa board 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 Cc: Yuvaraj Kumar C D Cc: Ulf Hansson Signed-off-by: Bartlomiej Zolnierkiewicz Acked-by: Kyungmin Park Fixes: 0173055842cd ("mmc: dw_mmc: Support voltage changes") Acked-by: Arnd Bergmann Signed-off-by: Ulf Hansson --- diff --git a/arch/arm/boot/dts/exynos5420-arndale-octa.dts b/arch/arm/boot/dts/exynos5420-arndale-octa.dts index 434fd9d3e09d..1255d833d576 100644 --- a/arch/arm/boot/dts/exynos5420-arndale-octa.dts +++ b/arch/arm/boot/dts/exynos5420-arndale-octa.dts @@ -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@0 { reg = <0>;