xref: /openbmc/linux/drivers/tty/serdev/Kconfig (revision 38c91d1d)
138c91d1dSGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
2cd6484e1SRob Herring#
3cd6484e1SRob Herring# Serial bus device driver configuration
4cd6484e1SRob Herring#
5cd6484e1SRob Herringmenuconfig SERIAL_DEV_BUS
6cd6484e1SRob Herring	tristate "Serial device bus"
7cd6484e1SRob Herring	help
8cd6484e1SRob Herring	  Core support for devices connected via a serial port.
9cd6484e1SRob Herring
1022b276a4SJohan Hovold	  Note that you typically also want to enable TTY port controller support.
1122b276a4SJohan Hovold
12bed35c6dSRob Herringif SERIAL_DEV_BUS
13bed35c6dSRob Herring
14bed35c6dSRob Herringconfig SERIAL_DEV_CTRL_TTYPORT
15bed35c6dSRob Herring	bool "Serial device TTY port controller"
1622b276a4SJohan Hovold	help
1722b276a4SJohan Hovold	  Say Y here if you want to use the Serial device bus with common TTY
1822b276a4SJohan Hovold	  drivers (e.g. serial drivers).
1922b276a4SJohan Hovold
2022b276a4SJohan Hovold	  If unsure, say Y.
21bed35c6dSRob Herring	depends on TTY
22bed35c6dSRob Herring	depends on SERIAL_DEV_BUS != m
2322b276a4SJohan Hovold	default y
24bed35c6dSRob Herring
25bed35c6dSRob Herringendif
26