Rob Herring | cd6484e | 2017-02-02 13:48:07 -0600 | [diff] [blame] | 1 | # |
| 2 | # Serial bus device driver configuration |
| 3 | # |
| 4 | menuconfig SERIAL_DEV_BUS |
| 5 | tristate "Serial device bus" |
| 6 | help |
| 7 | Core support for devices connected via a serial port. |
| 8 | |
Johan Hovold | 22b276a | 2017-10-09 11:41:33 +0200 | [diff] [blame] | 9 | Note that you typically also want to enable TTY port controller support. |
| 10 | |
Rob Herring | bed35c6 | 2017-02-02 13:48:08 -0600 | [diff] [blame] | 11 | if SERIAL_DEV_BUS |
| 12 | |
| 13 | config SERIAL_DEV_CTRL_TTYPORT |
| 14 | bool "Serial device TTY port controller" |
Johan Hovold | 22b276a | 2017-10-09 11:41:33 +0200 | [diff] [blame] | 15 | help |
| 16 | Say Y here if you want to use the Serial device bus with common TTY |
| 17 | drivers (e.g. serial drivers). |
| 18 | |
| 19 | If unsure, say Y. |
Rob Herring | bed35c6 | 2017-02-02 13:48:08 -0600 | [diff] [blame] | 20 | depends on TTY |
| 21 | depends on SERIAL_DEV_BUS != m |
Johan Hovold | 22b276a | 2017-10-09 11:41:33 +0200 | [diff] [blame] | 22 | default y |
Rob Herring | bed35c6 | 2017-02-02 13:48:08 -0600 | [diff] [blame] | 23 | |
| 24 | endif |