summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serdev/Kconfig
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2017-02-02 20:48:08 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-02-03 10:17:02 +0100
commitbed35c6dfa6a36233c3e1238a40dc1ae67955898 (patch)
tree03afb77346bfc39d88fd57600a3722a3fd09179a /drivers/tty/serdev/Kconfig
parentserdev: Introduce new bus for serial attached devices (diff)
downloadlinux-bed35c6dfa6a36233c3e1238a40dc1ae67955898.tar.xz
linux-bed35c6dfa6a36233c3e1238a40dc1ae67955898.zip
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>
Diffstat (limited to 'drivers/tty/serdev/Kconfig')
-rw-r--r--drivers/tty/serdev/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/tty/serdev/Kconfig b/drivers/tty/serdev/Kconfig
index 3b6ecd187bef..cdc6b820cf93 100644
--- a/drivers/tty/serdev/Kconfig
+++ b/drivers/tty/serdev/Kconfig
@@ -6,3 +6,11 @@ menuconfig SERIAL_DEV_BUS
help
Core support for devices connected via a serial port.
+if SERIAL_DEV_BUS
+
+config SERIAL_DEV_CTRL_TTYPORT
+ bool "Serial device TTY port controller"
+ depends on TTY
+ depends on SERIAL_DEV_BUS != m
+
+endif