Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

serial: sc16is7xx: Add bindings documentation for the SC16IS7XX UARTs

This patch adds the devicetree documentation for the NXP SC16IS7XX UARTs.

Signed-off-by: Jon Ringle <jringle@gridpoint.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Jon Ringle and committed by
Greg Kroah-Hartman
89054c7b dfeae619

+33
+33
Documentation/devicetree/bindings/serial/nxp,sc16is7xx.txt
··· 1 + * NXP SC16IS7xx advanced Universal Asynchronous Receiver-Transmitter (UART) 2 + 3 + Required properties: 4 + - compatible: Should be one of the following: 5 + - "nxp,sc16is740" for NXP SC16IS740, 6 + - "nxp,sc16is741" for NXP SC16IS741, 7 + - "nxp,sc16is750" for NXP SC16IS750, 8 + - "nxp,sc16is752" for NXP SC16IS752, 9 + - "nxp,sc16is760" for NXP SC16IS760, 10 + - "nxp,sc16is762" for NXP SC16IS762. 11 + - reg: I2C address of the SC16IS7xx device. 12 + - interrupt-parent: The phandle for the interrupt controller that 13 + services interrupts for this IC. 14 + - interrupts: Should contain the UART interrupt 15 + - clocks: Reference to the IC source clock. 16 + 17 + Optional properties: 18 + - gpio-controller: Marks the device node as a GPIO controller. 19 + - #gpio-cells: Should be two. The first cell is the GPIO number and 20 + the second cell is used to specify the GPIO polarity: 21 + 0 = active high, 22 + 1 = active low. 23 + 24 + Example: 25 + sc16is750: sc16is750@51 { 26 + compatible = "nxp,sc16is750"; 27 + reg = <0x51>; 28 + clocks = <&clk20m>; 29 + interrupt-parent = <&gpio3>; 30 + interrupts = <7 IRQ_TYPE_EDGE_FALLING>; 31 + gpio-controller; 32 + #gpio-cells = <2>; 33 + };