All of lore.kernel.org
 help / color / mirror / Atom feed
* [RESEND PATCH 0/2] regulator: scmi: add support for registering SCMI regulators by name
@ 2022-01-25  0:27 ` David Collins
  0 siblings, 0 replies; 18+ messages in thread
From: David Collins @ 2022-01-25  0:27 UTC (permalink / raw)
  To: Rob Herring, Sudeep Holla, Mark Brown, Liam Girdwood, devicetree
  Cc: David Collins, Cristian Marussi, linux-arm-kernel, linux-kernel,
	linux-arm-msm, Subbaraman Narayanamurthy

Add support to register SCMI regulator subnodes based on an SCMI
Voltage Domain name specified via the 'regulator-name' device tree
property.  In doing so, make the 'reg' property optional with the
constraint that at least one of 'reg' or 'regulator-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.

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           | 11 +++-
 drivers/regulator/scmi-regulator.c            | 57 ++++++++++++++++++-
 2 files changed, 62 insertions(+), 6 deletions(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 18+ messages in thread
* [PATCH 0/2] regulator: scmi: add support for registering SCMI regulators by name
@ 2021-12-10  1:54 David Collins
  2022-01-24 23:20     ` [RESEND PATCH 1/2] dt-bindings: firmware: arm,scmi: " David Collins
  0 siblings, 1 reply; 18+ messages in thread
From: David Collins @ 2021-12-10  1:54 UTC (permalink / raw)
  To: Rob Herring, Sudeep Holla, Mark Brown, Liam Girdwood, devicetree
  Cc: David Collins, Cristian Marussi, linux-arm-kernel, linux-kernel,
	linux-arm-msm, Subbaraman Narayanamurthy

Add support to register SCMI regulator subnodes based on an SCMI
Voltage Domain name specified via the 'regulator-name' device tree
property.  In doing so, make the 'reg' property optional with the
constraint that at least one of 'reg' or 'regulator-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.

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           | 11 +++-
 drivers/regulator/scmi-regulator.c            | 57 ++++++++++++++++++-
 2 files changed, 62 insertions(+), 6 deletions(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2022-02-03 11:29 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-25  0:27 [RESEND PATCH 0/2] regulator: scmi: add support for registering SCMI regulators by name David Collins
2022-01-25  0:27 ` David Collins
2022-01-25  0:27 ` [RESEND PATCH 1/2] dt-bindings: firmware: arm,scmi: define support for name based regulators David Collins
2022-01-25  0:27   ` [RESEND PATCH 1/2] dt-bindings: firmware: arm, scmi: " David Collins
2022-01-28 19:32   ` [RESEND PATCH 1/2] dt-bindings: firmware: arm,scmi: " Mark Brown
2022-01-28 19:32     ` Mark Brown
2022-01-28 23:09     ` David Collins
2022-01-28 23:09       ` David Collins
2022-02-02 17:38       ` Mark Brown
2022-02-02 17:38         ` Mark Brown
2022-02-03  0:09         ` David Collins
2022-02-03  0:09           ` David Collins
2022-02-03 11:28           ` Mark Brown
2022-02-03 11:28             ` Mark Brown
2022-01-25  0:27 ` [RESEND PATCH 2/2] regulator: scmi: add support for registering SCMI regulators by name David Collins
2022-01-25  0:27   ` David Collins
  -- strict thread matches above, loose matches on Subject: below --
2021-12-10  1:54 [PATCH 0/2] " David Collins
2022-01-24 23:20 ` [RESEND PATCH 1/2] dt-bindings: firmware: arm, scmi: define support for name based regulators David Collins
2022-01-24 23:20   ` David Collins
2022-01-24 23:20     ` [RESEND PATCH 1/2] dt-bindings: firmware: arm,scmi: " David Collins

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.