OSDN Git Service

ARM: dts: exynos: Fix max voltage for buck8 regulator on Odroid XU3/XU4
authorMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 25 Feb 2019 18:42:52 +0000 (19:42 +0100)
committerArnd Bergmann <arnd@arndb.de>
Fri, 1 Mar 2019 14:10:30 +0000 (15:10 +0100)
commita3238924a820c1d7c977b632b769f3b5690cba09
tree33c10f7ccad95bf8ab4eef566bd45ddbc814177e
parent203a0d417293622da7c90eda0cb92f5976a10e42
ARM: dts: exynos: Fix max voltage for buck8 regulator on Odroid XU3/XU4

The maximum voltage value for buck8 regulator on Odroid XU3/XU4 boards is
set too low. Increase it to the 2000mV as specified on the board schematic.
So far the board worked fine, because of the bug in the PMIC driver, which
used incorrect step value for that regulator. It interpreted the voltage
value set by the bootloader as 1225mV and kept it unchanged. The regulator
driver has been however fixed recently in the commit 56b5d4ea778c
("regulator: s2mps11: Fix steps for buck7, buck8 and LDO35"), what results
in reading the proper buck8 value and forcing it to 1500mV on boot. This
is not enough for proper board operation and results in eMMC errors during
heavy IO traffic. Increasing maximum voltage value for buck8 restores
original driver behavior and fixes eMMC issues.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Fixes: 86a2d2ac5e5d ("ARM: dts: Add dts file for Odroid XU3 board")
Fixes: 56b5d4ea778c ("regulator: s2mps11: Fix steps for buck7, buck8 and LDO35")
Cc: <stable@vger.kernel.org>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/boot/dts/exynos5422-odroid-core.dtsi