]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - queue-5.0/arm-dts-exynos-fix-max-voltage-for-buck8-regulator-on-odroid-xu3-xu4.patch
5.0-stable patches
[thirdparty/kernel/stable-queue.git] / queue-5.0 / arm-dts-exynos-fix-max-voltage-for-buck8-regulator-on-odroid-xu3-xu4.patch
1 From a3238924a820c1d7c977b632b769f3b5690cba09 Mon Sep 17 00:00:00 2001
2 From: Marek Szyprowski <m.szyprowski@samsung.com>
3 Date: Mon, 25 Feb 2019 19:42:52 +0100
4 Subject: ARM: dts: exynos: Fix max voltage for buck8 regulator on Odroid XU3/XU4
5
6 From: Marek Szyprowski <m.szyprowski@samsung.com>
7
8 commit a3238924a820c1d7c977b632b769f3b5690cba09 upstream.
9
10 The maximum voltage value for buck8 regulator on Odroid XU3/XU4 boards is
11 set too low. Increase it to the 2000mV as specified on the board schematic.
12 So far the board worked fine, because of the bug in the PMIC driver, which
13 used incorrect step value for that regulator. It interpreted the voltage
14 value set by the bootloader as 1225mV and kept it unchanged. The regulator
15 driver has been however fixed recently in the commit 56b5d4ea778c
16 ("regulator: s2mps11: Fix steps for buck7, buck8 and LDO35"), what results
17 in reading the proper buck8 value and forcing it to 1500mV on boot. This
18 is not enough for proper board operation and results in eMMC errors during
19 heavy IO traffic. Increasing maximum voltage value for buck8 restores
20 original driver behavior and fixes eMMC issues.
21
22 Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
23 Fixes: 86a2d2ac5e5d ("ARM: dts: Add dts file for Odroid XU3 board")
24 Fixes: 56b5d4ea778c ("regulator: s2mps11: Fix steps for buck7, buck8 and LDO35")
25 Cc: <stable@vger.kernel.org>
26 Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
27 Signed-off-by: Arnd Bergmann <arnd@arndb.de>
28 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
29
30 ---
31 arch/arm/boot/dts/exynos5422-odroid-core.dtsi | 2 +-
32 1 file changed, 1 insertion(+), 1 deletion(-)
33
34 --- a/arch/arm/boot/dts/exynos5422-odroid-core.dtsi
35 +++ b/arch/arm/boot/dts/exynos5422-odroid-core.dtsi
36 @@ -468,7 +468,7 @@
37 buck8_reg: BUCK8 {
38 regulator-name = "vdd_1.8v_ldo";
39 regulator-min-microvolt = <800000>;
40 - regulator-max-microvolt = <1500000>;
41 + regulator-max-microvolt = <2000000>;
42 regulator-always-on;
43 regulator-boot-on;
44 };