[Gta04-owner] [PATCH 2/3] TTY: add support for tty_slave devices.
Peter Hurley
peter at hurleysoftware.com
Fri Mar 27 12:09:56 CET 2015
On 03/25/2015 05:17 PM, NeilBrown wrote:
> On Wed, 25 Mar 2015 12:30:00 -0400 Peter Hurley <peter at hurleysoftware.com>
> wrote:
>
>> On 03/18/2015 01:58 AM, NeilBrown wrote:
>>
>>> + * A "tty-slave" is a device permanently attached to a particularly
>>> + * tty, typically wired to a UART.
>>
>> Why "permanently"?
>> Is that a limitation of the implementation or design?
>>
>
> The slave is described in devicetree - that only happens for permanently
> attached devices, doesn't it?
>
> I guess that with device-tree overlays and 'capes' for boards you could have
> a device attached to the uart "for this power session" rather than
> "permanently", but I think it is a rather subtle distinction.
>
> Did you have something else in mind?
My primary concern is that the abstraction match the scope.
If the abstraction is at the tty layer, then the scope of the design
should support tty devices, not just hard-wired, devicetree-defined uarts.
Regards,
Peter Hurley
More information about the Gta04-owner
mailing list