[PATCH v2 2/4] dt-bindings: mfd: spacemit,p1: Add individual regulator supply properties
Rob Herring
robh at kernel.org
Thu Jan 29 10:16:04 PST 2026
On Sat, Jan 24, 2026 at 08:20:17AM +0800, Guodong Xu wrote:
> Add supply properties that match the P1 PMIC's actual hardware topology
> where each buck converter has its own VIN pin and LDO groups share
> common input pins. Supply names are defined according to the pinout
> names in the P1 datasheet.
>
> This allows different boards to describe their actual power tree
> connections in devicetree rather than hardcoding supply relationships
> in the driver.
You are breaking both forward and backwards compatibility changing both
the dts and the driver. If that is fine to do, then explicitly say so.
A secondary issue is the binding and dts go via differ trees and we end
up with intermittent warnings.
>
> Signed-off-by: Guodong Xu <guodong at riscstar.com>
> ---
> v2: Remove providers from the dts example.
> Pass the 'make dt_binding_check' test.
> ---
> .../devicetree/bindings/mfd/spacemit,p1.yaml | 49 +++++++++++++++++++++-
> 1 file changed, 47 insertions(+), 2 deletions(-)
More information about the linux-riscv
mailing list