All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tero Kristo <t-kristo@ti.com>
To: linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org,
	linux-edac@vger.kernel.org, bp@alien8.de, mchehab@kernel.org
Cc: Tony Lindgren <tony@atomide.com>,
	Santosh Shilimkar <ssantosh@kernel.org>,
	Rob Herring <robh+dt@kernel.org>
Subject: [1/3] Documentation: dt: memory: ti-emif: add edac support under emif
Date: Tue, 7 Nov 2017 22:38:57 +0200	[thread overview]
Message-ID: <1510087139-21885-2-git-send-email-t-kristo@ti.com> (raw)

Certain revisions of the TI EMIF IP contain ECC support in them. Reflect
this in the DT binding.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Santosh Shilimkar <ssantosh@kernel.org>
Cc: Rob Herring <robh+dt@kernel.org>
---
 .../devicetree/bindings/memory-controllers/ti/emif.txt   | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/memory-controllers/ti/emif.txt b/Documentation/devicetree/bindings/memory-controllers/ti/emif.txt
index 0db6047..f56a347 100644
--- a/Documentation/devicetree/bindings/memory-controllers/ti/emif.txt
+++ b/Documentation/devicetree/bindings/memory-controllers/ti/emif.txt
@@ -3,12 +3,16 @@
 EMIF - External Memory Interface - is an SDRAM controller used in
 TI SoCs. EMIF supports, based on the IP revision, one or more of
 DDR2/DDR3/LPDDR2 protocols. This binding describes a given instance
-of the EMIF IP and memory parts attached to it.
+of the EMIF IP and memory parts attached to it. Certain revisions
+of the EMIF IP controller also contain optional ECC support, which
+corrects one bit errors and detects two bit errors.
 
 Required properties:
 - compatible	: Should be of the form "ti,emif-<ip-rev>" where <ip-rev>
   is the IP revision of the specific EMIF instance.
 		  For am437x should be ti,emif-am4372.
+		  For dra7xx should be ti,emif-dra7xx.
+		  For k2x family, should be ti,emif-keystone.
 
 - phy-type	: <u32> indicating the DDR phy type. Following are the
   allowed values
@@ -42,6 +46,10 @@ Optional properties:
 - hw-caps-temp-alert	: Have this property if the controller
   has capability for generating SDRAM temperature alerts
 
