mbox series

[v2,0/3] Devicetree support for regulator-virtual-consumer

Message ID 20220301111831.3742383-1-vincent.whitchurch@axis.com
Headers show
Series Devicetree support for regulator-virtual-consumer | expand

Message

Vincent Whitchurch March 1, 2022, 11:18 a.m. UTC
This series adds devicetree support for drivers/regulator/virtual.c which is
useful for development and testing of regulator drivers.

v2:
- Only use the "default" supply name if dt
- Add a comment explaining the "default" supply name
- Add patch which warns against production use of this driver
- Add patch to use dev_err_probe

Vincent Whitchurch (3):
  regulator: virtual: use dev_err_probe()
  regulator: virtual: warn against production use
  regulator: virtual: add devicetree support

 drivers/regulator/virtual.c | 41 +++++++++++++++++++++++++++++++------
 1 file changed, 35 insertions(+), 6 deletions(-)