regulator: scmi: add support for registering SCMI regulators by name
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 4 repliesIn review
- v1 posting 2/22 patches 5 repliesSuperseded
- v1 posting 1/22 patches 1 replySuperseded
Changes in v2 from the cover letter
- Replaced usage of DT property "regulator-name" with "arm,scmi-domain-name".
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | dt-bindings: firmware: arm,scmi: define support for name based regulatorsDocumentation/ | +12 | 0 replies | |
| 2/2 | regulator: scmi: add support for registering SCMI regulators by namedrivers/ | +55 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/2] regulator: scmi: add support for registering SCMI regulators by name
Add support to register SCMI regulator subnodes based on an SCMI Voltage Domain name specified via the "arm,scmi-domain-name" device tree property. In doing so, make the "reg" property optional with the constraint that at least one of "reg" or "arm,scmi-domain-name" must be specified. If both are specified, then both must match the Voltage Domain data exposed by the SCMI platform.
Name based SCMI regulator registration helps ensure that an SCMI agent doesn't need to be aware of the numbering scheme used for Voltage Domains by the SCMI platform. It also ensures that the correct Voltage Domain is selected for a given physical regulator. This cannot be guaranteed with numeric Voltage Domain IDs alone.
Changes in v2:
- Replaced usage of DT property "regulator-name" with "arm,scmi-domain-name".
v1 of this patch series can be found at [1].
[1]: https://lore.kernel.org/lkml/[email protected]/T/
David Collins (2):
dt-bindings: firmware: arm,scmi: define support for name based
regulators
regulator: scmi: add support for registering SCMI regulators by name
.../bindings/firmware/arm,scmi.yaml | 15 ++++- drivers/regulator/scmi-regulator.c | 58 ++++++++++++++++++- 2 files changed, 67 insertions(+), 6 deletions(-)
Signature · 1 line
2.17.1