+- interrupts		: A list of interrupt specifiers for memory
+  controller interrupts, if available. Required for EMIF instances
+  that support ECC.
+
 Example:
 
 emif1: emif@0x4c000000 {
@@ -54,3 +62,9 @@ emif1: emif@0x4c000000 {
 	hw-caps-ll-interface;
 	hw-caps-temp-alert;
 };
+
+emif1: emif@4c000000 {
+	compatible = "ti,emif-dra7";
+	reg = <0x4c000000 0x200>;
+	interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
+};

WARNING: multiple messages have this Message-ID (diff)
From: Tero Kristo <t-kristo@ti.com>
To: linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org,
	linux-edac@vger.kernel.org, bp@alien8.de, mchehab@kernel.org
Cc: Tony Lindgren <tony@atomide.com>,
	Rob Herring <robh+dt@kernel.org>,
	Santosh Shilimkar <ssantosh@kernel.org>
Subject: [PATCH 1/3] Documentation: dt: memory: ti-emif: add edac support under emif
Date: Tue, 7 Nov 2017 22:38:57 +0200	[thread overview]
Message-ID: <1510087139-21885-2-git-send-email-t-kristo@ti.com> (raw)
In-Reply-To: <1510087139-21885-1-git-send-email-t-kristo@ti.com>

Certain revisions of the TI EMIF IP contain ECC support in them. Reflect
this in the DT binding.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Santosh Shilimkar <ssantosh@kernel.org>
Cc: Rob Herring <robh+dt@kernel.org>
---
 .../devicetree/bindings/memory-controllers/ti/emif.txt   | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/memory-controllers/ti/emif.txt b/Documentation/devicetree/bindings/memory-controllers/ti/emif.txt
index 0db6047..f56a347 100644
--- a/Documentation/devicetree/bindings/memory-controllers/ti/emif.txt
+++ b/Documentation/devicetree/bindings/memory-controllers/ti/emif.txt
@@ -3,12 +3,16 @@
 EMIF - External Memory Interface - is an SDRAM controller used in
 TI SoCs. EMIF supports, based on the IP revision, one or more of
 DDR2/DDR3/LPDDR2 protocols. This binding describes a given instance
-of the EMIF IP and memory parts attached to it.
+of the EMIF IP and memory parts attached to it. Certain revisions
+of the EMIF IP controller also contain optional ECC support, which
+corrects one bit errors and detects two bit errors.
 
 Required properties:
 - compatible	: Should be of the form "ti,emif-<ip-rev>" where <ip-rev>
   is the IP revision of the specific EMIF instance.
 		  For am437x should be ti,emif-am4372.
+		  For dra7xx should be ti,emif-dra7xx.
+		  For k2x family, should be ti,emif-keystone.
 
 - phy-type	: <u32> indicating the DDR phy type. Following are the
   allowed values
@@ -42,6 +46,10 @@ Optional properties:
 - hw-caps-temp-alert	: Have this property if the controller
   has capability for generating SDRAM temperature alerts
 
+- interrupts		: A list of interrupt specifiers for memory
+  controller interrupts, if available. Required for EMIF instances
+  that support ECC.
+
 Example:
 
 emif1: emif@0x4c000000 {
@@ -54,3 +62,9 @@ emif1: emif@0x4c000000 {
 	hw-caps-ll-interface;
 	hw-caps-temp-alert;
 };
+
+emif1: emif@4c000000 {
+	compatible = "ti,emif-dra7";
+	reg = <0x4c000000 0x200>;
+	interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
+};
-- 
1.9.1

--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki

WARNING: multiple messages have this Message-ID (diff)
From: t-kristo@ti.com (Tero Kristo)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/3] Documentation: dt: memory: ti-emif: add edac support under emif
Date: Tue, 7 Nov 2017 22:38:57 +0200	[thread overview]
Message-ID: <1510087139-21885-2-git-send-email-t-kristo@ti.com> (raw)
In-Reply-To: <1510087139-21885-1-git-send-email-t-kristo@ti.com>

Certain revisions of the TI EMIF IP contain ECC support in them. Reflect
this in the DT binding.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Santosh Shilimkar <ssantosh@kernel.org>
Cc: Rob Herring <robh+dt@kernel.org>
---
 .../devicetree/bindings/memory-controllers/ti/emif.txt   | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/memory-controllers/ti/emif.txt b/Documentation/devicetree/bindings/memory-controllers/ti/emif.txt
index 0db6047..f56a347 100644
--- a/Documentation/devicetree/bindings/memory-controllers/ti/emif.txt
+++ b/Documentation/devicetree/bindings/memory-controllers/ti/emif.txt
@@ -3,12 +3,16 @@
 EMIF - External Memory Interface - is an SDRAM controller used in
 TI SoCs. EMIF supports, based on the IP revision, one or more of
 DDR2/DDR3/LPDDR2 protocols. This binding describes a given instance
-of the EMIF IP and memory parts attached to it.
+of the EMIF IP and memory parts attached to it. Certain revisions
+of the EMIF IP controller also contain optional ECC support, which
+corrects one bit errors and detects two bit errors.
 
 Required properties:
 - compatible	: Should be of the form "ti,emif-<ip-rev>" where <ip-rev>
   is the IP revision of the specific EMIF instance.
 		  For am437x should be ti,emif-am4372.
+		  For dra7xx should be ti,emif-dra7xx.
+		  For k2x family, should be ti,emif-keystone.
 
 - phy-type	: <u32> indicating the DDR phy type. Following are the
   allowed values
@@ -42,6 +46,10 @@ Optional properties:
 - hw-caps-temp-alert	: Have this property if the controller
   has capability for generating SDRAM temperature alerts
 
+- interrupts		: A list of interrupt specifiers for memory
+  controller interrupts, if available. Required for EMIF instances
+  that support ECC.
+
 Example:
 
 emif1: emif at 0x4c000000 {
@@ -54,3 +62,9 @@ emif1: emif at 0x4c000000 {
 	hw-caps-ll-interface;
 	hw-caps-temp-alert;
 };
+
+emif1: emif at 4c000000 {
+	compatible = "ti,emif-dra7";
+	reg = <0x4c000000 0x200>;
+	interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
+};
-- 
1.9.1

--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki

             reply	other threads:[~2017-11-07 20:38 UTC|newest]

Thread overview: 62+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-07 20:38 Tero Kristo [this message]
2017-11-07 20:38 ` [PATCH 1/3] Documentation: dt: memory: ti-emif: add edac support under emif Tero Kristo
2017-11-07 20:38 ` Tero Kristo
  -- strict thread matches above, loose matches on Subject: below --
2017-12-07  9:03 [1/3] " Tero Kristo
2017-12-07  9:03 ` [PATCH 1/3] " Tero Kristo
2017-12-07  9:03 ` Tero Kristo
2017-11-27 13:12 [PATCHv3,2/3] EDAC: ti: add support for TI keystone and DRA7xx EDAC Borislav Petkov
2017-11-27 13:12 ` [PATCHv3 2/3] " Borislav Petkov
2017-11-27 13:12 ` Borislav Petkov
2017-11-13 19:17 [PATCHv3,2/3] " santosh shilimkar
2017-11-13 19:17 ` [PATCHv3 2/3] " Santosh Shilimkar
2017-11-13 19:17 ` Santosh Shilimkar
2017-11-13 18:49 [PATCHv3,2/3] " Tero Kristo
2017-11-13 18:49 ` [PATCHv3 2/3] " Tero Kristo
2017-11-13 18:49 ` Tero Kristo
2017-11-13 18:08 [PATCHv3,2/3] " Borislav Petkov
2017-11-13 18:08 ` [PATCHv3 2/3] " Borislav Petkov
2017-11-13 18:08 ` Borislav Petkov
2017-11-13 18:04 [PATCHv3,2/3] " santosh shilimkar
2017-11-13 18:04 ` [PATCHv3 2/3] " Santosh Shilimkar
2017-11-13 18:04 ` Santosh Shilimkar
2017-11-13 17:58 [PATCHv3,2/3] " Borislav Petkov
2017-11-13 17:58 ` [PATCHv3 2/3] " Borislav Petkov
2017-11-13 17:58 ` Borislav Petkov
2017-11-13 17:10 [PATCHv3,2/3] " santosh shilimkar
2017-11-13 17:10 ` [PATCHv3 2/3] " Santosh Shilimkar
2017-11-13 17:10 ` Santosh Shilimkar
2017-11-13 13:08 [PATCHv3,2/3] " Tero Kristo
2017-11-13 13:08 ` [PATCHv3 2/3] " Tero Kristo
2017-11-13 13:08 ` Tero Kristo
2017-11-13  9:03 [PATCHv2,2/3] " Tero Kristo
2017-11-13  9:03 ` [PATCHv2 2/3] " Tero Kristo
2017-11-13  9:03 ` Tero Kristo
2017-11-11 10:46 [PATCHv2,2/3] " Borislav Petkov
2017-11-11 10:46 ` [PATCHv2 2/3] " Borislav Petkov
2017-11-11 10:46 ` Borislav Petkov
2017-11-10  8:25 [PATCHv2,2/3] " Tero Kristo
2017-11-10  8:25 ` [PATCHv2 2/3] " Tero Kristo
2017-11-10  8:25 ` Tero Kristo
2017-11-09 12:40 [2/3] " Tero Kristo
2017-11-09 12:40 ` [PATCH 2/3] " Tero Kristo
2017-11-09 12:40 ` Tero Kristo
2017-11-09 12:12 [2/3] " Borislav Petkov
2017-11-09 12:12 ` [PATCH 2/3] " Borislav Petkov
2017-11-09 12:12 ` Borislav Petkov
2017-11-09 11:50 [2/3] " Jan Lübbe
2017-11-09 11:50 ` [PATCH 2/3] " Jan Lübbe
2017-11-09 11:50 ` Jan Lübbe
2017-11-09 10:38 [2/3] " Tero Kristo
2017-11-09 10:38 ` [PATCH 2/3] " Tero Kristo
2017-11-09 10:38 ` Tero Kristo
2017-11-09 10:14 [2/3] " Borislav Petkov
2017-11-09 10:14 ` [PATCH 2/3] " Borislav Petkov
2017-11-09 10:14 ` Borislav Petkov
2017-11-07 20:38 [3/3] ARM: dts: Keystone: add ECC error handler support Tero Kristo
2017-11-07 20:38 ` [PATCH 3/3] " Tero Kristo
2017-11-07 20:38 ` Tero Kristo
2017-11-07 20:38 [2/3] EDAC: ti: add support for TI keystone and DRA7xx EDAC Tero Kristo
2017-11-07 20:38 ` [PATCH 2/3] " Tero Kristo
2017-11-07 20:38 ` Tero Kristo
2017-11-07 20:38 [PATCH 0/3] EDAC: TI: add support for DRA7 and keystone EDAC Tero Kristo
2017-11-07 20:38 ` Tero Kristo

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=1510087139-21885-2-git-send-email-t-kristo@ti.com \
    --to=t-kristo@ti.com \
    --cc=bp@alien8.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-edac@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=mchehab@kernel.org \
    --cc=robh+dt@kernel.org \
    --cc=ssantosh@kernel.org \
    --cc=tony@atomide.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.