[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20260204-spacemit-p1-v3-0-a894b3057026@riscstar.com>
Date: Wed, 04 Feb 2026 21:23:00 +0800
From: Guodong Xu <guodong@...cstar.com>
To: Liam Girdwood <lgirdwood@...il.com>, Mark Brown <broonie@...nel.org>,
Yixun Lan <dlan@...too.org>, Alex Elder <elder@...cstar.com>,
Lee Jones <lee@...nel.org>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Troy Mitchell <troy.mitchell@...ux.spacemit.com>,
Paul Walmsley <pjw@...nel.org>, Palmer Dabbelt <palmer@...belt.com>,
Albert Ou <aou@...s.berkeley.edu>, Alexandre Ghiti <alex@...ti.fr>
Cc: linux-kernel@...r.kernel.org, linux-riscv@...ts.infradead.org,
spacemit@...ts.linux.dev, devicetree@...r.kernel.org,
Guodong Xu <guodong@...cstar.com>
Subject: [PATCH v3 0/3] regulator: spacemit-p1: Support board power tree
via DT properties
The patch (Patch 1 in v1 and v2) fixing hardware voltage constraints was
applied to regulator.git for-next, so it is dropped from this series.
Patch 1, 2 and 3 (previously 2-4) enables flexible power tree
configurations for the SpacemiT P1 PMIC. Hardcoded supply assumptions
are replaced with explicit devicetree properties. PMIC supply connections
are board-design decisions. Moving this to DT allows supporting varied
topologies without driver modifications.
The supply binding change is an ABI change. The breakage is acceptable:
Yixun Lan checked the DTS tree queued for v6.20 and found no consumers
of the P1/PMIC regulator yet [1]. For the two K1 boards in-tree
(BPI-F3 and Jupiter), initial power settings come from boot firmware and
a probe failure of pmic node "spacemit,p1" has minimal impact.
Link: https://lore.kernel.org/lkml/20260125110333-GYD71302@gentoo.org/ [1]
Changes in v3:
- Drop Patch 1 of previous series, already applied to regulator.git
for-next (commit 41399c5d4761).
- Patch 1 (previous 2): Mark "vin-supply" as deprecated to avoid
cross-tree warnings.
- Patch 2 (previous 3): Describe the ABI change explicitly. Add
justification.
- Link to v2: https://lore.kernel.org/r/20260124-spacemit-p1-v2-0-2c86b06694ba@riscstar.com
Changes in v2:
- Patch 2: dt-bindings, remove providers from the example dts.
- Patch 4: Added the pmic supply properties for K1 Milkv Jupiter.
Updated the commit message accordingly.
- Link to v1: https://lore.kernel.org/r/20260122-spacemit-p1-v1-0-309be27fbff9@riscstar.com
Signed-off-by: Guodong Xu <guodong@...cstar.com>
---
Guodong Xu (3):
dt-bindings: mfd: spacemit,p1: Add individual regulator supply properties
regulator: spacemit-p1: Update supply names
riscv: dts: spacemit: Update PMIC supply properties for BPI-F3 and Jupiter
.../devicetree/bindings/mfd/spacemit,p1.yaml | 53 +++++++++++++++++++++-
arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts | 12 ++++-
arch/riscv/boot/dts/spacemit/k1-milkv-jupiter.dts | 12 ++++-
drivers/regulator/spacemit-p1.c | 25 +++++-----
4 files changed, 86 insertions(+), 16 deletions(-)
---
base-commit: 5164e95565d3fd508ca8a95351323f5716dfb695
change-id: 20260122-spacemit-p1-ae596efe885f
prerequisite-patch-id: 154bd4f720ce5065d58b988de8f273207b44572e
Best regards,
--
Guodong Xu <guodong@...cstar.com>
Powered by blists - more mailing lists