From: Alban Bedel <albeu@free.fr>
To: linux-spi@vger.kernel.org
Cc: Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>,
Mark Rutland <mark.rutland@arm.com>,
Ian Campbell <ijc+devicetree@hellion.org.uk>,
Kumar Gala <galak@codeaurora.org>,
Ralf Baechle <ralf@linux-mips.org>,
Mark Brown <broonie@kernel.org>, Alban Bedel <albeu@free.fr>,
Gabor Juhos <juhosg@openwrt.org>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-mips@linux-mips.org
Subject: [PATCH 1/4] devicetree: add binding documentation for the AR7100 SPI controller
Date: Fri, 24 Apr 2015 16:19:21 +0200 [thread overview]
Message-ID: <1429885164-28501-2-git-send-email-albeu@free.fr> (raw)
In-Reply-To: <1429885164-28501-1-git-send-email-albeu@free.fr>
Signed-off-by: Alban Bedel <albeu@free.fr>
---
.../devicetree/bindings/spi/spi-ath79.txt | 24 ++++++++++++++++++++++
1 file changed, 24 insertions(+)
create mode 100644 Documentation/devicetree/bindings/spi/spi-ath79.txt
diff --git a/Documentation/devicetree/bindings/spi/spi-ath79.txt b/Documentation/devicetree/bindings/spi/spi-ath79.txt
new file mode 100644
index 0000000..f1ad9c3
--- /dev/null
+++ b/Documentation/devicetree/bindings/spi/spi-ath79.txt
@@ -0,0 +1,24 @@
+Binding for Qualcomm Atheros AR7xxx/AR9xxx SPI controller
+
+Required properties:
+- compatible: has to be "qca,<soc-type>-spi", "qca,ar7100-spi" as fallback.
+- reg: Base address and size of the controllers memory area
+- clocks: phandle to the AHB clock.
+- clock-names: has to be "ahb".
+- #address-cells: <1>, as required by generic SPI binding.
+- #size-cells: <0>, also as required by generic SPI binding.
+
+Child nodes as per the generic SPI binding.
+
+Example:
+
+ spi@1F000000 {
+ compatible = "qca,ar9132-spi", "qca,ar7100-spi";
+ reg = <0x1F000000 0x10>;
+
+ clocks = <&pll 2>;
+ clock-names = "ahb";
+
+ #address-cells = <1>;
+ #size-cells = <0>;
+ };
--
2.0.0
next prev parent reply other threads:[~2015-04-24 14:19 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-24 14:19 [PATCH 0/4] spi: spi-ath79: Devicetree support and misc fixes Alban Bedel
2015-04-24 14:19 ` Alban Bedel [this message]
[not found] ` <1429885164-28501-2-git-send-email-albeu-GANU6spQydw@public.gmane.org>
2015-04-24 17:37 ` [PATCH 1/4] devicetree: add binding documentation for the AR7100 SPI controller Sergei Shtylyov
[not found] ` <553A7F62.80108-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
2015-05-07 21:18 ` [PATCH] devicetree: Misc fix for the AR7100 SPI controller binding Alban Bedel
2015-04-24 14:19 ` [PATCH 3/4] spi: spi-ath79: Use clk_prepare_enable and clk_disable_unprepare Alban Bedel
2015-04-24 14:19 ` [PATCH 4/4] spi: spi-ath79: Set the initial state of CS0 Alban Bedel
[not found] ` <1429885164-28501-1-git-send-email-albeu-GANU6spQydw@public.gmane.org>
2015-04-24 14:19 ` [PATCH 2/4] spi: spi-ath79: Add device tree support Alban Bedel
2015-04-24 17:58 ` [PATCH 0/4] spi: spi-ath79: Devicetree support and misc fixes Mark Brown
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=1429885164-28501-2-git-send-email-albeu@free.fr \
--to=albeu@free.fr \
--cc=broonie@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=galak@codeaurora.org \
--cc=ijc+devicetree@hellion.org.uk \
--cc=juhosg@openwrt.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@linux-mips.org \
--cc=linux-spi@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=pawel.moll@arm.com \
--cc=ralf@linux-mips.org \
--cc=robh+dt@kernel.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 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).