Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp2262352ybp; Thu, 10 Oct 2019 04:58:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqwhbUQOozYv8pH0Bmjhq9fHC4bnw/SVsddtH927qUtZBb6viwO4fxLPUME6wE9kvbmIQtoe X-Received: by 2002:aa7:dd0f:: with SMTP id i15mr8019392edv.0.1570708703203; Thu, 10 Oct 2019 04:58:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570708703; cv=none; d=google.com; s=arc-20160816; b=EMaDKT9nINM0OpDSg0Blw8q6heBnr29d8IJED0apVe2mJz/yANk6e8HCkwrHY4L9fh PwwuZzDetrFjg0+bQIUu7L+6JjiMNi5E/JR9yzK/XViiCrOlfivK0MoI269f/twPS3Gd HP+5Y6Yd2i5+5WnCaB2fIMrkpyAunEBQ1OVuQgQqvEpxOtZgwyCKZkV2E1lbqPiw0q20 7S41MsTCkw3/sVYxS7Lflxq46/0ukF57RfZiSJZQNVjg3flvLBy+W/MqdoJSzeSdilM7 sb3R6GuA8gckrUNDNcE3pnmtrxzA9QqI/8Ecvj+TRxnTOi0AhO8aE/+prBF5Fz5c2lng +iKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=UBJNFDgDuOOL+5c0qHN2UePja07eocDiGd4+mUH0X38=; b=G11/r52S2rph6aPxscDpEUzFNFF1XVI64efnEJuDr62SE5yE2OO/GGQ9s6EAskcKkK fOTR60PP4ZkTPSNpSdu+g7+7vUEq3/vwEaaSo9Usx/T9JpN1QJ0fRZtT5npr/4p46cWd BSn7Ysr61Ig2arXcklLog6VcDXRU6cSB/pDWyovkALF+EQjoaFulywp2K7dP4vtZSiW9 rXAYVdWUZHI6JFCqQF5mRZh9RG1RE2xH6jYO/NZDRGB/9sQtmo4KJ6GrZbzEz/aS/iDK nvwhxzqpwFs/uA1Wsx/RQ4sATogO//jz0twPfRNWrylxbRByOj2Kqbv8BLkQQ5bSTPA9 Lxpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=ObpJ9LZO; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f19si3231070edb.385.2019.10.10.04.57.58; Thu, 10 Oct 2019 04:58:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=ObpJ9LZO; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728292AbfJJLzU (ORCPT + 99 others); Thu, 10 Oct 2019 07:55:20 -0400 Received: from smtp-fw-6001.amazon.com ([52.95.48.154]:23321 "EHLO smtp-fw-6001.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727653AbfJJLzU (ORCPT ); Thu, 10 Oct 2019 07:55:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1570708519; x=1602244519; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=UBJNFDgDuOOL+5c0qHN2UePja07eocDiGd4+mUH0X38=; b=ObpJ9LZOipNjO1gUtWBzqlgxC0anHKOxYB0OwEd8YwiztEeyG+3kLjGB ezNBxrvIU9PUqgSJYnKG5thgGPWyGkbVHN51l/uTCytOPjJiMzhySPn7E 9GBFBlt2EhmaBViOipio6hr8Sqb0mhVDriMVUUTT4N3VExEGL5fHvN9NS s=; X-IronPort-AV: E=Sophos;i="5.67,280,1566864000"; d="scan'208";a="421483200" Received: from iad6-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-1d-5dd976cd.us-east-1.amazon.com) ([10.124.125.6]) by smtp-border-fw-out-6001.iad6.amazon.com with ESMTP; 10 Oct 2019 11:55:18 +0000 Received: from EX13MTAUEA001.ant.amazon.com (iad55-ws-svc-p15-lb9-vlan3.iad.amazon.com [10.40.159.166]) by email-inbound-relay-1d-5dd976cd.us-east-1.amazon.com (Postfix) with ESMTPS id 037B2A311F; Thu, 10 Oct 2019 11:55:14 +0000 (UTC) Received: from EX13D01EUB001.ant.amazon.com (10.43.166.194) by EX13MTAUEA001.ant.amazon.com (10.43.61.82) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Thu, 10 Oct 2019 11:55:14 +0000 Received: from udc4a3e82dbc15a031435.hfa15.amazon.com (10.43.160.48) by EX13D01EUB001.ant.amazon.com (10.43.166.194) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Thu, 10 Oct 2019 11:55:04 +0000 From: Talel Shenhar To: , , , , , , , , , , , , , CC: , , , , , , , Subject: [PATCH v4 1/2] dt-bindings: edac: al-mc-edac: Amazon's Annapurna Labs Memory Controller EDAC Date: Thu, 10 Oct 2019 14:54:13 +0300 Message-ID: <1570708454-10784-2-git-send-email-talel@amazon.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1570708454-10784-1-git-send-email-talel@amazon.com> References: <1570708454-10784-1-git-send-email-talel@amazon.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.43.160.48] X-ClientProxiedBy: EX13D13UWA002.ant.amazon.com (10.43.160.172) To EX13D01EUB001.ant.amazon.com (10.43.166.194) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Document Amazon's Annapurna Labs Memory Controller EDAC SoC binding. Signed-off-by: Talel Shenhar --- .../bindings/edac/amazon,al-mc-edac.yaml | 50 ++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 Documentation/devicetree/bindings/edac/amazon,al-mc-edac.yaml diff --git a/Documentation/devicetree/bindings/edac/amazon,al-mc-edac.yaml b/Documentation/devicetree/bindings/edac/amazon,al-mc-edac.yaml new file mode 100644 index 00000000..f66b094 --- /dev/null +++ b/Documentation/devicetree/bindings/edac/amazon,al-mc-edac.yaml @@ -0,0 +1,50 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/edac/amazon,al-mc-edac.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Amazon's Annapurna Labs Memory Controller EDAC + +maintainers: + - Talel Shenhar + - Talel Shenhar + +description: | + EDAC node is defined to describe on-chip error detection and correction for + Amazon's Annapurna Labs Memory Controller. + +properties: + + compatible: + const: amazon,al-mc-edac + + reg: + maxItems: 1 + + interrupts: + maxItems: 2 + items: + - description: uncorrectable error interrupt + - description: correctable error interrupt + + interrupt-names: + maxItems: 2 + items: + - const: ue + - const: ce + +required: + - compatible + - reg + +examples: + - | + #include + edac@f0080000 { + compatible = "amazon,al-mc-edac"; + reg = <0x0 0xf0080000 0x0 0x00010000>; + interrupt-parent = <&amazon_al_system_fabric>; + interrupt-names = "ue"; + interrupts = <20 IRQ_TYPE_LEVEL_HIGH>; + }; -- 2.7.4