From patchwork Mon Mar 21 07:51:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sherry Sun X-Patchwork-Id: 12786961 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 3046DC433EF for ; Mon, 21 Mar 2022 08:10:37 +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=EJozOISS8j9MyeLaUcDdFAZ7nn2SCOa7xiH2oIbRy6M=; b=U8mYTbJRCj/dUo i90OVgok60EWYeO8l15zbDLMJXh1DxtQYVLrI1TQcAM5ezDl7u6MO3jb4/+bsBo+KtXy//O8t/pU9 dg16RNXaJ0wZLhi5bY/ztIoNKW+WBxW4MaN/uUTWLC8xZ+Lcuva4QBe7CuzFPAhT4XUYIMGjuBcpr pEL+/HgtkgPmPty7KkaPCCjEYSMWN1sg1RxW2+W9Ag5sNnB61VsrnEoDQ6d8KSstj//p0PJ1AeGTK L/pBABnQcU5QXQn7SpED3FIErK5i4iBasmrKckFrdL9QdGJTnXBXI0nXtqh2dXYNeREAIPSIQ0A8v 8pNLm1aQURmr+Hj4BmaQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nWD6S-006xW1-81; Mon, 21 Mar 2022 08:09:24 +0000 Received: from mail-he1eur04on062a.outbound.protection.outlook.com ([2a01:111:f400:fe0d::62a] helo=EUR04-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nWD6O-006xUW-Ax for linux-arm-kernel@lists.infradead.org; Mon, 21 Mar 2022 08:09:21 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bGiIrz7/qDrDc9Y+3TCzceXubpcelkYwxLKnaNRbciUoRwvyKce3A0UJUxPfn/Kvc4Ojat6kP/S4vYluHXpfgi8i+15VmjYsv7vx/+OshBvt5t/XOgCGdtjyP8DcW3I4XumlGyhslGhtWeCdEGwK4Q0G+RdT6NfrT1pNZMoAzOpLj7lYYmrb4RrkL/oHy8oXECa1ld3xpgHNViEVfA5CZzGiwlxPgDqhdk6FDod2z/ZV8mhjfb10P7xNXVsbknFIk4ariP50uHKbsVDxRmUNRPJH00i3wTBuyusyMN1YC2Ml35OmTN3Q7DiGDS6eJRajSUgGgrKpmmqs5l+Xevyuuw== 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=sZprN6CftB84QD4rwWDrKS5EAY+XnZ12JaMFCTCk3QM=; b=ayxxCooTuDyHrmplWkdZvk4J37BobPljpZIqQJhl8RNHa31lYWW3p8yD1MhZNKrQ+3Ts+KKE71QGcqcVKaJeMHCwbYgFgpDS1fTD9NLJI+OGpFng/RbGvLs3PRnVz+nfIRSjRpCG7LHaKM3bjYEaEMIUUapPEPZkaiehi9hYOFhynaUnd9h5qeQAKPY/xyPf4QYiD3phXlhmjhcDPW0Ry8T5Gbm896hYiWbX2Ol5Ggn0+rVZ+j8t56O+UKBz3IjJIQ6xM6RI3PXrDQFJT0jh6bzdzXl+y9ouxBgK54mS1MMa2N2r/cgJ/Z3J0+W3wF7dvh3tLs6j/3XN5bCB/XjfDw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=sZprN6CftB84QD4rwWDrKS5EAY+XnZ12JaMFCTCk3QM=; b=rKoPNBtbb9wu4sKiNdM/vXuyKtiSF5fdjn44+I9jPuxSPQKajGFMfM/NDPdFuiaqqVQMBh4rPBVINYEMum4xf5qofDNRvf3Nqr0B2AB8X0sO1ovbPYCDVNQXyKvpRmLZK0mjlDAkjqlVUKJn1RsmHAFc63Y4nHx+5Wu7DHp1eR8= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AS8PR04MB8404.eurprd04.prod.outlook.com (2603:10a6:20b:3f8::7) by DB7PR04MB4204.eurprd04.prod.outlook.com (2603:10a6:5:22::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5081.22; Mon, 21 Mar 2022 07:54:45 +0000 Received: from AS8PR04MB8404.eurprd04.prod.outlook.com ([fe80::6972:1f59:5d1c:e557]) by AS8PR04MB8404.eurprd04.prod.outlook.com ([fe80::6972:1f59:5d1c:e557%5]) with mapi id 15.20.5081.022; Mon, 21 Mar 2022 07:54:45 +0000 From: Sherry Sun To: robh+dt@kernel.org, krzk+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, manish.narani@xilinx.com, michal.simek@xilinx.com, dinguyen@kernel.org, bp@suse.de Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-imx@nxp.com Subject: [PATCH V2 1/2] dt-bindings: memory: snps, ddrc-3.80a compatible also need interrupts Date: Mon, 21 Mar 2022 15:51:30 +0800 Message-Id: <20220321075131.17811-2-sherry.sun@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220321075131.17811-1-sherry.sun@nxp.com> References: <20220321075131.17811-1-sherry.sun@nxp.com> X-ClientProxiedBy: SG2PR02CA0104.apcprd02.prod.outlook.com (2603:1096:4:92::20) To AS8PR04MB8404.eurprd04.prod.outlook.com (2603:10a6:20b:3f8::7) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 030735e8-6cb1-4807-5bf2-08da0b10104c X-MS-TrafficTypeDiagnostic: DB7PR04MB4204:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: IxAgN0TTw/JKimmAXtzUu9YnTFj4n7Y9pq7t0oMMGYMrj8dMBG05SqogKD2RwzTdhscpdsJpsZKjBMhQ2mv225FSxjD84XpRKtNcNJfOOt6xJrCG5iZuY4+hVNzyzdCk0pT2q4oQHOHxDjAEy88RQqr8BlAZapGKjJzK+xKt6dZk+I0/9MUwK6V0WbJPvfIFBsel+5R2fHA6iBF0lj0yLLMCh61NfeqOcqhhVNJfSLVpyFfK3TqwrjkfkKjnXWwm/h57YM/jeuhhIu+Pb+Kvk9S9ydbhRC1NSV3Zhy/FAupHGhnceXgh3IlWQU+vMOgdN5PjbxVLgic6PCOBnRIUPHn4MtOjxytu+P/CKvoRWbSRe5KAytAWyr+ZKHmGBP9dq9MLbhFwmNRotSxRnbVZOO069dX2W/S0LtzliCSPcNgv7k2EJFIaMMAG99dGl8r4uzlIMUJSVFZRQHjXld+hl4FmEFycF4Sdha4SrQduM73f6aFdRDd4SR4qVLhv/ekBJXG2Rt0etRMsaDuHADDArWaZJq9kRelYr6losfZKDNGwzoLnYa4q71x7rmE//0YRP/JVkoDv6GEp9Qmn4YvkGGjgnjeU7vpZ5aARIDg69lgkHzQ0qixL52EVPq8Slf7bHvbZBmAhM9zTXKaOO5QfQh1MB5mk3iNSMHu2MLCIP4rRIL64Sj11iwU2b2Y0VTTzXILKuogbB87Ob+ud6cNsRg== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS8PR04MB8404.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(8936002)(186003)(83380400001)(8676002)(6486002)(2906002)(26005)(7416002)(316002)(6666004)(44832011)(38100700002)(38350700002)(508600001)(4326008)(1076003)(86362001)(36756003)(5660300002)(66476007)(66556008)(66946007)(52116002)(2616005)(6512007)(6506007); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: kBawpF1r2Yn8r8fsQKOPguk8e2hURbDGrjLLd+HlkrxhRkME7FYbeeh2ggrkheabba4H6cPeCjuuiwCtMEQVPGVNx4qAVY1oVPSE8hrj30eRGFAIZiomqTb38rNxaONv2I0w7H5a6/p1xZeavpJZHxh8tp8sTZc3hAb83gE4sQFANwArxj7DBsCuXTddqPaSbLN7T03D3N0fYaVXQh4mZv4ZsgNekFA3gdz1HFSF8CMKLsGl1VwsZzatqO/4Jpf3X74occ1ld+HIqnF4eY72qUMq+uSxA1tgl73Rxp/ZA7HcF6GGitzyQkcc0iqxKZZpcyJFRJUT7VW14ughgzDwr73mtAOIkMWOpH71pwyAUcvOihgoA+ME0p60nMofT+0WhlVgdnBZ9BeJgfciqz8BLYyRoPcHkRZDlMo7iV59vmnLkDeOXN4Z+z8ziVySRtVRICHJg2DHXg8pxaqvpLK5qS4PMVf4xaf5DSlLRT2hj0tdPdaDIWTl6jP55xy/DbIymxcjUc/RZTEPcOLrcLtdyAkj5vzlmPYPxwePJoNVIsmu89u9L/JX+zW+ZLLp9Eq2Rci4JmghWo45ZgtpQy83m+QtgKO+ueOqUOG2mLFXzB6h/DddZq+OBubEhK7yWFrdpdEYKUHmyvLnT+HMHRNj6mdY9jzCrHZadNpTCS0MNOcvhHhrMzWpaGsU1ilbXgwJEUU5h3/RBS37skScsCYfFenNael6DsYWOJeCZ7v3xqsJqCyWmF3XQcDXs1ooy0PANaFO+0glLCELbNDgc/pgeeE+0o5XNjjwl15pZTzsGRKMTGdxtMjfc1JNF6D49+MVS3NkLiBay40FEiW8CVYhCVquXPVxyoSVLDhIjCLzELJMCB1KMBXRQ2FCERmXYxToHu+CoWMIVYixSUC+2fonc7qgelgU6ANtgG5kkZsIrUZscwFTReN95MyKwdViPJuEMdJWhbOngTI5fpmDAgYY+ge4DdcRu0xcWDan47b38FNRvLPRqZ89qTp6TKWm9qhopofqOj4jeSrqZXU67+lL+YRWiW142IHWydTcpM0elKqhIUyn2ncP9PyrW+x63FsT2pHqeE8yTF3Q6NZaHu2hMJm+Sgd9UYnyL8emR62XwP/WWtylvr1fMJnXXexJspQTsxuPqbZw4+USwkAArPnfp/ynsY6LWRTDA5BcXaaQ3+Aa6Q74dcH5Sz78wo/2swJ4vVIuI1ptKGXz3ysfcd2mcGYshJtL6sgF583XUT5M6BLRMcOpkiKjvcLZe0ijLEZKsnuGPeu2EXTk/OcPxSawsL+i97lSk7kZLBbe5/E6JUhEDCOni+mlz/PIwoGRVTt1YXUQzYEQ3MEK4IxtaX1rMT3bMpCgoJjl0cLEYGO0Ce1PBoDXKLzJvfQPN7iLzqqKXYp99tYl53w984DYt3anlpDNHsYU9+duQX3QGeQItzEy8ObALlGS2zFuTqJs15dh X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 030735e8-6cb1-4807-5bf2-08da0b10104c X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8404.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Mar 2022 07:54:45.0775 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: FPc2qyUId7pmZcOqPO6SAsOktG2W+sp0kdBWOqIX3skYmwEPLqBlSGEiroX5aIEj2v0Q/LALsEu3yjFJsAjkzA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB4204 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220321_010920_387420_F87FC93E X-CRM114-Status: UNSURE ( 8.22 ) X-CRM114-Notice: Please train this message. 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 For the snps,ddrc-3.80a compatible, the interrupts property is also required, also order the compatibles by name (s goes before x). Signed-off-by: Sherry Sun --- .../bindings/memory-controllers/synopsys,ddrc-ecc.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/memory-controllers/synopsys,ddrc-ecc.yaml b/Documentation/devicetree/bindings/memory-controllers/synopsys,ddrc-ecc.yaml index fb7ae38a9c86..e3bc6ebce090 100644 --- a/Documentation/devicetree/bindings/memory-controllers/synopsys,ddrc-ecc.yaml +++ b/Documentation/devicetree/bindings/memory-controllers/synopsys,ddrc-ecc.yaml @@ -24,9 +24,9 @@ description: | properties: compatible: enum: + - snps,ddrc-3.80a - xlnx,zynq-ddrc-a05 - xlnx,zynqmp-ddrc-2.40a - - snps,ddrc-3.80a interrupts: maxItems: 1 @@ -43,7 +43,9 @@ allOf: properties: compatible: contains: - const: xlnx,zynqmp-ddrc-2.40a + enum: + - snps,ddrc-3.80a + - xlnx,zynqmp-ddrc-2.40a then: required: - interrupts From patchwork Mon Mar 21 07:51:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sherry Sun X-Patchwork-Id: 12786955 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 74590C433F5 for ; Mon, 21 Mar 2022 07:56: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=0SvxWvxVwv6KHG3yDUmLgdJntG1awru25p3eIJl6gQU=; b=ILCvFEAgL/wx3q 7Ea4O3ZAN3AYQ9a1Dk7Jx4rg7OL+p2jUujwlkZ3GhGMk8FjOdJUuboKcFskEsUyzPhw+CkDIs+cTQ ZmL/b9K8TjfkJy2BNLRrf0xZMMgiGvua4aqHgzkyy+NghKO+2qyDIZb5Zl6u6DJTYIVPI+qDa/Gx6 m5u566wb8wnBTMvZxh3IZ2dHJi+LwNrzEmSp22W/QdR9K+FDbmU3AWvRQBUDQWQnFa5/NoyLP/i// YLml3LM09tajj1vYP1NYMU7tq6sSRQ7P8897AK1cFPm5WJjKi+gaAvH6aEZn6ppfYKuzKBfc6p2HP zv11QHOi1Oyb6EtRRneQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nWCsU-006uGt-5F; Mon, 21 Mar 2022 07:54:58 +0000 Received: from mail-he1eur01on0624.outbound.protection.outlook.com ([2a01:111:f400:fe1e::624] helo=EUR01-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nWCsR-006uFc-HB for linux-arm-kernel@lists.infradead.org; Mon, 21 Mar 2022 07:54:56 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=c7oKutP4tw0W91+0leEV5xMhlO2le9uhvn95GO6ugK1K7DK3+LFy3j3z0onSpIGRcXDj67hiolw2M11sPNhZH9RIa56jyqvx2epHEUtc99/+wPnvC4MyQWNuPd/hhh4DlktijDN7XwMXTNw8+5phD2KQYBDyngBhtqzmLifMHjBhKLzghoJ9J1bBri8pIZPMZYYkNie+7CXaA5RB0gdw33Wibmrh4XkZiMQiBQHfJnFNJPuojornvMrkUZjyzv7Nity5WB4n47N47g9S3VJcfQ4HXEbWYwKFdVxyLG9znsfDYDnPkb4YabSG9LDj7Ino6qFhyKOXiGlqq4/Gkt5rLA== 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=S+SDGOfgnfjMyO9l7GDGlKbOerEEDkiHgyuDEeZXUJ0=; b=R8LwPt9LjYlokiwgVH7OB200AsHkBnSd0+n9KJPAofFoRarF8JebJhqyC64r95q7ZnUX3wxdWgP98Q5DsfEEo9sP9cJffsEkH/k0WrebzYWOZUV0Lc8O9MRh0tYBha1PnTwESmKRH/4QJ7wwAnH5YFip/LqOltEpwlyQf+2b73oLiu7BgC+H8SOXINEIj9GyEn9Yusk3S0yz5sbfljK8LSx50TyS4L4cARDS0JJYFNjJzRZHr4yTQa1P1qv9+Ar/CCRTzQtnY0zEFu8/aZI4iXpzzbca5V4nHEzKyCVdkPNkE3gynMvBKSlWAuLt739+SA7uDhp0ns19IU65m2NFlA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=S+SDGOfgnfjMyO9l7GDGlKbOerEEDkiHgyuDEeZXUJ0=; b=YMr9ktIro2XI/ignGazxEHeDps/BwXDgrLJ46VBKPEdWC2xQD6vw3ha93q+pNLjiXzAg3VJnAjxQG7JxKpr3bBne+MMqljf5eZg0cFqg/OZfAEFjbeDyMYN/DWYBh6XY9Jr211DhlGItdP0eSP9uadeKEJDrMh0wMRANuQzo2jE= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AS8PR04MB8404.eurprd04.prod.outlook.com (2603:10a6:20b:3f8::7) by DB7PR04MB4204.eurprd04.prod.outlook.com (2603:10a6:5:22::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5081.22; Mon, 21 Mar 2022 07:54:52 +0000 Received: from AS8PR04MB8404.eurprd04.prod.outlook.com ([fe80::6972:1f59:5d1c:e557]) by AS8PR04MB8404.eurprd04.prod.outlook.com ([fe80::6972:1f59:5d1c:e557%5]) with mapi id 15.20.5081.022; Mon, 21 Mar 2022 07:54:51 +0000 From: Sherry Sun To: robh+dt@kernel.org, krzk+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, manish.narani@xilinx.com, michal.simek@xilinx.com, dinguyen@kernel.org, bp@suse.de Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-imx@nxp.com Subject: [PATCH V2 2/2] arm64: dts: imx8mp: add ddr controller node to support EDAC on imx8mp Date: Mon, 21 Mar 2022 15:51:31 +0800 Message-Id: <20220321075131.17811-3-sherry.sun@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220321075131.17811-1-sherry.sun@nxp.com> References: <20220321075131.17811-1-sherry.sun@nxp.com> X-ClientProxiedBy: SG2PR02CA0104.apcprd02.prod.outlook.com (2603:1096:4:92::20) To AS8PR04MB8404.eurprd04.prod.outlook.com (2603:10a6:20b:3f8::7) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 883bba6b-90fb-4b36-1218-08da0b101461 X-MS-TrafficTypeDiagnostic: DB7PR04MB4204:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Jm3K1PNSvn7oBmKE5rMMl3QvCw34hUm1HMkE+rorFJ+l3Z9iouairaMec1dIpLgbkjL4THShT9jk3vJIpRG5Ui6j/zgPLLOKyAqLQgg5/RCSD5xUOhinY4JwjbU/1x+fojI1ddwRd6hgKOYTlPpAMPAUzCgyv+GW2Dhks4co7N5a6vHVra1khWq5d3R3RwuNBMHqEaeP5ZeVNDgfIIC1oYMEe6ipcze7wymnxdwbOfIUDuEifjP0Fovv6i2jENnORObzuedlBFybmG8juL64d40IoF3xQy9I6GMs7kx7JhLAGymqWdyB5Lho1owyj4xQm0ghcbFa8P96ZUu3JASGs9FDKW9o+tOJlb4yKrqg24uD86bSA26pIRx26DlCE5JroYe0KD9r4DdryP8TS8U+iy8A3qMVxjef0OHJDsac+fJBmMOS6dXzTP64T3OokmlOWkaQleN4N0/Tq8V4WvgpOUREPkTahbjdlsl3XsleszoNmmgxAbDOSM18lBggcwqUHTqZIbH/SpWVZ1ln7Efb/dJitV4zlp7GB0IBROowilUy4CVMU5e1U0uFb6PKbS1DB+Rou5XojtiVidMVbimCjKxCEOKtju6ZIRmkUmdiU4U8X0cnZ/kf4kp/Vy50FW2L4TEP0RXdGPaiqc0frZFWvlxY4/I71wwHhgMx227YGZWgJ+j/6BKIJtzxvVJrNEt1GbdWTVaRzs/p1VTU8HqAhMSRjM3K+Rqsqwr/JlE4jxU= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS8PR04MB8404.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(8936002)(186003)(8676002)(6486002)(2906002)(26005)(7416002)(4744005)(316002)(6666004)(44832011)(38100700002)(38350700002)(508600001)(4326008)(1076003)(86362001)(36756003)(5660300002)(66476007)(66556008)(66946007)(52116002)(2616005)(6512007)(6506007)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: M8gGpg2VUOgr66jJc2cF3OzHSO7g7GW+rfmA0vzUy4mM5P3KQNXg2MuMSWSIzvQK6q9yEeMxx3SxuQwZ21qmjhIGW/E3rnoFXA0n6P/oAQkWfVK2Ij7PB75HM+kvX7df3YI/dpij1/8UuSb8zbzglY1i1o2Nt9drULwIhctEE4L+uqnmRkK2YsJ83JxzMidfHJjkfegpgcVcqTT1znghVk7ACNKqDmym2WM3RhZ8/7aA5nI8Ic1z5RgismavHAkLkkMjGNdId3BV1o0E5adisCkxKDu1ogwyTlPLG4HNR4oLJr94Kyawq91aYY4s9CNC4ckPNmR2PqlQeYp8tA1l2jncVzlC7AoGHknHIy5c0s0vo6k8DUqqvgSl9eLMtbG9RL73Qr+rcUCdnqyJ32QdeaYwypTE/knF6XOKUqjOimKBhIjwWpnbafu96fNRZjf9vRJTXJcsmJgAAr3skV2PIcTDz7yWSdxqxpyO86qo1A7wlHzjubrQHslP6WP5VHYEchfqX4Awf3VqDvz0IGqi3JN+2LXVRTY9ts1Bo21Yw/hBrf6tbH1ucDnlmYdpIrfACm4KZ9Ki+1Ti1kitcNQW3G7er4dSQtZeP7ZgI1Qw8JxHFqSdLjGEMBs07uobWHDD6QsBWoKlIYQQNvFGoCBVTJwhHsh6TsSxWVuYyXEefAqhD16sPA4H4xVoM6zu8XH5vSEVuRPY3ul9RcgeQjodH/Sk7buhT3ZYumZt+dH5XNaUaNmCJrFDd+oKDHPqzcsemiLF/ky1g/XJo8qYiXSvhWg7LFuBPlQbsqbBg2dkjtt61e8Wm+zK6qZ+vFjzyuA+vc3dHh+bjwS/hzk8VEGsLvUG21wasfhIFCBzHcvBygjDnJ8+Q123qa3PifzScxJZ/J/gy8CdxIHsQ5N2VHNG8fgSgY2DBH2WpgC6dMWZUsdwaRA2x6480mewpUuvOd0o6VtID5j1ISiQR148jrUwBgc7kGlgQin3BSVlW0kNe2tieEDDJ6odKcXf8p/v3exR61TWZtWkpdf7Yo6mkyinP/bqGrguAuyFHRvd5aYXmZRcScIUe9JLdNspB6Sl+DZ1nilfqHmHgW0mSjiR9CgVZg5MWtcP2kzcP2e59opWgoIsCIcSI7WgAfGg4n0YHJc3LGtJZlC3PywrVvIVffPVG21OaDhMayiOun1ElxNwqHsOonZXV5EhB4GIFfuQ9iALNuoVpaSMTnqivYkP9RbM8pItxQKyywVLnl7UOCYcFs8UeszQDfSXbtd6qSjPGNh/jCHOYJaNg55rYT6Hf+dZ9U9x61eCF9KGFR5XTiWRPPqNpTQkkVO1eySZYcOHXTXjby8WNRH7w+9RTs3tIvfCejP34kYHkXXKHf3gVj6evlXM6Xqjd+fRt36bATF85rxhqbqacS0IzCZU944NIgNDe4Mmd6dg99UB9h8HDVWf49SqgMZJRmd2pSAUI4FvzhMq X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 883bba6b-90fb-4b36-1218-08da0b101461 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8404.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Mar 2022 07:54:51.8915 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: +IL0dZdmK9JtzTDoFI7l3Q0QK6Yf2UybYPtiEd48Na+Y75pOAPHe9hDij4AeeuT7Ps8Q7Y16YS9zov1LyP7wEw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB4204 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220321_005455_593304_8E489EB4 X-CRM114-Status: UNSURE ( 9.37 ) X-CRM114-Notice: Please train this message. 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 i.MX8MP use synopsys V3.70a ddr controller IP, so add edac support for i.MX8MP based on "snps,ddrc-3.80a" synopsys edac driver. Signed-off-by: Sherry Sun Acked-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi index 3f8703f3ba5b..f39da2b12ddc 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -902,6 +902,12 @@ interrupt-parent = <&gic>; }; + edacmc: memory-controller@3d400000 { + compatible = "snps,ddrc-3.80a"; + reg = <0x3d400000 0x400000>; + interrupts = ; + }; + ddr-pmu@3d800000 { compatible = "fsl,imx8mp-ddr-pmu", "fsl,imx8m-ddr-pmu"; reg = <0x3d800000 0x400000>;