Linux-EDAC Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH v9 1/2] dt-bindings: edac: arm-dmc520.txt
@ 2020-01-15 14:32 Shiping Ji
  2020-01-15 20:16 ` Rob Herring
  2020-01-16 23:39 ` Borislav Petkov
  0 siblings, 2 replies; 6+ messages in thread
From: Shiping Ji @ 2020-01-15 14:32 UTC (permalink / raw)
  To: Borislav Petkov, James Morse, robh+dt, mark.rutland
  Cc: devicetree, LKML, linux-edac, Mauro Carvalho Chehab, sashal,
	hangl, Lei Wang, ruizhao, shji, Scott Branden, Yuqing Shen,
	ray.jui, wangglei

This is the device tree bindings for new EDAC driver dmc520_edac.c.

Signed-off-by: Shiping Ji <shiping.linux@gmail.com>
Signed-off-by: Lei Wang <leiwang_git@outlook.com>
Reviewed-by: James Morse <james.morse@arm.com>

---
     Changes in v9:
         - Replaced the vendor specific interrupt-config property with interrupt-names

---
 .../devicetree/bindings/edac/arm-dmc520.txt   | 22 +++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/edac/arm-dmc520.txt

diff --git a/Documentation/devicetree/bindings/edac/arm-dmc520.txt b/Documentation/devicetree/bindings/edac/arm-dmc520.txt
new file mode 100644
index 000000000000..4a673f091918
--- /dev/null
+++ b/Documentation/devicetree/bindings/edac/arm-dmc520.txt
@@ -0,0 +1,22 @@
+* ARM DMC-520 EDAC node
+
+Required properties:
+- compatible  : "brcm,dmc-520", "arm,dmc-520".
+- reg   : Address range of the DMC-520 registers.
+- interrupts  : DMC-520 interrupt numbers. The example below specifies
+     two interrupt lines for dram_ecc_errc_int and
+     dram_ecc_errd_int.
+- interrupt-names : This is an array of names corresponding to the interrupt
+     line numbers. The valid interrupt names are the followings:
+     ram_ecc_errc, ram_ecc_errd, dram_ecc_errc, dram_ecc_errd,
+     failed_access, failed_prog, link_err, temperature_event,
+     arch_fsm, phy_request
+
+Example:
+
+dmc0: dmc@200000 {
+ compatible = "brcm,dmc-520", "arm,dmc-520";
+ reg = <0x200000 0x80000>;
+ interrupts = <0x0 0x349 0x4>, <0x0 0x34B 0x4>;
+ interrupt-names = "dram_ecc_errc", "dram_ecc_errd";
+};
-- 
2.17.1

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, back to index

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-15 14:32 [PATCH v9 1/2] dt-bindings: edac: arm-dmc520.txt Shiping Ji
2020-01-15 20:16 ` Rob Herring
2020-01-16 23:39 ` Borislav Petkov
2020-01-17  0:05   ` Shiping Ji
2020-01-21 17:53   ` Rob Herring
2020-01-21 17:56     ` Shiping Ji

Linux-EDAC Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-edac/0 linux-edac/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-edac linux-edac/ https://lore.kernel.org/linux-edac \
		linux-edac@vger.kernel.org
	public-inbox-index linux-edac

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-edac


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git