[PATCH v2 0/4] regulator: spacemit-p1: Fix voltage ranges and support board power tree
Vivian Wang
wangruikang at iscas.ac.cn
Fri Jan 23 22:24:33 PST 2026
On 1/24/26 08:20, Guodong Xu wrote:
> [...]
>
> Note: Patch 3 introduces a bisect breakage by transitioning to
> pin-specific supply names. Probe failures will occur on existing boards
> until Patch 4 updates the corresponding DTS file.
Ouch, that's not a bisect breakage, that's an *ABI breakage*. And AFAICT
this is still not okay in 2026,
see Documentation/devicetree/bindings/ABI.rst
So the bindings would need to be changed to accept both the new and old way.
Driver-wise, at a cursory look from someone not familiar with the
regulator stuff, maybe we can make it compatible with old DTS by adding
the new names as aliases ({devm_,}regulator_register_supply_alias?) as
"vin" or "buck5", if we see the old vin-supply definitions?
More information about the linux-riscv
mailing list