From patchwork Wed Jan 4 08:45:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Potthuri, Sai Krishna" X-Patchwork-Id: 13088311 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 CA6CBC46467 for ; Wed, 4 Jan 2023 08:52:00 +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=oyxkrCJX5eOATXmSYZ721FhDA3CNcsmZl8iDSjy4lNY=; b=48aLKS6qX0r5iE w7iOn37zgnoD3cKlV5qns5t/PkzsYrfkHmxAxBT/brDvQ94e7k+5TtIkak9rvaUT3hNbeJ+uPfYbA +4ZzCslgB2wJPPM7xn5d51dD2ac17GvQKwDKE0E5/5SZlukCqEfWSvSuNG5QqwZIsLJaaHSf/4cSA NiwBwHws+HDRh20zn/t85xQjWxH6uUsrZ9OD2Dl4A6C/kVqO5EVxuqf/QrpQ5vaHlVtOPcNPBMqsH VL5qyxEJsY71uQjvk/Htp0R4lN60L9Ua9XrVrwdutjU+zFCZq3A8XkP5zpcuulng9yRahsxkHfdwy Wm7WAziswC8N+JeUwyiQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pCzU4-007mrm-KS; Wed, 04 Jan 2023 08:50:53 +0000 Received: from mail-dm6nam11on2070.outbound.protection.outlook.com ([40.107.223.70] helo=NAM11-DM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pCzPk-007ktd-E4 for linux-arm-kernel@lists.infradead.org; Wed, 04 Jan 2023 08:46:26 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VQjdxVnRMZAC5W7f1uuqtN5yUbg9njZoPvaMtx32bhKhWgwAr8l8OSO7YLdikiBnxjFMds+BTBN0UZc2tJ9lllloaVe5sZcifrfpLSHGsAnafG5aJbx7wuyTGr22j4PP6W8CR7Da5GdbQGaTiLrFydJ0zh0mNQnm/7Nd1+qpPgjKzJG63fu8GsgYd88GI/fUxpVO1q66YJfCIdhU4ZGXaAhWjOVag6+SA6pq1ce7zI6o0EpctCHCUPz8TuIkHSTPqnEjeX7F5jvIioH3DA2pGIAzqhwpk4RvMjHtNsjN4CuhxXPNOUWfd5XHpV0/Fedti4p2a3HsbjLMALtwViQ9Bw== 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=+cQZZHGFdUxQAb3p5W87JKk65WI76ShWMAeOXr06COc=; b=BXalzAW7TA5NIOq27PyLtD66SpNRelKtMlCian5Qa4j17otmBO/eMHjj/Z/AAr/oWs/U6v4Tz1anKggjGaP5ab+OcVfA7FYGDg3vky7dpon75qz/Qok/0TI4b51dRrDP7+gwmVSiRQJJISSDX6W6o6U81tS+g+vXgmCHd2t6kO76w7l1R5zU9JJ7Elq28FMlr+BhJHwdpuZQt22E/ddUGYRT9zMp1U17qLyvWipsc0UsveShvtLf2zygn3oMPIbbmzcxudq2YhKnI93xdM5qJVwNbLSjehL1Xk7cCQuwAr9K1VLMRNHPyaoEUKpaD93OOloKnIh6nLlCbfLMl1GdPw== 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=+cQZZHGFdUxQAb3p5W87JKk65WI76ShWMAeOXr06COc=; b=iezJvQZuYOwBpytRySsrHYQZj8KlG3VMDae0HKzsHtpHGsvkQKnM2b3RmcvzdY2DHCnv5LIlJx82SrONajUzby2mjuL8wndTJ1VMQV6vguZwgRDkN8vMeWcBF6pcv/LAP3AJvySf7TvSMUSvTJxKTlDmOjnPjXqsmUmcxEPlWUU= Received: from MW4PR03CA0121.namprd03.prod.outlook.com (2603:10b6:303:8c::6) by CY5PR12MB6034.namprd12.prod.outlook.com (2603:10b6:930:2e::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.19; Wed, 4 Jan 2023 08:46:18 +0000 Received: from CO1NAM11FT114.eop-nam11.prod.protection.outlook.com (2603:10b6:303:8c:cafe::7f) by MW4PR03CA0121.outlook.office365.com (2603:10b6:303:8c::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5986.14 via Frontend Transport; Wed, 4 Jan 2023 08:46:18 +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 CO1NAM11FT114.mail.protection.outlook.com (10.13.174.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5986.14 via Frontend Transport; Wed, 4 Jan 2023 08:46:18 +0000 Received: from SATLEXMB08.amd.com (10.181.40.132) 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.34; Wed, 4 Jan 2023 02:46:13 -0600 Received: from SATLEXMB04.amd.com (10.181.40.145) by SATLEXMB08.amd.com (10.181.40.132) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Wed, 4 Jan 2023 00:45:55 -0800 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.34 via Frontend Transport; Wed, 4 Jan 2023 02:45:50 -0600 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 , Krzysztof Kozlowski Subject: [PATCH v7 1/2] dt-bindings: edac: Add bindings for Xilinx ZynqMP OCM Date: Wed, 4 Jan 2023 14:15:11 +0530 Message-ID: <20230104084512.1855243-2-sai.krishna.potthuri@amd.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230104084512.1855243-1-sai.krishna.potthuri@amd.com> References: <20230104084512.1855243-1-sai.krishna.potthuri@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1NAM11FT114:EE_|CY5PR12MB6034:EE_ X-MS-Office365-Filtering-Correlation-Id: 8d597609-4570-45e1-a7b5-08daee30258a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: RSEHxa/TFqAAN7RzIw8AQA8ZyaiZNquiN+BqWOl2kvYgjgOfrjqQhVfzP53cFFIBzbpVF+RUqsuc1ra43geOtjgB8pCT3aZ6wBaOk+3Sn0tIYzeljE9AwPDpxbNQvz22dwQFTtNTw/pp7fmYBfv1FnTlHFT/vUH7eWPul7tFjSQ/a4hB4l/8ltlc7NSCJh0FqlfPdXIuvkcW102ggPOL9oQJqpFU2Jgst9t4aQsOr0jji5OxA8EN8iWSakGS5ANXMRdNAf12bTINB8rLFdWloYhwq3GPbku7HHQNaZdt7FwoFFvqW0fh7fmgP2qgdGb/jSxajykC/oH1zN0B8QkHUOKDpqARO0g2a8omAON97iKH+FjjL5mGxGwHFADVh/zw5+56y/19jw/92XEItJCfpyBzcW3zb1XfsyLEIGN1fbJRQVos7CtSgSh6A6VvH34SzDZOSU8WYaIme0bj0B5hYOi7kEy+oN3TClCKbJDFbRgQKDMBu5EWjV/VZ29dOfYUvHar/I/wMg/r7u8Wc9CNAL961BLh2gkx4PKGjYJ+albP5OdSJLXzdhtMc/PLj9qhlt3QvTcTi1fcViWFC7V/1P1TCl/OX/rETPaxZlr787iXGWBJDvMAtMhZFLXPuGo3EqAVgQt7PtoJoc3iSqz0OsD87a7bYQaUtORARW5lJGk1rQ6zhJI0CJfq2jr0cxVnGDXJTzJsonK4nxw26zT9ktTrn8deMEuOJWY3w0wIEAFZ+MgKZjuTrEUimXcp3bERkfONlD4ocIyyt/jdC+uwinjfRAutpzY6uNpzY/CVKyI= 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:(13230022)(4636009)(396003)(346002)(376002)(136003)(39860400002)(451199015)(36840700001)(46966006)(40470700004)(5660300002)(8676002)(4326008)(6666004)(70586007)(70206006)(8936002)(40460700003)(7416002)(316002)(54906003)(478600001)(110136005)(2906002)(966005)(103116003)(41300700001)(356005)(81166007)(82740400003)(2616005)(336012)(26005)(47076005)(186003)(426003)(1076003)(36756003)(40480700001)(36860700001)(86362001)(83380400001)(82310400005)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jan 2023 08:46:18.0468 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8d597609-4570-45e1-a7b5-08daee30258a 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: CO1NAM11FT114.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY5PR12MB6034 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230104_004624_729624_CD9F97F9 X-CRM114-Status: GOOD ( 17.42 ) 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 = ; + };