From patchwork Thu Jun 27 08:24:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pengfei Li X-Patchwork-Id: 13713945 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 5D171C2BD09 for ; Thu, 27 Jun 2024 08:27:09 +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: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:In-Reply-To:References:List-Owner; bh=C9izgsE5ZXtem6NM0fAbNFRgTHS6YuvqBoorAp1+HtM=; b=L/3V5BjZNIisneV4td5n7L6TVH ia3/+wy+31SWIFhnbFlMkP1QaA7t3gqxrwsLschyJfYgDRlLznbL4JGfMNmc8HNvaOFYaQb4cLjna W1uKOuGkRENVPDI10U/6R0fwf5bsmffveXHXWXo4QQ4BZzW4xH1qgdtfU/G951v9hupVd8NaCOYdi HKRVpoQy4Jl6Wuv8LO13xxDs2Km77t9jrXaQiQkZiaUyPSH9YUiHOvWsEQZOUyvnLWuSTh5OWaR/8 gyOKr1O3JyNqy8O6LywAOAhO1QN7EBetKeNhv/BIieLc55WlLIAzPNgm4+iALCg523v0EBGGsyZyr 6KrUtDiw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMkT1-00000009jwc-2Et6; Thu, 27 Jun 2024 08:26:55 +0000 Received: from mail-vi1eur02on20600.outbound.protection.outlook.com ([2a01:111:f403:2607::600] helo=EUR02-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMkSs-00000009jtA-2xpk for linux-arm-kernel@lists.infradead.org; Thu, 27 Jun 2024 08:26:48 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SvNs/bWsta7UQ2YAxvcB2pqBm7o/D/GPfAKlw3l9Os6GrL9wzMPSUikfoAvx2RwqRd02lGbe4LvJvExgkVqk8MDpL+98zUMkwoXWh7aJ8VrKIYj3eT3eUliCrHrXV3rnv0e/YeCPvG0FCHTK7iJh//whNnwNcSFB8O/R5YKWp3tLogwrGZLy5uMo5bA2NWXGew8XVYPmfh2RUAwuAXEzPBWbclQuqLfh7yIWEbGWh1sJx5KUm0hb080kpmWn+Ru5Ks6c0gFJZj73qSUcucZEIQKK0MeE29IN4xejWVtMeq9Yz2nDyiMpgTEJTPPp9JCTaqrn+tfHQdQ74hmQBXYc7A== 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=C9izgsE5ZXtem6NM0fAbNFRgTHS6YuvqBoorAp1+HtM=; b=UyfQxDFGXDEVHxkJPjhgQYqc1MtEUkK3N6DFDO4gxwS1eTg68AiUOAco4vbOUhw5TvOe03IeEmBhLBpNKM0fkJ5DIlvJ2Ce5GxiEN4bfX+AYkWmpWyUvl0703ysHz/ycGVkrxOJaAcsndupAx1VOSC6/50uuKhZ3JXa7dXlfIZ5Id32iB3p6e2SewA7tvAX8EYo0pq1tfL9WAX0rUjUgGYJVSJo0nOfA3ce9MxlhN6LZ5CTn1AzNEX3rPJ4h/vd24icYdPSuebU3bdakaWFg9LN6rCYVTTdTgvP3u0Ytd3kp0+cV9skc3KyyLiPeiljYCNETRq6c3DfFx+GTSrTxxw== 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=C9izgsE5ZXtem6NM0fAbNFRgTHS6YuvqBoorAp1+HtM=; b=UNoc+8v99x8sQkzBAyAZXAqp0VMsW7legirI61lI6lR0oeWGboHXhT34/y+wEuc8soCRAaTcp/uBxeajdH033pj3npGDnb5iFssDwgToTkBXAx11+0oGrycmMkDSXsSN3q7zLGHrxf/gQSKNZ8Jjv4zZ1KBDb2Xmq3dhuzHVoZs= 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 DBAPR04MB7432.eurprd04.prod.outlook.com (2603:10a6:10:1a9::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7698.32; Thu, 27 Jun 2024 08:26:36 +0000 Received: from DB8PR04MB7065.eurprd04.prod.outlook.com ([fe80::8af7:8659:9d42:bd84]) by DB8PR04MB7065.eurprd04.prod.outlook.com ([fe80::8af7:8659:9d42:bd84%4]) with mapi id 15.20.7698.033; Thu, 27 Jun 2024 08:26:36 +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 v2 0/2] clk: imx93: Move IMX93_CLK_END macro to clk driver Date: Thu, 27 Jun 2024 16:24:24 +0800 Message-Id: <20240627082426.394937-1-pengfei.li_1@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: AM0PR01CA0128.eurprd01.prod.exchangelabs.com (2603:10a6:208:168::33) To DB8PR04MB7065.eurprd04.prod.outlook.com (2603:10a6:10:127::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB8PR04MB7065:EE_|DBAPR04MB7432:EE_ X-MS-Office365-Filtering-Correlation-Id: 532a1c10-938a-49c0-18ef-08dc9682dc13 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|52116014|7416014|376014|366016|38350700014|921020; X-Microsoft-Antispam-Message-Info: JYu0sXIi7Za0F5zuxWKHJct5dJI8JCrtg2KwsxImw/zpjHWiO3XtBgU7XRYsErxrN9Eo3DjH0X3x72vWYkR+2WnSURg+jeSr84UAl2XUXHiWMwdgh2dUZkGecM2BWNb8llyKXYEgXctqwIzwftm54ToVHkbXRT9jvP5EZw97H+2no29odVlc2ggSUZ7oA3dn3ULzx/QmXiYgzhGPs4PSpOs9A22LXrfRmiiHmj4xs+WwJgMI7FReHMPha9ftOr5TtITZP/zkspiF6fgSB7xwVdeWzLsVlF9dzPzh8sn7jPUeIWNKVatXao21wvehhX2kNRrFsbp703zsBGisdfZb3XxnYXnoXqPxp/+sgptZYmQ+OzFaIyQyHO+Btkdw9Xc5AefqFkur5ruPSZmCcvuIFk0yxLoEfSlFHoO8SOpwqc40a8Gi7+sPUUk/9REXZIc8Me05miv6ILiLlU4J55cLc1jLL5GcmrlR6VyKaLcwEKPev53FFZZ+X3R24RCfjPUuOYuHZhAZc4rmf6VUZBMWVv9r2hTIC7Mbh75eC1nKavN7BsUeCH2/667QZMtiOYTS34LIufUz4f+LQIbjoYU1MLEUkVbVbbSb3bmlGbQhPH6wk7nU5Lv/VW6a6kruZY+Dqoj5DIIx57wqU5XSSnPMFD6wV7KCHQtQopBeIYy/64B95jx6yRxVpawQqTLsSM25rx5U3V4QxYMEEeEct/m10OmnnjkMHzeseTs71MlCZ2F2/Spi/6phEBpjZdxIG9DXPTsodHIWXifd9NGQjQLfvSe1ZIvnrjvIwcoUC03XDLfzQzKa5RJxx3dyIq7Uc9LKoAqPBdzqaO9SqLENR+gjywxF4OommQGnZHABTdcr4q8Wy2z6XTp6uXUKH3N0T9KpvbF/ZzvWE1xXEtQ92BSyZBuSqtOdNjRnlFCu61Y9oG4PJ6Y7UZ9k9eEo1TvwlKCDjDRqen7Sj95x/Cq5iYKq86BpbPtqQkcaaPsJKeIha2O6bhRsiCaKnxyXz4f5I0WeUxkzVFFTuJQERY6bMhgETY3kCXlUqjxU+4RE9ztDEdAzEJDjw6eDL7BckCQVBVE7WNEcgn2UzLS2BkjqUWmcyMsnvVkuAJ/c/+g1dgc2w2yowKi3P5sb8zpFq0cVY+lW4/2RNOMgqFHlqLtFQHuFSKa13Fz/byW3QDc4qJL+gwHHMzn3pyC4uIvJdKacezLOggINvmgsqdWtooDQj94wwGKF+OBLO+spPxV7eVfRpxhvR4KT3M8CrhEGZgJCjiKHSnvCXuoktHidwgKGeg4fktVbb3ZThTFZRyiz7mNeIPFDhp0lrEdT5z39sIqezWk+AZOOLGd7uGmy+Tj7AOPo160CGkj87dhfK/spyyIv6gSSM5iINvqF8MeFZ+fXOkkp 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)(1800799024)(52116014)(7416014)(376014)(366016)(38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CtnBDo5Koi61Oi6GDw6KEfC90Xm8HUKFp6Kmi/DcmXSZGGwq/G5X+tOl3pGF8+ocTBs87EE0akK9dZ1fTxmAWvBrDva0C7QXLriLq9Oo4nv+LYp4x626VrU9hip69CPrE563ePXKWQLbYOQcAhwpaxg3zVm5nMEF3+8bufoxsNnY1yvA34Nky/V5Wj7m7YSDhOdYkP+V0h1bCOHRanQJ5/cKX2e8Hzdp5TB2uH54YNJGVGILVBSnbnwstmTmpKalXWW3RNdiaqDFVXu/MCzvvsRpt8zVRdIDT700UZJpBa8D7JbMkmGjcNK1yQ79iUBw9kEdT0t0wpJjCts6frgZ8feeGCBuWjwjvisWuKbODg7f44eDfPPhmH6qCNdI+wCE4ffvMutI3/ctiiqAhmd4V6VKlL5ZRFApcjP8/vVqod1ebcO5hWTumXWbW3lfwPbjj4WiByC2v3pfQs3SVlfwFKPB34wiAhvKCdh5fgGqYCnl9KIB/4uEwgDi6e1y4s+WIkqiUojnINNDOsXSt5MCMOF5VcEFvrIzrnbaeo9ekV71hOxKNTERbDoUy4vsrZahYlTn63QtMKIbeWQ16DGwfIIOi9Osuf0E X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 532a1c10-938a-49c0-18ef-08dc9682dc13 X-MS-Exchange-CrossTenant-AuthSource: DB8PR04MB7065.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jun 2024 08:26:36.6441 (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: a+84E1zsps3xTUve+rddbFJ2+dhT6d0OALHG8/tnHnBezw8WsbcLDu/NssGJc+SCmV5FWf1/kXBu3eDS4UGfbw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR04MB7432 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240627_012646_798255_6A5BF654 X-CRM114-Status: GOOD ( 10.53 ) 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 'IMX93_CLK_END' macro was previously defined in imx93-clock.h to indicate the number of clocks, but it is not part of the ABI, so it should be moved to clk driver. --- Change for v2: - Use pre-processor define to simplify code. - link to v1: https://lore.kernel.org/all/20240625175147.94985-1-pengfei.li_1@nxp.com/ Pengfei Li (2): clk: imx93: Move IMX93_CLK_END macro to clk driver dt-bindings: clock: imx93: Drop IMX93_CLK_END macro definition drivers/clk/imx/clk-imx93.c | 2 ++ include/dt-bindings/clock/imx93-clock.h | 1 - 2 files changed, 2 insertions(+), 1 deletion(-)