From patchwork Wed Dec 27 18:27:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 183543 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp1600109dyb; Wed, 27 Dec 2023 10:30:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IGpKmQnLriqCoDublX9xmPAJ2lyKIOzeFgCRSeJqqEem9P3wU4N2WsFU2BnoBbgi67kjNpt X-Received: by 2002:a05:6808:1a12:b0:3bb:c73d:2145 with SMTP id bk18-20020a0568081a1200b003bbc73d2145mr1273235oib.3.1703701851387; Wed, 27 Dec 2023 10:30:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1703701851; cv=pass; d=google.com; s=arc-20160816; b=HKjkzsuesPuIoKqCu/K0K45EZybIV13UPnjTs8B8yxEZz9Sw5Fi1WfPA9Eg+dGeARV KY9DkeQfCMvuz+BDuPDvsavBrJ9+7X1ff63LvsnvbivCpwkTsIVv1mlf31zE10QK+NzZ tLypv4J1cXp5Wvz9L1WGXseRjZW1uqSLkUe+e56SpFudQby/Nv0vPR7obH5e3vTKXML5 IMmdbU/QuV+ZWqEcw8hEkP4tf/CXteriyU2T9i4UmA1wQaZMv3jcELZwO+5tqmwjY6u8 wvp3CnZLLPKaF82KGo4pnSuz4PJ79UlDEPa+90JgO7ecqgcwLspbfM75Jtcl4oxLADx9 kLqg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :content-transfer-encoding:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=tJkTHzjCQwUmpxaPt2WdiulHlG0YMJvncKXbLMUyMrA=; fh=492Ek0Vpabbqz4y1lk9p/Id6JH5wlBXcD/z8VK8wbWM=; b=tXcMS5C2VSXgU4Qan8cr8+y/BFBefIkpCdP+iTKTCsx8VXeySN0ACf7/ThJ4t0tGwj B9+vxj80eHhKwSBMWJ7HCMTSqDbRn49TemnZSPbzfueGVKsZr67/+ayM0iQCS8tE7K+8 bIpFuZWgytzpn9yqAdWbhorKgEAjeHHFuQ0qMF0QYko0dkkzjccByRK2iieUQFnXynlM tkai9awT+uyU5Y7sWWvM1vubSjH+BJ+L8Gkv67/RoMp+OJJqARn8NXsiSwErIZLohRGI MU5aB7tsFA/2o4m/6A2IqNLqhXFizEQogsmf+5pC5q6Txa7eH02KFrKdtLglWHeglcQV Cg1Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b="LupW/Qws"; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel+bounces-12205-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12205-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id x19-20020a0cda13000000b0067f610371dcsi15527432qvj.137.2023.12.27.10.30.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Dec 2023 10:30:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-12205-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b="LupW/Qws"; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel+bounces-12205-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12205-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 210471C2092F for ; Wed, 27 Dec 2023 18:30:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8423A49888; Wed, 27 Dec 2023 18:28:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="LupW/Qws" X-Original-To: linux-kernel@vger.kernel.org Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on2080.outbound.protection.outlook.com [40.107.7.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B390C495F7; Wed, 27 Dec 2023 18:28:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UcRTtsAotYO0fhBbIqzNbnsv/v5Q9TtyX9gajlm8mkTFYizBmh0Gj+B9DCldjpATSkLD2tg1dfdVoTEUUu9xjqsQC5mh2QqkTkT1QOrpXbjiXlZsxArIAv6EdL7X+aW2efv7jkxMJM2gwoMptY3GmP8LwZ2BqfcYnVtUUiRQ1g4TDPJvSjWwdkfabw+U400weqCkoiVJHH5wT6mRvOzjA5dtS6hPAAIt+QDlxn7yuw3eWLHFg6eo0gZm/FBV0Fs3iicszFNp3J/Ol7+bZF/pR+ePW/gevK08uLQSMqxoNO+uTE7V8ZM9QubSGiI/fj7Bu5S8+8rZ3Ean69ffA49fhw== 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=tJkTHzjCQwUmpxaPt2WdiulHlG0YMJvncKXbLMUyMrA=; b=ldu9sO0W+Uzm3U1bd7A/cW9D/zjYstkMvT+03HJhKAoGSEQs9VUlJYA81niyXkkb6TfOqOsNDhszucxQcsI41O2nuGB5qYLNce29wA4b468xt6pr8IMaMzAS15zRzGWzSxNql7RmQ0QFOCiXeCDIkQqwIyAcWdJKMa1IcuWIg7OEW/dMSwxjfeDtjX6Ue8fB9TANox6XQMiNI1INi0JClDqKLM68SQGkT8CQAS1LZwrS/3zHWBG5cw1XTiiRdWZVFeX4cooMv66DUAXmUZBTjrk8bEK2A0bDjoQRfuKrRNoE/dNl/1Y11BQutu7CCq75jaRQ9GnyQxoFRs0hFZWRvQ== 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=tJkTHzjCQwUmpxaPt2WdiulHlG0YMJvncKXbLMUyMrA=; b=LupW/QwsTphEci1ZeYJbxQoPBce3mxxofMmdcRlvQZidrsBZ3a07pXLiGRj80XPANrnzYPtfgcbBCpPatP2SF8AHRR+WTWiieeEWXmk1kVK5APLHwts5qj4JdxHz0weR8xHWTWrC/Z8KGKS7MymK11IFwXwOWzFxPp47F636/+Q= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM6PR04MB4838.eurprd04.prod.outlook.com (2603:10a6:20b:4::16) by DU2PR04MB9050.eurprd04.prod.outlook.com (2603:10a6:10:2e5::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7113.27; Wed, 27 Dec 2023 18:28:37 +0000 Received: from AM6PR04MB4838.eurprd04.prod.outlook.com ([fe80::95f5:5118:258f:ee40]) by AM6PR04MB4838.eurprd04.prod.outlook.com ([fe80::95f5:5118:258f:ee40%7]) with mapi id 15.20.7113.027; Wed, 27 Dec 2023 18:28:37 +0000 From: Frank Li To: krzysztof.kozlowski@linaro.org Cc: Frank.Li@nxp.com, bhelgaas@google.com, conor+dt@kernel.org, devicetree@vger.kernel.org, festevam@gmail.com, helgaas@kernel.org, hongxing.zhu@nxp.com, imx@lists.linux.dev, kernel@pengutronix.de, krzysztof.kozlowski+dt@linaro.org, kw@linux.com, l.stach@pengutronix.de, linux-arm-kernel@lists.infradead.org, linux-imx@nxp.com, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, lpieralisi@kernel.org, manivannan.sadhasivam@linaro.org, robh@kernel.org, s.hauer@pengutronix.de, shawnguo@kernel.org Subject: [PATCH v7 09/16] dt-bindings: imx6q-pcie: Clean up irrationality clocks check Date: Wed, 27 Dec 2023 13:27:20 -0500 Message-Id: <20231227182727.1747435-10-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231227182727.1747435-1-Frank.Li@nxp.com> References: <20231227182727.1747435-1-Frank.Li@nxp.com> X-ClientProxiedBy: SJ2PR07CA0018.namprd07.prod.outlook.com (2603:10b6:a03:505::22) To AM6PR04MB4838.eurprd04.prod.outlook.com (2603:10a6:20b:4::16) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM6PR04MB4838:EE_|DU2PR04MB9050:EE_ X-MS-Office365-Filtering-Correlation-Id: a726d24e-9f97-4aaf-f32f-08dc0709a42d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: leea3dxdhVtoEjK7n0ANVlbBuzM3Z2/n7MQ2z1OyDevmXA8D79+K/n5QrFF13SsjIvdkiZ8sp373C2kNKq04mO2ONT1AteciskjpLM0Bqoy++YCL999iVa70+zPpU5ZOj8xBzgcK3TrXHJCXDmg7eFOHdH7ZRgKBPd9YjVeb9orcAADeqf/bOArl4mWWSji1pt6IMw5tjPk1uWTKD7rmVf1y2RYExP21FsA57ePLE8nFDc3acWDAtrSZY0dBgIM1NrUDj5H8U2ZKtkWwn80zuAwbFUK3LMgNLRCAeGLtUmT5JhLgHabq3b+y6usKd7W1bgOZEBtbftqfi3Snl19QtEy0pwQrhOeRi6UHcjOyCXXezVyD3qT9DWMzFFZM2OqKeuvOk3nPZ31p3edrg2NCDr4VkXH8CLILwgUl0pjhwcbv+KwQqT+8V7DwushOUfpgeQzgf+S69HQHXcl1xWu+KWqTOa8hfLc+nLlVkBBha6fw7xGsn0e3va4c+rqkNSab2IEbT1oEHItqM2at68onlOwo93cPr92VKsEZA8CRE56SZUmjcyoWscbYbmJLOad6/2Eswcin/7ahoAlgt9Npm7fUa0J229uMAY+AhvRnvMPYFn3GQpppIDs/Kxy3RA62X9qMV8zvzRqZ4p9iNiRoPg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM6PR04MB4838.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(396003)(366004)(136003)(376002)(39860400002)(346002)(230922051799003)(64100799003)(451199024)(1800799012)(186009)(5660300002)(2906002)(7416002)(478600001)(38100700002)(2616005)(26005)(52116002)(1076003)(6486002)(41300700001)(36756003)(86362001)(38350700005)(66556008)(316002)(66476007)(66946007)(6916009)(6666004)(6512007)(8676002)(4326008)(8936002)(6506007)(83380400001)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: i0h5YnM4dVaqfu2fgubgsXAiUT8wyN2stgVoVZRIepeC049Q6OztF52R4LsUvPmFOQ8Ge7xgLF+1kzowiRkIJd+PiaNFaqkAHeCj1pSh6xiz5uCnmwpTHtFydESjPyekglbeQLchZENaq52ti/NwWMjtWi8oN1iSjXWg+tws253kYxeonWvskxTN1mGmFa+CrThfLMNEudYY1J2vqKS6YNDTbXTcy/wF7hVm5hIdN+C5N7ztu5xD5DXPQfRxeJ6yKAStGivFTL7nQEb+hgbvekH0cbMVXamqa1h7PBQEYx1fnODo585cD6FQlkDSSsvRpAn9970+v9cj77MU0BwRyjfLLLqM+QYxKS/GQVrsXSed5mlGEIUxEQWUwoqVSewKDnO6nobISxM0Pbi1G72xGNzLrs2GzDW3sOlD5/nKRF+GK9k0cP3pvzX/DC5LDnlDNOzJGt1YPc15wQVrIzSCzUeixvYLKZXOvQXwtPGpBly3vglrMh4LmgBTqB7B4B6DjYqvMBO9Fmqclgg9y1Cuxkg6CpaNJww1QZ6mZK6GHpm21nuKNqY6fTj0BGUyTi9CEsx0C1PQz3WdUdu1hPV/zKyAffKFdz9WSacKEMILobmiwtbDU9AAUYVOXGCxHpxk0yB43FoqqbHBirNY76qt62tudIxOzUBOuYjGVOeN6NMD+xLwzT/1oxCLzfi7hxXXwCHGTj98m/bSThNOgmHgJic8GEOJon4tReNXcBCNC2+Gz7gkU1SoUsOs0iITukSUdDNyOHFJ4fWd5I4aLlrWG+wIp267tuCRc3hGKq6Vif5UWxL8rT51YF4qBkTrsk4in9g9Ih1aYUhzOtvaINfT8ANCfbtoy1HsdGvJsThTjWMiOSEFkU7+/WSdnrjV8Pq8vOgxyCFVf6XLeKQHLxMEF9toxQmxzhhDc4zF6Tvc15W5Bc4BZ1CGTHDzSItv2xr9lHg+9TKaRLWPV36JyFvW1frw0SPgn3U8wdANxUZH6dmAZjmKLIAY3BHM9ZvkyAgYCmtOVwG+8jQLMZweMafKci25nTq+KQ7RScfxAZ4/YILICiZcgl7lGlE7/HtP8oFO9lp5KW8xk0CI0SyWgVsR6uDW4g0FvcYAzjSLYgQmx5wxZKXI+8zkHqKav383q9W0W8ih8XkMx4i4CtyPuyOAoygUizSiK5tdlc0NsImXzS62bh+zFt6DunGs95a+/YN8nLY+8AkasuIIANJ8F2hA2+MeGmD+kuwZ6E7HG6V702VqrTtf5rGQXZJPrggilW0edOQEULgQAGOKBokueGm1SUCcfFjr8lywfpz1Zoi2iVT0MBK5A+HELn0Ha/mpLB9D1PG2z6ISLvdpBnBRwDVXDTsow0CB2feraEl5aQx88g/f9aYnldQPvAyzM47cryXYKkPcUhsD5nypm3lDaXG2zKl2SBI1CuQf7/WKBckJ0bP7fqcmffslhm/YG5IfL+ptlz7psSR9X9lyzJI7cQMRVz0SSz65yRKPUx2WXisJa+drzmdmTFQv9dYq09ZkKGZzuz7FJg/bX3hysWNigliDo/6h58RSjlpRrKJ+sKAHN9k= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a726d24e-9f97-4aaf-f32f-08dc0709a42d X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB4838.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Dec 2023 18:28:37.2036 (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: Db95d/lzb77iinjp/w3RBmVSWUOFtw1GPFD82EO2dqUGomuIA7VcXLg+sWoHbGq9UY+MHYWxx9lMHnH6VziMnQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB9050 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1786460872305521049 X-GMAIL-MSGID: 1786460872305521049 The bindings referencing this file already define these constraints for each of the variants, so the if not: then: is redundant. Acked-by: Rob Herring Signed-off-by: Frank Li Acked-by: Manivannan Sadhasivam --- Notes: Change from v6 to v7 - rewrite git commit message by using simple words Change from v5 to v6 - rewrite git commit message and explain why remove it safely. - Add Rob's Ack Change from v1 to v4 - new patch at v4 .../bindings/pci/fsl,imx6q-pcie-common.yaml | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie-common.yaml b/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie-common.yaml index 8f39b4e6e8491..a284a27c5e873 100644 --- a/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie-common.yaml +++ b/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie-common.yaml @@ -150,22 +150,6 @@ allOf: - {} - const: pcie_phy - const: pcie_aux - - if: - properties: - compatible: - not: - contains: - enum: - - fsl,imx6sx-pcie - - fsl,imx8mq-pcie - - fsl,imx6sx-pcie-ep - - fsl,imx8mq-pcie-ep - then: - properties: - clocks: - maxItems: 3 - clock-names: - maxItems: 3 - if: properties: