ARM: dts: exynos: Add LDO28 regulator on Exynos5422 Odroid boards
authorKrzysztof Kozlowski <krzk@kernel.org>
Mon, 6 Aug 2018 16:09:33 +0000 (18:09 +0200)
committerJunghoon Kim <jhoon20.kim@samsung.com>
Thu, 14 Feb 2019 05:58:15 +0000 (14:58 +0900)
The LDO28 is used only on Odroid XU3 for Display Port.  Define it so DTS
will describe entire hardware.

Depending on bootloader behavior this might affect the Display Port
because none of drivers are enabling it. By default it is off in S2MPS11
PMIC reset values.  However it could be enabled by bootloader so in such
case kernel will later disable it as unused regulator.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
[backport of mainline commit 8be3e7f0785c2258479aab26c926ed9be6b9a799]
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I646826a349ca66544cafcf7749a1b27416073017

arch/arm/boot/dts/exynos5422-odroid-core.dtsi
arch/arm/boot/dts/exynos5422-odroidxu3.dts

index 50f40c15712f63b2d9edb949b1d7177afe35d227..472502afcccdcc4f6c0f99c83c92dfa0d43cc538 100644 (file)
                                regulator-always-on;
                        };
 
+                       ldo28_reg: LDO28 {
+                               /* Used on XU3 */
+                               regulator-name = "vdd_ldo28";
+                               regulator-min-microvolt = <800000>;
+                               regulator-max-microvolt = <3950000>;
+                       };
+
                        ldo29_reg: LDO29 {
                                /* Unused */
                                regulator-name = "vdd_ldo29";
index 2df6af3d53dc79229ea2b77ab107634e4f81ff59..3d1541ae6423176a2263b09f05b29590d171fcbd 100644 (file)
        };
 };
 
+&ldo28_reg {
+       regulator-name = "dp_p3v3";
+       regulator-min-microvolt = <3300000>;
+       regulator-max-microvolt = <3300000>;
+};
+
 &pwm {
        /*
         * PWM 0 -- fan