Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   1) What:		/sys/class/tty/console/active
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   2) Date:		Nov 2010
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   3) Contact:	Kay Sievers <kay.sievers@vrfy.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   4) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   5) 		 Shows the list of currently configured
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   6) 		 console devices, like 'tty1 ttyS0'.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   7) 		 The last entry in the file is the active
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   8) 		 device connected to /dev/console.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   9) 		 The file supports poll() to detect virtual
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  10) 		 console switches.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  11) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  12) What:		/sys/class/tty/tty0/active
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  13) Date:		Nov 2010
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  14) Contact:	Kay Sievers <kay.sievers@vrfy.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  15) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  16) 		 Shows the currently active virtual console
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  17) 		 device, like 'tty1'.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  18) 		 The file supports poll() to detect virtual
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  19) 		 console switches.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  20) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  21) What:		/sys/class/tty/ttyS0/uartclk
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  22) Date:		Sep 2012
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  23) Contact:	Tomas Hlavacek <tmshlvck@gmail.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  24) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  25) 		 Shows the current uartclk value associated with the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  26) 		 UART port in serial_core, that is bound to TTY like ttyS0.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  27) 		 uartclk = 16 * baud_base
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  28) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  29) 		 These sysfs values expose the TIOCGSERIAL interface via
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  30) 		 sysfs rather than via ioctls.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  31) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  32) What:		/sys/class/tty/ttyS0/type
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  33) Date:		October 2012
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  34) Contact:	Alan Cox <alan@linux.intel.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  35) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  36) 		 Shows the current tty type for this port.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  37) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  38) 		 These sysfs values expose the TIOCGSERIAL interface via
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  39) 		 sysfs rather than via ioctls.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  40) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  41) What:		/sys/class/tty/ttyS0/line
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  42) Date:		October 2012
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  43) Contact:	Alan Cox <alan@linux.intel.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  44) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  45) 		 Shows the current tty line number for this port.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  46) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  47) 		 These sysfs values expose the TIOCGSERIAL interface via
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  48) 		 sysfs rather than via ioctls.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  49) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  50) What:		/sys/class/tty/ttyS0/port
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  51) Date:		October 2012
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  52) Contact:	Alan Cox <alan@linux.intel.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  53) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  54) 		 Shows the current tty port I/O address for this port.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  55) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  56) 		 These sysfs values expose the TIOCGSERIAL interface via
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  57) 		 sysfs rather than via ioctls.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  58) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  59) What:		/sys/class/tty/ttyS0/irq
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  60) Date:		October 2012
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  61) Contact:	Alan Cox <alan@linux.intel.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  62) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  63) 		 Shows the current primary interrupt for this port.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  64) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  65) 		 These sysfs values expose the TIOCGSERIAL interface via
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  66) 		 sysfs rather than via ioctls.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  67) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  68) What:		/sys/class/tty/ttyS0/flags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  69) Date:		October 2012
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  70) Contact:	Alan Cox <alan@linux.intel.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  71) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  72) 		 Show the tty port status flags for this port.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  73) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  74) 		 These sysfs values expose the TIOCGSERIAL interface via
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  75) 		 sysfs rather than via ioctls.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  76) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  77) What:		/sys/class/tty/ttyS0/xmit_fifo_size
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  78) Date:		October 2012
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  79) Contact:	Alan Cox <alan@linux.intel.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  80) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  81) 		 Show the transmit FIFO size for this port.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  82) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  83) 		 These sysfs values expose the TIOCGSERIAL interface via
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  84) 		 sysfs rather than via ioctls.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  85) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  86) What:		/sys/class/tty/ttyS0/close_delay
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  87) Date:		October 2012
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  88) Contact:	Alan Cox <alan@linux.intel.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  89) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  90) 		 Show the closing delay time for this port in ms.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  91) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  92) 		 These sysfs values expose the TIOCGSERIAL interface via
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  93) 		 sysfs rather than via ioctls.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  94) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  95) What:		/sys/class/tty/ttyS0/closing_wait
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  96) Date:		October 2012
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  97) Contact:	Alan Cox <alan@linux.intel.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  98) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  99) 		 Show the close wait time for this port in ms.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101) 		 These sysfs values expose the TIOCGSERIAL interface via
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102) 		 sysfs rather than via ioctls.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104) What:		/sys/class/tty/ttyS0/custom_divisor
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105) Date:		October 2012
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106) Contact:	Alan Cox <alan@linux.intel.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108) 		 Show the custom divisor if any that is set on this port.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110) 		 These sysfs values expose the TIOCGSERIAL interface via
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111) 		 sysfs rather than via ioctls.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113) What:		/sys/class/tty/ttyS0/io_type
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114) Date:		October 2012
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 115) Contact:	Alan Cox <alan@linux.intel.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 116) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 117) 		 Show the I/O type that is to be used with the iomem base
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 118) 		 address.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 119) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 120) 		 These sysfs values expose the TIOCGSERIAL interface via
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 121) 		 sysfs rather than via ioctls.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 122) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 123) What:		/sys/class/tty/ttyS0/iomem_base
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 124) Date:		October 2012
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 125) Contact:	Alan Cox <alan@linux.intel.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 126) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 127) 		 The I/O memory base for this port.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 128) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 129) 		 These sysfs values expose the TIOCGSERIAL interface via
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 130) 		 sysfs rather than via ioctls.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 131) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 132) What:		/sys/class/tty/ttyS0/iomem_reg_shift
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 133) Date:		October 2012
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 134) Contact:	Alan Cox <alan@linux.intel.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 135) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 136) 		 Show the register shift indicating the spacing to be used
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 137) 		 for accesses on this iomem address.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 138) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 139) 		 These sysfs values expose the TIOCGSERIAL interface via
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 140) 		 sysfs rather than via ioctls.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 141) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 142) What:		/sys/class/tty/ttyS0/rx_trig_bytes
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 143) Date:		May 2014
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 144) Contact:	Yoshihiro YUNOMAE <yoshihiro.yunomae.ez@hitachi.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 145) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 146) 		 Shows current RX interrupt trigger bytes or sets the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 147) 		 user specified value to change it for the FIFO buffer.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 148) 		 Users can show or set this value regardless of opening the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 149) 		 serial device file or not.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 150) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 151) 		 The RX trigger can be set one of four kinds of values for UART
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 152) 		 serials. When users input a meaning less value to this I/F,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 153) 		 the RX trigger is changed to the nearest lower value for the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 154) 		 device specification. For example, when user sets 7bytes on
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 155) 		 16550A, which has 1/4/8/14 bytes trigger, the RX trigger is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 156) 		 automatically changed to 4 bytes.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 157) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 158) What:		/sys/class/tty/ttyS0/console
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 159) Date:		February 2020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 160) Contact:	Andy Shevchenko <andriy.shevchenko@linux.intel.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 161) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 162) 		 Allows user to detach or attach back the given device as
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 163) 		 kernel console. It shows and accepts a boolean variable.