Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1451737

[PATCH v4 1/2] of: add J-Core SPI master bindings

From Rich Felker <dalias@libc.org>
Newsgroups linux.kernel
Subject [PATCH v4 1/2] of: add J-Core SPI master bindings
Date 2016-07-28 08:20 +0200
Message-ID <rZMPM-2fO-3@gated-at.bofh.it> (permalink)
References <rZMPL-2fO-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v4 0/2] J-Core SPI controller support Rich Felker <dalias@libc.org> - 2016-07-28 08:20 +0200
  [PATCH v4 1/2] of: add J-Core SPI master bindings Rich Felker <dalias@libc.org> - 2016-07-28 08:20 +0200
    Re: [PATCH v4 1/2] of: add J-Core SPI master bindings Rob Herring <robh@kernel.org> - 2016-07-29 23:00 +0200
      Re: [PATCH v4 1/2] of: add J-Core SPI master bindings Rich Felker <dalias@libc.org> - 2016-08-03 00:10 +0200
        Re: [PATCH v4 1/2] of: add J-Core SPI master bindings Rob Herring <robh@kernel.org> - 2016-08-03 00:50 +0200
  [PATCH v4 2/2] spi: add driver for J-Core SPI controller Rich Felker <dalias@libc.org> - 2016-07-28 08:20 +0200
    Re: [PATCH v4 2/2] spi: add driver for J-Core SPI controller Mark Brown <broonie@kernel.org> - 2016-07-28 21:20 +0200
      Re: [PATCH v4 2/2] spi: add driver for J-Core SPI controller Rich Felker <dalias@libc.org> - 2016-07-28 21:50 +0200
        Re: [PATCH v4 2/2] spi: add driver for J-Core SPI controller Mark Brown <broonie@kernel.org> - 2016-07-28 22:00 +0200
          Re: [PATCH v4 2/2] spi: add driver for J-Core SPI controller Rich Felker <dalias@libc.org> - 2016-07-30 05:40 +0200
            Re: [PATCH v4 2/2] spi: add driver for J-Core SPI controller Mark Brown <broonie@kernel.org> - 2016-08-01 20:20 +0200
              Re: [PATCH v4 2/2] spi: add driver for J-Core SPI controller Rich Felker <dalias@libc.org> - 2016-08-02 03:50 +0200
                Re: [PATCH v4 2/2] spi: add driver for J-Core SPI controller Rob Landley <rob@landley.net> - 2016-08-02 20:20 +0200
            Re: [PATCH v4 2/2] spi: add driver for J-Core SPI controller Geert Uytterhoeven <geert@linux-m68k.org> - 2016-08-04 15:10 +0200
              Re: [PATCH v4 2/2] spi: add driver for J-Core SPI controller Rich Felker <dalias@libc.org> - 2016-08-04 19:10 +0200

csiph-web