From patchwork Fri Sep 9 06:05:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Potthuri, Sai Krishna" X-Patchwork-Id: 12971042 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0842AECAAA1 for ; Fri, 9 Sep 2022 06:07:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=hwt9yUb3Bkn06MtQBDMDxMRJlsrH96W8CTA0eHaPOFY=; b=QDMPGMXgtlb/Cr LvoH790mD8jo3H972sY5q/xrP2TF9FCh4eiQDWwTAfL+5Jos4OSteqBty5DD5OikG68A6fozDanXn Y8B+cGQOHwaZCpvv/7o4d06SDHkl6dreeOgMuB7pUrStf6y1P0rltUbnJYnGsC3s8/gkzLWk1UzSj Ze+70q4Apbd+gmg7ysrlR4vImWTFUTmvbSgxFtByFdctIoTuJy3O2tSKbu7109tkAdHX5+AWosIcQ soR2GXlA+08YWk1pC1l2espL0WW0CON+ggYtMim02IemXeS1e3Wk9OKBhBmXHlgBV0twTdh12sxR+ X4mz6lNva+pgaH65pbzA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oWX9v-00D5Sf-04; Fri, 09 Sep 2022 06:06:35 +0000 Received: from mail-bn7nam10on2045.outbound.protection.outlook.com ([40.107.92.45] helo=NAM10-BN7-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oWX9h-00D5L7-LM for linux-arm-kernel@lists.infradead.org; Fri, 09 Sep 2022 06:06:23 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PexduLA6PDpsQ+d0Hk8qck+IlCvAJknk/kgAMAz7ctRIDg7MXgLnPUmVPaHXgMjvRIJ3qugEQc9W2CEOMM0LNh4U69qy4pTS0Wh+T9oQPMzd41LgzLOPVE/ZWl8cep+YlEqG7xXOl0Aoh7oF5ZjIqfv42EAk6Znfi5CDEq+VGgFRuV6vOqt98EFl5kQ3YU3rq02i4pHCRpDz61wgDb2Urzo+sCCGOphKABFY4bXHvs7I5oDED9nN8SxHhsopQLrbxnZUT6+9WWDDK+j2oob+QPnTpZM2OiNrq9c8pThBHponuzbHVhKdSPdIU4T4ScKpIpIcnnzCBtum9cGKxhz9bA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=9pQq0Qk2CdwhXuREO69DHtLiQTjqn7560DfLMMt6Zcc=; b=VmXdFy6lQXsOSgeQOtotmbPb8HjjOiKqldeAP4K5MyqMOoUwNb0uA1m2kXrT82CqI3EBjzpP/5gKOV7fHgm61x10Q+ubPhmFIN0fHUlkZ8grjZqzStx/RxelvZZSBD3edU7+tJNCY/PRY/FENHu/Dv6usQBqBQQfekfsRUhBvNn9phcX+IdF+JkxtEZiD1FMhzqI3MAG7ir0tFzVqmWLD2qGbB1YHNznxktV3ejbYaB7KXxHj9Q0bySm/sd4eNx17cLK+2wjVGQFcuCviYAP8KC8HL0W0fTWDPFq00GIr1pOk1q+YqFlLTEKRb6dhkKQkjWUicWL5gFSARFXZyleSw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9pQq0Qk2CdwhXuREO69DHtLiQTjqn7560DfLMMt6Zcc=; b=ITar5l9pGxAJoA6+4D4zvR7i2zStgpQGTMFbuzTeuwgXbQx/UVezzdFlFhjBkVH+YBwTXW6gXtAEEZpduYXllTSlLyKpyCsHpr3S1/oQsz/7gGCxBd9v0S1pUla8WI3GX/ekkzIZu9Tzehueeioi9q0sd1fEUxuBigXjX683jkY= Received: from MW4PR03CA0296.namprd03.prod.outlook.com (2603:10b6:303:b5::31) by BY5PR12MB4965.namprd12.prod.outlook.com (2603:10b6:a03:1c4::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5612.14; Fri, 9 Sep 2022 06:06:14 +0000 Received: from CO1NAM11FT042.eop-nam11.prod.protection.outlook.com (2603:10b6:303:b5:cafe::d4) by MW4PR03CA0296.outlook.office365.com (2603:10b6:303:b5::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5612.14 via Frontend Transport; Fri, 9 Sep 2022 06:06:13 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by CO1NAM11FT042.mail.protection.outlook.com (10.13.174.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5612.13 via Frontend Transport; Fri, 9 Sep 2022 06:06:13 +0000 Received: from SATLEXMB06.amd.com (10.181.40.147) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Fri, 9 Sep 2022 01:06:13 -0500 Received: from SATLEXMB04.amd.com (10.181.40.145) by SATLEXMB06.amd.com (10.181.40.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Fri, 9 Sep 2022 01:06:12 -0500 Received: from xhdlakshmis40.xilinx.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server id 15.1.2375.28 via Frontend Transport; Fri, 9 Sep 2022 01:06:07 -0500 From: Sai Krishna Potthuri To: Rob Herring , Krzysztof Kozlowski , Michal Simek , Borislav Petkov , Mauro Carvalho Chehab , Tony Luck , James Morse , "Robert Richter" CC: , , , , , , Shubhrajyoti Datta , Sai Krishna Potthuri Subject: [PATCH v5 1/2] dt-bindings: edac: Add bindings for Xilinx ZynqMP OCM Date: Fri, 9 Sep 2022 11:35:47 +0530 Message-ID: <20220909060548.24694-2-sai.krishna.potthuri@amd.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220909060548.24694-1-sai.krishna.potthuri@amd.com> References: <20220909060548.24694-1-sai.krishna.potthuri@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1NAM11FT042:EE_|BY5PR12MB4965:EE_ X-MS-Office365-Filtering-Correlation-Id: eb6595ec-6053-47d7-4464-08da92296692 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: PxBNJp8VQwBVAFN0E9cbmSjOjJfEgC+YxGdb8m2OQn+YsoYWxkRQ2XfdTeDTW4mOv58ktrfEGukeLcc9bT2gE+WK/qjftiwGVa5EK6WK2kdSQDQMvF4ONVfrZpYmLlEl+L0c8iiNJ9Xel3FaU1AB+i9cxPtZZzhGRZgJdXqLTV22/8RdtKMiiM3MKHA/QxvwFVRIZPklFxJQR1EMAKDo+1pcSBVFbiP/zNgtZoTC3MASnWSnuMkS2xH0j7VDuSQLmiJ1J+zWXuDqLo64vUTAGREZbqIrtSXZymaDOoo8IyX7IUOzDnpBpzg+nN68Nj/NKkah3Z4hfSrI/+kyAEWTxQGE9ySLZCRmaDFTQyK4vwNpr43I3aoDOWc5WpT4JDTwtfQN0i4zRoM66oECrk7TpEeOAvausXxCabHb0GHvYc1SbvSwxXcjvwBZK1U8cw326gdVZq8fyG1elWQeJMCICoH/zVIFXHE/MPNQaWMKquQxGJ3b6U7CxOA/lKghLInnslXFnXuz9JhMjOHp689zYRqDFBDgsdJE0P0NJ5LfWta2F3velVwc9Zh7LE0Vk2E1cFWOqp4268IWrdL2TtxdbObmbl6vBa1vyFMyJPtpWcrzNx6KDywdHGDPiExtjdbDSmKjdZV1suws+1DCogtvsfRFyQyxib7qweJLQ6da1b3OtQb2WvBfzHRULZB+rXJFH+drLeYGYLL8gGkn4zhmO+zJCJCzNGi9zgud4KFq1enf//AGTmQ4zhRjbP+8HRrlLhSJ7LugYcsilOH1FHa1TYZVC28ANrcIdRM9hXRhLQApGnRDAP60oaziVvrXf5mKHLBe3Rde+KQG1lk+n+9YvxXi8GhhxWqXt+DIqZAjfPEly9lCt1OA8IJiFnKgG5ke X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230016)(4636009)(376002)(39860400002)(136003)(346002)(396003)(40470700004)(36840700001)(46966006)(82740400003)(5660300002)(82310400005)(40480700001)(426003)(47076005)(186003)(6666004)(2616005)(966005)(41300700001)(478600001)(26005)(336012)(1076003)(86362001)(40460700003)(81166007)(356005)(83380400001)(70206006)(36860700001)(36756003)(70586007)(4326008)(8676002)(110136005)(316002)(7416002)(2906002)(103116003)(8936002)(54906003)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Sep 2022 06:06:13.6491 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: eb6595ec-6053-47d7-4464-08da92296692 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT042.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR12MB4965 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220908_230621_724915_CD6963FB X-CRM114-Status: GOOD ( 15.35 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Shubhrajyoti Datta Add bindings for Xilinx ZynqMP OCM controller. Signed-off-by: Shubhrajyoti Datta Co-developed-by: Sai Krishna Potthuri Signed-off-by: Sai Krishna Potthuri Reviewed-by: Krzysztof Kozlowski --- .../xlnx,zynqmp-ocmc-1.0.yaml | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 Documentation/devicetree/bindings/memory-controllers/xlnx,zynqmp-ocmc-1.0.yaml diff --git a/Documentation/devicetree/bindings/memory-controllers/xlnx,zynqmp-ocmc-1.0.yaml b/Documentation/devicetree/bindings/memory-controllers/xlnx,zynqmp-ocmc-1.0.yaml new file mode 100644 index 000000000000..ca9fc747bf4f --- /dev/null +++ b/Documentation/devicetree/bindings/memory-controllers/xlnx,zynqmp-ocmc-1.0.yaml @@ -0,0 +1,45 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/memory-controllers/xlnx,zynqmp-ocmc-1.0.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Xilinx Zynqmp OCM(On-Chip Memory) Controller + +maintainers: + - Shubhrajyoti Datta + - Sai Krishna Potthuri + +description: | + The OCM supports 64-bit wide ECC functionality to detect multi-bit errors + and recover from a single-bit memory fault.On a write, if all bytes are + being written, the ECC is generated and written into the ECC RAM along with + the write-data that is written into the data RAM. If one or more bytes are + not written, then the read operation results in an correctable error or + uncorrectable error. + +properties: + compatible: + const: xlnx,zynqmp-ocmc-1.0 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + +additionalProperties: false + +examples: + - | + #include + memory-controller@ff960000 { + compatible = "xlnx,zynqmp-ocmc-1.0"; + reg = <0xff960000 0x1000>; + interrupts = ; + };