Skip to content

Commit

Permalink
ARM: dts: exynos: Add LDO28 regulator on Exynos5422 Odroid boards
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Krzysztof Kozlowski committed Aug 29, 2018
1 parent b5124e4 commit 8be3e7f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
7 changes: 7 additions & 0 deletions arch/arm/boot/dts/exynos5422-odroid-core.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,13 @@
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";
Expand Down
6 changes: 6 additions & 0 deletions arch/arm/boot/dts/exynos5422-odroidxu3.dts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@
};
};

&ldo28_reg {
regulator-name = "dp_p3v3";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
};

&pwm {
/*
* PWM 0 -- fan
Expand Down

0 comments on commit 8be3e7f

Please sign in to comment.