[<prev] [next>] [day] [month] [year] [list]
Message-ID: <acb3a312-5ccd-362c-02ae-beee461a5f4b@gmail.com>
Date: Tue, 14 Jan 2020 15:34:00 -0800
From: Shiping Ji <shiping.linux@...il.com>
To: Borislav Petkov <bp@...en8.de>, James Morse <james.morse@....com>,
robh+dt@...nel.org, mark.rutland@....com
Cc: devicetree@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
linux-edac@...r.kernel.org, sashal@...nel.org, hangl@...rosoft.com,
Lei Wang <lewan@...rosoft.com>, ruizhao@...rosoft.com,
Scott Branden <scott.branden@...adcom.com>,
Yuqing Shen <yuqing.shen@...adcom.com>, ray.jui@...adcom.com,
shji@...rosoft.com, wangglei@...il.com
Subject: [PATCH v8 1/2] dt-bindings: edac: arm-dmc520.txt
This is the device tree bindings for new EDAC driver dmc520_edac.c.
Signed-off-by: Shiping Ji <shiping.linux@...il.com>
Reviewed-by: James Morse <james.morse@....com>
---
Changes in v8:
- 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@...000 {
+ 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
Powered by blists - more mailing lists