Linux-ARM-Kernel Archive on lore.kernel.org
 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 9/9] arm64: dts: allwinner: h6: orangepi: Move ALDO3 to Orange Pi 3 and 3 LTS
Date: Sat,  5 Dec 2026 01:12:59 +0800	[thread overview]
Message-ID: <20261204171319.745792-10-wens@kernel.org> (raw)
In-Reply-To: <20261204171319.745792-1-wens@kernel.org>

On the Orange Pi One Plus and Lite 2 schematics, AXP805 ALDO3 is only
connected to an unused DDR4 VCC25-DRAM net (both boards use LPDDR3).
On the Orange Pi 3 and 3 LTS, ALDO3 is shorted directly to CLDO1 to
share the 3.3 V I/O rail.

Mark aldo3 as unused in sun50i-h6-orangepi.dtsi and define it (3.3 V,
always-on, named "vcc-3v3-2") in sun50i-h6-orangepi-3.dts and
sun50i-h6-orangepi-3-lts.dts.

Verified by comparing compiled DTBs for all four Orange Pi H6 boards:
One Plus and Lite 2 drop the unused aldo3 regulator properties, and
Orange Pi 3 and 3 LTS only change aldo3 regulator-name from vcc25-dram
to vcc-3v3-2.

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>
---
 .../boot/dts/allwinner/sun50i-h6-orangepi-3-lts.dts      | 9 ++++++++-
 arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts   | 8 ++++++++
 arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi    | 7 ++-----
 3 files changed, 18 insertions(+), 6 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 a571fb1adf89..67fe3adc47dc 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
@@ -46,8 +46,15 @@ wifi_pwrseq: wifi-pwrseq {
 };
 
 &axp805 {
-	/* ALDO3 is shorted to CLDO1; both inherit regulator-always-on. */
 	regulators {
+		/* ALDO3 is shorted to CLDO1. */
+		reg_aldo3: aldo3 {
+			regulator-always-on;
+			regulator-min-microvolt = <3300000>;
+			regulator-max-microvolt = <3300000>;
+			regulator-name = "vcc-3v3-2";
+		};
+
 		/* DCDCB is polyphased with DCDCA. */
 		dcdca {
 			regulator-min-microvolt = <800000>;
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts
index 27bba0455093..435460af174e 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts
@@ -42,6 +42,14 @@ wifi_pwrseq: wifi-pwrseq {
 
 &axp805 {
 	regulators {
+		/* ALDO3 is shorted to CLDO1. */
+		reg_aldo3: aldo3 {
+			regulator-always-on;
+			regulator-min-microvolt = <3300000>;
+			regulator-max-microvolt = <3300000>;
+			regulator-name = "vcc-3v3-2";
+		};
+
 		/delete-node/ bldo3;
 
 		bldo3 {
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi
index de8f570249d7..668fe0f4fd2c 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi
@@ -167,11 +167,8 @@ reg_aldo2: aldo2 {
 				regulator-name = "vcc-ac200";
 			};
 
-			reg_aldo3: aldo3 {
-				regulator-always-on;
-				regulator-min-microvolt = <3300000>;
-				regulator-max-microvolt = <3300000>;
-				regulator-name = "vcc25-dram";
+			aldo3 {
+				/* unused */
 			};
 
 			reg_bldo1: bldo1 {
-- 
2.47.3



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

Thread overview: 10+ 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 ` [PATCH 3/9] arm64: dts: allwinner: h6: orangepi: Fix VCC-PG supply in common dtsi Chen-Yu Tsai
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: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 ` Chen-Yu Tsai [this message]

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-10-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