From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796066285; b=4oS70jW0czjBSCM0IlLYnHnRd6abxWRcQROl/820ECgetpNOhoIA9SSq2vwpJtC7iKTJ buHHH/fTt5yuW91hUFoAqN129E19wIteHvYTonb/OE0GvwnGL4/DZXEZdTkZ7Kyw46QQK 2oO8X4fi1n0YER6j23MRUWFcnUIRDTacxPwrJRBV1pvMLdQyNQP63BUmIrnW6bHy9w8xl +aVGS0KWoiDkc8SXJjytPoeUxzzz6woNocxusQn089YCCnBKjbzlGYRSoME/ozOv3+z+L hja1VmIjjtnG2hAyEkN9WYkLJ8LisoDFbnr0v/Y4GZnSM54wm1EFLcsCtCyRpqSKQUQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796066285; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:MIME-Version:Content-Transfer-Encoding; bh=iIxU/r+EOn/uNhR1WtQSemDbz/bUiAmGqH+z+BPMgkw=; b=WHx8jSbE2sXJMmEoxfN07JRyTe6/hZjpHfSPwILGwQfOhownZgQrchoMPvybQOTyDbQp wINkG48EKhC8XtlvgMZ/cPtWebP4BVSjEkNwuH3wIPkKhgMydpVC07z1UapkR7RuF5+dT 5E56f8opQ13hy5iED/7fxfiYqNZbji+jM3RfsGgNN1ceHDqDxbAoKn7WCjSQ1EXj+9A/w WNQgCURWCFc1bbNwGr006FOoFrW/bYNb7bD+5J6Acp6+W/xdmq7rME6cYug8I9RaMWcoY BE2LlaPSB6RIiSbLJ4tp6BNeFa1aLUnvZm74czPo/MJcUhjJCXxjIgx3lvRK4ttRj3Q== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=bjiJeEeU; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 50945606A332; Mon, 30 Nov 2026 19:18:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=bjiJeEeU Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2257A1F0089A; Mon, 30 Nov 2026 19:18:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796066285; bh=iIxU/r+EOn/uNhR1WtQSemDbz/bUiAmGqH+z+BPMgkw=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=bjiJeEeU3jmJ6hedHV74Umige5xno9BNfCPrxGzVMxQ4DwA++D2IRKKYu0ApfSolZ JUg9a5QS5fAZ3zOHo83QXU0ZSdliGxXi6V84GSuccJtewEaPQq1MLaudiA1HyCeknK m31Wuj1cUgNgk7l7tQZWjKPtb7zOJk6yyz6DZOGv1JtpnJU4JQC26Mp56o12ZPYjnr nSrnTlpMhAT0J8izCQlGBHlVvmyQvuldfywUP9aqDTYA1VNhhZmf5733BmPa1Uth22 nHVXMSP2X09C2hENqmVuC8C+V8n+10lHqvA/Pcw/axv9XsT8+O+DpmXX8bkH9MGnFb rwidBRs+fg23Q== From: Dinh Nguyen To: bp@alien8.de, tony.luck@intel.com, yazen.ghannam@amd.com Cc: dinguyen@kernel.org, rounakdas2025@gmail.com, niravkumar.l.rabara@altera.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCHv5 1/4] dt-bindings: edac: altera: agilex5: document new edac support Date: Mon, 30 Nov 2026 13:17:51 -0600 Message-ID: <20261130191754.3570042-2-dinguyen@kernel.org> X-Mailer: git-send-email 2.42.0.411.g813d9a9188 In-Reply-To: <20261130191754.3570042-1-dinguyen@kernel.org> References: <20261130191754.3570042-1-dinguyen@kernel.org> X-Mailing-List: linux-edac@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The Agilex5 EDAC module supports ECC on a few additional peripherals. Along with support for ocram, ethernet and USB, the Agilex5 EDAC adds support for SDM QSPI, CRAM SEU and IO96B. The Agilex5 EDAC also exposes up to 7 named interrupts on the manager node. global_sbe and global_dbe are aggregate single/double-bit error interrupts that fan-out through the manager's IRQ domain to the child peripheral ECCs. The remaining named interrupts are routed directly from dedicated controllers (IO96B memory controllers and Secure Device Manager) to the GIC. Reviewed-by: Rob Herring (Arm) Signed-off-by: Dinh Nguyen --- v5: Added Reviwed-by: --- .../edac/altr,socfpga-ecc-manager.yaml | 90 ++++++++++++++----- 1 file changed, 66 insertions(+), 24 deletions(-) diff --git a/Documentation/devicetree/bindings/edac/altr,socfpga-ecc-manager.yaml b/Documentation/devicetree/bindings/edac/altr,socfpga-ecc-manager.yaml index 136e8fccd429a..1c882de660799 100644 --- a/Documentation/devicetree/bindings/edac/altr,socfpga-ecc-manager.yaml +++ b/Documentation/devicetree/bindings/edac/altr,socfpga-ecc-manager.yaml @@ -20,7 +20,9 @@ properties: compatible: oneOf: - items: - - const: altr,socfpga-s10-ecc-manager + - enum: + - altr,socfpga-s10-ecc-manager + - altr,socfpga-agilex5-ecc-manager - const: altr,socfpga-a10-ecc-manager - const: altr,socfpga-a10-ecc-manager - const: altr,socfpga-ecc-manager @@ -33,7 +35,25 @@ properties: interrupts: minItems: 1 - maxItems: 2 + items: + - description: Global single-bit error + - description: Global double-bit error + - description: IO96B0 DRAM controller error + - description: IO96B1 DRAM controller error + - description: SDM QSPI single-bit error + - description: SDM QSPI double-bit error + - description: SDM single-event + + interrupt-names: + minItems: 1 + items: + - const: global_sbe + - const: global_dbe + - const: io96b0 + - const: io96b1 + - const: sdm_qspi_sbe + - const: sdm_qspi_dbe + - const: sdm_seu interrupt-controller: true @@ -235,28 +255,50 @@ patternProperties: - interrupts - altr,ecc-parent -if: - properties: - compatible: - contains: - const: altr,socfpga-ecc-manager -then: - required: - - compatible - - "#address-cells" - - "#size-cells" - - ranges - -else: - required: - - compatible - - "#address-cells" - - "#size-cells" - - interrupts - - interrupt-controller - - "#interrupt-cells" - - ranges - - altr,sysmgr-syscon +allOf: + - if: + properties: + compatible: + contains: + const: altr,socfpga-ecc-manager + then: + required: + - compatible + - "#address-cells" + - "#size-cells" + - ranges + + else: + required: + - compatible + - "#address-cells" + - "#size-cells" + - interrupts + - interrupt-controller + - "#interrupt-cells" + - ranges + - altr,sysmgr-syscon + + - if: + properties: + compatible: + contains: + const: altr,socfpga-agilex5-ecc-manager + then: + properties: + interrupts: + minItems: 7 + maxItems: 7 + interrupt-names: + minItems: 7 + maxItems: 7 + required: + - interrupt-names + else: + properties: + interrupts: + maxItems: 2 + interrupt-names: false additionalProperties: false -- 2.42.0.411.g813d9a9188