All of lore.kernel.org
 help / color / mirror / Atom feed
From: Masahisa Kojima <masahisa.kojima@linaro.org>
To: linux-spi@vger.kernel.org, devicetree@vger.kernel.org
Cc: broonie@kernel.org, geert@linux-m68k.org, tpiepho@impinj.com,
	andy.shevchenko@gmail.com, robh+dt@kernel.org,
	mark.rutland@arm.com, ard.biesheuvel@linaro.org,
	jaswinder.singh@linaro.org, masami.hiramatsu@linaro.org,
	okamoto.satoru@socionext.com, osaki.yoshitoyo@socionext.com,
	Masahisa Kojima <masahisa.kojima@linaro.org>
Subject: [PATCH v7 2/3] dt-bindings: spi: Add DT bindings for Synquacer
Date: Tue,  4 Jun 2019 14:12:56 +0900	[thread overview]
Message-ID: <20190604051257.14264-3-masahisa.kojima@linaro.org> (raw)
In-Reply-To: <20190604051257.14264-1-masahisa.kojima@linaro.org>

This patch adds documentation for Device-Tree bindings for the
Socionext Synquacer spi driver.

Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
---
 .../devicetree/bindings/spi/spi-synquacer.txt      | 27 ++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/spi/spi-synquacer.txt

diff --git a/Documentation/devicetree/bindings/spi/spi-synquacer.txt b/Documentation/devicetree/bindings/spi/spi-synquacer.txt
new file mode 100644
index 000000000000..291dfa692d0a
--- /dev/null
+++ b/Documentation/devicetree/bindings/spi/spi-synquacer.txt
@@ -0,0 +1,27 @@
+* Socionext Synquacer HS-SPI bindings
+
+Required Properties:
+- compatible: should be "socionext,synquacer-spi"
+- reg: physical base address of the controller and length of memory mapped
+       region.
+- interrupts: should contain the "spi_rx", "spi_tx" and "spi_fault" interrupts.
+- clocks: core clock iHCLK. Optional rate clock iPCLK (default is iHCLK)
+- clock-names: Shall be "iHCLK" and "iPCLK" respectively
+
+Optional Properties:
+- socionext,use-rtm: boolean, if required to use "retimed clock" for RX
+- socionext,set-aces: boolean, if same active clock edges field to be set.
+
+Example:
+
+	spi0: spi@ff110000 {
+		compatible = "socionext,synquacer-spi";
+		reg = <0xff110000 0x1000>;
+		interrupts = <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>;
+		clocks = <&clk_hsspi>;
+		clock-names = "iHCLK";
+		socionext,use-rtm;
+		socionext,set-aces;
+	};
-- 
2.14.2

  parent reply	other threads:[~2019-06-04  5:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-04  5:12 [PATCH v7 0/3] spi: support for Socionext Synquacer platform Masahisa Kojima
2019-06-04  5:12 ` [PATCH v7 1/3] MAINTAINERS: Add entry for Synquacer SPI driver Masahisa Kojima
2019-06-04 14:59   ` Applied "MAINTAINERS: Add entry for Synquacer SPI driver" to the spi tree Mark Brown
2019-06-04  5:12 ` Masahisa Kojima [this message]
2019-06-04 14:59   ` Applied "spi: Add DT bindings for Synquacer" " Mark Brown
2019-06-04  5:12 ` [PATCH v7 3/3] spi: Add spi driver for Socionext SynQuacer platform Masahisa Kojima
2019-06-04 14:59   ` Applied "spi: Add spi driver for Socionext SynQuacer platform" to the spi tree 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=20190604051257.14264-3-masahisa.kojima@linaro.org \
    --to=masahisa.kojima@linaro.org \
    --cc=andy.shevchenko@gmail.com \
    --cc=ard.biesheuvel@linaro.org \
    --cc=broonie@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=geert@linux-m68k.org \
    --cc=jaswinder.singh@linaro.org \
    --cc=linux-spi@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=masami.hiramatsu@linaro.org \
    --cc=okamoto.satoru@socionext.com \
    --cc=osaki.yoshitoyo@socionext.com \
    --cc=robh+dt@kernel.org \
    --cc=tpiepho@impinj.com \
    /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.