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

spi: Add devicetree bindings documentation for Cadence SPI

Add spi-cadence bindings documentation.

Signed-off-by: Harini Katakam <harinik@xilinx.com>
Signed-off-by: Mark Brown <broonie@linaro.org>

authored by

Harini Katakam and committed by
Mark Brown
205d5275 c474b386

+31
+31
Documentation/devicetree/bindings/spi/spi-cadence.txt
··· 1 + Cadence SPI controller Device Tree Bindings 2 + ------------------------------------------- 3 + 4 + Required properties: 5 + - compatible : Should be "cdns,spi-r1p6" or "xlnx,zynq-spi-r1p6". 6 + - reg : Physical base address and size of SPI registers map. 7 + - interrupts : Property with a value describing the interrupt 8 + number. 9 + - interrupt-parent : Must be core interrupt controller 10 + - clock-names : List of input clock names - "ref_clk", "pclk" 11 + (See clock bindings for details). 12 + - clocks : Clock phandles (see clock bindings for details). 13 + 14 + Optional properties: 15 + - num-cs : Number of chip selects used. 16 + If a decoder is used, this will be the number of 17 + chip selects after the decoder. 18 + - is-decoded-cs : Flag to indicate whether decoder is used or not. 19 + 20 + Example: 21 + 22 + spi@e0007000 { 23 + compatible = "xlnx,zynq-spi-r1p6"; 24 + clock-names = "ref_clk", "pclk"; 25 + clocks = <&clkc 26>, <&clkc 35>; 26 + interrupt-parent = <&intc>; 27 + interrupts = <0 49 4>; 28 + num-cs = <4>; 29 + is-decoded-cs = <0>; 30 + reg = <0xe0007000 0x1000>; 31 + } ;