All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Shiyan <shc_work-JGs/UdohzUI@public.gmane.org>
To: linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: Mark Brown <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Alexander Shiyan <shc_work-JGs/UdohzUI@public.gmane.org>
Subject: [PATCH 2/2] spi: clps711x: dts: Add bindings documentation for the CLPS711X SPI
Date: Wed,  1 Jan 2014 10:10:09 +0400	[thread overview]
Message-ID: <1388556609-11040-1-git-send-email-shc_work@mail.ru> (raw)

This patch adds the devicetree documentation for the
Cirrus Logic CLPS711X SPI.

Signed-off-by: Alexander Shiyan <shc_work-JGs/UdohzUI@public.gmane.org>
---
 .../devicetree/bindings/spi/spi-clps711x.txt       | 22 ++++++++++++++++++++++
 1 file changed, 22 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..aa16903
--- /dev/null
+++ b/Documentation/devicetree/bindings/spi/spi-clps711x.txt
@@ -0,0 +1,22 @@
+* ARM CLPS711X Serial Peripheral Interface (SPI)
+
+Required properties:
+- compatible: Should be "cirrus,clps711x-spi".
+- reg: Offset and length of the register set for the device.
+- interrupts: Should contain SPI interrupt.
+- clocks: Phandle to SPI clock.
+- syscon: Phandle to SYSCON node used for SPI control (SYSCON3).
+- cs-gpios: Specifies the GPIO pins to be used for chipselects.
+
+Example:
+	spi: spi@80000500 {
+		compatible = "cirrus,clps711x-spi";
+		reg = <0x80000500 0x4>;
+		interrupts = <15>;
+		clocks = <&clks 10>;
+		syscon = <&syscon3>;
+		#address-cells = <1>;
+		#size-cells = <0>;
+		cs-gpios = <&portb 4 GPIO_ACTIVE_LOW>,
+			   <&portb 5 GPIO_ACTIVE_LOW>;
+	};
-- 
1.8.3.2

--
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

WARNING: multiple messages have this Message-ID (diff)
From: shc_work@mail.ru (Alexander Shiyan)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/2] spi: clps711x: dts: Add bindings documentation for the CLPS711X SPI
Date: Wed,  1 Jan 2014 10:10:09 +0400	[thread overview]
Message-ID: <1388556609-11040-1-git-send-email-shc_work@mail.ru> (raw)

This patch adds the devicetree documentation for the
Cirrus Logic CLPS711X SPI.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
---
 .../devicetree/bindings/spi/spi-clps711x.txt       | 22 ++++++++++++++++++++++
 1 file changed, 22 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..aa16903
--- /dev/null
+++ b/Documentation/devicetree/bindings/spi/spi-clps711x.txt
@@ -0,0 +1,22 @@
+* ARM CLPS711X Serial Peripheral Interface (SPI)
+
+Required properties:
+- compatible: Should be "cirrus,clps711x-spi".
+- reg: Offset and length of the register set for the device.
+- interrupts: Should contain SPI interrupt.
+- clocks: Phandle to SPI clock.
+- syscon: Phandle to SYSCON node used for SPI control (SYSCON3).
+- cs-gpios: Specifies the GPIO pins to be used for chipselects.
+
+Example:
+	spi: spi at 80000500 {
+		compatible = "cirrus,clps711x-spi";
+		reg = <0x80000500 0x4>;
+		interrupts = <15>;
+		clocks = <&clks 10>;
+		syscon = <&syscon3>;
+		#address-cells = <1>;
+		#size-cells = <0>;
+		cs-gpios = <&portb 4 GPIO_ACTIVE_LOW>,
+			   <&portb 5 GPIO_ACTIVE_LOW>;
+	};
-- 
1.8.3.2

             reply	other threads:[~2014-01-01  6:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-01  6:10 Alexander Shiyan [this message]
2014-01-01  6:10 ` [PATCH 2/2] spi: clps711x: dts: Add bindings documentation for the CLPS711X SPI Alexander Shiyan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1388556609-11040-1-git-send-email-shc_work@mail.ru \
    --to=shc_work-jgs/udohzui@public.gmane.org \
    --cc=broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.