devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: matthew.gerlach-VuQAYsv1563Yd54FQh9/CA@public.gmane.org
To: vndao-EIB2kfCEclfQT0dZR+AlfA@public.gmane.org,
	dwmw2-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org,
	computersforpeace-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
	boris.brezillon-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org,
	marek.vasut-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
	richard-/L3Ra7n9ekc@public.gmane.org,
	cyrille.pitchen-yU5RGvR974pGWvitb5QawA@public.gmane.org,
	robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
	mark.rutland-5wv7dgnIgG8@public.gmane.org,
	linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org,
	davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org,
	mchehab-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org
Cc: Matthew Gerlach
	<matthew.gerlach-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
Subject: [PATCH 1/3] ARM: dts: Bindings for Altera Quadspi Controller Version 2
Date: Mon, 26 Jun 2017 09:13:37 -0700	[thread overview]
Message-ID: <1498493619-4633-2-git-send-email-matthew.gerlach@linux.intel.com> (raw)
In-Reply-To: <1498493619-4633-1-git-send-email-matthew.gerlach-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>

From: Matthew Gerlach <matthew.gerlach-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>

Device Tree bindings for Version 2 of the Altera Quadspi Controller
that can be optionally paired with a windowed bridge.

Signed-off-by: Matthew Gerlach <matthew.gerlach-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
---
 .../devicetree/bindings/mtd/altera-quadspi-v2.txt  | 37 ++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/mtd/altera-quadspi-v2.txt

diff --git a/Documentation/devicetree/bindings/mtd/altera-quadspi-v2.txt b/Documentation/devicetree/bindings/mtd/altera-quadspi-v2.txt
new file mode 100644
index 0000000..8ba63d7
--- /dev/null
+++ b/Documentation/devicetree/bindings/mtd/altera-quadspi-v2.txt
@@ -0,0 +1,37 @@
+* Altera Quad SPI Controller Version 2
+
+Required properties:
+- compatible : Should be "altr,quadspi-v2".
+- reg : Contains at least two entries, and possibly three entries, each of
+	which is a tuple consisting of a physical address and length.
+- reg-names : Should contain the names "avl_csr" and "avl_mem" corresponding
+	      to the control and status registers and qspi memory, respectively.
+
+
+The Altera Quad SPI Controller Version 2 can be paired with a windowed bridge
+in order to reduce the footprint of the memory interface.  When a windowed
+bridge is used, reads and writes of data must be 32 bits wide.
+
+Optional properties:
+- reg-names : Should contain the name "avl_window", if the windowed bridge
+	      is used.  This name corresponds to the register space that
+	      controls the window.
+- window-size : The size of the window which must be an even power of 2.
+- read-bit-reverse : A boolean indicating the data read from the flash should
+		     be bit reversed on a byte by byte basis before being
+		     delivered to the MTD layer.
+- write-bit-reverse : A boolean indicating the data written to the flash should
+		      be bit reversed on a byte by byte basis.
+
+Example:
+
+qspi: spi@a0001000 {
+	compatible = "altr,quadspi-v2";
+	reg = <0xa0001000 0x40>, <0xb0000000 0x4000000>;
+	reg-names = "avl_csr", "avl_mem";
+
+	flash@0 {
+		reg = <0>;
+		label = "FPGA Image";
+	};
+};
-- 
2.7.4

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2017-06-26 16:13 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-26 16:13 [PATCH 0/3] Altera Quadspi Controller Version 2 matthew.gerlach-VuQAYsv1563Yd54FQh9/CA
     [not found] ` <1498493619-4633-1-git-send-email-matthew.gerlach-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2017-06-26 16:13   ` matthew.gerlach-VuQAYsv1563Yd54FQh9/CA [this message]
     [not found]     ` <1498493619-4633-2-git-send-email-matthew.gerlach-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2017-06-27  9:37       ` [PATCH 1/3] ARM: dts: Bindings for " Marek Vasut
     [not found]         ` <0bfc282d-2aec-8f36-1528-312f7ded8d9c-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-06-27 14:32           ` matthew.gerlach-VuQAYsv1563Yd54FQh9/CA
