Skip to contentSkip to conversation

arm64: dts: allwinner: teres-i: Add GPIO port regulators

PATCH Applied Harald Geyer 3 participants 3 messages Apr 30, 2022 – May 3, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 arm64: dts: allwinner: teres-i: Add GPIO port regulators

Allwinner A64 SoC has separate supplies for PC, PD, PE, PG and PL.

---
Changes since v1:
* Add supplies for PD and PE even though they are matched from 'regulator-name' properties, as this is a Linuxism.
* Add generic IO voltage as supply for PF as this is an implicit (chip internal) dependency.

 arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts | 8 ++++++++
 1 file changed, 8 insertions(+)
arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts +8 -0
index aff0660b899c..1128030e4c25 100644
@@ -197,6 +197,14 @@ &ohci1 {
 	status = "okay";
 };
 
+&pio {
+	vcc-pc-supply = <&reg_dcdc1>;
+	vcc-pd-supply = <&reg_dldo2>;
+	vcc-pe-supply = <&reg_aldo1>;
+	vcc-pf-supply = <&reg_dcdc1>;  /* No dedicated supply-pin for this */
+	vcc-pg-supply = <&reg_aldo2>;
+};
+
 &pwm {
 	status = "okay";
 };
Signature · 1 line
2.35.2