Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1551933
| From | Mark Brown <broonie@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] iio: misc: add a generic regulator driver |
| Date | 2017-01-05 13:10 +0100 |
| Message-ID | <sWf1M-2MX-19@gated-at.bofh.it> (permalink) |
| References | (5 earlier) <sLmpX-1th-13@gated-at.bofh.it> <sNCqB-75R-25@gated-at.bofh.it> <sRuXw-5wu-29@gated-at.bofh.it> <sRwmC-6i6-17@gated-at.bofh.it> <sRxC2-70g-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
On Fri, Dec 23, 2016 at 01:56:11PM +0100, Geert Uytterhoeven wrote: > On Fri, Dec 23, 2016 at 12:35 PM, Lars-Peter Clausen <lars@metafoo.de> wrote: > > cooperation between kernel- and userspace. Kernelspace offering an interface > > to export a device for userspace access and userspace making use of that > > interface to request access to a device. In a similar way to how vfio is > > structured. ... > We do not have bindings to describe GPIOs connected to e.g. relays. Well, it depends what the relays are doing in the system of course... > Switching external devices (the internals of those devices not described > itself in DT, like in an industrial context), sounds more like something to > be handled by IIO, doesn't it? The BayLibre ACME systems have a case like this with their power metering stuff (I've got a similar but more overenginered board I'm in theory working on with actual relays). The system itself is controlling a power line, it knows nothing about what's connected. It seems like this is coming up often enough that someone should probably just write an external system control binding, also tying in things like references to the console and so on.
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
Re: [PATCH] iio: misc: add a generic regulator driver Mark Brown <broonie@kernel.org> - 2017-01-05 13:10 +0100 Re: [PATCH] iio: misc: add a generic regulator driver Linus Walleij <linus.walleij@linaro.org> - 2017-01-09 12:00 +0100
csiph-web