From patchwork Mon Jan 8 23:21:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13514156 Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on2045.outbound.protection.outlook.com [40.107.104.45]) (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 63A8157896; Mon, 8 Jan 2024 23:22:57 +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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="V/zNAWot" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JqAgWu9nhnqZxXenpDMeAfrtELrUBDn2ZNn4zZR4gHiT0/fOrtJXxp5tpNvJtGirNdFSY8llWYk0uYiISoE7hOavVyFC3rZ5zqC65owstVDxRqg1u4TKDYIFHh40UB8GiBtcQp9RIYKVBrxLDhhyWEO7RfOgZsttEgnQNciz1DonToRfbVedPV43teb9tWk9JouOadj2mrHF8/agIZuwBz05QpnzJFgLoDJAK26ud1COXTl09xI6sv01tjbVL4v4DeLZEPu+GEvKlAz7hxiCiR+EFBhbf997+fPd8jRVIIFoFuj08dABje5PewvJ9orXHXiV2O9CmtQzstsvGJiwnA== 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=gV1LmGPihazQf9EcU7o32Xhyn4PgMLg/E0OO76MiU9w=; b=SCAGYX8EyGrhbsuzqwHoWAfEdRFQRI8YrX+aFfUBBXM1pxN2gtvazJ/ZS0du86BR6ZOa4VcRGrYPUTKjWD07YKxJFNUHvpcOho0Oh4gukGZld/aHDs7+eNue157OSqciitcqtUH+VET18RaD84civ3EEDL5iGiUQNLMAz2vXxyKCepJ2LYOcGBlBZ1PNHVuX6jFeGbqhSnrc4HICjit3eQJ86lKm6UwzUz9dTaIH/T5gSTQuNf2R/bU2SnZQaGFdP17N+I5gWtHhapDv+IDvRb4FjI4vhvEP6OxJgbcANJkYRt2GFkyIrCXgzauVlVDl5KwuGrrihYgBNjNEgCNJlw== 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=gV1LmGPihazQf9EcU7o32Xhyn4PgMLg/E0OO76MiU9w=; b=V/zNAWotZsXb4C5Y2GaERxosMyhabRG7R9X5p0m/HTzSm8iOFGQ/6vrPpPRgIyfsm2reHbwFg1Vr9LBAz/trPBoCxxyZmseXd8nPtPAGdAKnPumDu5risn07cctRbCfcNgz0g61J4Kib6hDTaQsudlvssjYK3sYcyH9sjKjIpqM= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AS8PR04MB7511.eurprd04.prod.outlook.com (2603:10a6:20b:23f::5) by AS4PR04MB9338.eurprd04.prod.outlook.com (2603:10a6:20b:4e6::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.21; Mon, 8 Jan 2024 23:22:54 +0000 Received: from AS8PR04MB7511.eurprd04.prod.outlook.com ([fe80::8ee3:bac5:a2da:d469]) by AS8PR04MB7511.eurprd04.prod.outlook.com ([fe80::8ee3:bac5:a2da:d469%4]) with mapi id 15.20.7159.020; Mon, 8 Jan 2024 23:22:54 +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 v8 09/16] dt-bindings: imx6q-pcie: Clean up irrationality clocks check Date: Mon, 8 Jan 2024 18:21:38 -0500 Message-Id: <20240108232145.2116455-10-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240108232145.2116455-1-Frank.Li@nxp.com> References: <20240108232145.2116455-1-Frank.Li@nxp.com> X-ClientProxiedBy: BYAPR02CA0063.namprd02.prod.outlook.com (2603:10b6:a03:54::40) To AS8PR04MB7511.eurprd04.prod.outlook.com (2603:10a6:20b:23f::5) Precedence: bulk X-Mailing-List: linux-pci@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB7511:EE_|AS4PR04MB9338:EE_ X-MS-Office365-Filtering-Correlation-Id: 3bcf54a1-51bb-4746-5400-08dc10a0bdc1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: PZs95iD4hHPw7aRy3R6A7esnu6Pilb69eCeq1RhOpLjcpzO58e3FGPYsXsEnUY+/ylHe8EdhjTtxsAacKSX8J0VUEBL43cR7NvFwLPVP9lFtqoZ87BScjYcYGCeWbL+AK8tH3epj/wQeTh3HzlQkX0dTzdNltoWvVrQ3hJK9y/AWE/nCehficpfrrOQJWFlnIPv9QYZDil0syXQT6yod/5/Ujg9L6ZvxfvvEfySLncN7Jrfgs75HxUXluYS5eoyLpVse1HZkavGW9Lyyco1FJXHuaD/nRmV8bgf1Xx/NckDATcTa/EidbcIa4TkT6bRg3vVPsjhTVFXqoSOgyYRC1xayfIaflqf29Icote1RPHRVn40vVcRY3eP88915DFF5bodtor87t2O6T8XNy9Hj+6sALDoUwed3fe6r8+S5jyf7v0LVxvLYiv+VjdUliQh8DkQ14k2njWYZZg8AWyxj746kMW9NGU+kaQqezXR5We0iWaSTXWwgzrgKhjw0kSvIMDODg4ulcKxnf12AR9vquKBloIlZO0J9AZdADj/xBanTBZZ6vuO2FYPajZYXHLX4DzE4YXWZ/PKbKFA+KWXNz4LK3LWrBeEI5hzYrO+Q39GfHeEM3OsakwPbHG4Fu+CNoS5czpQN2N7I7imCKDk7+A== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS8PR04MB7511.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(136003)(39860400002)(376002)(346002)(396003)(366004)(230922051799003)(64100799003)(186009)(451199024)(1800799012)(52116002)(6506007)(2616005)(1076003)(6666004)(6512007)(478600001)(26005)(6486002)(38100700002)(86362001)(38350700005)(36756003)(41300700001)(83380400001)(7416002)(66556008)(2906002)(316002)(66476007)(6916009)(4326008)(5660300002)(8676002)(8936002)(66946007)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: CmaqLk5ZQafKrxfLezXgCVbz/vrxS9heZSt4yHXC/0Chg+OtxM2gETi6g2LPG7UliC6pqxiZ+ohmGPbdaTM4AB4lC1nvyaGVqRk4V829UF17HXkoYex+BhUJBuvBftk6L/joL+U2/zlrGy/towR/jmVOxlw1Ck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wKY0TCk/5DSIllAEt9kT3tywd49GwTObrkDR5U77KgAvOE1BCe/1KmP4Q1TfJA6OibiP7R9QN3oB5o0hzyEEg5pL+Brmpy4Cz/1ODwSPNYW1fZBNQKHou7IHU9i7/eAvUCZYaR1e/EwMRh54wN0x4c8ELvUJ94nvUwLNHFIs/ys1z/CbXpl9NDq7DCF7FZV2ef1Krt0h+XlK7a6ibQlRnZgPYUOhY6grFoHWXpBbXZZnvZqL8zDqpWKHoCtAvU576kwOYYmB3Cyogdlmmoe2rwyBcXZgJGYRNOuAp334wIg1vnu+NfreX8ExXw6vTWGHoLMdfLo9Ohp1pecW2Oq9b0dq/nVTN3EfuoL6TyaG5iXm6JS0B X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3bcf54a1-51bb-4746-5400-08dc10a0bdc1 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB7511.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jan 2024 23:22:54.5579 (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: 4YksJ/S88fafnWMy697v86vNefm01wMltJ5l8ugdC7BnJlWD4ufqlgHViPkFQYJpXB+OqHukwwzAhclHwytH0Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS4PR04MB9338 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 Acked-by: Manivannan Sadhasivam Signed-off-by: Frank Li --- Notes: Change from v7 to v8 - add Manivannan Sadhasiva's Ack tag 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: