[PATCH v2 2/4] dt-bindings: mfd: spacemit,p1: Add individual regulator supply properties
Guodong Xu
guodong at riscstar.com
Sat Jan 31 04:25:44 PST 2026
Hi, Rob
On Fri, Jan 30, 2026 at 2:16 AM Rob Herring <robh at kernel.org> wrote:
>
> 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.
The breakage is acceptable, so far as discussed and agreed with Yixun Lan
and Vivian. I will update the commit message to state this explicitly in v3.
>
> A secondary issue is the binding and dts go via differ trees and we end
> up with intermittent warnings.
I will add "vin-supply" back to the binding with "deprecated: true" in v3.
This should solve the binding and dts warnings during the merge window.
Thank you for the review.
Best regards,
Guodong Xu
>
> >
> > 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