Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1812750pxa; Sun, 16 Aug 2020 12:01:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzbSY7bC8oQVWVNtaZV03aBXQJ2IySYIDxVww7a5zm/s+43cicXtr+UEzGKNixCD5Oy5+Ya X-Received: by 2002:a17:906:4696:: with SMTP id a22mr11754337ejr.154.1597604483921; Sun, 16 Aug 2020 12:01:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597604483; cv=none; d=google.com; s=arc-20160816; b=parZ0WP/UGx/v5OAIWCWrGFel+pPEFyZDuQ2Jv9DJdGiABDswthczEHuia1MrwIskv fjgmWAv5Zsu1GqIyyMwqmaYNZJ2fai23kIdeibEMFPXzs5N7U6f90tDC0olvX29FaTdZ A1++35a3JiC4+aPQAgSd3fHZAKY/7sbEvrDyOtWVZG0wae+ThRV8OtHE13mMi/AMhrOf XHpiECFWaglQWhTaXbVe46lVSvJNw1kLK30pCHnNxUIvenG1qkVm7otaAf4Stgeg5RYR VoxpHv7p4D7um78sA/g/D4sm9hkxC6YxKnFjTXdbpVra0L7n6G9HN43Ho4YX6/n2K3/i yCsw== 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=Xv6O8YcpDOqDU4VhzNG2lK83aUpYO35qo0XMHB+BvlI=; b=QtQUjG/Gkdlr4mSz99Qjy4ltJRT63ZZxoM1QJX8ZV90kWEZHijrK2Y5FkSZU047Qgf qXryFghT0Tbi7fQbUzAQJ2OlahEjEPnETmZtGsCKZTwJpuWBv5TOeHTrJv5U2GppXz6F BotVkkwkZD8XQoLDyeAgOGgz1VHL424qdYP/fWNVdi3wPuTsHH6X4JncxnhwKUjzKuIS SxeZJTRQdvox1aWEzMzFYwdxNHf4xIriEOEV2WRVSjZI3zehzdZGcGG8UTg4X42JfRSr 5zVOKeOHjg3ICgDbdV2paiKXgV/kSf+vrs0tGmLGiRrB6m2e9kcJEYjKdRFbX5GyXP2h Eudg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=NdHgmGJ0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id v3si9490100ejw.748.2020.08.16.12.01.01; Sun, 16 Aug 2020 12:01:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=NdHgmGJ0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1729642AbgHPS4k (ORCPT + 99 others); Sun, 16 Aug 2020 14:56:40 -0400 Received: from smtp-fw-4101.amazon.com ([72.21.198.25]:11316 "EHLO smtp-fw-4101.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729574AbgHPS4h (ORCPT ); Sun, 16 Aug 2020 14:56:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1597604196; x=1629140196; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=Xv6O8YcpDOqDU4VhzNG2lK83aUpYO35qo0XMHB+BvlI=; b=NdHgmGJ0ELMKavN6JCvtxhNV18qn1bna5eryCZIuqOmgnqNhgdXPW3iV 5qrCdOFz7TNtg0isZGAhmIbotZyp8zuPY6Vqwlx2OXoW9W/NCQnWUnx1l gLLE81leMN0kNpK/Ih85+nvdchbvqoH3v2QQcW0pJxJo9X5xcWY2wSxlw 4=; X-IronPort-AV: E=Sophos;i="5.76,321,1592870400"; d="scan'208";a="48148029" Received: from iad12-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-2c-cc689b93.us-west-2.amazon.com) ([10.43.8.6]) by smtp-border-fw-out-4101.iad4.amazon.com with ESMTP; 16 Aug 2020 18:56:33 +0000 Received: from EX13MTAUEA001.ant.amazon.com (pdx4-ws-svc-p6-lb7-vlan3.pdx.amazon.com [10.170.41.166]) by email-inbound-relay-2c-cc689b93.us-west-2.amazon.com (Postfix) with ESMTPS id F0F66120ED0; Sun, 16 Aug 2020 18:56:31 +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.1497.2; Sun, 16 Aug 2020 18:56:31 +0000 Received: from uf25486d27d2d5b.ant.amazon.com (10.43.161.71) by EX13D01EUB001.ant.amazon.com (10.43.166.194) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sun, 16 Aug 2020 18:56:22 +0000 From: Talel Shenhar To: , , , , , , , , , , , , , , CC: , , , , Subject: [PATCH v10 1/2] dt-bindings: edac: al-mc-edac: Amazon's Annapurna Labs Memory Controller EDAC Date: Sun, 16 Aug 2020 21:55:50 +0300 Message-ID: <20200816185551.19108-2-talel@amazon.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200816185551.19108-1-talel@amazon.com> References: <20200816185551.19108-1-talel@amazon.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.43.161.71] X-ClientProxiedBy: EX13D02UWC004.ant.amazon.com (10.43.162.236) 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 Reviewed-by: Rob Herring --- .../bindings/edac/amazon,al-mc-edac.yaml | 67 +++++++++++++++++++ 1 file changed, 67 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 000000000000..a25387df0865 --- /dev/null +++ b/Documentation/devicetree/bindings/edac/amazon,al-mc-edac.yaml @@ -0,0 +1,67 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%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 + + "#address-cells": + const: 2 + + "#size-cells": + const: 2 + + interrupts: + minItems: 1 + maxItems: 2 + items: + - description: uncorrectable error interrupt + - description: correctable error interrupt + + interrupt-names: + minItems: 1 + maxItems: 2 + items: + - const: ue + - const: ce + +required: + - compatible + - reg + - "#address-cells" + - "#size-cells" + + +examples: + - | + #include + soc { + #address-cells = <2>; + #size-cells = <2>; + edac@f0080000 { + #address-cells = <2>; + #size-cells = <2>; + 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.17.1