Skip to contentSkip to conversation

ARM: dts: exynos: Fix MMC regulator on Arndale5250 board

PATCH Applied Marek Szyprowski 2 participants 4 messages Feb 20, 2020 – Feb 23, 2020 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): CGME20200220142814eucas1p2a230d064c9cebcc029ce12b228fd31ac@eucas1p2.samsung.com

#1 lore raw

PATCH 1/2 ARM: dts: exynos: Fix MMC regulator on Arndale5250 board

According to the schematic, both eMMC and SDMMC use dedicated fixed regulators connected directly to the DC5V and MAIN_DC rails. Remove the GPX1-1 line assigned to the MMC regulator, because such control connection doesn't exist. Also change its name to VDD_MMC to avoid conflict with LDO18 output of S5M8767 PMIC.

---
 arch/arm/boot/dts/exynos5250-arndale.dts | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
arch/arm/boot/dts/exynos5250-arndale.dts +1 -3
index f8ebc620f42d..bff24c61212b 100644
@@ -98,11 +98,9 @@
 		mmc_reg: regulator@1 {
 			compatible = "regulator-fixed";
 			reg = <1>;
-			regulator-name = "VDD_33ON_2.8V";
+			regulator-name = "VDD_MMC";
 			regulator-min-microvolt = <2800000>;
 			regulator-max-microvolt = <2800000>;
-			gpio = <&gpx1 1 GPIO_ACTIVE_HIGH>;
-			enable-active-high;
 		};
 
 		reg_hdmi_en: regulator@2 {
Signature · 1 line
2.17.1
#2 lore raw

PATCH 2/2 ARM: dts: exynos: Make fixed regulators always-on on Arndale5250

The fixed regulators defined for Arndale5250 boards have no control lines, so mark them as 'always-on' to better describe the hardware and also kill the strange messages like 'MAIN_DC: disabling' after boot.

---
 arch/arm/boot/dts/exynos5250-arndale.dts | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm/boot/dts/exynos5250-arndale.dts +6 -0
index bff24c61212b..6904091d4837 100644
@@ -93,6 +93,7 @@
 			compatible = "regulator-fixed";
 			reg = <0>;
 			regulator-name = "MAIN_DC";
+			regulator-always-on;
 		};
 
 		mmc_reg: regulator@1 {
@@ -101,12 +102,14 @@
 			regulator-name = "VDD_MMC";
 			regulator-min-microvolt = <2800000>;
 			regulator-max-microvolt = <2800000>;
+			regulator-always-on;
 		};
 
 		reg_hdmi_en: regulator@2 {
 			compatible = "regulator-fixed";
 			reg = <2>;
 			regulator-name = "hdmi-en";
+			regulator-always-on;
 		};
 
 		vcc_1v2_reg: regulator@3 {
@@ -115,6 +118,7 @@
 			regulator-name = "VCC_1V2";
 			regulator-min-microvolt = <1200000>;
 			regulator-max-microvolt = <1200000>;
+			regulator-always-on;
 		};
 
 		vcc_1v8_reg: regulator@4 {
@@ -123,6 +127,7 @@
 			regulator-name = "VCC_1V8";
 			regulator-min-microvolt = <1800000>;
 			regulator-max-microvolt = <1800000>;
+			regulator-always-on;
 		};
 
 		vcc_3v3_reg: regulator@5 {
@@ -131,6 +136,7 @@
 			regulator-name = "VCC_3V3";
 			regulator-min-microvolt = <3300000>;
 			regulator-max-microvolt = <3300000>;
+			regulator-always-on;
 		};
 	};
 
Signature · 1 line
2.17.1
maintainer Applied
#3 lore raw

Re: [PATCH 2/2] ARM: dts: exynos: Make fixed regulators always-on on Arndale5250

Quoted 7 lines · Marek Szyprowski

The fixed regulators defined for Arndale5250 boards have no control lines, so mark them as 'always-on' to better describe the hardware and also kill the strange messages like 'MAIN_DC: disabling' after boot.

---
 arch/arm/boot/dts/exynos5250-arndale.dts | 6 ++++++

Thanks, applied.

Best regards,
Krzysztof

maintainer Applied
#4 lore raw
In reply to Marek Szyprowski
Quoted 9 lines · Marek Szyprowski

According to the schematic, both eMMC and SDMMC use dedicated fixed regulators connected directly to the DC5V and MAIN_DC rails. Remove the GPX1-1 line assigned to the MMC regulator, because such control connection doesn't exist. Also change its name to VDD_MMC to avoid conflict with LDO18 output of S5M8767 PMIC.

---
 arch/arm/boot/dts/exynos5250-arndale.dts | 4 +---

Thanks, applied.

Best regards,
Krzysztof