]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blame - releases/4.9.183/arm-dts-exynos-always-enable-necessary-apio_1v8-and-.patch
4.14-stable patches
[thirdparty/kernel/stable-queue.git] / releases / 4.9.183 / arm-dts-exynos-always-enable-necessary-apio_1v8-and-.patch
CommitLineData
bb104d9e
SL
1From d0236dda0d91a6aa934ca709198ad49d339dd82e Mon Sep 17 00:00:00 2001
2From: Krzysztof Kozlowski <krzk@kernel.org>
3Date: Thu, 14 Mar 2019 21:02:17 +0100
4Subject: ARM: dts: exynos: Always enable necessary APIO_1V8 and ABB_1V8
5 regulators on Arndale Octa
6
7[ Upstream commit 5ab99cf7d5e96e3b727c30e7a8524c976bd3723d ]
8
9The PVDD_APIO_1V8 (LDO2) and PVDD_ABB_1V8 (LDO8) regulators were turned
10off by Linux kernel as unused. However they supply critical parts of
11SoC so they should be always on:
12
131. 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
212. PVDD_ABB_1V8 supplies Adaptive Body Bias Generator for ARM cores,
22 memory and Mali (G3D).
23
24Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
25Signed-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
30diff --git a/arch/arm/boot/dts/exynos5420-arndale-octa.dts b/arch/arm/boot/dts/exynos5420-arndale-octa.dts
31index 9cc83c51c925..e664c33c3c64 100644
32--- a/arch/arm/boot/dts/exynos5420-arndale-octa.dts
33+++ b/arch/arm/boot/dts/exynos5420-arndale-octa.dts
34@@ -110,6 +110,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@@ -148,6 +149,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--
512.20.1
52