]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - releases/4.19.51/arm-dts-exynos-always-enable-necessary-apio_1v8-and-.patch
Linux 5.1.10
[thirdparty/kernel/stable-queue.git] / releases / 4.19.51 / arm-dts-exynos-always-enable-necessary-apio_1v8-and-.patch
1 From 6fed5b28e9dc4ffbea609c6051e201abc155b3a4 Mon Sep 17 00:00:00 2001
2 From: Krzysztof Kozlowski <krzk@kernel.org>
3 Date: Thu, 14 Mar 2019 21:02:17 +0100
4 Subject: ARM: dts: exynos: Always enable necessary APIO_1V8 and ABB_1V8
5 regulators on Arndale Octa
6
7 [ Upstream commit 5ab99cf7d5e96e3b727c30e7a8524c976bd3723d ]
8
9 The PVDD_APIO_1V8 (LDO2) and PVDD_ABB_1V8 (LDO8) regulators were turned
10 off by Linux kernel as unused. However they supply critical parts of
11 SoC so they should be always on:
12
13 1. PVDD_APIO_1V8 supplies SYS pins (gpx[0-3], PSHOLD), HDMI level shift,
14 RTC, VDD1_12 (DRAM internal 1.8 V logic), pull-up for PMIC interrupt
15 lines, TTL/UARTR level shift, reset pins and SW-TACT1 button.
16 It also supplies unused blocks like VDDQ_SRAM (for SROM controller) and
17 VDDQ_GPIO (gpm7, gpy7).
18 The LDO2 cannot be turned off (S2MPS11 keeps it on anyway) so
19 marking it "always-on" only reflects its real status.
20
21 2. PVDD_ABB_1V8 supplies Adaptive Body Bias Generator for ARM cores,
22 memory and Mali (G3D).
23
24 Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
25 Signed-off-by: Sasha Levin <sashal@kernel.org>
26 ---
27 arch/arm/boot/dts/exynos5420-arndale-octa.dts | 2 ++
28 1 file changed, 2 insertions(+)
29
30 diff --git a/arch/arm/boot/dts/exynos5420-arndale-octa.dts b/arch/arm/boot/dts/exynos5420-arndale-octa.dts
31 index cdda614e417e..a370857beac0 100644
32 --- a/arch/arm/boot/dts/exynos5420-arndale-octa.dts
33 +++ b/arch/arm/boot/dts/exynos5420-arndale-octa.dts
34 @@ -106,6 +106,7 @@
35 regulator-name = "PVDD_APIO_1V8";
36 regulator-min-microvolt = <1800000>;
37 regulator-max-microvolt = <1800000>;
38 + regulator-always-on;
39 };
40
41 ldo3_reg: LDO3 {
42 @@ -144,6 +145,7 @@
43 regulator-name = "PVDD_ABB_1V8";
44 regulator-min-microvolt = <1800000>;
45 regulator-max-microvolt = <1800000>;
46 + regulator-always-on;
47 };
48
49 ldo9_reg: LDO9 {
50 --
51 2.20.1
52