18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
28c2ecf20Sopenharmony_ci#
38c2ecf20Sopenharmony_ci# Serial bus device driver configuration
48c2ecf20Sopenharmony_ci#
58c2ecf20Sopenharmony_cimenuconfig SERIAL_DEV_BUS
68c2ecf20Sopenharmony_ci	tristate "Serial device bus"
78c2ecf20Sopenharmony_ci	help
88c2ecf20Sopenharmony_ci	  Core support for devices connected via a serial port.
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ci	  Note that you typically also want to enable TTY port controller support.
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ciif SERIAL_DEV_BUS
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ciconfig SERIAL_DEV_CTRL_TTYPORT
158c2ecf20Sopenharmony_ci	bool "Serial device TTY port controller"
168c2ecf20Sopenharmony_ci	help
178c2ecf20Sopenharmony_ci	  Say Y here if you want to use the Serial device bus with common TTY
188c2ecf20Sopenharmony_ci	  drivers (e.g. serial drivers).
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ci	  If unsure, say Y.
218c2ecf20Sopenharmony_ci	depends on TTY
228c2ecf20Sopenharmony_ci	depends on SERIAL_DEV_BUS != m
238c2ecf20Sopenharmony_ci	default y
248c2ecf20Sopenharmony_ci
258c2ecf20Sopenharmony_ciendif
26