Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1543544

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

From Bartosz Golaszewski <bgolaszewski@baylibre.com>
Newsgroups linux.kernel
Subject [PATCH 0/3] regulator: add support for GPIO power load switches
Date 2016-12-16 17:00 +0100
Message-ID <sP35n-5AA-13@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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(-)

-- 
2.9.3

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 0/3] regulator: add support for GPIO power load switches Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2016-12-16 17:00 +0100
  [PATCH 2/3] doc: DT: add new compatible to fixed regulator's binding Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2016-12-16 17:00 +0100
    Re: [PATCH 2/3] doc: DT: add new compatible to fixed regulator's  binding Rob Herring <robh@kernel.org> - 2016-12-21 04:50 +0100
  [PATCH 3/3] regulator: fixed: add support for gpio power switches Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2016-12-16 17:00 +0100
    Re: [PATCH 3/3] regulator: fixed: add support for gpio power switches Mark Brown <broonie@kernel.org> - 2016-12-16 19:20 +0100
  [PATCH 1/3] regulator: add support for user space controlled regulators Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2016-12-16 17:00 +0100
    Re: [PATCH 1/3] regulator: add support for user space controlled  regulators Mark Brown <broonie@kernel.org> - 2016-12-16 19:20 +0100

csiph-web