regulator: add support for GPIO power load switches
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | regulator: add support for user space controlled regulatorsdrivers/ include/ | +42 | 1 reply | |
| 2/3 | doc: DT: add new compatible to fixed regulator's bindingDocumentation/ | +3 | 1 reply | |
| 3/3 | regulator: fixed: add support for gpio power switchesdrivers/ | +25 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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