From: Rich Felker <dalias@libc.org>
To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-spi@vger.kernel.org, linux-sh@vger.kernel.org
Cc: Rob Herring <robh+dt@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
Mark Brown <broonie@kernel.org>
Subject: [PATCH v4 1/2] of: add J-Core SPI master bindings
Date: Tue, 17 May 2016 23:19:25 +0000 [thread overview]
Message-ID: <9813bf559ad89ca6fecc438d9176d634bbc122a0.1469686300.git.dalias@libc.org> (raw)
In-Reply-To: <cover.1469686300.git.dalias@libc.org>
Signed-off-by: Rich Felker <dalias@libc.org>
---
.../devicetree/bindings/spi/jcore,spi.txt | 30 ++++++++++++++++++++++
1 file changed, 30 insertions(+)
create mode 100644 Documentation/devicetree/bindings/spi/jcore,spi.txt
diff --git a/Documentation/devicetree/bindings/spi/jcore,spi.txt b/Documentation/devicetree/bindings/spi/jcore,spi.txt
new file mode 100644
index 0000000..815106d
--- /dev/null
+++ b/Documentation/devicetree/bindings/spi/jcore,spi.txt
@@ -0,0 +1,30 @@
+J-Core SPI master
+
+Required properties:
+
+- compatible: Must be "jcore,spi2".
+
+- reg: Memory region for registers.
+
+- #address-cells: Must be 1.
+
+- #size-cells: Must be 0.
+
+Optional properties:
+
+- clock-frequency: Specifies an input clock frequency relative to
+ which the SPI clock speed must be programmed. Necessary only if
+ the input clock rate is something other than 50 MHz.
+
+See spi-bus.txt for additional properties not specific to this device.
+
+Example:
+
+spi@40 {
+ compatible = "jcore,spi2";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ reg = <0x40 0x8>;
+ spi-max-frequency = <25000000>;
+ clock-frequency = <50000000>;
+}
--
2.8.1
next prev parent reply other threads:[~2016-07-28 6:13 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-28 6:11 [PATCH v4 0/2] J-Core SPI controller support Rich Felker
2016-04-03 5:12 ` [PATCH v4 2/2] spi: add driver for J-Core SPI controller Rich Felker
2016-07-28 19:11 ` Mark Brown
2016-07-28 19:40 ` Rich Felker
2016-07-28 19:51 ` Mark Brown
2016-07-30 3:34 ` Rich Felker
2016-08-01 18:12 ` Mark Brown
2016-08-02 1:45 ` Rich Felker
2016-08-02 18:11 ` Rob Landley
2016-08-04 13:05 ` Geert Uytterhoeven
2016-08-04 17:03 ` Rich Felker
2016-05-17 23:19 ` Rich Felker [this message]
2016-07-29 20:58 ` [PATCH v4 1/2] of: add J-Core SPI master bindings Rob Herring
2016-08-02 22:00 ` Rich Felker
2016-08-02 22:41 ` Rob Herring
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=9813bf559ad89ca6fecc438d9176d634bbc122a0.1469686300.git.dalias@libc.org \
--to=dalias@libc.org \
--cc=broonie@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sh@vger.kernel.org \
--cc=linux-spi@vger.kernel.org \
--cc=mark.rutland@arm.com \
--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
all inboxes | Powered by JetHome®