Merge tag 'dlm-3.8' of git://git.kernel.org/pub/scm/linux/kernel/git/teigland/linux-dlm
[cascardo/linux.git] / Documentation / devicetree / bindings / spi / spi_pl022.txt
1 ARM PL022 SPI controller
2
3 Required properties:
4 - compatible : "arm,pl022", "arm,primecell"
5 - reg : Offset and length of the register set for the device
6 - interrupts : Should contain SPI controller interrupt
7
8 Optional properties:
9 - num-cs : total number of chipselects
10 - cs-gpios : should specify GPIOs used for chipselects.
11   The gpios will be referred to as reg = <index> in the SPI child nodes.
12   If unspecified, a single SPI device without a chip select can be used.
13 - pl022,autosuspend-delay : delay in ms following transfer completion before
14                             the runtime power management system suspends the
15                             device. A setting of 0 indicates no delay and the
16                             device will be suspended immediately
17 - pl022,rt : indicates the controller should run the message pump with realtime
18              priority to minimise the transfer latency on the bus (boolean)
19
20
21 SPI slave nodes must be children of the SPI master node and can
22 contain the following properties.
23
24 - pl022,interface : interface type:
25         0: SPI
26         1: Texas Instruments Synchronous Serial Frame Format
27         2: Microwire (Half Duplex)
28 - pl022,com-mode : polling, interrupt or dma
29 - pl022,rx-level-trig : Rx FIFO watermark level
30 - pl022,tx-level-trig : Tx FIFO watermark level
31 - pl022,ctrl-len : Microwire interface: Control length
32 - pl022,wait-state : Microwire interface: Wait state
33 - pl022,duplex : Microwire interface: Full/Half duplex
34