linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Manish Narani <manish.narani@xilinx.com>
To: <robh+dt@kernel.org>, <mark.rutland@arm.com>,
	<catalin.marinas@arm.com>, <will.deacon@arm.com>,
	<michal.simek@xilinx.com>, <bp@alien8.de>, <mchehab@kernel.org>,
	<mdf@kernel.org>, <edgar.iglesias@xilinx.com>,
	<shubhrajyoti.datta@xilinx.com>,
	<naga.sureshkumar.relli@xilinx.com>,
	<bharat.kumar.gogada@xilinx.com>, <stefan.krsmanovic@aggios.com>
Cc: <sgoud@xilinx.com>, <anirudh@xilinx.com>,
	<linux-kernel@vger.kernel.org>, <devicetree@vger.kernel.org>,
	<linux-arm-kernel@lists.infradead.org>,
	<linux-edac@vger.kernel.org>,
	Manish Narani <manish.narani@xilinx.com>
Subject: [PATCH v4 2/4] dt: bindings: Document ZynqMP DDRC in Synopsys documentation
Date: Sat, 4 Aug 2018 14:55:33 +0530	[thread overview]
Message-ID: <1533374735-16662-3-git-send-email-manish.narani@xilinx.com> (raw)
In-Reply-To: <1533374735-16662-1-git-send-email-manish.narani@xilinx.com>

This patch adds information of ZynqMP DDRC which reports the single bit
errors that are corrected and the double bit errors that are detected.

Signed-off-by: Manish Narani <manish.narani@xilinx.com>
---
 .../bindings/memory-controllers/synopsys.txt       | 27 ++++++++++++++++++----
 1 file changed, 22 insertions(+), 5 deletions(-)

diff --git a/Documentation/devicetree/bindings/memory-controllers/synopsys.txt b/Documentation/devicetree/bindings/memory-controllers/synopsys.txt
index a43d26d..9d32762 100644
--- a/Documentation/devicetree/bindings/memory-controllers/synopsys.txt
+++ b/Documentation/devicetree/bindings/memory-controllers/synopsys.txt
@@ -1,15 +1,32 @@
 Binding for Synopsys IntelliDDR Multi Protocol Memory Controller
 
-This controller has an optional ECC support in half-bus width (16-bit)
-configuration. The ECC controller corrects one bit error and detects
-two bit errors.
+The ZynqMP DDR ECC controller has an optional ECC support in 64-bit and 32-bit
+bus width configurations.
+
+The Zynq DDR ECC controller has an optional ECC support in half-bus width
+(16-bit) configuration.
+
+These both ECC controllers correct single bit ECC errors and detect double bit
+ECC errors.
 
 Required properties:
- - compatible: Should be 'xlnx,zynq-ddrc-a05'
- - reg: Base address and size of the controllers memory area
+ - compatible: One of:
+	- 'xlnx,zynq-ddrc-a05' : Zynq DDR ECC controller
+	- 'xlnx,zynqmp-ddrc-2.40a' : ZynqMP DDR ECC controller
+ - reg: Should contain DDR controller registers location and length.
+
+Required properties for "xlnx,zynqmp-ddrc-2.40a":
+ - interrupts: Property with a value describing the interrupt number.
 
 Example:
 	memory-controller@f8006000 {
 		compatible = "xlnx,zynq-ddrc-a05";
 		reg = <0xf8006000 0x1000>;
 	};
+
+	mc: memory-controller@fd070000 {
+		compatible = "xlnx,zynqmp-ddrc-2.40a";
+		reg = <0x0 0xfd070000 0x0 0x30000>;
+		interrupt-parent = <&gic>;
+		interrupts = <0 112 4>;
+	};
-- 
2.1.1


  parent reply	other threads:[~2018-08-04  9:26 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-04  9:25 [PATCH v4 0/4] EDAC: Enhancements to Synopsys EDAC driver Manish Narani
2018-08-04  9:25 ` [PATCH v4 1/4] edac: synps: Add platform specific structures for ddrc controller Manish Narani
2018-08-18 10:11   ` Manish Narani
2018-08-18 12:45     ` Borislav Petkov
2018-08-21 13:06   ` Borislav Petkov
2018-08-22 12:20     ` Manish Narani
2018-08-04  9:25 ` Manish Narani [this message]
2018-08-07 14:56   ` [PATCH v4 2/4] dt: bindings: Document ZynqMP DDRC in Synopsys documentation Rob Herring
2018-08-04  9:25 ` [PATCH v4 3/4] edac: synopsys: Add EDAC ECC support for ZynqMP DDRC Manish Narani
2018-08-21 13:09   ` Borislav Petkov
2018-08-22 13:02     ` Manish Narani
2018-08-22 13:34       ` Borislav Petkov
2018-08-04  9:25 ` [PATCH v4 4/4] arm64: zynqmp: Add DDRC node Manish Narani
2018-08-18 10:12   ` Manish Narani
2018-08-04 16:32 ` [PATCH v4 0/4] EDAC: Enhancements to Synopsys EDAC driver Borislav Petkov
2018-08-06 13:58   ` Manish Narani

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=1533374735-16662-3-git-send-email-manish.narani@xilinx.com \
    --to=manish.narani@xilinx.com \
    --cc=anirudh@xilinx.com \
    --cc=bharat.kumar.gogada@xilinx.com \
    --cc=bp@alien8.de \
    --cc=catalin.marinas@arm.com \
    --cc=devicetree@vger.kernel.org \
    --cc=edgar.iglesias@xilinx.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-edac@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=mchehab@kernel.org \
    --cc=mdf@kernel.org \
    --cc=michal.simek@xilinx.com \
    --cc=naga.sureshkumar.relli@xilinx.com \
    --cc=robh+dt@kernel.org \
    --cc=sgoud@xilinx.com \
    --cc=shubhrajyoti.datta@xilinx.com \
    --cc=stefan.krsmanovic@aggios.com \
    --cc=will.deacon@arm.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 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).