* [PATCHv2,1/3] Documentation: dt: socfpga: Add Stratix10 ECC Manager binding
@ 2018-05-01 12:54 Rob Herring
0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring @ 2018-05-01 12:54 UTC (permalink / raw)
To: thor.thayer
Cc: bp, mchehab, mark.rutland, dinguyen, catalin.marinas, will.deacon,
devicetree, linux-arm-kernel, linux-edac
On Fri, Apr 27, 2018 at 01:37:16PM -0500, thor.thayer@linux.intel.com wrote:
> From: Thor Thayer <thor.thayer@linux.intel.com>
>
> Add the device tree bindings needed to support the Stratix10
> ECC Manager and SDRAM ECC.
>
> Signed-off-by: Thor Thayer <thor.thayer@linux.intel.com>
> ---
> v2 Remove unused System Manager syscon.
> Remove unused SDRAM ECC register defines.
> Remove unused address, size and range from bindings.
> ---
> .../bindings/arm/altera/socfpga-eccmgr.txt | 35 ++++++++++++++++++++++
> 1 file changed, 35 insertions(+)
This should move to bindings/edac/. Can you do that as a follow-up
patch?
Reviewed-by: Rob Herring <robh@kernel.org>
---
To unsubscribe from this list: send the line "unsubscribe linux-edac" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCHv2,1/3] Documentation: dt: socfpga: Add Stratix10 ECC Manager binding
@ 2018-04-27 18:37 thor.thayer
0 siblings, 0 replies; 2+ messages in thread
From: thor.thayer @ 2018-04-27 18:37 UTC (permalink / raw)
To: bp, mchehab, robh+dt, mark.rutland, dinguyen, catalin.marinas,
will.deacon
Cc: thor.thayer, devicetree, linux-arm-kernel, linux-edac
From: Thor Thayer <thor.thayer@linux.intel.com>
Add the device tree bindings needed to support the Stratix10
ECC Manager and SDRAM ECC.
Signed-off-by: Thor Thayer <thor.thayer@linux.intel.com>
---
v2 Remove unused System Manager syscon.
Remove unused SDRAM ECC register defines.
Remove unused address, size and range from bindings.
---
.../bindings/arm/altera/socfpga-eccmgr.txt | 35 ++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/altera/socfpga-eccmgr.txt b/Documentation/devicetree/bindings/arm/altera/socfpga-eccmgr.txt
index 4a1714f96bab..5626560a6cfd 100644
--- a/Documentation/devicetree/bindings/arm/altera/socfpga-eccmgr.txt
+++ b/Documentation/devicetree/bindings/arm/altera/socfpga-eccmgr.txt
@@ -231,3 +231,38 @@ Example:
<48 IRQ_TYPE_LEVEL_HIGH>;
};
};
+
+Stratix10 SoCFPGA ECC Manager
+The Stratix10 SoC ECC Manager handles the IRQs for each peripheral
+in a shared register similar to the Arria10. However, ECC requires
+access to registers that can only be read from Secure Monitor with
+SMC calls. Therefore the device tree is slightly different.
+
+Required Properties:
+- compatible : Should be "altr,socfpga-s10-ecc-manager"
+- interrupts : Should be single bit error interrupt, then double bit error
+ interrupt.
+- interrupt-controller : boolean indicator that ECC Manager is an interrupt controller
+- #interrupt-cells : must be set to 2.
+
+Subcomponents:
+
+SDRAM ECC
+Required Properties:
+- compatible : Should be "altr,sdram-edac-s10"
+- interrupts : Should be single bit error interrupt, then double bit error
+ interrupt, in this order.
+
+Example:
+
+ eccmgr {
+ compatible = "altr,socfpga-s10-ecc-manager";
+ interrupts = <0 15 4>, <0 95 4>;
+ interrupt-controller;
+ #interrupt-cells = <2>;
+
+ sdramedac {
+ compatible = "altr,sdram-edac-s10";
+ interrupts = <16 4>, <48 4>;
+ };
+ };
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-05-01 12:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-01 12:54 [PATCHv2,1/3] Documentation: dt: socfpga: Add Stratix10 ECC Manager binding Rob Herring
-- strict thread matches above, loose matches on Subject: below --
2018-04-27 18:37 thor.thayer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox