From: Bartosz Golaszewski <bgolaszewski@baylibre.com> To: Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>, Rob Herring <robh+dt@kernel.org>, Mark Rutland <mark.rutland@arm.com> Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Jonathan Cameron <jic23@kernel.org>, Hartmut Knaack <knaack.h@gmx.de>, Lars-Peter Clausen <lars@metafoo.de>, Kevin Hilman <khilman@baylibre.com>, Patrick Titiano <ptitiano@baylibre.com>, Neil Armstrong <narmstrong@baylibre.com>, Bartosz Golaszewski <bgolaszewski@baylibre.com> Subject: [PATCH 0/3] regulator: add support for GPIO power load switches Date: Fri, 16 Dec 2016 16:52:27 +0100 [thread overview] Message-ID: <1481903550-3582-1-git-send-email-bgolaszewski@baylibre.com> (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
WARNING: multiple messages have this Message-ID (diff)
From: Bartosz Golaszewski <bgolaszewski-rdvid1DuHRBWk0Htik3J/w@public.gmane.org> To: Liam Girdwood <lgirdwood-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>, Mark Brown <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>, Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>, Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org> Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Jonathan Cameron <jic23-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>, Hartmut Knaack <knaack.h-Mmb7MZpHnFY@public.gmane.org>, Lars-Peter Clausen <lars-Qo5EllUWu/uELgA04lAiVw@public.gmane.org>, Kevin Hilman <khilman-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>, Patrick Titiano <ptitiano-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>, Neil Armstrong <narmstrong-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>, Bartosz Golaszewski <bgolaszewski-rdvid1DuHRBWk0Htik3J/w@public.gmane.org> Subject: [PATCH 0/3] regulator: add support for GPIO power load switches Date: Fri, 16 Dec 2016 16:52:27 +0100 [thread overview] Message-ID: <1481903550-3582-1-git-send-email-bgolaszewski@baylibre.com> (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 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html
next reply other threads:[~2016-12-16 15:53 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2016-12-16 15:52 Bartosz Golaszewski [this message] 2016-12-16 15:52 ` [PATCH 0/3] regulator: add support for GPIO power load switches Bartosz Golaszewski 2016-12-16 15:52 ` [PATCH 1/3] regulator: add support for user space controlled regulators Bartosz Golaszewski 2016-12-16 18:10 ` Mark Brown 2016-12-16 18:10 ` Mark Brown 2016-12-16 15:52 ` [PATCH 2/3] doc: DT: add new compatible to fixed regulator's binding Bartosz Golaszewski 2016-12-16 15:52 ` Bartosz Golaszewski 2016-12-21 3:40 ` Rob Herring 2016-12-16 15:52 ` [PATCH 3/3] regulator: fixed: add support for gpio power switches Bartosz Golaszewski 2016-12-16 18:12 ` Mark Brown 2016-12-16 18:12 ` Mark Brown
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1481903550-3582-1-git-send-email-bgolaszewski@baylibre.com \ --to=bgolaszewski@baylibre.com \ --cc=broonie@kernel.org \ --cc=devicetree@vger.kernel.org \ --cc=jic23@kernel.org \ --cc=khilman@baylibre.com \ --cc=knaack.h@gmx.de \ --cc=lars@metafoo.de \ --cc=lgirdwood@gmail.com \ --cc=linux-kernel@vger.kernel.org \ --cc=mark.rutland@arm.com \ --cc=narmstrong@baylibre.com \ --cc=ptitiano@baylibre.com \ --cc=robh+dt@kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.