Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2460772ybv; Mon, 24 Feb 2020 05:43:12 -0800 (PST) X-Google-Smtp-Source: APXvYqx19dYXlcs57gFRxvShaqDZFI6wqtsjOEggNOYk0XS/fCKv4vaShoyG4Ya3+h5ZhzGZRLqI X-Received: by 2002:a05:6830:128e:: with SMTP id z14mr34717318otp.184.1582551792688; Mon, 24 Feb 2020 05:43:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582551792; cv=none; d=google.com; s=arc-20160816; b=GPqEdyAaCpjVJADNacvbRU2x99mjhylJavWFrnM23YNqA1rdmxzYG/VqV7gtQ3lgK1 lLp92DwEiE1UEIJ6E9g3y96g3XQAgYLGN9XGJtnKwVG7QkUTIQLhGA0i8hUAC4RwaT/M YQ10HCH1WhTrFqzVEPN/PJhSY2UIWuwz1fj7jPxie9CdfLgv5OtIB5Hllx4lhbuO3kJ/ 2499b0LyBY4SzYjCFeyZddr/O05tMhVP/w8E+R8Rkvxqg3ZtnGMnmhGU3iKMd/m6wGbk oExhAqvHwE9P66W/Zi4Jm8Dw7mDHUPjefzyOEifmChBREDIYJmbGhgqWG34Mjbi3UdTF Qr9Q== 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:ironport-sdr:dkim-signature; bh=my/Ok6JPA42HLxZspCT15M0BUA+/ezeccCHn6qhmTlM=; b=ZDNGIOVZ6+VABbds0KfeIcJAU3ONDvEccZXRs8J6Ims2ZMUc9lP+7OiCp2gtRjRimV lkYSDSux565y/A7YMaToikdCwsc5DhevQ6kP5s2XFHMLnLZyPH/Dx5raAzlD7WA97mXX l2pnuK3jA+hHFAbhpJPvEpEDpyu611FvwJdvEBDCHUXLKxyFKZZHzNQB7nBfZVVnrAB7 wxRYShxH6Zi/MYXYRcMkyfmOIhYHeu4/zdzGwb3ZsmKl1nP4Yk3WXpYpGMlufa8denKh cOz/wkJk10Q0S/pTkf4/KK8CCqscoA4ERatM7tFa/Jv0p+Fap9og1GWm2ngajbY5bCmW wX1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=ORqQndiu; 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 b8si6232513otf.32.2020.02.24.05.43.00; Mon, 24 Feb 2020 05:43:12 -0800 (PST) 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=ORqQndiu; 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 S1727689AbgBXNm3 (ORCPT + 99 others); Mon, 24 Feb 2020 08:42:29 -0500 Received: from smtp-fw-6002.amazon.com ([52.95.49.90]:25765 "EHLO smtp-fw-6002.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727405AbgBXNm2 (ORCPT ); Mon, 24 Feb 2020 08:42:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1582551748; x=1614087748; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=my/Ok6JPA42HLxZspCT15M0BUA+/ezeccCHn6qhmTlM=; b=ORqQndiuBEDA9UyCYxVu0G7Z5s+udc9tGnNdB1gNvepoZexLZ9k57nv1 YS28Br046u8Gfo9Ni7WxjSJutlHH2dKxtxBDH0mHvyqlzY7izdxsk6u9J 1dxL/oWznhq/Rkd2yAViWAgI4giHAQ0SyPgEU3u9NoorfJcj9xKZPv0DB U=; IronPort-SDR: 92By6bVHUuyFbMYjsjp3guiM2f9wJzCpSQCIiWb35ygw2NxszMLBYZYvmEnYNwv3StgEXzfo+T 6tHEuDQmmwpA== X-IronPort-AV: E=Sophos;i="5.70,480,1574121600"; d="scan'208";a="17903947" Received: from iad12-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-2a-c5104f52.us-west-2.amazon.com) ([10.43.8.6]) by smtp-border-fw-out-6002.iad6.amazon.com with ESMTP; 24 Feb 2020 13:42:13 +0000 Received: from EX13MTAUEA002.ant.amazon.com (pdx4-ws-svc-p6-lb7-vlan3.pdx.amazon.com [10.170.41.166]) by email-inbound-relay-2a-c5104f52.us-west-2.amazon.com (Postfix) with ESMTPS id F0C87A1954; Mon, 24 Feb 2020 13:42:11 +0000 (UTC) Received: from EX13D01EUB001.ant.amazon.com (10.43.166.194) by EX13MTAUEA002.ant.amazon.com (10.43.61.77) with Microsoft SMTP Server (TLS) id 15.0.1236.3; Mon, 24 Feb 2020 13:42:11 +0000 Received: from uf25486d27d2d5b.ant.amazon.com (10.43.161.8) by EX13D01EUB001.ant.amazon.com (10.43.166.194) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 24 Feb 2020 13:42:01 +0000 From: Talel Shenhar To: , , , , , , , , , , , , , , CC: , , , , , , Subject: [PATCH v6 1/2] dt-bindings: edac: al-mc-edac: Amazon's Annapurna Labs Memory Controller EDAC Date: Mon, 24 Feb 2020 15:41:31 +0200 Message-ID: <20200224134132.23924-2-talel@amazon.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200224134132.23924-1-talel@amazon.com> References: <20200224134132.23924-1-talel@amazon.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.43.161.8] X-ClientProxiedBy: EX13D35UWC002.ant.amazon.com (10.43.162.218) 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 | 52 +++++++++++++++++++ 1 file changed, 52 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..20505f37c9f8 --- /dev/null +++ b/Documentation/devicetree/bindings/edac/amazon,al-mc-edac.yaml @@ -0,0 +1,52 @@ +# SPDX-License-Identifier: GPL-2.0-only +%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: + 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 + +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.17.1