ARM: dts: sunxi: bananapi-m2-plus-v1.2: Fix CPU supply voltages
authorChen-Yu Tsai <wens@csie.org>
Fri, 17 Jul 2020 16:00:48 +0000 (00:00 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Aug 2020 06:23:30 +0000 (08:23 +0200)
commit3b72b5361f4ddca871a7ab660778d11a1361141d
tree5a2537cbdbb2b4590ef1e7d5296ed6d7393ac1ac
parent9a88fdc08fcb7add806f6f7fabc51f3f420c2c06
ARM: dts: sunxi: bananapi-m2-plus-v1.2: Fix CPU supply voltages

[ Upstream commit e4dae01bf08b754de79072441c357737220b873f ]

The Bananapi M2+ uses a GPIO line to change the effective resistance of
the CPU supply regulator's feedback resistor network. The voltages
described in the device tree were given directly by the vendor. This
turns out to be slightly off compared to the real values.

The updated voltages are based on calculations of the feedback resistor
network, and verified down to three decimal places with a multi-meter.

Fixes: 6eeb4180d4b9 ("ARM: dts: sunxi: h3-h5: Add Bananapi M2+ v1.2 device trees")
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20200717160053.31191-4-wens@kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/sunxi-bananapi-m2-plus-v1.2.dtsi