Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1542804
| From | Rob Herring <robh@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/2] devicetree: power: add bindings for GPIO-driven power switches |
| Date | 2016-12-15 16:10 +0100 |
| Message-ID | <sOFPs-7kP-35@gated-at.bofh.it> (permalink) |
| References | <sNkN3-4IE-7@gated-at.bofh.it> <sNkN4-4IE-21@gated-at.bofh.it> <sO0VX-55N-7@gated-at.bofh.it> <sOl4w-mI-25@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, Dec 14, 2016 at 10:58 AM, Bartosz Golaszewski <bgolaszewski@baylibre.com> wrote: > 2016-12-13 20:27 GMT+01:00 Rob Herring <robh@kernel.org>: >> On Sun, Dec 11, 2016 at 11:21:44PM +0100, Bartosz Golaszewski wrote: >>> Some boards are equipped with simple, GPIO-driven power load switches. >>> An example of such ICs is the TI tps229* series. >> >> How is this different than a GPIO regulator? The input and output >> voltages just happen to be the same. I could be convinced this is >> different enough to have a different compatible, but it somewhat seems >> you want to use this for IIO, so you are creating a different binding >> for that usecase. >> > > It's more of a fixed regulator I suppose. Do you mean adding a new > compatible to the fixed-regulator binding (e.g. "gpio-power-switch" or > "simple-power-switch") and then providing an iio driver for toggling > the switch? Yes, at least the first part. I view the switch as just a more specific subtype of a fixed-regulator. Whether an IIO driver is a separate discussion which is happening. Rob P.S. I really don't like compatibles with "simple".
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/2] iio: GPIO power switch support Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2016-12-11 23:30 +0100
[PATCH 1/2] devicetree: power: add bindings for GPIO-driven power switches Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2016-12-11 23:30 +0100
Re: [PATCH 1/2] devicetree: power: add bindings for GPIO-driven power switches Rob Herring <robh@kernel.org> - 2016-12-13 20:30 +0100
Re: [PATCH 1/2] devicetree: power: add bindings for GPIO-driven power switches Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2016-12-14 18:00 +0100
Re: [PATCH 1/2] devicetree: power: add bindings for GPIO-driven power switches Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2016-12-15 12:00 +0100
Re: [PATCH 1/2] devicetree: power: add bindings for GPIO-driven power switches Rob Herring <robh@kernel.org> - 2016-12-15 16:10 +0100
Re: [PATCH 1/2] devicetree: power: add bindings for GPIO-driven power switches Geert Uytterhoeven <geert@linux-m68k.org> - 2016-12-23 10:10 +0100
Re: [PATCH 1/2] devicetree: power: add bindings for GPIO-driven power switches Lars-Peter Clausen <lars@metafoo.de> - 2016-12-23 12:50 +0100
Re: [PATCH 1/2] devicetree: power: add bindings for GPIO-driven power switches Jonathan Cameron <jic23@kernel.org> - 2016-12-30 16:10 +0100
Re: [PATCH 1/2] devicetree: power: add bindings for GPIO-driven power switches Linus Walleij <linus.walleij@linaro.org> - 2016-12-28 14:00 +0100
csiph-web