From: andre.przywara@arm.com (Andre Przywara) Date: Fri, 6 Jul 2018 10:39:16 +0100 Subject: [PATCH 08/10] arm64: dts: allwinner: a64: NanoPi-A64: Fix PortE voltage In-Reply-To: References: <20180706085210.17952-1-andre.przywara@arm.com> <20180706085210.17952-9-andre.przywara@arm.com> Message-ID: <0ecedb11-78ef-b9bd-c121-5ec024d61f9a@arm.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi, On 06/07/18 10:03, Icenowy Zheng wrote: > > > ? 2018?7?6? GMT+08:00 ??4:52:08, Andre Przywara ??: >> VCC-PE is driven the AXP's ALDO1 regulator, and is connected to the I2C >> pins on the RPi2 header. One would expect 3.3 V there, so enable this >> regulator and set it to this voltage. > > However, 3.3V will break the DVP camera (although not yet > supported). Interesting, so what would the supposed voltage be here? The NanoPi-A64 schematic at least mentions 3.3V for the *supply* pins on that connector and connects VDD_SYS_3.3V to that. Happy to put any other value for the I/O here, but it would be problematic to see a different voltage on those two I2C pins on the RPi2 header. Cheers, Andre. >> Signed-off-by: Andre Przywara >> --- >> arch/arm64/boot/dts/allwinner/sun50i-a64-nanopi-a64.dts | 7 +++++++ >> 1 file changed, 7 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-nanopi-a64.dts >> b/arch/arm64/boot/dts/allwinner/sun50i-a64-nanopi-a64.dts >> index bd35a093e6cd..0439cff685d6 100644 >> --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-nanopi-a64.dts >> +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-nanopi-a64.dts >> @@ -126,6 +126,13 @@ >> >> #include "axp803.dtsi" >> >> +®_aldo1 { >> + regulator-always-on; >> + regulator-min-microvolt = <3300000>; >> + regulator-max-microvolt = <3300000>; >> + regulator-name = "vcc-pe"; >> +}; >> + >> ®_aldo2 { >> regulator-always-on; >> regulator-min-microvolt = <1800000>;