| From | Rob Herring <> | Date | Tue, 12 Jun 2018 19:20:03 -0600 | Subject | Re: [PATCH v2 18/24] serdev: ttydev: Serdev driver that creates an standard TTY port |
| |
On Mon, Jun 11, 2018 at 5:52 AM, Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> wrote: > Standard TTY port that can be loaded/unloaded via serdev sysfs. This > serdev driver can only be used by serdev controllers that are compatible > with ttyport.
I'm hesitant to expose a tty device on top of serdev to userspace that we then have to support forever unless that's the only way tty devices (for serial ports) are created.
I did a similar patch which just registered both serdev and a tty allowing them to coexist. It suffered from warnings about open counts though and felt hacky.
Rob
|