mbox series

[0/4] regulator: core: A few useful patches for regulators that need load set

Message ID 20180814170617.100087-1-dianders@chromium.org (mailing list archive)
Headers show
Series regulator: core: A few useful patches for regulators that need load set | expand

Message

Douglas Anderson Aug. 14, 2018, 5:06 p.m. UTC
These patches ought to be useful for those people who need to work
with regulator drivers where regulator_set_load() is important.  The
first patch in this series actually implements real functionality.
After that patch then devices whose drivers don't know to call
regulator_set_load() are more likely to work.  The rest of the patches
just work on regulator_summary to try to make it so we can confirm
that the first patch works.


Douglas Anderson (4):
  regulator: core: If consumers don't call regulator_set_load() assume
    max
  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     | 98 ++++++++++++++++++++++++------------
 drivers/regulator/internal.h |  1 +
 2 files changed, 66 insertions(+), 33 deletions(-)