From patchwork Wed Jun 26 20:25:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13713366 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 533EFC27C4F for ; Wed, 26 Jun 2024 20:26:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-Type: Content-Transfer-Encoding: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=U+T0J3y6c0syj+9yAo6aDyKuF2l4258cT5VqL0+22c8=; b=JxAWyKFXODMLtGaPGlil94pzwl IVFHLgVH38CtX2TD8BgCLtxo3TNWUDEmUedq2SAdBYRsCxMfSEzPIlxLe+dnWO5bzX+2nbvahRVrq vUDBDP/bv4PFhWgBMrKOWJXIxYuzsihdr0QmufV4mTuwbGp2zETJgFo/ewqHqg5YhYw7cUNctTbmW lX/eEEKiaTyQRkqwurYOt97J6Lj0n6E1WxS5e7BNypwXjbAVjTYAVd2NdPTCh0oEvL/zvBKO1ofqz WSP2IlvO/79ZMkcle4AoPzLHJESWhcvEWMu7IU2W+FhbIXOZi/V428JWjfEJnKHSqq8Ak50aflIbE Vw3v34Fg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMZDq-00000008Cs1-0Z1h; Wed, 26 Jun 2024 20:26:30 +0000 Received: from mail-am6eur05on2062d.outbound.protection.outlook.com ([2a01:111:f403:2612::62d] helo=EUR05-AM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMZDW-00000008Cfe-1x7B for linux-arm-kernel@lists.infradead.org; Wed, 26 Jun 2024 20:26:13 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MHlrA4AwzgF5KwUxdBy2b0K5vuMfuO+rpd5jodYHmaUd+W4+/enNCk7Ty33zCuG7zDp5dM8xS0nOEjr1VB0HwjCdmt1RR10IhFVOQ2LPd9+ewRMdNF7zDgaO5tc1ATB8n60dnlPTzF5ZZv17oLz3l14UlO23wZryrCpCBQ3Q9GbZ94JLaP0wYW6OOJg8TA3j0S7yBQXcFo1eoMEIRA506zJSxlsPjHULX3zKMlfqasU/PPXpzWplHBSC97R4ISXZIQoHgWFXSpoeg15ASl5aPJaaOvyn9F4SuhXdqkpOUrORDgDu1CwwPoGQwIws0HUrn5MVzu8m7WUKDx2683xaPg== 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=U+T0J3y6c0syj+9yAo6aDyKuF2l4258cT5VqL0+22c8=; b=FLC3sr2/Su0nIKyfvzA1QWjTZIiYQxxBtaahzQqlWn3/nCiaqqDfMY+9u+LWRzITKTdaDT2GiFy1w4rAhA5W1e25UKRLARU1H9q85cyJ/EwayS4Og4BRfc/cwGyMMqu4i475zKUr5xW8ySQOb9NzOLlRIvEEShweD0OOh9D2yQ/Jf91yfS9/jOex4cqbJ2UskdmHFytyyurmyzDcQat4xlVQyIU3LvljxlbX524VqUTT3yOr92i70i+4ihvooqmTalowueCSXjqvpAOowkT7trkM0lVNtX0K0bsyC38bpZldi+Qwmld38Lospo9nwqL+uQKjegJYdYFrsWnJxsnWXg== 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=U+T0J3y6c0syj+9yAo6aDyKuF2l4258cT5VqL0+22c8=; b=E/Dt0cKklvJJXIBE7/uOcT3Q7mYlLBn6x9Yi3V0WL/77SB88m2pdK4DmspM0iaO2asukFbZgtwGxOLvoDJIw938TvL2Hs3dBcqh84c0trKgswtc8R3w51WeY3rz7gMZKe6PybSkKafIlpuStwRrJfbzei59A1XEgH3PvXTLm0pw= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by DBBPR04MB8012.eurprd04.prod.outlook.com (2603:10a6:10:1e6::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7698.32; Wed, 26 Jun 2024 20:25:55 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%2]) with mapi id 15.20.7698.025; Wed, 26 Jun 2024 20:25:55 +0000 From: Frank Li To: Shawn Guo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-kernel@lists.infradead.org (moderated list:ARM/FREESCALE LAYERSCAPE ARM ARCHITECTURE), devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-kernel@vger.kernel.org (open list) Cc: imx@lists.linux.dev Subject: [PATCH v2 02/13] arm64: dts: layerscape: add platform special compatible string for gpio Date: Wed, 26 Jun 2024 16:25:22 -0400 Message-Id: <20240626202533.2182846-3-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240626202533.2182846-1-Frank.Li@nxp.com> References: <20240626202533.2182846-1-Frank.Li@nxp.com> X-ClientProxiedBy: SJ0PR03CA0067.namprd03.prod.outlook.com (2603:10b6:a03:331::12) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|DBBPR04MB8012:EE_ X-MS-Office365-Filtering-Correlation-Id: 74f9ac2d-e0b3-45ed-d653-08dc961e2e91 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230038|376012|1800799022|52116012|366014|38350700012; X-Microsoft-Antispam-Message-Info: rywMDRcHh7slBOloVtQwv8acnIErrekhn3eqcIgegRXXCa8bcue3Wj3OrxST5alq+RcoTXrfS+/yRTnJxElfbKNGMye8OA16hMQD1GYHRTh81f/Uncu2M/lbUrAnKFGTbe9lIVdgc+tHvOGob4n1V/ehy7NE0/hQaan5H5YzLv143WXkQy6OtSCa4DSHqsVeU3FBobozT04bEIcuA4f/4L6grPy1oAMHB/G3EXXkQ1B70iNaWHw9UkViFGwISVL3g9bhYryiIpu1Gr9omT7dFhy+eaDcDuzIcPr9IWtxK7Lm0wQS37RleNzXHlmuiGSi+gWHlPWCJ8ySOLFO26PJkXxifu46RPWS3WEsy3PQU1EdKwB83NLQAngPsJqOdiOUKCjkYXPRcz1fyyQXjo4eqwCY/T1JlNSexCzOqmaiO7G3IaG44ldWmyTkdSGPWRk1PTgcg692uU47bDf3MVwBAze28uV9MqpVX6BwiPJf3cUq+fRpS+paa7WvTiyTNHa/Fp+NYOolOG+pC7GCAlmZZGULFxEwK+WyF3ssQKdy8jqxGBCFhMutlnyQKwqXWDymFWUqVNJT1R8mXiTsECh7MWePcmUTlT92PMekbzunMYj+4C7q4ePUEEqaREYp1UH5uFhra7qh1ggL+lgJdibclW744/6uHFgEZWu5r9KgiEBHtTpDcxKrujIhguFnE+ZHylQWk5b2l0D3SfupZGW0+Me4lQgCyS0GqvOyy6Vo/BBGxgq4ejdkcSErW4IiibkX4kPeM3OY5noF2e6zqXEaonxFUMPjhoiwnotzfzvxy6rWCtTbeFhBEVOEZAB/tb0TsiuUO4tuM/LVJJDF1K1jXpW6ZxFg9Ug+SF26WY1xy6DaS7TMVAP+jxvKka8oDsxLRXB6Xptfw7aoaDfL+hP5We5EDTeYNK+R31YAImbARH15rr83Rp6/F7jl8n2BaKHmDVVIppKVEAr1DML9N16kpiYiz3uPPffvjazRLZND2ovKSfNcJd5eqD+403wIlOm1tiKhRZopqMrFc5dsXVu0rl9Jkt8E4xZ4AzTjaYkMbcBS1r4t7iIZn/9QD9Zb7F9TNUbB1O+/tapjwZZiHeexRC25AGIF0yEVg+OhIktj2S4CikEIgvuneyK6Yc0rjGd1Eg+bnmXpo+4w7GGFm2zBdolqaeR7W+mSdy919KPh8npatHKkK89kSNFzUs5E6UQiIbWFWiZPRvkjccqUMlsm1/Ix8SY5scja1zRa8KqkM5DC7HLavrfMG5AvT8XXoB69fNbuSnYJgmDAjskxKDVjopTJVHwstj+Rh0w+eOg/EiNVpVEP++xHyQfyuWxC8lwHtQsZwY+Ye12ctcHP3fBrqaHToXksj9M0XrCVeezv3Vw= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230038)(376012)(1800799022)(52116012)(366014)(38350700012);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: iTnjlCXYZif8ENIt5NGryP7AlK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d+L+jO0sKIn1miMvKe/QfAw0YVZctEtL/F9xwWacgyeDLmkKoy2BPNXqjyZiQxasHgFlGt0y58yXbYwBrPea8suzIG1c9itromELbJYzQqhwF/y2SR8P2rad6fVR1QICe7YUcMZ4jbcHGZCC1ntm0jiFWR2y95QZh3vPJbrP5xdvo3gKrH3xWhnu6BjP52dKZhSdZQqv+3yhw1FC7KeMvSUjmkZ+XHUoBeGhBdgWfldvBa2XY0v+5fTJBV65KHBue6f8EoQVbU0ifKpDKlcN1Mohq8sYpz0K1RPhf5mo7Jx3agYrrR0GcxfQNEUNtwN7uGWIoGhT0lzvvtcm0xUphlLzfYcz1w22k19MoYgvwJjgmumnsjuHBzPa1aYnMN5tNJ1hfUqgAsVdihH9ATZ1QMSc81mGxo8jCZT0wYgCWsjZXFsWMEH7D1vg70l3pF4ytNTsXlmYq7JS0t+kBwheJtpkIaAzVjxymuKfwzSO1jNy X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 74f9ac2d-e0b3-45ed-d653-08dc961e2e91 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Jun 2024 20:25:55.5516 (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: VB+nhfzzocrObVSSK1x8KCk13aMKYySw30wsc4bo068aHtieoR+w2MZaKW7XSHk9aQEnVvzAhWzkg6NlUtWY/g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB8012 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240626_132610_677815_5CE2A9E2 X-CRM114-Status: GOOD ( 10.63 ) 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 Add platform special compatible string for all gpio controller to fix below warning. gpio@2300000: compatible: 'oneOf' conditional failed, one must be fixed: ['fsl,qoriq-gpio'] is too short 'fsl,qoriq-gpio' is not one of ['fsl,mpc5121-gpio', 'fsl,mpc5125-gpio', 'fsl,mpc8349-gpio', 'fsl,mpc8572-gpio', 'fsl,mpc8610-gpio', 'fsl,pq3-gpio'] 'fsl,qoriq-gpio' is not one of ['fsl,ls1021a-gpio', 'fsl,ls1028a-gpio', 'fsl,ls1043a-gpio', 'fsl,ls1088a-gpio', 'fsl,ls2080a-gpio'] Signed-off-by: Frank Li --- arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 4 ++-- arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 8 ++++---- arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi index 2e1cddc11bf47..1b6ab9550cce9 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi @@ -407,7 +407,7 @@ duart1: serial@21c0600 { }; gpio0: gpio@2300000 { - compatible = "fsl,qoriq-gpio"; + compatible = "fsl,ls1021a-gpio", "fsl,qoriq-gpio"; reg = <0x0 0x2300000 0x0 0x10000>; interrupts = ; gpio-controller; @@ -417,7 +417,7 @@ gpio0: gpio@2300000 { }; gpio1: gpio@2310000 { - compatible = "fsl,qoriq-gpio"; + compatible = "fsl,ls1021a-gpio", "fsl,qoriq-gpio"; reg = <0x0 0x2310000 0x0 0x10000>; interrupts = ; gpio-controller; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi index f8c9489507e7a..524b44f424272 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi @@ -589,7 +589,7 @@ duart3: serial@21d0600 { }; gpio0: gpio@2300000 { - compatible = "fsl,qoriq-gpio"; + compatible = "fsl,ls1046a-gpio", "fsl,qoriq-gpio"; reg = <0x0 0x2300000 0x0 0x10000>; interrupts = ; gpio-controller; @@ -599,7 +599,7 @@ gpio0: gpio@2300000 { }; gpio1: gpio@2310000 { - compatible = "fsl,qoriq-gpio"; + compatible = "fsl,ls1046a-gpio", "fsl,qoriq-gpio"; reg = <0x0 0x2310000 0x0 0x10000>; interrupts = ; gpio-controller; @@ -609,7 +609,7 @@ gpio1: gpio@2310000 { }; gpio2: gpio@2320000 { - compatible = "fsl,qoriq-gpio"; + compatible = "fsl,ls1046a-gpio", "fsl,qoriq-gpio"; reg = <0x0 0x2320000 0x0 0x10000>; interrupts = ; gpio-controller; @@ -619,7 +619,7 @@ gpio2: gpio@2320000 { }; gpio3: gpio@2330000 { - compatible = "fsl,qoriq-gpio"; + compatible = "fsl,ls1046a-gpio", "fsl,qoriq-gpio"; reg = <0x0 0x2330000 0x0 0x10000>; interrupts = ; gpio-controller; diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi index 40159f58c6f94..da49f274e9d5a 100644 --- a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi @@ -1027,7 +1027,7 @@ QORIQ_CLK_PLL_DIV(8)>, }; gpio0: gpio@2300000 { - compatible = "fsl,qoriq-gpio"; + compatible = "fsl,ls2080a-gpio", "fsl,qoriq-gpio"; reg = <0x0 0x2300000 0x0 0x10000>; interrupts = ; gpio-controller; @@ -1038,7 +1038,7 @@ gpio0: gpio@2300000 { }; gpio1: gpio@2310000 { - compatible = "fsl,qoriq-gpio"; + compatible = "fsl,ls2080a-gpio", "fsl,qoriq-gpio"; reg = <0x0 0x2310000 0x0 0x10000>; interrupts = ; gpio-controller; @@ -1049,7 +1049,7 @@ gpio1: gpio@2310000 { }; gpio2: gpio@2320000 { - compatible = "fsl,qoriq-gpio"; + compatible = "fsl,ls2080a-gpio", "fsl,qoriq-gpio"; reg = <0x0 0x2320000 0x0 0x10000>; interrupts = ; gpio-controller; @@ -1060,7 +1060,7 @@ gpio2: gpio@2320000 { }; gpio3: gpio@2330000 { - compatible = "fsl,qoriq-gpio"; + compatible = "fsl,ls2080a-gpio", "fsl,qoriq-gpio"; reg = <0x0 0x2330000 0x0 0x10000>; interrupts = ; gpio-controller;