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

sc16is7xx: spi interface documentation

Updated the documentation for spi interface.

Signed-off-by: Rama Kiran Kumar Indrakanti <indrakanti_ram@hotmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Rama Kiran Kumar Indrakanti and committed by
Greg Kroah-Hartman
8f4a9120 2c837a8a

+37
+37
Documentation/devicetree/bindings/serial/nxp,sc16is7xx.txt
··· 1 1 * NXP SC16IS7xx advanced Universal Asynchronous Receiver-Transmitter (UART) 2 + * i2c as bus 2 3 3 4 Required properties: 4 5 - compatible: Should be one of the following: ··· 32 31 gpio-controller; 33 32 #gpio-cells = <2>; 34 33 }; 34 + 35 + * spi as bus 36 + 37 + Required properties: 38 + - compatible: Should be one of the following: 39 + - "nxp,sc16is740" for NXP SC16IS740, 40 + - "nxp,sc16is741" for NXP SC16IS741, 41 + - "nxp,sc16is750" for NXP SC16IS750, 42 + - "nxp,sc16is752" for NXP SC16IS752, 43 + - "nxp,sc16is760" for NXP SC16IS760, 44 + - "nxp,sc16is762" for NXP SC16IS762. 45 + - reg: SPI chip select number. 46 + - interrupt-parent: The phandle for the interrupt controller that 47 + services interrupts for this IC. 48 + - interrupts: Specifies the interrupt source of the parent interrupt 49 + controller. The format of the interrupt specifier depends on the 50 + parent interrupt controller. 51 + - clocks: phandle to the IC source clock. 52 + 53 + Optional properties: 54 + - gpio-controller: Marks the device node as a GPIO controller. 55 + - #gpio-cells: Should be two. The first cell is the GPIO number and 56 + the second cell is used to specify the GPIO polarity: 57 + 0 = active high, 58 + 1 = active low. 59 + 60 + Example: 61 + sc16is750: sc16is750@0 { 62 + compatible = "nxp,sc16is750"; 63 + reg = <0>; 64 + clocks = <&clk20m>; 65 + interrupt-parent = <&gpio3>; 66 + interrupts = <7 IRQ_TYPE_EDGE_FALLING>; 67 + gpio-controller; 68 + #gpio-cells = <2>; 69 + };