Skip to content

regulator: add support for GPIO power load switches

Bartosz Golaszewski linux-devicetree lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3regulator: add support for user space controlled regulatorsdrivers/regulator/core.c include/linux/regulator/driver.h+42 -11 reply
2/3doc: DT: add new compatible to fixed regulator's bindingDocumentation/devicetree/bindings/regulator/fixed-regulator.txt+3 -11 reply
3/3regulator: fixed: add support for gpio power switchesdrivers/regulator/fixed.c+25 -81 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] regulator: add support for GPIO power load switches

We would like to add support for GPIO-controlled power load switches (for example: the tps229* series from Texas Instruments). We use this chip to power-cycle devices whose power consumption is measured using baylibre-acme probes thus we need a way to control them from user space.

I initially submitted a series adding this support via the iio framework, but it was decided that iio is not the right interface for that.

This series extends the regulator core to support regulators controlled from user space and reuses the fixed regulator driver to support gpio power switches.

Bartosz Golaszewski (3):
regulator: add support for user space controlled regulators
doc: DT: add new compatible to fixed regulator's binding
regulator: fixed: add support for gpio power switches

 .../bindings/regulator/fixed-regulator.txt         |  4 ++-
 drivers/regulator/core.c                           | 38 +++++++++++++++++++++-
 drivers/regulator/fixed.c                          | 33 ++++++++++++++-----
 include/linux/regulator/driver.h                   |  5 +++
 4 files changed, 70 insertions(+), 10 deletions(-)
Signature · 6 lines
2.9.3

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html