tty: uartclk value from serial_core exposed to sysfs
[linux-2.6-block.git] / Documentation / ABI / testing / sysfs-tty
1 What:           /sys/class/tty/console/active
2 Date:           Nov 2010
3 Contact:        Kay Sievers <kay.sievers@vrfy.org>
4 Description:
5                  Shows the list of currently configured
6                  console devices, like 'tty1 ttyS0'.
7                  The last entry in the file is the active
8                  device connected to /dev/console.
9                  The file supports poll() to detect virtual
10                  console switches.
11
12 What:           /sys/class/tty/tty0/active
13 Date:           Nov 2010
14 Contact:        Kay Sievers <kay.sievers@vrfy.org>
15 Description:
16                  Shows the currently active virtual console
17                  device, like 'tty1'.
18                  The file supports poll() to detect virtual
19                  console switches.
20
21 What:           /sys/class/tty/ttyS0/uartclk
22 Date:           Sep 2012
23 Contact:        Tomas Hlavacek <tmshlvck@gmail.com>
24 Description:
25                  Shows the current uartclk value associated with the
26                  UART port in serial_core, that is bound to TTY like ttyS0.
27                  uartclk = 16 * baud_base
28