ARM Sunxi Platform Development
 help / color / mirror / Atom feed
* [PATCH PATCH] arm64: dts: sunxi: nanopi-neo-plus2: Add pio regulators
@ 2024-08-24  7:09 Kryštof Černý
  2024-08-24  7:40 ` Krzysztof Kozlowski
  0 siblings, 1 reply; 6+ messages in thread
From: Kryštof Černý @ 2024-08-24  7:09 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Chen-Yu Tsai,
	Jernej Skrabec, Samuel Holland
  Cc: devicetree, linux-arm-kernel, linux-sunxi, linux-kernel,
	Kryštof Černý

The board does not have a dedicated regulator for pio and r_pio,
but this fixes the kernel warning about dummy regulators being used.
Tested on the actual board.

Signed-off-by: Kryštof Černý <cleverline1mc@gmail.com>
---
 arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo-plus2.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo-plus2.dts b/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo-plus2.dts
index b69032c44557..2841c9a8aa50 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo-plus2.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo-plus2.dts
@@ -146,6 +146,18 @@ &ohci3 {
 	status = "okay";
 };
 
+&pio {
+	vcc-pa-supply = <&reg_vcc3v3>;
+	vcc-pc-supply = <&reg_vcc3v3>;
+	vcc-pd-supply = <&reg_vcc3v3>;
+	vcc-pf-supply = <&reg_vcc3v3>;
+	vcc-pg-supply = <&reg_vcc3v3>;
+};
+
+&r_pio {
+	vcc-pl-supply = <&reg_vcc3v3>;
+};
+
 &uart0 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&uart0_pa_pins>;

---
base-commit: c3f38fa61af77b49866b006939479069cd451173
change-id: 20240824-b4-fix-nanopineoplus2-pio-regs-b54335d8a9e4

Best regards,
-- 
Kryštof Černý <cleverline1mc@gmail.com>


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

end of thread, other threads:[~2024-08-26 22:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-24  7:09 [PATCH PATCH] arm64: dts: sunxi: nanopi-neo-plus2: Add pio regulators Kryštof Černý
2024-08-24  7:40 ` Krzysztof Kozlowski
2024-08-24  9:08   ` Kryštof Černý
2024-08-24 12:34     ` Chen-Yu Tsai
2024-08-24 14:24       ` Kryštof Černý
2024-08-26 22:44         ` Andre Przywara

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