linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv2 1/3] bindings: spi: Add devicetree binding for spi-xilinx
@ 2016-03-09  8:47 Shubhrajyoti Datta
       [not found] ` <1457513242-11202-1-git-send-email-shubhraj-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 10+ messages in thread
From: Shubhrajyoti Datta @ 2016-03-09  8:47 UTC (permalink / raw)
  To: linux-spi-u79uwXL29TY76Z2rM5mHXA
  Cc: soren.brinkmann-gjFFaj9aHVfQT0dZR+AlfA,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	michal.simek-gjFFaj9aHVfQT0dZR+AlfA,
	broonie-DgEjT+Ai2ygdnm+yROfE0A, Shubhrajyoti Datta

Add a binding document for the spi/spi-xilinx

Signed-off-by: Shubhrajyoti Datta <shubhraj-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
---
 .../devicetree/bindings/spi/spi-xilinx.txt         |   22 ++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)
 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 0000000..c7b7856
--- /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>;
+	};
+
-- 
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-03-17 16:46 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-09  8:47 [PATCHv2 1/3] bindings: spi: Add devicetree binding for spi-xilinx Shubhrajyoti Datta
     [not found] ` <1457513242-11202-1-git-send-email-shubhraj-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
2016-03-09  8:47   ` [PATCHv2 2/3] spi/spi-xilinx: Add clock support Shubhrajyoti Datta
     [not found]     ` <1457513242-11202-2-git-send-email-shubhraj-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
2016-03-10  3:29       ` Mark Brown
     [not found]         ` <20160310032948.GI3898-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2016-03-10 11:20           ` Shubhrajyoti Datta
2016-03-09  8:47   ` [PATCHv2 3/3] bindings: spi: Add clock entries for spi-xilinx Shubhrajyoti Datta
2016-03-10  3:30   ` [PATCHv2 1/3] bindings: spi: Add devicetree binding " Mark Brown
     [not found]     ` <20160310033027.GJ3898-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2016-03-17 16:43       ` Rob Herring
2016-03-17 16:46         ` Mark Brown
2016-03-10  3:39   ` Applied "spi: xilinx: Add devicetree binding for spi-xilinx" to the spi tree Mark Brown
2016-03-17 16:32   ` [PATCHv2 1/3] bindings: spi: Add devicetree binding for spi-xilinx Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).