2017-06-27 15:01             ` Marek Vasut
     [not found]               ` <0ca53c35-732c-a122-8191-6d102e824d52-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-06-27 15:57                 ` matthew.gerlach-VuQAYsv1563Yd54FQh9/CA
2017-06-27 16:15                   ` Marek Vasut
     [not found]                     ` <a7e3bb21-6e05-4117-0a25-8782a75b93ad-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-06-27 17:18                       ` matthew.gerlach-VuQAYsv1563Yd54FQh9/CA
2017-06-27 17:52                         ` Marek Vasut
     [not found]                           ` <510a1968-3e5c-8621-a2f1-116cfe8f6eac-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-06-27 19:32                             ` matthew.gerlach-VuQAYsv1563Yd54FQh9/CA
2017-06-27 19:56                               ` Marek Vasut
2017-06-28 23:09                   ` Rob Herring
2017-06-29  9:43                     ` Marek Vasut
     [not found]                       ` <5bd89165-3e42-9db4-321d-5f3df35922ce-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-06-29 15:03                         ` matthew.gerlach-VuQAYsv1563Yd54FQh9/CA
2017-06-29 15:38                           ` Marek Vasut
2017-06-28 23:14       ` Rob Herring
2017-06-26 16:13 ` [PATCH 2/3] mtd: spi-nor: core code for the Altera Quadspi Flash Controller v2 matthew.gerlach
     [not found]   ` <1498493619-4633-3-git-send-email-matthew.gerlach-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2017-06-27  9:30     ` kbuild test robot
2017-06-27  9:48   ` Marek Vasut
2017-06-27 14:57     ` matthew.gerlach
2017-06-27 16:19       ` Marek Vasut
2017-06-27 17:26         ` matthew.gerlach
2017-06-27 17:55           ` Marek Vasut
2017-06-27 19:44             ` matthew.gerlach
2017-07-04  0:00   ` Cyrille Pitchen
2017-07-04 10:38     ` Michal Suchanek
     [not found]     ` <54a6cd9d-8d4a-8d22-26e7-b5e0f8df0f5b-yU5RGvR974pGWvitb5QawA@public.gmane.org>
2017-07-05 14:34       ` matthew.gerlach-VuQAYsv1563Yd54FQh9/CA
2017-06-26 16:13 ` [PATCH 3/3] mtd: spi-nor: Altera Quadspi Flash Controller v2 Platform driver matthew.gerlach
2017-06-27  9:49   ` Marek Vasut
2017-06-27 15:15     ` matthew.gerlach
2017-06-27 16:21       ` Marek Vasut
     [not found]         ` <5f0e2ddd-d329-cb3d-01bc-c101247281a7-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-06-27 17:38           ` matthew.gerlach-VuQAYsv1563Yd54FQh9/CA
     [not found]   ` <1498493619-4633-4-git-send-email-matthew.gerlach-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2017-06-27 10:55     ` kbuild test robot

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=1498493619-4633-2-git-send-email-matthew.gerlach@linux.intel.com \
    --to=matthew.gerlach-vuqaysv1563yd54fqh9/ca@public.gmane.org \
    --cc=boris.brezillon-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org \
    --cc=computersforpeace-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=cyrille.pitchen-yU5RGvR974pGWvitb5QawA@public.gmane.org \
    --cc=davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=dwmw2-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org \
    --cc=gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=marek.vasut-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=mark.rutland-5wv7dgnIgG8@public.gmane.org \
    --cc=mchehab-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=richard-/L3Ra7n9ekc@public.gmane.org \
    --cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=vndao-EIB2kfCEclfQT0dZR+AlfA@public.gmane.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).