Re: [PATCH 2/2] misc: add a driver to power on/off UART attached devices.

From: One Thousand Gnomes
Date: Sat Dec 20 2014 - 07:51:12 EST


On Sat, 20 Dec 2014 11:09:21 +1100
NeilBrown <neilb@xxxxxxx> wrote:

> If a platform has a particular device permanently attached to a UART,
> there may be out-of-band signaling necessary to power the device
> on and off.
>
> This drive controls that signalling for a number of different devices.
> It can
> - enable/disable a regulator
> - toggle a GPIO
> - register an 'rfkill' which can for the device to be off.
>
> When the rfkill is absent of unblocked, the device will be on when the
> associated tty device is open, and closed otherwise.
>

Looks sound to me. Would drivers/tty/slave/.. be a better place for
these to collect up than "misc" ?

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/