Linux Kernels

spi: xilinx: Add devicetree binding for spi-xilinx

This change “spi: xilinx: Add devicetree binding for spi-xilinx” (commit 82b3aea) in Linux kernel is authored by Shubhrajyoti Datta <shubhrajyoti.datta [at] xilinx.com> on Wed Mar 9 14:17:20 2016 +0530.

Description of "spi: xilinx: Add devicetree binding for spi-xilinx"

The change “spi: xilinx: Add devicetree binding for spi-xilinx” introduces changes as follows.

spi: xilinx: Add devicetree binding for spi-xilinx

Add a binding document for the spi/spi-xilinx

Signed-off-by: Shubhrajyoti Datta <shubhraj@xilinx.com>
Signed-off-by: Mark Brown <broonie@kernel.org>

Linux kernel releases containing commit 82b3aea

The Linux kernel releases containing this commit are as follows.

Linux kernel code changes from "spi: xilinx: Add devicetree binding for spi-xilinx"

There are 22 lines of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 .../devicetree/bindings/spi/spi-xilinx.txt    | 22 +++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/spi/spi-xilinx.txt
 
diff --git a/Documentation/devicetree/bindings/spi/spi-xilinx.txt b/Documentation/devicetree/bindings/spi/spi-xilinx.txt
new file mode 100644
index 000000000000..c7b7856bd528
--- /dev/null
+++ b/Documentation/devicetree/bindings/spi/spi-xilinx.txt
@@ -0,0 +1,22 @@
+Xilinx SPI controller Device Tree Bindings
+-------------------------------------------------
+
+Required properties:
+- compatible		: Should be "xlnx,xps-spi-2.00.a" or "xlnx,xps-spi-2.00.b"
+- reg			: Physical base address and size of SPI registers map.
+- interrupts		: Property with a value describing the interrupt
+			  number.
+- interrupt-parent	: Must be core interrupt controller
+
+Optional properties:
+- xlnx,num-ss-bits	: Number of chip selects used.
+
+Example:
+	axi_quad_spi@41e00000 {
+			compatible = "xlnx,xps-spi-2.00.a";
+			interrupt-parent = <&intc>;
+			interrupts = <0 31 1>;
+			reg = <0x41e00000 0x10000>;
+			xlnx,num-ss-bits = <0x1>;
+	};
+

The commit for this change in Linux stable tree is 82b3aea (patch).

Last modified: 2020/01/11 09:52