serdev: add a tty port controller driver
authorRob Herring <robh@kernel.org>
Thu, 2 Feb 2017 19:48:08 +0000 (13:48 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Feb 2017 09:17:02 +0000 (10:17 +0100)
commitbed35c6dfa6a36233c3e1238a40dc1ae67955898
tree03afb77346bfc39d88fd57600a3722a3fd09179a
parentcd6484e1830be260abfba80a9c7d8f65531126d6
serdev: add a tty port controller driver

Add a serdev controller driver for tty ports.

The controller is registered with serdev when tty ports are registered
with the TTY core. As the TTY core is built-in only, this has the side
effect of making serdev built-in as well.

Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-By: Sebastian Reichel <sre@kernel.org>
Tested-By: Sebastian Reichel <sre@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serdev/Kconfig
drivers/tty/serdev/Makefile
drivers/tty/serdev/serdev-ttyport.c [new file with mode: 0644]
include/linux/serdev.h