From nobody Mon Nov 25 22:45:01 2024 Received: from EUR03-VI1-obe.outbound.protection.outlook.com (mail-vi1eur03on2042.outbound.protection.outlook.com [40.107.103.42]) (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 6A2BF12C475; Wed, 23 Oct 2024 02:47:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.103.42 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729651646; cv=fail; b=MdMZVeYPfN4y/Bx3umcpOyER2mn4z5LgfK+kTKi9aaJH4OEdBgF/25oZN+R/d027lGNGBXeUrO6MqtFuSZ1rWPITQp44sLja6b8PuLdMK3Jb+QzSEaEL4U34wU6dv9SIpKt1Osf1ujEfH0QQOa1yUlKSHMM0nTXjmWIf4c54iUg= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729651646; c=relaxed/simple; bh=wTkA3ngYBhMsulTRh/8lBQFKmSkAkOePEg2Kmiq1HAQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=gJMldaP2gTpUg1nMFjMtuHyBboeJxv0OLmwfL9819nWCtXg+x0aEJtLMm24WtF3WH4LnN6KxHif6e3F4b7Yu3wJTQNOGy7ohjRQTRcWbWdiFGuTMAZ8sUgWYVGl1ABb2O/9xwI4TuseqQ4QB3pPz3YPKXsstQ7aJBzjFCGnP0nQ= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b=CRFBsOm9; arc=fail smtp.client-ip=40.107.103.42 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 (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="CRFBsOm9" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Fs1IqIahjEh3fd5GjgkKtZTySTMLbl+8Z9P8a7rurX2y8pA3oAWpDbA4lJZ/JFRZOJSAVBoSENP7ZB5aHD5l0ucL8mZQ0ZbuqhjqhqFqFSYs2jBo4yiHOKRck323+VfUyH7dVBsB1/WtC5K9rVGVmvXmXPZ1lSFQ+z4NzS7sYqPx/UOQw603eQrbcQow85I2Y3uBVp8ru6QIBc9zRLRq3EFDGytgbIdLNL6SmTeSAqeYjABy61E/dr/pFyIjTA5nroZQsQO48Vhw8yZ7YEO9tyXdJoKUIbscTyuoMFbNla0aTTAZkX+eTbRiRUiyFJqeRPwr4/+YiMsJ7mRuAq8Q/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=2MJPG4jjD/tGPJ2fbTa4lfbpamOfTzslr5V3dRrJePs=; b=uiIrZiHMtqkjFGm+GB0wrsjzJaR6Q0LjI4c/ORcGc9o4km0UduW/UZqPtZLG7A5pBlrx8J+/1cE3uoDK5y08FSQie2VVChxTNB60rrz9w8AwTJmUrN6CM3PsOOlgqc+5kpQaafHgIrZi4Jl1cM++Welk4cgxVVtleHw4+pGtIXdRHMbR2pRkN9kV0sbiYSCLK6StLwg5+cwekqaSJlmUrGqA8z0ao5HFHrrBc6NuWERr4qUeYDH46XTKGJkIk45ZnwHLk2il46Kgk+bZzK5BSNHYMvF1qvVKqD/MxfXzqiqxIgxV5oVMwAiuWO1gk/M9cy0LtTAHdfzXzcgdXpwGPQ== 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=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2MJPG4jjD/tGPJ2fbTa4lfbpamOfTzslr5V3dRrJePs=; b=CRFBsOm9HbdyeYvjx1FkXMlGsRlFffvFwe4CsiLDef0kJeXAqxvzSER6M1/rzPWavzAB3HpUNiBzaiSCau1Ci6mFoakiqV/hobI04GZxNPJqNDHiDroNRZLi6ejfjYdxXs1VoRNbPqCrVG32EaRb+IoHp7f2lrd+xq2TRu1eNDhSDOQ6WuIqXcQnAwE82lmDb601k7TbDdHJoeZRzIVcdryKvvT5zPkgrz/9xVNkXGq3ZsmWKznDF/jyeH3usC43QKNsTmi6n9P4XEzlqvcW6Iw34jlYZ+ESCBztGhfYeijxjbgXYP7ZCTnfA2j+l6iRIwlra+uoZRUCSmqEZPuVvA== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DB8PR04MB7065.eurprd04.prod.outlook.com (2603:10a6:10:127::9) by GV1PR04MB9216.eurprd04.prod.outlook.com (2603:10a6:150:2b::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.18; Wed, 23 Oct 2024 02:47:21 +0000 Received: from DB8PR04MB7065.eurprd04.prod.outlook.com ([fe80::8af7:8659:9d42:bd84]) by DB8PR04MB7065.eurprd04.prod.outlook.com ([fe80::8af7:8659:9d42:bd84%6]) with mapi id 15.20.8069.027; Wed, 23 Oct 2024 02:47:21 +0000 From: Pengfei Li To: krzk+dt@kernel.org, robh@kernel.org, abelvesa@kernel.org, mturquette@baylibre.com, sboyd@kernel.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, ping.bai@nxp.com, ye.li@nxp.com, peng.fan@nxp.com, aisheng.dong@nxp.com, frank.li@nxp.com Cc: kernel@pengutronix.de, festevam@gmail.com, linux-clk@vger.kernel.org, imx@lists.linux.dev, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 1/4] clk: imx93: Move IMX93_CLK_END macro to clk driver Date: Wed, 23 Oct 2024 11:46:47 -0700 Message-Id: <20241023184651.381265-2-pengfei.li_1@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241023184651.381265-1-pengfei.li_1@nxp.com> References: <20241023184651.381265-1-pengfei.li_1@nxp.com> Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: SG2PR03CA0118.apcprd03.prod.outlook.com (2603:1096:4:91::22) To DB8PR04MB7065.eurprd04.prod.outlook.com (2603:10a6:10:127::9) 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: DB8PR04MB7065:EE_|GV1PR04MB9216:EE_ X-MS-Office365-Filtering-Correlation-Id: 35479956-c7c5-4f37-aadf-08dcf30d0416 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|52116014|376014|366016|1800799024|921020|38350700014; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?Fi7AHDAuX/0LQi5zCyZMv2yCCJuq1LIAb1epnkkQwnyu9C4kSnusqIGDmRmM?= =?us-ascii?Q?5YITAKTZJF51DdPEMR3q5fgmGxAvP3tnMU0/qtd4pAy9rve/BEMTX7EoXCNP?= =?us-ascii?Q?B3MIxcngbWufIvjyK/065ZVIif85G85UFoqLr5XjJV0NjzQ8Wo4lzKmLeKQg?= =?us-ascii?Q?11Ko1bwuE3ItMz2DSosSYMiOkgs5bEB4kJAezY5ecVGcTXRwpe7dAQjEQ6u9?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P5cFDjQnhJrXE0rhlu1Eg2D7oOnRw?= =?us-ascii?Q?5RvVBostZzTbq83Moff682vvS2ekFawxvYK6HK4NPV3LJuzGc9npjK4t5EYG?= =?us-ascii?Q?XlDkAIEnN7QuhIVNZ3pHvRc5QIKnKhdhE59+txhBKr4E5fDhC4qhh4mU4Lxf?= =?us-ascii?Q?fNci8YdD+vv8fDTqcHEcZYH6zxtvBGVGhYvNyWB9yK0XzI2GfGeFqyhA2tzE?= =?us-ascii?Q?7arVEUZtB+ScVT6NnI30NQ1DolNgkFW1FY9NCEgJNs+dck080I7NIltfGdO2?= =?us-ascii?Q?gsr4Iu0nqOmtLK4ZZef5XLFX/u6g?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB8PR04MB7065.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(7416014)(52116014)(376014)(366016)(1800799024)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?/lAxsReEcHr4FOGMpGw4Qf2p5+gn+ICeJFf1Z5ubb2jn9iiLbTIv4D2jbpnl?= =?us-ascii?Q?NIhqtRGcaOLaqNiv98HKq40O8LbmNmNVLI9Pw4DiZOUShm/gDIcA/l+sDCGD?= =?us-ascii?Q?IOqGUQg2RKzvXoGzPJuq+w9rp1ataw7Np3TLHny/wiy0yEyb+CurQ7mVDzIJ?= =?us-ascii?Q?+kXj5BCpl5KEZ0NBp3sCxEArt4+O4XVm7yztbKGg6G/wZtQqn/fV45R2bTZ3?= =?us-ascii?Q?M/nmNKxBeCqDqY6PRnA9kqDHo0kQo9IGYLB46QlWKoQ2V/LhE5aYC16GTDSL?= =?us-ascii?Q?k97wUcKFy0+LXxq7nnVCIWaFjH3j/5dGtCC+ivHdYKYkqTaJ+OJvUa1ZXfcE?= =?us-ascii?Q?+sa4j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50l6hG?= =?us-ascii?Q?vT21AwAe7HcQO/QZnNzVaNPZBhgFYiGuQj78S9c49cnFUPycbLWKiuUGQ9y0?= =?us-ascii?Q?adI2O5/sR0QEAMvIfR9MeywrjE+aGp/SNC8JZwyU7LszW2R+ZinHcy1q3WV9?= =?us-ascii?Q?pazpzEKxX3lPagNLPPljuCqXmJHH7jKtsn/h/7ajvZC+JkheWE8wjlQaCcxK?= =?us-ascii?Q?A41xNNv3BB3IK35vO+bHdvi4tCLRrR/bW4x62WBTn1ZPYBaVrKKrA9UyhGE6?= =?us-ascii?Q?EazWTa8nF2qQBMI10bgaxTLZFwrFoKSyRMys6AyUpUznGcbP2sf+oysxCWR/?= =?us-ascii?Q?Hx+9DZ0Fz7WDF13Q1pW88JKKVOrUtQMWZ5UhPs/B?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 35479956-c7c5-4f37-aadf-08dcf30d0416 X-MS-Exchange-CrossTenant-AuthSource: DB8PR04MB7065.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Oct 2024 02:47:21.1768 (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: Aq9qfIzRY3hvj9JVYYrCc/Ew+6XiRsSyxfpjt6S1Xr4ic9R+IDJxXmXmPkXEqBrkNvJlT6lm5kl9fCm5pL+6ZA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR04MB9216 Content-Type: text/plain; charset="utf-8" IMX93_CLK_END was previously defined in imx93-clock.h to indicate the number of clocks. However, it is not part of the ABI. For starters it does no really appear in DTS. But what's more important - new clocks are described later, which contradicts this define in binding header. So move this macro to clock driver. Signed-off-by: Pengfei Li Reviewed-by: Abel Vesa --- drivers/clk/imx/clk-imx93.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clk/imx/clk-imx93.c b/drivers/clk/imx/clk-imx93.c index c6a9bc8ecc1f..c8b65146e76e 100644 --- a/drivers/clk/imx/clk-imx93.c +++ b/drivers/clk/imx/clk-imx93.c @@ -15,6 +15,8 @@ =20 #include "clk.h" =20 +#define IMX93_CLK_END 202 + enum clk_sel { LOW_SPEED_IO_SEL, NON_IO_SEL, --=20 2.34.1 From nobody Mon Nov 25 22:45:01 2024 Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2069.outbound.protection.outlook.com [40.107.105.69]) (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 9F7A3132132; Wed, 23 Oct 2024 02:47:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.105.69 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729651651; cv=fail; b=A1TdVwrU5q1PP+y6R6rRQsJxYNPzfDrgD3QYZkMbT+XKfGJc6mn8ODkyL6hBFUy0WwIf4dVNHPtSYNo6rlvnlforYW/b5aq5F9e9czsDOufLejTrXUO6gZfgNfb8r7liEHmafUWM08pA7b2Jf6qWL38olhj37hWdNfGKmZ1PlsY= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729651651; c=relaxed/simple; bh=kox4S0U50cg+oceZbn73PPi7fpT//cYbkBaA5hfu9nU=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=M4uWoQJ1ql7Bqea6lCGT3fRbEMVxR7FZYmjc44qnRLRuHuHIBWL+JRS0nVP/YtPA45zjd7lf9rsU9vMcVHW5nAKrmqAVZW1LEcWE4JxR5Ynl6WCoOV5uw0+0Nx8SxIStW7lm+9/ymXGhFGaguGta7ddVSGd0GAtZJI8tBDRMu7A= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b=TlbwYwLi; arc=fail smtp.client-ip=40.107.105.69 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 (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="TlbwYwLi" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=f7YWoYyqcczTaMu7g2qArSqZBvV1Ry290kF7vF9A3g0XYUmEpcsFpxW3PJKh7mJ9XHhA6m1LiVbJMn76Y2TXonbhlCbsa9pR0lNJxHkt/3E6jjU2q9mOmYKy9pGXi2Zx77fcLw8BnDLIOMFfr7qdOc9eR6RgtV47po5f2dtDIB67ZTPCtkb5TKTxY53puunQezM44iYt/XP03rhmvFDC7HcToJ9gRC+tEJawbePTkRTAQG8PjkO4UFtpoGp+wBM1jBMhr5qWM42btLNNknJ4RF2t2p93rTEEzo7VnYYfLawv0+01+vmMcCI6y1QVHdmgrZbiVa8CMM4Bul+nthqqoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=YGOreLL6v3FxwLAj80VblzRDR94u9mUNZuVBNQCURjA=; b=h4rPXU93lEpBV8ZopEgJUNNrqf6KcJkg2TXbPJPoipTBNRZtlImwmZE8lGGeAhMJBMDQ9tQZ3NqbIYox9jJgWH1SAMFwIJHdV+i+ejTtprtmV4JmXQ0u3keHt7JYVBkabLnlDuf4j3sDUbZmp0bcqg4lscTs1ESlgxAv23CeYCAV+dGRpTeeL0u8Jgc21KxUuQ1ntj8rz5V5TDQtB1U/nCT6AlksYrW+ZKzsOPRzx5zsByb57tlLMOyvRI9cRax7/Sx3n0qYZduksCoVcLhSBfnmTH8lffwC2SDoJSymf4V+Jo2eUxstBsB+peDZ2kAf1miS2kPGRJs45tPdWxdBtg== 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=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=YGOreLL6v3FxwLAj80VblzRDR94u9mUNZuVBNQCURjA=; b=TlbwYwLiJ35klQwwAa14TM46m987OAVx1dERVjuhcjSYheb9hqMc7kDFJ5dG4CilTo8ZWxEEdl9VFBiv6KkqLTRC6x8luvxPnaJJS+duUVy2unJPyDvQaztN+Xg376eQHbViSTHFQZNQLBHcUCNnhvtdD9KZBR17An0bDntyQBMsCU/5N45Lyrflfg+LPWGgke2XaBNdTUwhLi5yN+p94rZynAjsJb5dcpovd1ek8yd80kY5svY979QookPkdRHHovMzpNkm3pwT1elFbH6h1T3hbO5e4RMR41Bp10ptEtvuwZyx4kwC5wytCb4n5lWYfn37jQLwayJ2ULUG5wXYCA== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DB8PR04MB7065.eurprd04.prod.outlook.com (2603:10a6:10:127::9) by GV1PR04MB9216.eurprd04.prod.outlook.com (2603:10a6:150:2b::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.18; Wed, 23 Oct 2024 02:47:27 +0000 Received: from DB8PR04MB7065.eurprd04.prod.outlook.com ([fe80::8af7:8659:9d42:bd84]) by DB8PR04MB7065.eurprd04.prod.outlook.com ([fe80::8af7:8659:9d42:bd84%6]) with mapi id 15.20.8069.027; Wed, 23 Oct 2024 02:47:27 +0000 From: Pengfei Li To: krzk+dt@kernel.org, robh@kernel.org, abelvesa@kernel.org, mturquette@baylibre.com, sboyd@kernel.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, ping.bai@nxp.com, ye.li@nxp.com, peng.fan@nxp.com, aisheng.dong@nxp.com, frank.li@nxp.com Cc: kernel@pengutronix.de, festevam@gmail.com, linux-clk@vger.kernel.org, imx@lists.linux.dev, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 2/4] dt-bindings: clock: imx93: Drop IMX93_CLK_END macro definition Date: Wed, 23 Oct 2024 11:46:48 -0700 Message-Id: <20241023184651.381265-3-pengfei.li_1@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241023184651.381265-1-pengfei.li_1@nxp.com> References: <20241023184651.381265-1-pengfei.li_1@nxp.com> Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: SG2PR03CA0118.apcprd03.prod.outlook.com (2603:1096:4:91::22) To DB8PR04MB7065.eurprd04.prod.outlook.com (2603:10a6:10:127::9) 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: DB8PR04MB7065:EE_|GV1PR04MB9216:EE_ X-MS-Office365-Filtering-Correlation-Id: 1240707e-3f78-486d-7e61-08dcf30d078b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|52116014|376014|366016|1800799024|921020|38350700014; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?GMPDKcAVwJtMhj9UZmICx/k8GCMRY3w4tmZ++Gr+BMJqlK9X1QbzfYfVzdO1?= =?us-ascii?Q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F4zt1d13y5?= =?us-ascii?Q?VEo5fDq+wL2UsByhO46GkC70/yiNh9RgMroMbQkbQhe5zvwdRKnjHo32BCS0?= =?us-ascii?Q?pZ0lOfYizyPcfqiCrzXSJbBQiYOOYF4vwf6/5y4wHSO8I+ddNhg1+Xaa1zKw?= =?us-ascii?Q?l+hrApLrw91xs5mSw4ihc3+PS3AknzEesgWJ2+X2ny82K0vmXJRrU5KqOZcy?= =?us-ascii?Q?IY6yPN3VxIK/qejpOPy6kh7PgUhkYcUM2ve7kgoEAHYoBDq+ykl/FEsnVMlu?= =?us-ascii?Q?wiU3SnZsOkmjJOFsTyG/2touNNxkfUGQzTNaC/WRY6c3fkahEIpLGDz9amg0?= =?us-ascii?Q?rpqVU6LoUUbUyersYCaun3N/+nAXGCtdygbAwduI32fQO+fwLNN3PIrpaEPI?= =?us-ascii?Q?pG0Y7hwifwgKLejlG6dGO49m2oM95JyQfInGeSDLQJNSPeZZmgnHqFPIIs8K?= =?us-ascii?Q?2vUpX/Id3ShAHXIORujN2h4fsmmx?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB8PR04MB7065.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(7416014)(52116014)(376014)(366016)(1800799024)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?nxWZRkyZeuXLoj/OPZc8VXP2EuntUoSqKFHQ9D9yXlMIgvD4P5ilDhkBNqXu?= =?us-ascii?Q?mCmrGzhDRbnv3Edcdtx6+lHW2kkf2ofK+fz7pO4EAwT2GYGDeH6me4gb1EEr?= =?us-ascii?Q?Pco3aIAGJh7Swl8+YAZH6laPoGdrcEUDQ1F7gZnubHpp00UnSo2qnxS8J0Ve?= =?us-ascii?Q?k2BWyRXVg8u//5QVIelhE+l3GE5K7T4QRk0Vj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xmskTpB3C7u5FMdijT+IYVdNHwQGdx0p3PdDmgGAsoUnc6eL8vq81vQQk?= =?us-ascii?Q?kNlhnyF+yVaqlYKr4iyQcEYUbmIGMCPJ3Idxf27nzPMFX7L5hxSK7vcPFBmQ?= =?us-ascii?Q?+17An51S7x+DHpDHWMkuH0a69q4suit7PT3+qMI2Vfv5kW61CXG25C21epWk?= =?us-ascii?Q?pf1YiDMN8HeFtNWxcF7e8QhirorLW3vKCKAUtcPFXio6la+Pds8xWBAt3Gp1?= =?us-ascii?Q?F4yd4oVlOSx+exqTjCcjE24KIL9NaDaZ+CmpVWSzZealSk0W28ckmwkiJCh4?= =?us-ascii?Q?LL/R6r1C4s+La32N3y0HwqSnsvFGl3fXXcsQDWEus9ih06otQR4lBVy5lgSF?= =?us-ascii?Q?Zbor2zGShbNPYTqNOSfakfKrf/2h4ToVOaq20SnmSuKb0lCJStvREWvFMZ/U?= =?us-ascii?Q?jP823GW8ZPDHJURurbNgXODEfxAW/rHwjHjgW0A9PBJT8OVNo0+wSmdc9P7N?= =?us-ascii?Q?KT3hk773D+AItTz/4cskUaWVrfl3aKflNrSdsTfU?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1240707e-3f78-486d-7e61-08dcf30d078b X-MS-Exchange-CrossTenant-AuthSource: DB8PR04MB7065.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Oct 2024 02:47:26.9483 (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: ixUADuck+//zxeQHrD5s2L8lfxDFEtCZFxCueZYEUaV2pveK/FmFCCwRKulC9Gn5U9seyUkCnPIszuNv2KmOMw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR04MB9216 Content-Type: text/plain; charset="utf-8" IMX93_CLK_END should be dropped as it is not part of the ABI. Signed-off-by: Pengfei Li Acked-by: Krzysztof Kozlowski --- include/dt-bindings/clock/imx93-clock.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/dt-bindings/clock/imx93-clock.h b/include/dt-bindings/= clock/imx93-clock.h index 787c9e74dc96..a1d0b326bb6b 100644 --- a/include/dt-bindings/clock/imx93-clock.h +++ b/include/dt-bindings/clock/imx93-clock.h @@ -204,6 +204,5 @@ #define IMX93_CLK_A55_SEL 199 #define IMX93_CLK_A55_CORE 200 #define IMX93_CLK_PDM_IPG 201 -#define IMX93_CLK_END 202 =20 #endif --=20 2.34.1 From nobody Mon Nov 25 22:45:01 2024 Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on2047.outbound.protection.outlook.com [40.107.104.47]) (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 A1CF61384BF; Wed, 23 Oct 2024 02:47:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.104.47 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729651657; cv=fail; b=TSnJsom9cgBYQZvuXW/L80ItErwo9gilYynLxLNN/+//4HPIN55k90Lk92nWG679PdPRpLRnKs+PaK9Bam3xTy9s6lVroHiJ6Fn74XHMA8q+JrS12Mcv+hWc1pcCxjIMcGOPTFGYYJmrLSZ8UeuKecBcNYG9HhyZ9QAaoczuaoY= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729651657; c=relaxed/simple; bh=y8Ppxl90zorPlqLUk38jXQH/WPGiq4hxJL6TkOoxBgc=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=XnEb1qvn50bhczJrrbbcu8ChONriHAGMV4NwH5Ll03XebGAP+jzQIpr1uvTruUwY+PdKPQ6ea324GYxtDMqWEKWtmBUkwP+aLdVkgKPVmRUEG0zenk/OOBaXf+q/HSfrKhpi/dJ9zvrSoTetH0ihKOeqklmCn0ENWr21OyD8Alg= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b=jTRkAOUt; arc=fail smtp.client-ip=40.107.104.47 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 (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="jTRkAOUt" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Lh8fskZTt2MfTXxM3R8RJNdx16HwCKVvQGkQ+mb38I+Qi9oqzupYbsGmNAVfRGOlB8iYbar18ibUcvC77ZNMyWF9FGUhrbt4uYIsnA7tJYlhvQ7aZZqTCOYogJeASJ1BGrYycyPJa76pRxRTBRB9NvLkPTmj9MvvWOnJivkFMNciGUBaxBIv/AKCUfPKIHr02E5igF3lYsmYur0b67ZFXxUUkAr15LQP3RZeU5AYcsYaMQk9ACIesASwT9ybRzNdDgzGbyONFJf0ftOLp8IoNtZe7wYOkjvz6UNune7D/gXir4P0YrTx5btuCV5gecDarsrj97uRUKej55IOPr0hXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=c2HNXhTaV09438FPwaxBxpX3LsGkzxD1G2+lVD0T40c=; b=ZTHmpZ6ujVxaWv9OcWGDbXqXDsUVHJ1iPjZ4Lpq3C0BZAu/yuqpQiS7Oy6OigVh8T4BrNY38SM0B+pDZvEPV9Xrf/PijhGbasXAga2NdjFo9ArX3XbrL88zqXbLT34Pwm/WHJ1ePT+nvg1w7p6elROEHHzgnnLj/BqB+1gQqm8vGPzkQNH3SJihu+Y0Yeei/N21hrd12ztpuDhxSlpC5oiXpe89Gi87aZzvBQZoz8IdAm/GE5IYMlkCUnZICmNCnXyNvsImLe5iUBKYWBfGif1g21bSOKAumCbBTWxoblkimBDtVIWwG8AJiNFCy/rtuWOAgUMLRrCv4j6aO91JUVg== 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=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=c2HNXhTaV09438FPwaxBxpX3LsGkzxD1G2+lVD0T40c=; b=jTRkAOUtRTY5UHII4MBf60LjoC94eIYP416SuIDZht2/qR3c3bRTz9oNcMk/G/1srQCWdERjieSq1QShhLLCMIAlDcjJaezirDO7vmR1d+wlP32zT6PF1RqtN63HL3iJ//QkBB/d0x6oppI1p82JpBGBshQcEA3C53mF1J3XA+icmkGSadnzN7ghtvsL/3UactYlBx6U1THNivLLkEJi247DVEk966yx8TkQgzc+i2Z+i20W1IHQQ2RJEKRTMfXDh7psUEMn7BPAZonLSuj6IxY0vZMqISdlqvSHStytjuuboNQSm78YIQ7tHdowGRgzdsA2M3OZaCF9fg5DGew3Yg== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DB8PR04MB7065.eurprd04.prod.outlook.com (2603:10a6:10:127::9) by GV1PR04MB9216.eurprd04.prod.outlook.com (2603:10a6:150:2b::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.18; Wed, 23 Oct 2024 02:47:33 +0000 Received: from DB8PR04MB7065.eurprd04.prod.outlook.com ([fe80::8af7:8659:9d42:bd84]) by DB8PR04MB7065.eurprd04.prod.outlook.com ([fe80::8af7:8659:9d42:bd84%6]) with mapi id 15.20.8069.027; Wed, 23 Oct 2024 02:47:33 +0000 From: Pengfei Li To: krzk+dt@kernel.org, robh@kernel.org, abelvesa@kernel.org, mturquette@baylibre.com, sboyd@kernel.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, ping.bai@nxp.com, ye.li@nxp.com, peng.fan@nxp.com, aisheng.dong@nxp.com, frank.li@nxp.com Cc: kernel@pengutronix.de, festevam@gmail.com, linux-clk@vger.kernel.org, imx@lists.linux.dev, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 3/4] dt-bindings: clock: Add i.MX91 clock support Date: Wed, 23 Oct 2024 11:46:49 -0700 Message-Id: <20241023184651.381265-4-pengfei.li_1@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241023184651.381265-1-pengfei.li_1@nxp.com> References: <20241023184651.381265-1-pengfei.li_1@nxp.com> Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: SG2PR03CA0118.apcprd03.prod.outlook.com (2603:1096:4:91::22) To DB8PR04MB7065.eurprd04.prod.outlook.com (2603:10a6:10:127::9) 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: DB8PR04MB7065:EE_|GV1PR04MB9216:EE_ X-MS-Office365-Filtering-Correlation-Id: 2d978561-7106-4079-9201-08dcf30d0b34 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|52116014|376014|366016|1800799024|921020|38350700014;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YS03cige5unKyGImbG9xaVlsVJm197HDboow8BKm3jLU5OEiX?= =?us-ascii?Q?FXXjrxdke4bVjR8uctQD4S356M994xpIQmOT1Jc4PE6oynFqNowkglGdC5WU?= =?us-ascii?Q?tNiHhP2aqsiNh0aOnPU/iKDB7X7u6QrLFChtIZFDYhRSnFCBw1ScQWQ7C/CQ?= =?us-ascii?Q?tqRS/kZQRuw1su7zZh6QbeYkDWa5fgubls22G+L+NeDbpSR6f9L0f8H/pr8y?= =?us-ascii?Q?R0/NBtclwmgTUq0z0Cd6EnDtIMXqp6axTZaopjFVVbJ8YPlo/achqhvGUUoX?= =?us-ascii?Q?iYANodLL7iFl65XJDcHAL1wPMr1mCvgJTgLxeqLZ9s9nNXZbRkn18wyXIfsB?= =?us-ascii?Q?d4X12qr1b5frucrPt/20tLCvcVVpQXKDlU6Hux8h6AXh7fOSvcPn+urst1E7?= =?us-ascii?Q?yYOMoPZhrxCXscjLRmEpgzg1I6g80Ap7PcH8Ye4JBY1noOV7I9uO3MbR9U/x?= =?us-ascii?Q?UWqVJuQ79sagF+1K3qrO5lU86tou7cjljDba9wksixfOddowXm7Piad8e9+T?= =?us-ascii?Q?vjkEu9kbDl2mtmrL8f/s4yq0IOho?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB8PR04MB7065.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(7416014)(52116014)(376014)(366016)(1800799024)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?uXQtwMgcNInmc5VzHq1TgPAjX2UezppLcFAORoT648qNOmmHS+RPQEUsfDGe?= =?us-ascii?Q?e2vFMryhw3ABvqhDXxpLQBzuTc0cLtW5rQBY+mPYs7wF4QLnS9QREqbPMhxF?= =?us-ascii?Q?xuNHm3KbIiId2Os+DDLKrH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q?qCiqg+yBVpxZ26GdQfx0y4GsHWScrKV+jFFovst4FLFrx/YynHjigUqLwnUw?= =?us-ascii?Q?JBYDKnackUMEbGPj6nyZiVMCPDrwIEyfuY6/5QLEhxftGZsJpIyndg6/ncZn?= =?us-ascii?Q?cUQehatCMipqGlpOCNxrHX4+moSM2wegYf0ectGiaHE3jRXQjOIZCPTNV1vh?= =?us-ascii?Q?0jb6k3b8OA3EVnLhKa90i3vlt5UV0LvRzYlMC1q8hbMsxD7ME51+ZDI81CVn?= =?us-ascii?Q?lAr3nw3GqJ7LNkDA5CEkHIg3vYxEF46AbPvOMFroKE3M7/WEUT2oPRNjvCoc?= =?us-ascii?Q?8uKRZRtg6hrcbciSs3MXr/iu9eC7jDsn2vjIAYnH4dSUIHFetRq8Uiza02C+?= =?us-ascii?Q?eadLVD06IbtRhONvTq4kNN+05mQORq0eoyhLCy2JK/qZl+nOD6b7phlH2zP5?= =?us-ascii?Q?3gpD5AR31bco432Xl4S/+NSiePPU0sAa1ENWTmuAf2I2DHTBqER42OSe9MHV?= =?us-ascii?Q?GaaWfcQLjcFGVg9ykBID5eDq8XiufWuJeeFlaQo2n7x8lfd2bfO2qY3TEYRx?= =?us-ascii?Q?66oGhujDvrvzRPa2NviLP1O75V/tIX8vdLbDrwWS?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2d978561-7106-4079-9201-08dcf30d0b34 X-MS-Exchange-CrossTenant-AuthSource: DB8PR04MB7065.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Oct 2024 02:47:32.9447 (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: OsYDJZFjWxqy7FPrZM2aHqFnnd5fEEtuZ3FBuQKgXSHfFMVkid7fgDxiZkFquc2roQNLnYK8Dkqov5g7EHebdw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR04MB9216 Content-Type: text/plain; charset="utf-8" i.MX91 has similar Clock Control Module(CCM) design as i.MX93, only add few new clock compared to i.MX93. Add a new compatible string and some new clocks for i.MX91. Signed-off-by: Pengfei Li Reviewed-by: Frank Li Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/clock/imx93-clock.yaml | 1 + include/dt-bindings/clock/imx93-clock.h | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/clock/imx93-clock.yaml b/Doc= umentation/devicetree/bindings/clock/imx93-clock.yaml index ccb53c6b96c1..98c0800732ef 100644 --- a/Documentation/devicetree/bindings/clock/imx93-clock.yaml +++ b/Documentation/devicetree/bindings/clock/imx93-clock.yaml @@ -16,6 +16,7 @@ description: | properties: compatible: enum: + - fsl,imx91-ccm - fsl,imx93-ccm =20 reg: diff --git a/include/dt-bindings/clock/imx93-clock.h b/include/dt-bindings/= clock/imx93-clock.h index a1d0b326bb6b..6c685067288b 100644 --- a/include/dt-bindings/clock/imx93-clock.h +++ b/include/dt-bindings/clock/imx93-clock.h @@ -204,5 +204,10 @@ #define IMX93_CLK_A55_SEL 199 #define IMX93_CLK_A55_CORE 200 #define IMX93_CLK_PDM_IPG 201 +#define IMX91_CLK_ENET1_QOS_TSN 202 +#define IMX91_CLK_ENET_TIMER 203 +#define IMX91_CLK_ENET2_REGULAR 204 +#define IMX91_CLK_ENET2_REGULAR_GATE 205 +#define IMX91_CLK_ENET1_QOS_TSN_GATE 206 =20 #endif --=20 2.34.1 From nobody Mon Nov 25 22:45:01 2024 Received: from EUR03-VI1-obe.outbound.protection.outlook.com (mail-vi1eur03on2044.outbound.protection.outlook.com [40.107.103.44]) (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 E4EC213BC0D; Wed, 23 Oct 2024 02:47:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.103.44 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729651664; cv=fail; b=s1Jz4Ce8WQjVn1nGbllZK5qNVfpf4LfcJq3WpTw1TwJX0LtEIr5hAWoiGhkK8sCdaeQk50qNEMwD7CMIoUYdt//Lype8RtgqO0tgwyXhB+kX2q7l5fhpf1eGGe2XgGw5G+k3WM2HmaXDHxKrMd58TDbsaODFHNLTMFAmsMbYwxw= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729651664; c=relaxed/simple; bh=dsJUhRf3WFwwdBnoQgPyqzl1gZF/+HiiOZNZZT4YVGc=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=GbSyiWQKKnp/VB+BffkK1nnm69aTpLmIc18LJXLM6Dy2aAVajRIUxnv1XqpoFpvfeE01xPHmN/DGxEe1iZJyRpAdKd3zPby/VZTtCYyuS/pVB6P4btbCAOVXObHADnN2Bt3vYTrvB22EPsMw5z0BPu27qeszs9b3VIcBtJ9ZqV4= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b=fTLqLTSm; arc=fail smtp.client-ip=40.107.103.44 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 (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="fTLqLTSm" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=usrAm/ADXA5eIUQwk5zDgLsWpnjL3aNMXWU2BwTk6r/NVEaBnsN8s0Y9dMBeDhP8Rl+vo1YZjB67wuZy6LY9EA70qsEpp9q5+eCyWIvumHd0qQgA3FiMoxaDTK2Yq5LaZT4WYyXD+YhY0zrQK9DzZCKjGLTjysuYXsuL783AsvJoyrEtpdeDxe6Or6Rf74yjC9P2hv9vakBh8EzEqHvNH9Cnc5YeECZHUeAN42NQblCirI6QvvNO1D4rFhR5JJbN7Zv7ZVofpOUqS3jEgZcB1iuNZdEywTfQo6WPqPjyGEWVMj76317imaCrdpkAId+ptBJjekP2vuapRsCYu45rTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=L0n344qQC3f8FUTADAPFjyF7uantGbrmJpV5T7shvyk=; b=QYp11jvRc6mLZ27KGHyE6OaZSAk/s9Mim56FuvsCu3k5yaGryy2deSxpBmzspP6bbKJ398m3vKmuV9wn4qTMXsrSwa2zRK4fP+iD09zsKK7zaS643eCDm0tm2S5qf7bNjM/8jz6P/Qjx4gbxetZVHKAXejKWgvTvAPNUggEY92I0TC4DQ8Eq4+eOoQxCBo6NLQ01cFpNRYIPy2FgDYVP1xiSHwqVUTtVz3flfB4i6fyOmcXo8ENMrPzvA1h1uQeH2VGu1aknxkVmRepijey7rV2JFY4i09JIdr2VmoDzF6rQnqsrD2UiH8By0wYkB8fU2VMEiJGcXS2zOAdSQ5mOqg== 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=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=L0n344qQC3f8FUTADAPFjyF7uantGbrmJpV5T7shvyk=; b=fTLqLTSmVcWNvJC5sUCuEiP/XsCKcH/H1OVGrE9op0zA+fj0RRHoPlf3nChkEbnWVzCeFXX8BgrOV6ciMZ9uOQhaX4NIFITuS3z7AlccZH2pj7/YoB6OwhCa3hl/5pO9T329t8SqzS9+1+SSDoWLwmsf+RUyC08axLZw0gyFIIYtc2IF0XZdDEVmrgiOcAmUN2U4pH5SjwdxaETVqt7qpcpegpVXV2KA6mJGAkbvU4yGqjxLsoTY4HQsOEDGUb+wzNybdO5dVDttHOJgNn3/1noa4cDT7epUv8O0EKHRY4hAwlMmxVsg1RWV1DpRTiK3VM7uWcWRrsDoBtdKv3InBw== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DB8PR04MB7065.eurprd04.prod.outlook.com (2603:10a6:10:127::9) by GV1PR04MB9216.eurprd04.prod.outlook.com (2603:10a6:150:2b::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.18; Wed, 23 Oct 2024 02:47:38 +0000 Received: from DB8PR04MB7065.eurprd04.prod.outlook.com ([fe80::8af7:8659:9d42:bd84]) by DB8PR04MB7065.eurprd04.prod.outlook.com ([fe80::8af7:8659:9d42:bd84%6]) with mapi id 15.20.8069.027; Wed, 23 Oct 2024 02:47:38 +0000 From: Pengfei Li To: krzk+dt@kernel.org, robh@kernel.org, abelvesa@kernel.org, mturquette@baylibre.com, sboyd@kernel.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, ping.bai@nxp.com, ye.li@nxp.com, peng.fan@nxp.com, aisheng.dong@nxp.com, frank.li@nxp.com Cc: kernel@pengutronix.de, festevam@gmail.com, linux-clk@vger.kernel.org, imx@lists.linux.dev, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 4/4] clk: imx: add i.MX91 clk Date: Wed, 23 Oct 2024 11:46:50 -0700 Message-Id: <20241023184651.381265-5-pengfei.li_1@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241023184651.381265-1-pengfei.li_1@nxp.com> References: <20241023184651.381265-1-pengfei.li_1@nxp.com> Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: SG2PR03CA0118.apcprd03.prod.outlook.com (2603:1096:4:91::22) To DB8PR04MB7065.eurprd04.prod.outlook.com (2603:10a6:10:127::9) 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: DB8PR04MB7065:EE_|GV1PR04MB9216:EE_ X-MS-Office365-Filtering-Correlation-Id: 2adb2154-c45c-4ce8-a22d-08dcf30d0e94 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|52116014|376014|366016|1800799024|921020|38350700014; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?nyJZhq4qI5eOmS1WCrvHjr0sA1ZtW/gJ7z7RPvPbkmbS+AYB6gXidbwun+aq?= =?us-ascii?Q?HCzsX04aZ44uk/Cf+CXeQeeTmJc0tP+iMaQR99XLqc2PKjANqQncp7jF2fqm?= =?us-ascii?Q?pBafbNcWu2D7Zx+o1rXO6Fr2jCyQMTOFxo3CSyaL3eECP08nZD/SdX9vYmhu?= =?us-ascii?Q?fbZFgCJpYghngDYfPjZslxaHZEkvZlfnl8W3j8J6P014oku5vKIytv7X0p31?= =?us-ascii?Q?KNgRKfJW9TAlMVYgjhwf/rSo3b7l9+tSJeO3I+7HGNWT16Ncel8kO6bZ6Sha?= =?us-ascii?Q?bCy3qURfVfoDrWnvdD07abdYMXtc+JOVlfjDVOHceBHw65bG01SRbdKswed8?= =?us-ascii?Q?n0P+pbeAiTDjNb5Zv6H8EbsFbF4kTjiTCqJDbi3uWV6kxBf40jJsQYl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GbJgOlwzarA0Yt81hZcETpcCqm98M9?= =?us-ascii?Q?4EhkwtbijcM94MwsdVHhEATwCO5C52/cjD7I/lX5isw4oNTXXweTRn0L+jBK?= =?us-ascii?Q?OIj2X+HfBd6j6vPvkJCF6krmPK7w?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB8PR04MB7065.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(7416014)(52116014)(376014)(366016)(1800799024)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?pihp0AJguZkejKxzdN4Xv6sXG9oYCcarUW3We5/3FHg3NOMM3IWZtzjJX99f?= =?us-ascii?Q?JO3AeUXvJW9kJBaeARBuqiPnTGLjHSECQ/hGFaN+uQp7qYCNe3A/ivT6a3QJ?= =?us-ascii?Q?GkejFytD/2X5NPsv+iy1YgxIpM0vsJ1c8Q9x58QhT6n2m/A0rzIoDYuKywhS?= =?us-ascii?Q?nTdHXqDFsecnJfYRyUJX2RYUR4A1pDQMPREDWB9mVyhoSmj5uyTBSs/1vo0H?= =?us-ascii?Q?UhwEo6CX0OXrDoM1SDKEmq7FQa3+jOUUJniTvl3thG/uv3k/7GDEf4OEtYmI?= =?us-ascii?Q?cXuVsorrwYZv/7cfCZGKlSd3ssRuktgLb3uQgqARuz9epk7I4InEiifXjEos?= =?us-ascii?Q?7ta+/A/as2CZxbfZ4UdlPYlkxDkUnF8kBSpxm/3ZDM2xE7iuJytQHOH65xtS?= =?us-ascii?Q?ENSkAwJz8uJxfVstYdqvoz0zAqlCT+p8du/bHLq1rkDIAbt/AHF/qMyx2JY0?= =?us-ascii?Q?p+K0DeCZX5VgLsQWLKBfk7JpZZCkli22AkCxhOfuD+L1o+6aLjP8TZW98CAe?= =?us-ascii?Q?12zUXe1ss6iKeXwJQ2hxc++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ii?Q?gzNWkBI14hUbHlo8q3ugyqzjliM5zsMib7pF+fDA5eFxvcjDkYwVETooCOjM?= =?us-ascii?Q?lt02KQmnYVdibQ6IMUqDVHrIZa1P4CnDKujP8DLlCmoxXsLZc5lXbOcyaUCj?= =?us-ascii?Q?Dg7y0qvIn4LuY72lJmDTM6oJ1kcwHVQrrF5lMJgd?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2adb2154-c45c-4ce8-a22d-08dcf30d0e94 X-MS-Exchange-CrossTenant-AuthSource: DB8PR04MB7065.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Oct 2024 02:47:38.7242 (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: DHfhR0OMH3tPrDPVSDzc/JXc+9PYmIqrWWckXjJHG+B8cyCjQyxGf68/AYO5QvpMDL42J8bl5yvAFFPKmyEhCw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR04MB9216 Content-Type: text/plain; charset="utf-8" Reuse i.MX93 clk driver for i.MX91, because i.MX91 reuses the Clock Control Module from i.MX93, with only a few clocks removed and a few clocks added. For clocks specific to i.MX93 use PLAT_IMX93 to flag them, for clocks specific to i.MX91, use PLAT_IMX91 to flag them. Others are shared by both. Signed-off-by: Pengfei Li Reviewed-by: Peng Fan --- drivers/clk/imx/clk-imx93.c | 63 +++++++++++++++++++++++-------------- 1 file changed, 39 insertions(+), 24 deletions(-) diff --git a/drivers/clk/imx/clk-imx93.c b/drivers/clk/imx/clk-imx93.c index c8b65146e76e..58a516dd385b 100644 --- a/drivers/clk/imx/clk-imx93.c +++ b/drivers/clk/imx/clk-imx93.c @@ -15,7 +15,10 @@ =20 #include "clk.h" =20 -#define IMX93_CLK_END 202 +#define IMX93_CLK_END 207 + +#define PLAT_IMX93 BIT(0) +#define PLAT_IMX91 BIT(1) =20 enum clk_sel { LOW_SPEED_IO_SEL, @@ -55,6 +58,7 @@ static const struct imx93_clk_root { u32 off; enum clk_sel sel; unsigned long flags; + unsigned long plat; } root_array[] =3D { /* a55/m33/bus critical clk for system run */ { IMX93_CLK_A55_PERIPH, "a55_periph_root", 0x0000, FAST_SEL, CLK_IS_CRIT= ICAL }, @@ -65,7 +69,7 @@ static const struct imx93_clk_root { { IMX93_CLK_BUS_AON, "bus_aon_root", 0x0300, LOW_SPEED_IO_SEL, CLK_IS_C= RITICAL }, { IMX93_CLK_WAKEUP_AXI, "wakeup_axi_root", 0x0380, FAST_SEL, CLK_IS_CRIT= ICAL }, { IMX93_CLK_SWO_TRACE, "swo_trace_root", 0x0400, LOW_SPEED_IO_SEL, }, - { IMX93_CLK_M33_SYSTICK, "m33_systick_root", 0x0480, LOW_SPEED_IO_SEL, }, + { IMX93_CLK_M33_SYSTICK, "m33_systick_root", 0x0480, LOW_SPEED_IO_SEL, 0,= PLAT_IMX93, }, { IMX93_CLK_FLEXIO1, "flexio1_root", 0x0500, LOW_SPEED_IO_SEL, }, { IMX93_CLK_FLEXIO2, "flexio2_root", 0x0580, LOW_SPEED_IO_SEL, }, { IMX93_CLK_LPTMR1, "lptmr1_root", 0x0700, LOW_SPEED_IO_SEL, }, @@ -122,15 +126,15 @@ static const struct imx93_clk_root { { IMX93_CLK_HSIO_ACSCAN_80M, "hsio_acscan_80m_root", 0x1f80, LOW_SPEED_IO= _SEL, }, { IMX93_CLK_HSIO_ACSCAN_480M, "hsio_acscan_480m_root", 0x2000, MISC_SEL, = }, { IMX93_CLK_NIC_AXI, "nic_axi_root", 0x2080, FAST_SEL, CLK_IS_CRITICAL,= }, - { IMX93_CLK_ML_APB, "ml_apb_root", 0x2180, LOW_SPEED_IO_SEL, }, - { IMX93_CLK_ML, "ml_root", 0x2200, FAST_SEL, }, + { IMX93_CLK_ML_APB, "ml_apb_root", 0x2180, LOW_SPEED_IO_SEL, 0, PLAT_IM= X93, }, + { IMX93_CLK_ML, "ml_root", 0x2200, FAST_SEL, 0, PLAT_IMX93, }, { IMX93_CLK_MEDIA_AXI, "media_axi_root", 0x2280, FAST_SEL, }, { IMX93_CLK_MEDIA_APB, "media_apb_root", 0x2300, LOW_SPEED_IO_SEL, }, - { IMX93_CLK_MEDIA_LDB, "media_ldb_root", 0x2380, VIDEO_SEL, }, + { IMX93_CLK_MEDIA_LDB, "media_ldb_root", 0x2380, VIDEO_SEL, 0, PLAT_IMX9= 3, }, { IMX93_CLK_MEDIA_DISP_PIX, "media_disp_pix_root", 0x2400, VIDEO_SEL, }, { IMX93_CLK_CAM_PIX, "cam_pix_root", 0x2480, VIDEO_SEL, }, - { IMX93_CLK_MIPI_TEST_BYTE, "mipi_test_byte_root", 0x2500, VIDEO_SEL, }, - { IMX93_CLK_MIPI_PHY_CFG, "mipi_phy_cfg_root", 0x2580, VIDEO_SEL, }, + { IMX93_CLK_MIPI_TEST_BYTE, "mipi_test_byte_root", 0x2500, VIDEO_SEL, 0, = PLAT_IMX93, }, + { IMX93_CLK_MIPI_PHY_CFG, "mipi_phy_cfg_root", 0x2580, VIDEO_SEL, 0, PLAT= _IMX93, }, { IMX93_CLK_ADC, "adc_root", 0x2700, LOW_SPEED_IO_SEL, }, { IMX93_CLK_PDM, "pdm_root", 0x2780, AUDIO_SEL, }, { IMX93_CLK_TSTMR1, "tstmr1_root", 0x2800, LOW_SPEED_IO_SEL, }, @@ -139,13 +143,16 @@ static const struct imx93_clk_root { { IMX93_CLK_MQS2, "mqs2_root", 0x2980, AUDIO_SEL, }, { IMX93_CLK_AUDIO_XCVR, "audio_xcvr_root", 0x2a00, NON_IO_SEL, }, { IMX93_CLK_SPDIF, "spdif_root", 0x2a80, AUDIO_SEL, }, - { IMX93_CLK_ENET, "enet_root", 0x2b00, NON_IO_SEL, }, - { IMX93_CLK_ENET_TIMER1, "enet_timer1_root", 0x2b80, LOW_SPEED_IO_SEL, }, - { IMX93_CLK_ENET_TIMER2, "enet_timer2_root", 0x2c00, LOW_SPEED_IO_SEL, }, - { IMX93_CLK_ENET_REF, "enet_ref_root", 0x2c80, NON_IO_SEL, }, - { IMX93_CLK_ENET_REF_PHY, "enet_ref_phy_root", 0x2d00, LOW_SPEED_IO_SEL, = }, - { IMX93_CLK_I3C1_SLOW, "i3c1_slow_root", 0x2d80, LOW_SPEED_IO_SEL, }, - { IMX93_CLK_I3C2_SLOW, "i3c2_slow_root", 0x2e00, LOW_SPEED_IO_SEL, }, + { IMX93_CLK_ENET, "enet_root", 0x2b00, NON_IO_SEL, 0, PLAT_IMX93, }, + { IMX93_CLK_ENET_TIMER1, "enet_timer1_root", 0x2b80, LOW_SPEED_IO_SEL, 0,= PLAT_IMX93, }, + { IMX93_CLK_ENET_TIMER2, "enet_timer2_root", 0x2c00, LOW_SPEED_IO_SEL, 0,= PLAT_IMX93, }, + { IMX93_CLK_ENET_REF, "enet_ref_root", 0x2c80, NON_IO_SEL, 0, PLAT_IMX93= , }, + { IMX93_CLK_ENET_REF_PHY, "enet_ref_phy_root", 0x2d00, LOW_SPEED_IO_SEL, = 0, PLAT_IMX93, }, + { IMX91_CLK_ENET1_QOS_TSN, "enet1_qos_tsn_root", 0x2b00, NON_IO_SEL, 0,= PLAT_IMX91, }, + { IMX91_CLK_ENET_TIMER, "enet_timer_root", 0x2b80, LOW_SPEED_IO_SEL= , 0, PLAT_IMX91, }, + { IMX91_CLK_ENET2_REGULAR, "enet2_regular_root", 0x2c80, NON_IO_SEL, 0,= PLAT_IMX91, }, + { IMX93_CLK_I3C1_SLOW, "i3c1_slow_root", 0x2d80, LOW_SPEED_IO_SEL, 0, PL= AT_IMX93, }, + { IMX93_CLK_I3C2_SLOW, "i3c2_slow_root", 0x2e00, LOW_SPEED_IO_SEL, 0, PL= AT_IMX93, }, { IMX93_CLK_USB_PHY_BURUNIN, "usb_phy_root", 0x2e80, LOW_SPEED_IO_SEL, }, { IMX93_CLK_PAL_CAME_SCAN, "pal_came_scan_root", 0x2f00, MISC_SEL, } }; @@ -157,6 +164,7 @@ static const struct imx93_clk_ccgr { u32 off; unsigned long flags; u32 *shared_count; + unsigned long plat; } ccgr_array[] =3D { { IMX93_CLK_A55_GATE, "a55_alt", "a55_alt_root", 0x8000, }, /* M33 critical clk for system run */ @@ -246,8 +254,10 @@ static const struct imx93_clk_ccgr { { IMX93_CLK_AUD_XCVR_GATE, "aud_xcvr", "audio_xcvr_root", 0x9b80, }, { IMX93_CLK_SPDIF_GATE, "spdif", "spdif_root", 0x9c00, }, { IMX93_CLK_HSIO_32K_GATE, "hsio_32k", "osc_32k", 0x9dc0, }, - { IMX93_CLK_ENET1_GATE, "enet1", "wakeup_axi_root", 0x9e00, }, - { IMX93_CLK_ENET_QOS_GATE, "enet_qos", "wakeup_axi_root", 0x9e40, }, + { IMX93_CLK_ENET1_GATE, "enet1", "wakeup_axi_root", 0x9e00, 0, NULL, PLA= T_IMX93, }, + { IMX93_CLK_ENET_QOS_GATE, "enet_qos", "wakeup_axi_root", 0x9e40, 0, NULL= , PLAT_IMX93, }, + { IMX91_CLK_ENET2_REGULAR_GATE, "enet2_regular", "wakeup_axi_root"= , 0x9e00, 0, NULL, PLAT_IMX91, }, + { IMX91_CLK_ENET1_QOS_TSN_GATE, "enet1_qos_tsn", "wakeup_axi_r= oot", 0x9e40, 0, NULL, PLAT_IMX91, }, /* Critical because clk accessed during CPU idle */ { IMX93_CLK_SYS_CNT_GATE, "sys_cnt", "osc_24m", 0x9e80, CLK_IS_CRITICAL}, { IMX93_CLK_TSTMR1_GATE, "tstmr1", "bus_aon_root", 0x9ec0, }, @@ -267,6 +277,7 @@ static int imx93_clocks_probe(struct platform_device *p= dev) const struct imx93_clk_ccgr *ccgr; void __iomem *base, *anatop_base; int i, ret; + const unsigned long plat =3D (unsigned long)device_get_match_data(&pdev->= dev); =20 clk_hw_data =3D devm_kzalloc(dev, struct_size(clk_hw_data, hws, IMX93_CLK_END), GFP_KERNEL); @@ -316,17 +327,20 @@ static int imx93_clocks_probe(struct platform_device = *pdev) =20 for (i =3D 0; i < ARRAY_SIZE(root_array); i++) { root =3D &root_array[i]; - clks[root->clk] =3D imx93_clk_composite_flags(root->name, - parent_names[root->sel], - 4, base + root->off, 3, - root->flags); + if (!root->plat || root->plat & plat) + clks[root->clk] =3D imx93_clk_composite_flags(root->name, + parent_names[root->sel], + 4, base + root->off, 3, + root->flags); } =20 for (i =3D 0; i < ARRAY_SIZE(ccgr_array); i++) { ccgr =3D &ccgr_array[i]; - clks[ccgr->clk] =3D imx93_clk_gate(NULL, ccgr->name, ccgr->parent_name, - ccgr->flags, base + ccgr->off, 0, 1, 1, 3, - ccgr->shared_count); + if (!ccgr->plat || ccgr->plat & plat) + clks[ccgr->clk] =3D imx93_clk_gate(NULL, + ccgr->name, ccgr->parent_name, + ccgr->flags, base + ccgr->off, 0, 1, 1, 3, + ccgr->shared_count); } =20 clks[IMX93_CLK_A55_SEL] =3D imx_clk_hw_mux2("a55_sel", base + 0x4820, 0, = 1, a55_core_sels, @@ -356,7 +370,8 @@ static int imx93_clocks_probe(struct platform_device *p= dev) } =20 static const struct of_device_id imx93_clk_of_match[] =3D { - { .compatible =3D "fsl,imx93-ccm" }, + { .compatible =3D "fsl,imx93-ccm", .data =3D (void *)PLAT_IMX93 }, + { .compatible =3D "fsl,imx91-ccm", .data =3D (void *)PLAT_IMX91 }, { /* Sentinel */ }, }; MODULE_DEVICE_TABLE(of, imx93_clk_of_match); --=20 2.34.1