From patchwork Mon Aug 22 11:58:20 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: 12950572 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 D7E66C28D13 for ; Mon, 22 Aug 2022 12:01:10 +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=b91D8hkJWfrmCLD61tThSV0oS4cH3Znlp9JUbLSnZN4=; b=0orq3SM1lh7XFd ACrTBATymwCmYBiJPgLTUcSgP8qBUE975y7zVCvn22xmmuUc0XRg4LQQaM5LY171AnJMIH7QQiHlr 7qyTbt6b9RZUnbDUhaU1G3v+PetA0wzdRT1OEkxlKFF9q/bsNCcA0Qbs2XUILXdVrRB2HNVpxhvbq 6+PBlMGcLTXHd2mYrHxqxNATx0zPZkokwevkZABFea/NM1MYmAk6P8QeWqNVG9iEvAutu9xB7C6e5 taQwr3IIvcDcwDbEFANNMQXuE8jIfgVTy34D9C1B0G9UVuGjpQa5TqoTLfAx52IXlv1a7nFLqsiIO Uy/SzQgKwTJpRA7ye37g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oQ65J-008ek9-6S; Mon, 22 Aug 2022 11:59:13 +0000 Received: from mail-bn8nam04on2054.outbound.protection.outlook.com ([40.107.100.54] helo=NAM04-BN8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oQ64x-008eI3-Pq for linux-arm-kernel@lists.infradead.org; Mon, 22 Aug 2022 11:58:53 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=l/Vz+EblsoY+JLsI5+lrGUsxiodQCsMuaFQL5OcASfstbSrpOueuvOjD4fu37JfIpb6A/R6nIpqupJQHg2lo3/2QlbYLeWdpiXvJyQO44u1wvFcO9/AZuGUpK0LeMYyw5OqJyVqn3sei8YhALViUEKV+coI1pjMdKAxa4bvaF1AaakixwuC0o4kd1ThWZiVUz11OcXF0bGXtybsZFmXHtw0I+L3MWZnjspU3T5mCXfvg6G7xSJdDryb/k29CAe0916Pf5iPv6huhH/DqdULs7dFfHO4HAo7GzA+p5yBs4ulWUYkdy0lutebF827YNtsGPqDUlQt2mhxgEUdiLFNU4g== 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=RAb4Ke5IaTQzWAiKF27gj0YMJA1V65YkwvvPL6z7ipc=; b=kIGT4nSBXoJfkHLrtz+WKrY4ty1sdA9bLmws68xbu0id2lnhJH16okcolOKZlOkh5PTXmTc7swBPqjGGMIjzVlhFuIWNEv9BfmqeiYWl+YWKDOjw0meXbSVSG8pM8+ueF1hqJ5cgpXxGCboh64VmRixEpbZ9gTufFUZ50QKXzixc6ss3Z+XgrpRebAgDAeKT9lOcw4+xsmjXg0xi6ph0S0Gq+DJzZf06uqT03tIVzQtEAlieyrk8FjJEpStAt+wG7/NgcEBnnC8Hm+WifvWtHdV4JZcPKK9y9Leeeve7A2ridERNxn01Hf/77cSXVewdYZ34K+yFi25YJoAPVdLCOg== 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=RAb4Ke5IaTQzWAiKF27gj0YMJA1V65YkwvvPL6z7ipc=; b=wD4MuuMRtP+awOymW4NA+EdFEGj5CO0eIJDjvk1b6ynHbdiDDsEoPyxIFXK/Y7iJQvmD2pCFLJXgZp1pIleZaiJ22C610AMRr6c7bj3RU88SazM998b8gTreluJ5wTxkhBweoqweZ4yqVH6dYKugKL3DAMgqt735IMgR5oXlnJY= Received: from BN9PR03CA0368.namprd03.prod.outlook.com (2603:10b6:408:f7::13) by BL0PR12MB5506.namprd12.prod.outlook.com (2603:10b6:208:1cb::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5546.21; Mon, 22 Aug 2022 11:58:46 +0000 Received: from BN8NAM11FT063.eop-nam11.prod.protection.outlook.com (2603:10b6:408:f7:cafe::3f) by BN9PR03CA0368.outlook.office365.com (2603:10b6:408:f7::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5546.22 via Frontend Transport; Mon, 22 Aug 2022 11:58:46 +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=SATLEXMB03.amd.com; pr=C Received: from SATLEXMB03.amd.com (165.204.84.17) by BN8NAM11FT063.mail.protection.outlook.com (10.13.177.110) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5546.15 via Frontend Transport; Mon, 22 Aug 2022 11:58:46 +0000 Received: from SATLEXMB07.amd.com (10.181.41.45) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Mon, 22 Aug 2022 06:58:44 -0500 Received: from SATLEXMB04.amd.com (10.181.40.145) by SATLEXMB07.amd.com (10.181.41.45) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Mon, 22 Aug 2022 04:58:43 -0700 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; Mon, 22 Aug 2022 06:58:39 -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 v2 1/2] dt-bindings: edac: Add bindings for Xilinx ZynqMP OCM Date: Mon, 22 Aug 2022 17:28:20 +0530 Message-ID: <20220822115821.3907-2-sai.krishna.potthuri@amd.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220822115821.3907-1-sai.krishna.potthuri@amd.com> References: <20220822115821.3907-1-sai.krishna.potthuri@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f6dce733-2cc1-439f-e98f-08da8435aaf6 X-MS-TrafficTypeDiagnostic: BL0PR12MB5506:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 3mxakN6vWn0rHgogOwLex6d2W3ZL+XG49LOw7Wz/PCZPdAspkJU7TCEVpptxG8zkXTHfWtxsuq7/INTIGcH68AetqsAJ5/QR91uhTo0YFVcuLXBfv3i6fXQZ2bgTx5TOKkysCLnrdTxwJB91rehhTf5TL2F/5gATm6BWuL2ICWcdiwQ0hmxG7THMgohG1HD53QZIK9TGTr8ru5i1u/18B94Bs+2EVjFISmetU3Bm++VaZOthTGYLR+Ly9VgtyLuOEAppMc1kQWcY/alWaA9s9PPUG+Y/2ZhDoRtTxOGqJj+TofuxXNfhc1YIXv/2m2xmbz0LfkYVkSWOSbghIKxOQGw5h5s717ANdHX/s9aeBhd0AL4W0ZTPzlM+TR6eICNgqq2PT69LVuEQsnHMi+CiGoGwmqsjMBXIDqd5eRBIO7f72EOj45Midw0xEOOQ9cSXkRqSppLTYCkK5glJ3n/KhUa21mbTxBpEnYkO/9KuKytJcHgIycVVoGnxtbkDPRVbfuJCim6o7caUpcJA68bgtVVNFetMueOK2b8FWzK7GGOFXmh/NQCFT06V7St1Tlla5D4QX3tNKRPrivi7CUU22PLGKuKJUVPhT8d57NwdsZ0sN2kIcD/IScabFUcxtug8CvcvZxkSwGLjJTCULs4j8jmUtF5lv/X92zFxtEkJaePsEjer76vaDzJm9pfoO2FlAax6t/CREmp4J9X2cxz9nvjurotgdRFv6JTj5GKbo7QZgH7tWiCFJHpysC0EBdtSpGeHsVAnBRtBcn0majQXS3kpTPirx0flpNP4xgjbz7z7Vzh1xPBOTMtLLNzHQlfkKay3CzUoOi6FEXY1HWiAigTlXRjCzjOpkHphfeE/Ej+/kja8xxU8pZ96lAH4tAJy X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB03.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230016)(4636009)(39860400002)(396003)(136003)(346002)(376002)(36840700001)(46966006)(40470700004)(8676002)(316002)(2616005)(83380400001)(186003)(1076003)(47076005)(426003)(336012)(966005)(40460700003)(40480700001)(110136005)(54906003)(82310400005)(36756003)(103116003)(86362001)(7416002)(2906002)(5660300002)(8936002)(356005)(70206006)(36860700001)(4326008)(82740400003)(70586007)(6666004)(26005)(41300700001)(478600001)(81166007)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Aug 2022 11:58:46.2006 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f6dce733-2cc1-439f-e98f-08da8435aaf6 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=[SATLEXMB03.amd.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT063.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR12MB5506 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220822_045851_883369_EF8B43A3 X-CRM114-Status: GOOD ( 15.54 ) 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 Signed-off-by: Sai Krishna Potthuri --- .../bindings/edac/xlnx,zynqmp-ocmc.yaml | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 Documentation/devicetree/bindings/edac/xlnx,zynqmp-ocmc.yaml diff --git a/Documentation/devicetree/bindings/edac/xlnx,zynqmp-ocmc.yaml b/Documentation/devicetree/bindings/edac/xlnx,zynqmp-ocmc.yaml new file mode 100644 index 000000000000..6389fcb7ed69 --- /dev/null +++ b/Documentation/devicetree/bindings/edac/xlnx,zynqmp-ocmc.yaml @@ -0,0 +1,45 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/edac/xlnx,zynqmp-ocmc.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 + +unevaluatedProperties: false + +examples: + - | + #include + memory-controller@ff960000 { + compatible = "xlnx,zynqmp-ocmc-1.0"; + reg = <0xff960000 0x1000>; + interrupts = <0 10 IRQ_TYPE_LEVEL_HIGH>; + };