public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: allwinner: teres-i: Add GPIO port regulators
@ 2022-04-15 16:56 Harald Geyer
  2022-04-24  2:56 ` Samuel Holland
  0 siblings, 1 reply; 7+ messages in thread
From: Harald Geyer @ 2022-04-15 16:56 UTC (permalink / raw)
  To: Chen-Yu Tsai, Jernej Skrabec, Samuel Holland
  Cc: linux-sunxi, devicetree, Torsten Duwe, Harald Geyer

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

Usually supplies are linked via the 'regulator-name' property of
regulator nodes. However when regulators are shared we need to
declare the additional links in the pinctrl node.

Signed-off-by: Harald Geyer <harald@ccbib.org>
---
 arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts
index aff0660b899c..cc316ef2e2d6 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts
@@ -197,6 +197,11 @@ &ohci1 {
 	status = "okay";
 };
 
+&pio {
+	vcc-pc-supply = <&reg_dcdc1>;
+	vcc-pg-supply = <&reg_aldo2>;
+};
+
 &pwm {
 	status = "okay";
 };
-- 
2.35.2


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-04-27 17:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-15 16:56 [PATCH] arm64: dts: allwinner: teres-i: Add GPIO port regulators Harald Geyer
2022-04-24  2:56 ` Samuel Holland
2022-04-25 11:01   ` Harald Geyer
2022-04-25 16:28     ` Jernej Škrabec
2022-04-26  4:05       ` Samuel Holland
2022-04-26 14:21         ` Harald Geyer
2022-04-27 17:35           ` Samuel Holland

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox