forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'tty-4.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/…
…git/gregkh/tty Pull tty and serial driver updates from Greg KH: "Here's the large TTY and Serial driver update for 4.7-rc1. A few new serial drivers are added here, and Peter has fixed a bunch of long-standing bugs in the tty layer and serial drivers as normal. Full details in the shortlog. All of these have been in linux-next for a while with no reported issues" * tag 'tty-4.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty: (88 commits) MAINTAINERS: 8250: remove website reference serial: core: Fix port mutex assert if lockdep disabled serial: 8250_dw: fix wrong logic in dw8250_check_lcr() tty: vt, finish looping on duplicate tty: vt, return error when con_startup fails QE-UART: add "fsl,t1040-ucc-uart" to of_device_id serial: mctrl_gpio: Drop support for out1-gpios and out2-gpios serial: 8250dw: Add device HID for future AMD UART controller Fix OpenSSH pty regression on close serial: mctrl_gpio: add IRQ locking serial: 8250: Integrate Fintek into 8250_base serial: mps2-uart: add support for early console serial: mps2-uart: add MPS2 UART driver dt-bindings: document the MPS2 UART bindings serial: sirf: Use generic uart-has-rtscts DT property serial: sirf: Introduce helper variable struct device_node *np serial: mxs-auart: Use generic uart-has-rtscts DT property serial: imx: Use generic uart-has-rtscts DT property doc: DT: Add Generic Serial Device Tree Bindings serial: 8250: of: Make tegra_serial_handle_break() static ...
- Loading branch information
Showing
104 changed files
with
2,528 additions
and
1,174 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
Documentation/devicetree/bindings/serial/arm,mps2-uart.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
ARM MPS2 UART | ||
|
||
Required properties: | ||
- compatible : Should be "arm,mps2-uart" | ||
- reg : Address and length of the register set | ||
- interrupts : Reference to the UART RX, TX and overrun interrupts | ||
|
||
Required clocking property: | ||
- clocks : The input clock of the UART | ||
|
||
|
||
Examples: | ||
|
||
uart0: serial@40004000 { | ||
compatible = "arm,mps2-uart"; | ||
reg = <0x40004000 0x1000>; | ||
interrupts = <0 1 12>; | ||
clocks = <&sysclk>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 12 additions & 4 deletions
16
Documentation/devicetree/bindings/serial/fsl-mxs-auart.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
Generic Serial DT Bindings | ||
|
||
This document lists a set of generic properties for describing UARTs in a | ||
device tree. Whether these properties apply to a particular device depends on | ||
the DT bindings for the actual device. | ||
|
||
Optional properties: | ||
- cts-gpios: Must contain a GPIO specifier, referring to the GPIO pin to be | ||
used as the UART's CTS line. | ||
- dcd-gpios: Must contain a GPIO specifier, referring to the GPIO pin to be | ||
used as the UART's DCD line. | ||
- dsr-gpios: Must contain a GPIO specifier, referring to the GPIO pin to be | ||
used as the UART's DSR line. | ||
- dtr-gpios: Must contain a GPIO specifier, referring to the GPIO pin to be | ||
used as the UART's DTR line. | ||
- rng-gpios: Must contain a GPIO specifier, referring to the GPIO pin to be | ||
used as the UART's RNG line. | ||
- rts-gpios: Must contain a GPIO specifier, referring to the GPIO pin to be | ||
used as the UART's RTS line. | ||
|
||
- uart-has-rtscts: The presence of this property indicates that the | ||
UART has dedicated lines for RTS/CTS hardware flow control, and that | ||
they are available for use (wired and enabled by pinmux configuration). | ||
This depends on both the UART hardware and the board wiring. | ||
Note that this property is mutually-exclusive with "cts-gpios" and | ||
"rts-gpios" above. | ||
|
||
|
||
Examples: | ||
|
||
uart1: serial@48022000 { | ||
compatible = "ti,am3352-uart", "ti,omap3-uart"; | ||
ti,hwmods = "uart2"; | ||
clock-frequency = <48000000>; | ||
reg = <0x48022000 0x2000>; | ||
interrupts = <73>; | ||
dmas = <&edma 28 0>, <&edma 29 0>; | ||
dma-names = "tx", "rx"; | ||
dtr-gpios = <&gpio2 22 GPIO_ACTIVE_LOW>; | ||
dsr-gpios = <&gpio2 23 GPIO_ACTIVE_LOW>; | ||
dcd-gpios = <&gpio2 24 GPIO_ACTIVE_LOW>; | ||
rng-gpios = <&gpio2 25 GPIO_ACTIVE_LOW>; | ||
cts-gpios = <&gpio0 12 GPIO_ACTIVE_LOW>; | ||
rts-gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; | ||
status = "okay"; | ||
}; | ||
|
||
scifa4: serial@e6c80000 { | ||
compatible = "renesas,scifa-sh73a0", "renesas,scifa"; | ||
reg = <0xe6c80000 0x100>; | ||
interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>; | ||
clocks = <&mstp2_clks SH73A0_CLK_SCIFA4>; | ||
clock-names = "fck"; | ||
power-domains = <&pd_a3sp>; | ||
uart-has-rtscts; | ||
status = "okay"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -175,7 +175,6 @@ F: drivers/net/ethernet/realtek/r8169.c | |
8250/16?50 (AND CLONE UARTS) SERIAL DRIVER | ||
M: Greg Kroah-Hartman <[email protected]> | ||
L: [email protected] | ||
W: http://serial.sourceforge.net | ||
S: Maintained | ||
T: git git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git | ||
F: drivers/tty/serial/8250* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.