Thread (19 messages) 19 messages, 7 authors, 2017-01-09

Re: [PATCH] iio: misc: add a generic regulator driver

From: Mark Brown <hidden>
Date: 2017-01-05 12:01:12
Also in: linux-iio, lkml

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 [off-list ref] wrote:
quoted
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.

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help