ARM Sunxi Platform Development
 help / color / mirror / Atom feed
From: Chen-Yu Tsai <wens@kernel.org>
To: Chen-Yu Tsai <wens@kernel.org>,
	Jernej Skrabec <jernej@kernel.org>,
	Samuel Holland <samuel@sholland.org>
Cc: "Andre Przywara" <andre.przywara@arm.com>,
	linux-sunxi@lists.linux.dev, devicetree@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	"Cristian Filipescu" <filipescu.cristian@gmail.com>,
	"Ondřej Jirman" <megi@xff.cz>,
	"Clément Péron" <peron.clem@gmail.com>,
	"Jagan Teki" <jagan@edgeble.ai>
Subject: [PATCH 3/9] arm64: dts: allwinner: h6: orangepi: Fix VCC-PG supply in common dtsi
Date: Sat,  5 Dec 2026 01:12:53 +0800	[thread overview]
Message-ID: <20261204171319.745792-4-wens@kernel.org> (raw)
In-Reply-To: <20261204171319.745792-1-wens@kernel.org>

According to the schematics, the Orange Pi One Plus, Lite 2, and 3 LTS
all power VCC-PG (alongside VCC-PM) from AXP805 BLDO3 (1.8 V) rather
than ALDO1 (3.3 V), while the Orange Pi 3 overrides it to its own 1.8 V
vcc-wifi-io regulator.

Point pio vcc-pg-supply in sun50i-h6-orangepi.dtsi to BLDO3 so Lite 2
and One Plus configure Port G for the correct 1.8 V bias, and drop the
now redundant override from sun50i-h6-orangepi-3-lts.dts.

Verified by comparing compiled DTBs for all four Orange Pi H6 boards:
Orange Pi 3 and 3 LTS DTBs are identical, and One Plus and Lite 2 only
change pio vcc-pg-supply from aldo1 to bldo3.

This patch and commit message were drafted by Antigravity (AI coding
assistant) based on the board schematics and user direction.

Signed-off-by: Chen-Yu Tsai <wens@kernel.org>
---
 arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3-lts.dts | 4 ----
 arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi      | 2 +-
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3-lts.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3-lts.dts
index 06d872a78ee5..4c500ccc34ba 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3-lts.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3-lts.dts
@@ -125,10 +125,6 @@ &mmc2 {
 	status = "okay";
 };
 
-&pio {
-	vcc-pg-supply = <&reg_bldo3>;
-};
-
 &r_pio {
 	led_green_pin: led-green-pin {
 		pins = "PL7";
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi
index a6e9731b4e2b..0fe3e417f134 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi
@@ -116,7 +116,7 @@ &ohci3 {
 &pio {
 	vcc-pc-supply = <&reg_bldo2>;
 	vcc-pd-supply = <&reg_cldo1>;
-	vcc-pg-supply = <&reg_aldo1>;
+	vcc-pg-supply = <&reg_bldo3>;
 };
 
 &r_i2c {
-- 
2.47.3


  parent reply	other threads:[~2026-12-04 17:13 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-04 17:12 [PATCH 0/9] arm64: dts: allwinner: h6: orangepi: Common dtsi cleanups Chen-Yu Tsai
2026-12-04 17:12 ` [PATCH 1/9] arm64: dts: allwinner: h6: orangepi-3: Use common sun50i-h6-orangepi.dtsi Chen-Yu Tsai
2026-12-04 17:12 ` [PATCH 2/9] arm64: dts: allwinner: h6: orangepi: Move CLDO2/CLDO3 to Lite 2 Chen-Yu Tsai
2026-12-04 17:12 ` Chen-Yu Tsai [this message]
2026-12-04 17:20   ` [PATCH 3/9] arm64: dts: allwinner: h6: orangepi: Fix VCC-PG supply in common dtsi sashiko-bot
2026-12-04 17:12 ` [PATCH 4/9] arm64: dts: allwinner: h6: orangepi: Move HDMI hvcc-supply to " Chen-Yu Tsai
2026-12-04 17:12 ` [PATCH 5/9] arm64: dts: allwinner: h6: orangepi: Move LED pinctrl " Chen-Yu Tsai
2026-12-04 17:26   ` sashiko-bot
2026-12-04 17:12 ` [PATCH 6/9] arm64: dts: allwinner: h6: orangepi: Add cpu-supply to all CPU cores Chen-Yu Tsai
2026-12-04 17:12 ` [PATCH 7/9] arm64: dts: allwinner: h6: orangepi: Drop unused usb0_id_det-gpios Chen-Yu Tsai
2026-12-04 17:12 ` [PATCH 8/9] arm64: dts: allwinner: h6: orangepi: Drop board model and compatible from dtsi Chen-Yu Tsai
2026-12-04 17:12 ` [PATCH 9/9] arm64: dts: allwinner: h6: orangepi: Move ALDO3 to Orange Pi 3 and 3 LTS Chen-Yu Tsai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261204171319.745792-4-wens@kernel.org \
    --to=wens@kernel.org \
    --cc=andre.przywara@arm.com \
    --cc=devicetree@vger.kernel.org \
    --cc=filipescu.cristian@gmail.com \
    --cc=jagan@edgeble.ai \
    --cc=jernej@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-sunxi@lists.linux.dev \
    --cc=megi@xff.cz \
    --cc=peron.clem@gmail.com \
    --cc=samuel@sholland.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox