From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Shiyan Subject: [PATCH 3/3] spi: clps711x: dts: Add bindings documentation for the CLPS711X SPI driver Date: Sat, 20 Sep 2014 11:05:36 +0400 Message-ID: <1411196736-5019-1-git-send-email-shc_work@mail.ru> Return-path: Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Cc: Mark Brown , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Alexander Shiyan List-Id: devicetree@vger.kernel.org This patch adds the devicetree documentation for the Cirrus Logic CLPS711X SPI driver. Signed-off-by: Alexander Shiyan --- .../devicetree/bindings/spi/spi-clps711x.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Documentation/devicetree/bindings/spi/spi-clps711x.txt diff --git a/Documentation/devicetree/bindings/spi/spi-clps711x.txt b/Documentation/devicetree/bindings/spi/spi-clps711x.txt new file mode 100644 index 0000000..43712c0 --- /dev/null +++ b/Documentation/devicetree/bindings/spi/spi-clps711x.txt @@ -0,0 +1,20 @@ +* Cirrus Logic ARM CLPS711X Serial Peripheral Interface (SPI) + +Required properties: +- compatible: Shall contain "cirrus,clps711x-spi". +- reg: Offset and length of the register set for the device. +- interrupts: Should contain SPI interrupt. +- clocks: phandle to SPI reference clock. +- cs-gpios: Specifies the GPIO pins to be used for chipselects. + +Example: + spi: spi@80000500 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "cirrus,ep7312-spi", "cirrus,clps711x-spi"; + reg = <0x80000500 0x4>; + interrupts = <15>; + clocks = <&clks CLPS711X_CLK_SPIREF>; + cs-gpios = <&portb 4 GPIO_ACTIVE_LOW>, + <&portb 5 GPIO_ACTIVE_LOW>; + }; -- 1.8.5.5 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html