Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

serdev: enable TTY port controller support by default

Amend the Serial device bus Kconfig entries to clarify that you most
likely also want to enable TTY port controller support, and make
SERIAL_DEV_CTRL_TTYPORT default to Y (when bus support is enabled).

Note that the TTY port controller is currently the only in-kernel
serdev controller implementation.

Signed-off-by: Johan Hovold <johan@kernel.org>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Johan Hovold and committed by
Greg Kroah-Hartman
22b276a4 f7f73096

+8
+8
drivers/tty/serdev/Kconfig
··· 6 6 help 7 7 Core support for devices connected via a serial port. 8 8 9 + Note that you typically also want to enable TTY port controller support. 10 + 9 11 if SERIAL_DEV_BUS 10 12 11 13 config SERIAL_DEV_CTRL_TTYPORT 12 14 bool "Serial device TTY port controller" 15 + help 16 + Say Y here if you want to use the Serial device bus with common TTY 17 + drivers (e.g. serial drivers). 18 + 19 + If unsure, say Y. 13 20 depends on TTY 14 21 depends on SERIAL_DEV_BUS != m 22 + default y 15 23 16 24 endif