summaryrefslogtreecommitdiff
path: root/drivers/tty/serdev/Kconfig
blob: e6dfe949ad018e7717bd4b14d57604756145f89f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# SPDX-License-Identifier: GPL-2.0
#
# Serial bus device driver configuration
#
menuconfig SERIAL_DEV_BUS
	tristate "Serial device bus"
	help
	  Core support for devices connected via a serial port.

	  Note that you typically also want to enable TTY port controller support.

config RUST_SERIAL_DEV_BUS_ABSTRACTIONS
	bool "Rust Serial device bus abstractions"
	depends on RUST
	select SERIAL_DEV_BUS
	help
	  This enables the Rust abstraction for the serial device bus API.

if SERIAL_DEV_BUS

config SERIAL_DEV_CTRL_TTYPORT
	bool "Serial device TTY port controller"
	help
	  Say Y here if you want to use the Serial device bus with common TTY
	  drivers (e.g. serial drivers).

	  If unsure, say Y.
	depends on TTY
	depends on SERIAL_DEV_BUS != m
	default y

endif