mbox series

[v2,0/3] regulator: core: Improve regulator_summary

Message ID 20180816202803.250079-1-dianders@chromium.org (mailing list archive)
Headers show
Series regulator: core: Improve regulator_summary | expand

Message

Doug Anderson Aug. 16, 2018, 8:28 p.m. UTC
The first two patches in this series are useful for those who want to
see the load requested by regulator consumers and also what opmode
they're running in (these two concepts are sometimes linked).

The third patch adds some missing locking for regulator_summary.

All three patches could be applied separately but some rebasing would
be required since the patches touch much of the same code.

Changes in v2:
- No longer consider consumers that don't call regulator_set_load().

Douglas Anderson (3):
  regulator: core: Add the opmode to regulator_summary
  regulator: core: Add consumer-requested load in regulator_summary
  regulator: core: Add locking to debugfs regulator_summary

 drivers/regulator/core.c | 78 ++++++++++++++++++++++++----------------
 1 file changed, 48 insertions(+), 30 deletions(-)