Thread (36 messages) 36 messages, 5 authors, 2018-07-09
STALE2896d

[PATCH 08/10] arm64: dts: allwinner: a64: NanoPi-A64: Fix PortE voltage

From: andre.przywara@arm.com (Andre Przywara)
Date: 2018-07-06 09:39:16

Hi,

On 06/07/18 10:03, Icenowy Zheng wrote:

? 2018?7?6? GMT+08:00 ??4:52:08, Andre Przywara [off-list ref] ??:
quoted
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.
quoted
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
---
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"

+&reg_aldo1 {
+	regulator-always-on;
+	regulator-min-microvolt = <3300000>;
+	regulator-max-microvolt = <3300000>;
+	regulator-name = "vcc-pe";
+};
+
&reg_aldo2 {
	regulator-always-on;
	regulator-min-microvolt = <1800000>;
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help