162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# Serial bus device driver configuration
462306a36Sopenharmony_ci#
562306a36Sopenharmony_cimenuconfig SERIAL_DEV_BUS
662306a36Sopenharmony_ci	tristate "Serial device bus"
762306a36Sopenharmony_ci	help
862306a36Sopenharmony_ci	  Core support for devices connected via a serial port.
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ci	  Note that you typically also want to enable TTY port controller support.
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_ciif SERIAL_DEV_BUS
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ciconfig SERIAL_DEV_CTRL_TTYPORT
1562306a36Sopenharmony_ci	bool "Serial device TTY port controller"
1662306a36Sopenharmony_ci	help
1762306a36Sopenharmony_ci	  Say Y here if you want to use the Serial device bus with common TTY
1862306a36Sopenharmony_ci	  drivers (e.g. serial drivers).
1962306a36Sopenharmony_ci
2062306a36Sopenharmony_ci	  If unsure, say Y.
2162306a36Sopenharmony_ci	depends on TTY
2262306a36Sopenharmony_ci	depends on SERIAL_DEV_BUS != m
2362306a36Sopenharmony_ci	default y
2462306a36Sopenharmony_ci
2562306a36Sopenharmony_ciendif
26