From: Rich Felker <dalias@libc.org>
To: linux-spi@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-sh@vger.kernel.org
Cc: Mark Brown <broonie@kernel.org>, Rob Herring <robh+dt@kernel.org>,
Mark Rutland <mark.rutland@arm.com>
Subject: [PATCH v5 1/2] of: add J-Core SPI master bindings
Date: Tue, 17 May 2016 23:19:25 +0000 [thread overview]
Message-ID: <bc53c38fe100bd17b278dfb214eefea323a3ac4a.1470187592.git.dalias@libc.org> (raw)
In-Reply-To: <cover.1470187592.git.dalias@libc.org>
Signed-off-by: Rich Felker <dalias@libc.org>
---
.../devicetree/bindings/spi/jcore,spi.txt | 34 ++++++++++++++++++++++
1 file changed, 34 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..93936d1
--- /dev/null
+++ b/Documentation/devicetree/bindings/spi/jcore,spi.txt
@@ -0,0 +1,34 @@
+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:
+
+- clocks: If a phandle named "ref_clk" is present, SPI clock speed
+ programming is relative to the frequency of the indicated clock.
+ Necessary only if the input clock rate is something other than a
+ fixed 50 MHz.
+
+- clock-names: Clock names, one for each phandle in clocks.
+
+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>;
+ clocks = <&bus_clk>;
+ clock-names = "ref_clk";
+}
--
2.8.1
next prev parent reply other threads:[~2016-08-03 1:31 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-03 1:26 [PATCH v5 0/2] J-Core SPI controller support Rich Felker
2016-04-03 5:12 ` [PATCH v5 2/2] spi: add driver for J-Core SPI controller Rich Felker
2016-08-03 13:16 ` Rob Herring
2016-08-04 4:30 ` Rich Felker
2016-08-04 21:09 ` Applied "spi: add driver for J-Core SPI controller" to the spi tree Mark Brown
2016-05-17 23:19 ` Rich Felker [this message]
2016-08-04 21:09 ` Applied "spi: jcore: add J-Core SPI master bindings" " Mark Brown
2016-08-04 4:30 [PATCH v5 0/2] J-Core SPI controller support Rich Felker
2016-08-04 4:30 ` [PATCH v5 1/2] of: add J-Core SPI master bindings Rich Felker
2016-08-04 18:17 ` 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=bc53c38fe100bd17b278dfb214eefea323a3ac4a.1470187592.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
Powered by JetHome