mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2] ARM: dts nuvoton: Add EDAC node
@ 2025-04-01 23:10 William A. Kennington III
  2025-04-03 10:43 ` Andrew Jeffery
  0 siblings, 1 reply; 2+ messages in thread
From: William A. Kennington III @ 2025-04-01 23:10 UTC (permalink / raw)
  To: Tomer Maimon, Rob Herring
  Cc: devicetree, linux-kernel, openbmc, William A. Kennington III

We have the driver support code, now we just need to expose the device
node which can export the EDAC properties for the system memory
controller. Tested on real hardware to verify that error counters show
up.

Signed-off-by: William A. Kennington III <william@wkennington.com>
---
V1 -> V2: Fixed compatible string that got truncated

 arch/arm/boot/dts/nuvoton/nuvoton-common-npcm7xx.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm/boot/dts/nuvoton/nuvoton-common-npcm7xx.dtsi b/arch/arm/boot/dts/nuvoton/nuvoton-common-npcm7xx.dtsi
index 868454ae6bde..c7880126cc78 100644
--- a/arch/arm/boot/dts/nuvoton/nuvoton-common-npcm7xx.dtsi
+++ b/arch/arm/boot/dts/nuvoton/nuvoton-common-npcm7xx.dtsi
@@ -122,6 +122,13 @@ clk: clock-controller@f0801000 {
 			clocks = <&clk_refclk>, <&clk_sysbypck>, <&clk_mcbypck>;
 		};
 
+		mc: memory-controller@f0824000 {
+			compatible = "nuvoton,npcm750-memory-controller";
+			reg = <0xf0824000 0x1000>;
+			interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
+			status = "disabled";
+		};
+
 		gmac0: eth@f0802000 {
 			device_type = "network";
 			compatible = "snps,dwmac";
-- 
2.49.0.472.ge94155a9ec-goog


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

* Re: [PATCH v2] ARM: dts nuvoton: Add EDAC node
  2025-04-01 23:10 [PATCH v2] ARM: dts nuvoton: Add EDAC node William A. Kennington III
@ 2025-04-03 10:43 ` Andrew Jeffery
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Jeffery @ 2025-04-03 10:43 UTC (permalink / raw)
  To: Tomer Maimon, Rob Herring, William A. Kennington III
  Cc: devicetree, linux-kernel, openbmc

On Tue, 01 Apr 2025 16:10:01 -0700, William A. Kennington III wrote:
> We have the driver support code, now we just need to expose the device
> node which can export the EDAC properties for the system memory
> controller. Tested on real hardware to verify that error counters show
> up.
> 
> 

Thanks, I've applied this to be picked up through the BMC tree.

--
Andrew Jeffery <andrew@codeconstruct.com.au>


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

end of thread, other threads:[~2025-04-03 10:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-01 23:10 [PATCH v2] ARM: dts nuvoton: Add EDAC node William A. Kennington III
2025-04-03 10:43 ` Andrew Jeffery

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®