xref: /OK3568_Linux_fs/kernel/drivers/tty/serdev/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# Serial bus device driver configuration
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyunmenuconfig SERIAL_DEV_BUS
6*4882a593Smuzhiyun	tristate "Serial device bus"
7*4882a593Smuzhiyun	help
8*4882a593Smuzhiyun	  Core support for devices connected via a serial port.
9*4882a593Smuzhiyun
10*4882a593Smuzhiyun	  Note that you typically also want to enable TTY port controller support.
11*4882a593Smuzhiyun
12*4882a593Smuzhiyunif SERIAL_DEV_BUS
13*4882a593Smuzhiyun
14*4882a593Smuzhiyunconfig SERIAL_DEV_CTRL_TTYPORT
15*4882a593Smuzhiyun	bool "Serial device TTY port controller"
16*4882a593Smuzhiyun	help
17*4882a593Smuzhiyun	  Say Y here if you want to use the Serial device bus with common TTY
18*4882a593Smuzhiyun	  drivers (e.g. serial drivers).
19*4882a593Smuzhiyun
20*4882a593Smuzhiyun	  If unsure, say Y.
21*4882a593Smuzhiyun	depends on TTY
22*4882a593Smuzhiyun	depends on SERIAL_DEV_BUS != m
23*4882a593Smuzhiyun	default y
24*4882a593Smuzhiyun
25*4882a593Smuzhiyunendif
26