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