From patchwork Mon Feb 24 13:41:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Shenhar, Talel" X-Patchwork-Id: 11400521 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 61359930 for ; Mon, 24 Feb 2020 13:42:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3ED1021775 for ; Mon, 24 Feb 2020 13:42:30 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=amazon.com header.i=@amazon.com header.b="ORqQndiu" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727673AbgBXNm3 (ORCPT ); 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 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-edac-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-edac@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>; + };