From patchwork Thu Oct 17 22:51:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pengfei Li X-Patchwork-Id: 13839529 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 55C26D2F7F5 for ; Thu, 17 Oct 2024 07:09:26 +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=2MJPG4jjD/tGPJ2fbTa4lfbpamOfTzslr5V3dRrJePs=; b=x+qgJXhOjaMTRc4VZc6+Z1RKtC 9tKSixCCaRHlsTwOjv67xu9lazrPme+GyNZrz1oagHLd0Ct4rzu22USayhxdO+jEVWik7N5HoREy8 BB9a/7nNY03UJtQxcIFb4vzWhAfsSeszpi8l8VfH//SOV6cO5UHGNfTXVFMoJJNHZ9h1f5skCYFyH VQsMqytKYD2V1ef4n2VlG+6CA/dkbczPth+dYrul3vMuyfDfGl1Joake7crouj6qyOjNrwrxkOGYd is+8cUjTc7cGKlpE4i6F7MnZd/zXrpFZYT8ynkchmEyFSiAB1jbknYStQ05SxyHni9y7YbugluVGI kV1GwUVA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t1KdC-0000000DxIy-0pbD; Thu, 17 Oct 2024 07:09:10 +0000 Received: from mail-vi1eur02on2062a.outbound.protection.outlook.com ([2a01:111:f403:2607::62a] helo=EUR02-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t1Kaa-0000000DwxE-1K0O for linux-arm-kernel@lists.infradead.org; Thu, 17 Oct 2024 07:06:32 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Hw5h0dPTP5AlehC5wZRsJoQPZ5DERSr/OMRcKuKWVWlyF7btCBQ8bvKbTnU5Pn3QN38UHoRL4e6W9jdFXgGn6owcVuohj9hsh4TM1GTGQb6LOhb/K0FodnJMl7tKnvrz6imjoQ7wjlChnuzBMxz+61ZzHB2FN4UiV44uD31F0erqFZVFcz+NquUh54E/2FPLF0Z9joT916LEaJ+dSn6JojsLMdA8O2P9SQ5GndKN55yFPBAtpjs5UWjTNw06RsUeSaEaqxVrqbm2Fhvwgd3VCqvCAvSyofyim316jOQhqd880/pHHCV/JkwFZoXPcsyQbhUtyCHRW55jKiJzBd5A+w== 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=Mop5jJEHY55siFkU6E10SVBGTUcOr81KF76ba1fXcs+Y5Bg1MJZL13A12H52lWOToPQub7QvltP4o3HCg2nlYZ07TVUcsszmvuxoVueU3cX5a/WoHKwPUR4gHHJA/QqaWcKLpGujiqHdaC/KDtVwnanIPrpUk+1JrLCL0qMUX/zEvKJTb2QDoDxBfzqC5XeSUygveBl6gINCtfwFraA9VxsHy9g85FO2sXb5yARxvET+zS4dV7WVHW3HIBkQTDhMm/Q+RCTQdTRoSZD4fKFIflowVML3rV3qLtloTY2G17oFeRJWf7VLP+TfCD6WLeRjSvtjAFMPHvbRmYPUJRYkpg== 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=An7+lrNNKy4hNtX/8Ee2v38x8csDk2dxpmVFTXjg9JvpJ7kdSayGl80aBcwUBLfZnr09pL8OXuoJZ9QaJyeNsI3XMEP8o45rFqcmAgyAiG/boz95zhEFe7wPtaL/hSMhb9vptGwd5gM6YxvEoFmfJ6LzLFaifVUs+K1sC4GCZyWph9XrZHCqnK4IcwjPYdYy7fl8ZiwK2WZNNPEF6KR6nJhRT9vpulEwI4GNn+0MoCsmBfjYBGxv4PK6muofNN1VgY+cbMb/yg3IwqIwFBjEia/PKg2ChkUHpuBz5b/EbZQmA2JhJeC/gjYjGJ+edrYckiHuzufVdyDJbr72NHlAGQ== 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 VI2PR04MB10148.eurprd04.prod.outlook.com (2603:10a6:800:224::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8048.26; Thu, 17 Oct 2024 06:51:07 +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.016; Thu, 17 Oct 2024 06:51:07 +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 v5 1/4] clk: imx93: Move IMX93_CLK_END macro to clk driver Date: Thu, 17 Oct 2024 15:51:34 -0700 Message-Id: <20241017225137.1158924-2-pengfei.li_1@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241017225137.1158924-1-pengfei.li_1@nxp.com> References: <20241017225137.1158924-1-pengfei.li_1@nxp.com> X-ClientProxiedBy: SG2P153CA0042.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c6::11) To DB8PR04MB7065.eurprd04.prod.outlook.com (2603:10a6:10:127::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB8PR04MB7065:EE_|VI2PR04MB10148:EE_ X-MS-Office365-Filtering-Correlation-Id: 55538ab2-f79b-4d1c-e793-08dcee781387 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|52116014|376014|1800799024|7416014|366016|38350700014|921020; X-Microsoft-Antispam-Message-Info: YE/mWWzYjmzieQmfUaWyVUReoFEXfl5fDj8gaV7XZa4R3pyZmD2Q6IgIlouOofCiPS3zDMqKh/go+6Zbyt92MV+Sev9BB890MAzlw0gXcjdwGXrDKK+s0QbuwOrNXidtf9Tc8dV2tE6/sjiflelx1nA5g88x7b79rVkkmrXd2Nlp48SDmt/F/0q7uBjl4AedTrZuGFUj0qspUuAzSshUJd2YwfaKliCSv+lrmm6bYV9Bq8CHgNDw7y+3Q8hlmWg4fyeAVCPmuK2FV3O5dSHgP1fD1oDwbDVN+MNXeH1Uo3lKqDIyvqPL2yrIiYTa8KXEmA6GSAyOsJvaXOnyvdIg4YOOrAhKG/OMIyhH+plrw8NzUNXuU18rDSINoKATfW3swhtwoEZI5LsnzFOxfQ9awL4MgdkI+cirAQWZNO+aEwJykCAZvn5NiRXUFWvbjar7uRl1XBAl5LTVzEgO55XaBP5C0FGjizgElB5L1odY7eoQHBeQzkSiGbFiXL0prQr+J4Tt9NI8yMw8xK5aVd1Jum8OYnsrX8HMoSYlbsWwGs0YJH+yx5pwRkBntF0enJVOKyBl3e3Gx/doXGhppYaHIpCY4OY/IP7uB3mdybY6heUbX7mLkB/OJt+wQBVdSyehQJmp+6M5g6b0v11PbghFIQ+jiAZV824ixVDF28BaWc7m6op38Weuz5tUzYIByJsPT38FCRIul06xt5zjlJxE94cRr+t6x6ObwwQUoxpZEbGis/PEyIBY6RU9TQur1GSThY8ahDL6j2JP3NCmuL/5AgOGpulAxDKyOXmgePuA2d39U1xwILodMHUHQEc7QzKr6P2z9nHzhjKO0FTGLuNros+SE46CW7GO570C71cQlvGY6gehmswrHOuQGKD8dLVTf73jC6IFN2RguhPSJZ0EOgsp7xiE6+osiPNU/Aapura+MIzu7OwslX5I47GUv7GQ22lAAeFDaYPnHDof7rE3/xjrZ4NyjvPSCTjWWmjKlBOmIL2KsLtenDBZcKNd51hLgXhPlsgY2eigbNPM/P8nY6iDTxRhnvFDa7vMCBGoRCciu4xxRRyAjTzA3HfGt5bqvjRsJU8GkkrL0HyQ1mG9uhwwEYo1U07dLyGzQkelFFrOaMUl7Op+cBWKGAUGGeF6CA016jw8v3XyEw5r0S/MFHC6zlvWKPXkRuXi7s9jNEx0QRmEn+V5N90CuI5RHXh28PQupOZlMDjbWRuo0+uxoEACN9RO1krNBCMloTo9hsH9kSbZBGr5UXNQfkjZWPpIyM01UE9HS0Iv9Vg0Irb1XnQHzHJOkAq3/aSCJokHPiqYX6rNOnqNDdcWWv7Mz61hu19NpNR5KREY+6MCdW/GISZ3TE9gGK1pewkbOZVEb0ammiI1j3Zjo8c/vM22v9GN 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)(52116014)(376014)(1800799024)(7416014)(366016)(38350700014)(921020);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: t80GHyx7ESZYpmrPerh4mSVimQwyfU6rKg+i0vUfFqg5FPJpSyZLhGfc7nhe6hGh5XykXi0sUmrGrmpfw/HD0o/rNEIH9mXe5LkQdxeYcrL1yGPLYjBavlYymSdGD6hW+/RRk8xW2gV+fakRs6IqHbPOxFVzOdgDTMbZtQCHUiyWhGLvuvv5XI4JHLdyvK0AnllxNagc6LR557VUyL4hOd+JM23GxF2v2h53jyZd1WtarwUlk0NfRN3jaVHaZdlJZz0W1AUXTU/V+8AM2zKPnN9b5aQMM5SY5LS6+6Pc+MG968YQFt6RqUznJ8SlPxyf29KGcPeXVfqTohQBOb2OCN699qUAieIEWA0XACj1Q5JgMbNII5Wu461AYStHbio7Fne8NC6883o1rBV1NHwwc34maXHxlkvrQDYjIDzj/wuHpr6wm+SCUhSOsbYJ++6Ww85kdCCiIx3a4ASLiUVt0NtVL7eo8nmSZYkqUVj8d6Ud1d2PnnQ4tgBFsVK6ER5M7E0hALupumcvjZzLf5laMUqx3PfqxY7Hp0oIrSf8kRece+oSB5S1ZnMI7fcyJ+07BvgeJoySvRmlA3fhHFqrXdgsdyU2g23/eAEqolcAhfP9buu/2B0DA5cpevMrj3bGF+Bdb8ufHKMGRN1oWcIId4zWpe2aKpxoUtdBJCtRzgiWTBnhz4M6dAgkpOO2cEZ/YFYaMP7t9HUo5TpTVsBenKyn/eSEuj7xjwLLf2vd5DHHt6DiYHHgNJBQRCT6CWhBB1MaLpkBcNyDhmmcJ9EzqsYjgFKqVHPeGwBMiBqB4Z0KIzJwZFfmGgYeoovENUTAS3wMZTsMPX0WTzp6cmHZdpThss+U7roRNgu2wtevgHWCgETyn7KkbI15Tp18ZqrFsQ0agBIUA2G2RenvBrFDFeeFr/ERyjK5jeTiaC9L2eQV6YiOqxnmW6IFw14ARpvWOqI3JJvUOBzdUuShmGVWe2c7kEVZuTeNUMZUxY9GqQ0yY8xZvbjMWOixHYJqgBAmr57gGXbf5c3nTyJclpD8pqMVBB0VSuuH2O9nz+KdljJTx4sf7uuAbEEwNjlPL3Pk4X9PymPf/qoCzPy+WwNEUkTT75vgeI/1rOjvPSQs2lmFJy6WOXZFJdNcwcAoTCOWH2Q9lACq9M6c1MVpeXqPvg83qGYzyCkyLgN5RkUcUBYPYtJ3rCkzBmXlgOseeFGDkE/L+vIyjcW840larbX4FKMtzULEQfI7ahcaLyqQGu5mN45FhLizAZqAuJsnqLoAKDQK5YHLYbAuRNxi3Xw9oEft7D5bzPBVPoGPyNVAA1U94BDQpLgJpMnnt9B2w2tPAYgkeFnxTlmoMOd6KPxESnwDoVZS1BcyX1IlL1bQh8QectZ13ZERsYQj+S1cb7SOU8LkZZiN4HcuLBeXWDWeidQ270bTRtixXvsqut6hni86+XCQrE9VR/L7T0GEsRKq4NsGM5fl20O7IWisrcs+R11ELXcktI6yzfj0O3iUVnVNbYVQsPtWOhyIaAxI2eRx6O5JmJZhVD19SjogwKvJU9+FkJGwUYIKKVmT6sk6HnsJtmlv+Nr8u3F7pAIkvxBm X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 55538ab2-f79b-4d1c-e793-08dcee781387 X-MS-Exchange-CrossTenant-AuthSource: DB8PR04MB7065.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Oct 2024 06:51:07.5588 (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: bDWAWyYvxb/fuCeT12Rupumxg2lov1V2rWOr5foZkQRsVV6p7HszZ5DO52Kg8+uUhYHWhe30Im5CAEHjWEdLyw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI2PR04MB10148 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241017_000628_362432_1CE41083 X-CRM114-Status: GOOD ( 10.39 ) 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 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 @@ #include "clk.h" +#define IMX93_CLK_END 202 + enum clk_sel { LOW_SPEED_IO_SEL, NON_IO_SEL, From patchwork Thu Oct 17 22:51:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pengfei Li X-Patchwork-Id: 13839519 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 395DED2F7F3 for ; Thu, 17 Oct 2024 06:53:05 +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=YGOreLL6v3FxwLAj80VblzRDR94u9mUNZuVBNQCURjA=; b=4X5Wz+SR5e+7YT+dimoMDZICHs Fw7qdjDV0OjSBKnpgle6mtoZjSE+ycCawVFFr/VfkC9ql9DQXJlztkmArYxA1FUULruyz79ruuWh3 zwLP1rAhsleODkzRjU5I24ESmcgqgxj5K/V8CFJnwJ8hrw/AJI9oCTXBhY/PJG+qA/GWqZcNTnxnB Oeq1dGfMbcqKEMv/AHn8iGhORjayo88iLOPphJEt5syNtrIvkmcpbw5JPzg44AJkV42W3lEwarXGr 9BqyFAl5Dw2itrRpjyTzNOf0Wn5lrdQorgIKoRI8LfOhnIJgYEg9N1nuyPdCpRd/L77g4VxfShuxk ww9FB+Dg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t1KNO-0000000Dume-1F3M; Thu, 17 Oct 2024 06:52:50 +0000 Received: from mail-vi1eur05on2061c.outbound.protection.outlook.com ([2a01:111:f403:2613::61c] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t1KLu-0000000DuRe-2JfP for linux-arm-kernel@lists.infradead.org; Thu, 17 Oct 2024 06:51:20 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=QZeOLp4jMOmrTZ98KwPSbDdrIeYqhYzPkb9eqgq6lZxSwQ7dc4XMt0Ike70mKtdTD2nTyr6H9IAumXnA24qbgApJGjkaFJVd3uZLh574QKdz5M83kAT7eEgNvh9gS3AemoPs0wKx6v/mddw676LTOUmkCW+YJfZQ3hkl0XFCKw/tH++ZpGECP7DhEnvhFsnAjKNxWlXQRHHxN0rDMkogP9F81lBUEOSlFWB3QW+hsrFBFtKYTo2gNB+6s6VgkyZe2/r4vXuBdkr9mmRNsPRmUUq4K1xqmE47/WvdelZVz3lxI9CZCIdT5JJaOoH1v7GERJywpWeKRtnPYduW3Gg6aA== 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=sk7lzQof36s43jGsyULndIDijSQALLPuyotOiuqWgzO/Ael7ZV/xjrEuTV/NPLsqpkdJzal0jmLdBRNgwOez5b9qEccktRyTOpg9tt+/gLe8CE546f/1tntTR4xT4tkp/l5tUWcEzEHbXKy3DLqYMgimsFRfsNKCsZ5s2AkbK2RIu7ConLRQ3UMAZqxEY59RJI2FNg5NFqvBA/A1hn+IIUJWS2WDm+oUnSXqT49lseCLxo23IMwT+5Q8vYkKWxidoO6HpHqPsa4+La8F1SUeUjYWb/Ed0yplea9qU5UnuXux41pMupqu9B1tlYFbyytNz77CpyyvulH0nL1d0F9E6A== 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=XLN9ZOYfnZeWndhMBjQSU4FqwAWsTqdj08Wvilbc5kOvjIqGt0K1muvJb01ZFRZoWwfDxtwoCWCdbowQrW5mQYYcgVP04C4c8skDTWUTFYgHZ9dyQmEdSafTEchsTydx9/9rgprAdtNxoN5nOxy09I6RFR5MIyAp8QhN8xrzsVTryG5mMiSYjFqY00I2p5n7YLEU6+LWP2ABRkTM2t3AmlQtrDlCXSpg7+7iXbBXjiHSv1fA0AWC+IaJImkzJhFjXdHN6EP1PLTJb5FmJuXU5vpRoOEgF1PNiiZhByfwrwCWe1UzL+bgqaUbcFR63FgcswlxK8WdImPBl5O/I/34pw== 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 VI2PR04MB10148.eurprd04.prod.outlook.com (2603:10a6:800:224::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8048.26; Thu, 17 Oct 2024 06:51:14 +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.016; Thu, 17 Oct 2024 06:51:14 +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 v5 2/4] dt-bindings: clock: imx93: Drop IMX93_CLK_END macro definition Date: Thu, 17 Oct 2024 15:51:35 -0700 Message-Id: <20241017225137.1158924-3-pengfei.li_1@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241017225137.1158924-1-pengfei.li_1@nxp.com> References: <20241017225137.1158924-1-pengfei.li_1@nxp.com> X-ClientProxiedBy: SG2P153CA0042.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c6::11) To DB8PR04MB7065.eurprd04.prod.outlook.com (2603:10a6:10:127::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB8PR04MB7065:EE_|VI2PR04MB10148:EE_ X-MS-Office365-Filtering-Correlation-Id: 0ce4265f-00c0-4f05-352e-08dcee7817a0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|52116014|376014|1800799024|7416014|366016|38350700014|921020; X-Microsoft-Antispam-Message-Info: aIS6/CehfvkLWKKN+QPCWjRz/9RsPO6JswgJ+mUCvZbHzc3yxu88BQgBCzdt1LVcC43oIQwkLHi5IRNGKLNW0FGIOI7AU3KC1TK7d3I4HRuq4azvSKdOMsWjqgMIyOW+fFc5QQ7HjTcZlVWBIHVNTALOrKzd5U4D65jZ4zlPz3L1XT3pCFGQKNGgQC/uRnbuG390Z45vmELj87RMRimguqgv/aeRbB8Nq5j3bCC23Hs8Eu9KaqKrCOLg5N1+OtLQ1ya4QCjsh+cxUA1wvOuYsKXY0V1AwX4HCVSJNMsbmeFkRsHJNmJIOdzpqK1XCckMf/OfeOFY5n9CdpAu7/04AEIK/emcr1uiSPt+TkjNOb3yPOz2PXmmqVB9WgJ4LJwK9Rs3aiajY9k8vJ13N1oT/SceqcNtNbOh6Dd0tkOQ0XBUzKX5hFOK8vc0gdhIhP8vyt2mzStTVE2XsckqZ48OgTmGoVva3U4kdCEgfMP894GnONxvDor1Y8tlzDaERufaxnn7+BmAaMgXzhYuLCU4vRVJ2zpOGmSrOUXYEPW2xnccFltdcmOmia7lpUAPLBItYQUI/ItZ+bIg/0uVicPB/w+DTI3NLNeO/JYs5enUbPgWTQzhDnPYwuQ9sbH6WGBHL0jxuymawgt4LA+5QgLUoOJpUCgvJsCZQi/2ikEdnrqdpmthuIScpDuTdtGhrNrHfCgmayyn5GQDxnwLYCX7lf7IaUbz/364mvgS+MXigMOcIzQYScs1epUie71MjjUaHKjTVH5j3jCUnWA32xd1evAbNEUs86ta1VzMScysxD1xJziZzuYLp/M4Ox8Oq05T1BMZOaPtfQ2cPCS+l1vw/uMZZtq7w8GmHAmvVmG0szchut0DbTXeWfZesK1sNeIbV4evCb8ct9izEhmE/JLXtg+gxbHfSV3B1wJWSl6WTMeTL9QkesypmriySdMxe55oZNTVN64QvxhfAq/rgpe9p4tXg/u86RQwmUJy2IK4ZSYKkHr12ALEEZIgfenAWC+S1ASCXDYWrifGL0PZcKYeLmnWs+tvMu0Ha5rMLLrVdBW7lWUcdNmwy+EhyJc9eNDRr5YIQ3GNXO0cC5fXQh1RqHmdBer289Y8evpJqiQdnwQvogKV+hd7UMTn+1mvVDrilFLECDK1RRAl0gT7eyLA/fRX8bCliv4C+ezhz4z5uKXYek8Bes+zeUZwRFFt5Ex4oU/QMrMdAc4repfvb2kp0Q4otiynG/YbHZGDvXo6PS5NvNBrOD8p/kovISsPvR/LAI3CylPDfPeamyMB/aUSFyWfK6lJQ9WA0tokFQaCC3nLrYZaw6fMYkLbhjL1qaH+vX4CWk+8LEqwyugT3ggQbMxYzwVxbjFWxN6T4DvMXgTP7RKwKQzSt7nXhZa7YtKB 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)(52116014)(376014)(1800799024)(7416014)(366016)(38350700014)(921020);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: qqhZzXTFaNggOza8KEfimNjoanqyvAq6E2C90LieaHqlT1nmVq90/dISSb6cPxisv8gA4z5hUcf31h1AupaHCCBLZOwq/X/X7b0xBLtACvRqeF2LHJd033j2rN8Mee/uv4si3is9tKe6Ou1LclLdR8JvedKsKi9DGpJiMIEuIuUdAK8BJ1aRqfqC9S/nKbxuzL/m6iIhFxQqxhCMVYWNnNHi/WyRNIugIsND5ezDhvP56gDkOLk9XITiS+buX+wYH03BLsSbQcGovYMFKYN4V+hI6km+oQsETnlaynPCq9FS7McBnhLLaCpc1ZK2meYJPWIOxf2QyuZ2GTuG8Abw3XlDqwAGpOcxDKg6M9SubsrR3q2gzKMMOKme2yOPIO0oT8blWtpHfsE7yLKzhWTfCKdbaLpP2G8eeaPIiHLn5x6gu7T22gELHrDPJQi5FqqXM8tAihb8LEzJTfm5epgHOLcLQBPP+ldGItVhyLQ9o+chNS3U2kEahPkVo8l6lzmdyLEk9B+f6BE/pz2Fz99uEV09ZNtZs/BWBBGPUuiYIeH2l64xcR4x6adV5YOVZyRp88xONzntBEiLPb0DWBtozDgi5XgbjauQ3Hxc2XcXocjkTlqErS6M/loJRFpd7Bvgy9HGUSN4I5CvcciW+qEgfr70D4VROn9zddJ9V5xkgQQA54q7WjP7oAbdFEubbtVjXddeYzIWNf1JPbNU4FkOybOMZle9fKf9XKTI+WwfdFiZrWmnz6YItNSJov3aU4sjCiSjqbISu6jNfjvrny1sKhojgBPF6jEb9wYawnR1A9UQIyG0L7DAQmOt3pRardzOD9fTgjPE0qj+ObYMktRo+Mn0jUTBZFPb+N34N4UQhiRC1zfvkT9CapDkWgEhUu5UrnUxhkxGhpRedNp0Z9qNMQC3DqVr4zjJAGMNSBEDgL/2pDBCQje+NaP2M7wpAG7UIDlcao1TdFKwzBiJaBjJUPgfYlb2RlBIYxqYTJIx6Ben/nbIcmzPHVTui8pdhprcPd/ERcVhv8tU98eF2YtyW7o92NsGhMM+8oL0I8FaZhkRaAoaC8VAWoD2vL7dv72b0mQ79hpHoGPDHL2DoUYT+0QqRpeZ4Rm15xrWdRgvKTMHdBbXyx72Fld//pnbujV3BKX+H+Gft/12ovR6bEbCwLWaTAlSZB+F61ruxT4gAx63NNIudjOvptI6rUNxNsLBgu38YMcQAt7iUS3pHp6k5rx50BnlShGaCjwStT/oassAhZVkPqR6adSNVlGwFLKA+egeYL6RSnRzbLZfR92gwHD5Q/W/KN6XsJ9KPeMUsum3JwnuPEnNt+HMQmTVu9W+/V79MYbJEYRz8AEjrCWpi/TUYTX/HYO4LuQBBQtb+k3W/+oVjzquKpWa+mTUnNyd6NKZcrUlZBAUpfd8KwdB2chI/im1IyA2sFWVwkyTADuzssHYQS2HLoOludT8c9+SyHQN2lRBvrpt8eeB4/sSDkIzqvWnb4fOLbAGn24ROmOB22uqbbwBnh3WQlEBvL7VekJlP+UHmmhgNEZQaGByd2OWJ0/Nzmvv40nylUkAZb04TfdK1n39MBEjlyk+MZy1 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0ce4265f-00c0-4f05-352e-08dcee7817a0 X-MS-Exchange-CrossTenant-AuthSource: DB8PR04MB7065.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Oct 2024 06:51:14.3174 (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: mppGtlF24mfaQzOWuCIIaINuuuUg7B1Sg34FalasDI+B72Oy499/w4paEjw1VMUHVPfC2ZoGi4fuwW77gyW0DQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI2PR04MB10148 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241016_235118_614902_BB51CBEE X-CRM114-Status: GOOD ( 10.13 ) 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 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 #endif From patchwork Thu Oct 17 22:51:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pengfei Li X-Patchwork-Id: 13839532 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 DF34CD2F7F7 for ; Thu, 17 Oct 2024 07:13:47 +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=c2HNXhTaV09438FPwaxBxpX3LsGkzxD1G2+lVD0T40c=; b=0pX5PEWXcrZi8xPzAZzNA9ep4l siHWILhGrSL73ioHLO+vFsjbEZj9/ZyNVU72zyRkWmfID8+Gik7lL8U5909EVO+1YbxVOpFgDunRE gSvH7HHtYEKxzJbxbgLaSQmRo/cCHpAFJxDd64NTqG/0NcYPxeZY9ZRoW7vH3rDGjIS/5JvDf7K/U Ra63j348cNuOBFULsXQWt24Q+UeGicFS1RZwqkNDyPv4JKA19fC9pQmx1s8UT1GaqiAVi6VhUrCZg HNJaYRLcNXPcqFQLMgphEkL1sQcWu3AxcgF/773IzIv7sKHnIvx/uQ9Llh16e9Dfo/N6PPKhi/bhW zHCf1Keg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t1KhS-0000000Dxys-1Kem; Thu, 17 Oct 2024 07:13:34 +0000 Received: from mail-db8eur05on20630.outbound.protection.outlook.com ([2a01:111:f403:2614::630] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t1KbE-0000000Dwz5-08iS for linux-arm-kernel@lists.infradead.org; Thu, 17 Oct 2024 07:07:13 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Vm6ckfTWMfcmZIkyapzEidfPVExtG9FFp3OMgfHBbTrqRQlXH8a4r8hCkCX8NNHYaH5tE3tbtgXdp9KWfzELSy4wAQ1uyGSI56FcC493hiFwDfnJBwIZB4ef6K0ALcHC/Vzwn0cDZDSv9rksEnSLf7fD2GvzpivFa9DG0h6wDZF28AWnil/MWKg4WmC/UgdR79QRaNp0sS+xtfmUhSziWUupfq28T271+rIUXwV4d/mx9js0j3wGj48Hvm7dUhMlzGRWxUkUlYjBF5FuZeTROfHzBX6UlKlmeza/hrSj6+PltxOc9wmdQAd+aHQQscB7G83lG1q9A9nE1YU0X6brTw== 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=co+XkK1TcQij8G2Sj2LJcwLXe1x9h6XyQL3+aWe1JXKKcxkOxNgAzyvNV2MMvLYKmfZ7pyeylDv2o3ssuoRCTk+c9X4kuBL6vNm7MpSh/1PCK88b9jGFJ+LkrNy8iHQNTaIdbAZcFarvfqrB5so+Y523/+Yf2JfBouQNoMWoSV5fD+GNkmBYf+wu+bvOQGQintdH9nmcs3JVQrpLhpPf2tn+fITBLYvkzs2KzD5eaXFXukHmJQ1Cd5qWfz/RKRe4Q0Tw/yKEDDFyFG7qeflQhFu93muWOOYHgfzr48OtiNQ51gCuO2ijPjHkdC4NiSLBEXfskWZ2HpJqbGSj5N76mw== 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=SdydwfLGWbpHOHUwd2rDmDu6tOXEHdFl1TzVn++xe860OP1yolpMrtdJNgUh86jJqsvbJxYvW9xvEFlvQKjWC9npczVyg8HU5yU/HR6/pIHB8DZVnpj7MLH5n88XYIMW84JQGwNWXq/GcSB/goUZt5DTdZjRv+c8RVoyRpMBnqBC986Bqo9X1WbRRU3A/EfAq0gvTse4uAa0oDhXu2N9BDXd8iHx788NWYS+lAnjOrJarKxegTKkCwY1vuDOke58jxRsphaz1kDWFkXlHP/sRwlpdxgyVCcblknUH2QtKTEogVo8P1b57IJulRA0ZGJ/18h2TtGEo1YfeOUb+c84rw== 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 VI2PR04MB10148.eurprd04.prod.outlook.com (2603:10a6:800:224::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8048.26; Thu, 17 Oct 2024 06:51: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.016; Thu, 17 Oct 2024 06:51:20 +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 v5 3/4] dt-bindings: clock: Add i.MX91 clock support Date: Thu, 17 Oct 2024 15:51:36 -0700 Message-Id: <20241017225137.1158924-4-pengfei.li_1@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241017225137.1158924-1-pengfei.li_1@nxp.com> References: <20241017225137.1158924-1-pengfei.li_1@nxp.com> X-ClientProxiedBy: SG2P153CA0042.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c6::11) To DB8PR04MB7065.eurprd04.prod.outlook.com (2603:10a6:10:127::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB8PR04MB7065:EE_|VI2PR04MB10148:EE_ X-MS-Office365-Filtering-Correlation-Id: 1792b837-6f83-490b-a131-08dcee781bac X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|52116014|376014|1800799024|7416014|366016|38350700014|921020; X-Microsoft-Antispam-Message-Info: SSWqSZSZ9FHU+D1YeEzb0z1L4cVhLrCAqJeqiGRbNIyCYWYLlZP91Zs4+3t68hrk3vgDdwHGuZPuG0UvaRzJRKyMtDCGXzUCIAEFi+sXVIV/AgZk/6mFaEaPQRhp8F/whK+m0Y73wzouOfQIx0vXAxbVs8KDl8ZNEISIOe5QCB8RNp/sZDcRhO/QL7YsCQJWD6lQ3vO0lNXcPnkbUd02i/7RBGA4rfMYq+qLYJCCgxMsCuPvVL5KbpGiO33lBUZXdWGFVO4IajE3ObAidQoRMeCrhsGfYLEVwSFkEFB71UHSeFaHQ5Yq2g6oFUX/bE2fKB0RIubDhG6EO+Nb+x6z0sVanqR9TcDrkGGB7IvPlC/n2uexgyZ/xLrftdLoPOvqmLTt2Ok2/I1RaO0MDZctPObwBRae44bOa1Zh9pjmUO2XwGDk5zXXvTOSYYhrBU4abLnf8WN+GF6Dxbz9VlEH/gX0ljLnMPNdSgQLIz6a2d9ShS/whguflm0m4VB79Ou2wIXYsIulhKRht03BdJBYJ3YaB0NjFJ6dm+NuKuL6fMdchPGXCeQ+uK3VK3Tfr2ayicUA5hMoUxyjPMmxF3iqnzETKrYpLqSZ+HHhYVdne1Unq1aX8uGTrirdm4fKnbN7k2D39C2FhH/q8sOgMwYv2+7P1U4C/NAt5NPldEKOpqWqPhaFLiUhYgCDjrTTf4USTbenL0cMlWw71ckESx0632t+thwdHTuVEQmn4StLSJMgERsCiRF5HhSwPQ3BOR3h536FL6VsQad5HjApaXK3UlXYjVSnsMboCpzbXQS+JLLIi0pPkGy51wBWztP7C0u6hHMHPab7Vy2yC9PVdeTro1pZQVLISvzvZbKsDyG/MhiC+oGUzDxuWkcylXRD8xg9Su58D4thJ693n75p2skTSL7QdweMkXIG5cdjGD+JE4yvca0V9u1CfPQjvZgoadcWAiJB3OXhB66EL3ycdoPE4U+Kzd4QiXydvHxFcqBxAgdfE2tsb5LWbAxXIsC2u5v6PzKtduQguyer5T8LkmLVB4RZ5NIovwrFPBe+WtetyxQCZ1+lFW47BARoxAYEvhtks3HquBmsVshkv783RPrZMSwRQg1CDK2+YXWCjtvx/3f+kEMZ879p6sJqttAL6IJ6B9ai/qQKmWH1CMwcBI26WnAxkab1X2z2RVnNVWTq5Lq9lP7Wa2Y/A2oANYoFR96eNyqocKi/AqwpaMkMwrDLaVEONaeT0sSRQHPKURbTKZKY9I5YleQVAzemQlnJBsb2k+VsTiXJfXr8lP5wv7sADGs2szhFRV3ig/BqYz4l3N6D9DqI8I9+S6r6lHgyFunSu7ypXSuwAvF07N9jrHWg61S+Kz56knMXnvNHcbvu9ao0V86/0q1YiXRcAlaBY6sY 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)(52116014)(376014)(1800799024)(7416014)(366016)(38350700014)(921020);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 35gecdnO0AkyhbcSMi/8+/mveT7e+wtg7bhK3qxx/54zpDHuRioWQUL61PEItik661k+AhsggLBXOhNs0F6Y+luPaFu2WAC1m8a752aYsrAXUVfecOwMkRPsw+xqdilzgasFLzXQWBHCPehAtoefcWc6dWErxilb7SGSZp3RTT4UkZ9PrHBw5wubQpA8fcty89xNB7k+uQwcQClnI9QG/fPtOvUbJxj96nBFQb/Rb1SpI+MySkRPh28FvVmuggMOUaswXVfnzFuK70wzxEDMfaR6JHggfvKMkSd450zt2k/dK+nibZAuaqU94DzBVdhX1XjS24dQ2MQpGI/Gjrjo7QvU/ouVOuVJBd4I1med4wBseaxCio5PkNyRFKo64vdA5uTcHrk9gU9DiXsQzj/Tli/C8bjzwhyF9E/md0plHuxI2fb0tpSZ1G1VnuYssPNPefGQmnTpmvsg0w2JLa4PJ24oV39gVMVOJSZtZqlWhjssCX2LuYh2z5+UBuGuaOAlaNf0/6tP8IPr7wVm5Ti342B49LhIblWrbiEOdGpeIdjTpVdjenxNYA2ybY0w1EfDDe/GLz8bhEXTjcGoUbxJXTbxQ5tGJH0T35lnmWjny0+KlnhQPiUxVUaSuu/JMzSPj4gJt2f3LOlMTJp/c8HpNusttHjcnEeKMDTVqgvn3AyYbUupegm5+Zh+ae0VYaKw10GdRKw/d/K6sNJn7Jfh7cPifBv0rVMdEGv7MqWihXf6/eQ9MQBDN9mmcgaf2rRxjGVwMD0/TsZCmqFgX5l7u3aRyjoy5rP0VMWip7wg1jLLoUd+s4XNjtou7v7cFbnkUJQX/dVNfDa1Zd9zN3vZWgghd4zoHWTU369CJZhFoDoapCNYln1v43NkA3WHH60TwFbIuomuTIXwiTnaioZoHB4T+tAY4jY2cLeDdtma6X6CV6BpqYxQgHAZmVD/fVL1vJ5o2hx5AxeUqA33HBFmHBVF3GYydPb429Q3VZX/DuJ/PydlIOEmhXoaWAg520ibjQJegmAaVWEiccX+OCyE/vDbku7r1h/Q3dWis4afg+XXhrB13CvtEFqyuEQ1gFF9XfGW5SSJDxuNANo4UMMFCeHTpLKeV+4x1A4EyilNUJjicsIlxC8z3gPsGtCXWXhYq7jEGdmRyv3KW80LeByuPkI4g6PKTRxJC3OlbnWlMmEjehgB/7bXm0KBc7PQRkocvRNFFAD00GDQOQJJs7jUfx0ZkJMUU8g6+A+uZHhGBDqNi0cqkcUXovai86phb5Su/QgVT4vgAKZnBjQ5YbwdcYr/RHO7ZBAVbJaXMsQsuANrSHsYW0RW4Cmsz8pNuxorfKk+ViU3RVKh0kGd/kuMTOPeKVs5RVSOJ2QJuaIQwvw8EFuTr5IgJOOfqmHRRxEsmtHSmKAL8RsNlbcEuAvPiurT1F2cpC+sSuiSEFljmPKp3J+rbUxi3Xfe+8lyoMWSehNbRjcYXxvD1SAaqQfo5kFLzMTndqWOFJi8bGjpk4u/IwpY2+vPTtYDnWIDTuN0/5ZajionXhpfcj5FLI4ahXMwdZTt+lBYVhuuncX2t218rFCwYXU6qUIbwsQ0I0Sg X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1792b837-6f83-490b-a131-08dcee781bac X-MS-Exchange-CrossTenant-AuthSource: DB8PR04MB7065.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Oct 2024 06:51:20.9122 (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: J/GR/EKMqHU0VewwMtUGVXhLbp5A/KkDAN2YQ4haA8Nf377LSx0BQ8cuSfRZ7nlUek5XogLLqQrvp62FMT2JhQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI2PR04MB10148 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241017_000708_087279_5CDCCEBE X-CRM114-Status: GOOD ( 10.35 ) 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 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/Documentation/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 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 #endif From patchwork Thu Oct 17 22:51:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pengfei Li X-Patchwork-Id: 13839530 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 27B00D2F7F5 for ; Thu, 17 Oct 2024 07:12:20 +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=xUlbGMus6WxOxhgtcXXQhNnYBW98XmOpTtVXhH91RKo=; b=Bc3bUc5DPbzz4g/BRCr/nUT2op kMsDOi21oDQK8RZCzpHAd/xOfdZItpuMzbQ2bY80UM2ejEI08dpRSWSUpBCf1cxNrynUDfHtH+tF+ xigWez8pKeiF2ugO8zQqeqHhuRXJN4YXf3TPtHntk0TD+ztqa9AE/Zju2M8g7u4EofXBhnCukPAeA SStFA2pLE0tgH/s8z/2FO6dtWpHrmKorGGiICHX/6TOmbXvON7ue7WHuRCQ3yH/fiORHKXLyUFbU9 7hiE3rNjUAHzcimzeoD4sOJWU9sLheQ0dbTzkV0whhgm4Ohw4vz9hMWa+CXX2Kzn2HntFPSWKh4HH rFmgUTUQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t1Kg1-0000000DxoX-1tRT; Thu, 17 Oct 2024 07:12:05 +0000 Received: from mail-db8eur05on20630.outbound.protection.outlook.com ([2a01:111:f403:2614::630] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t1Kb1-0000000Dwz5-4Buf for linux-arm-kernel@lists.infradead.org; Thu, 17 Oct 2024 07:07:07 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=COjE9S9yOW5KHYBeWuM9xZGW3GZRew8w5JoLfJhlkGp2GDJ+QXFOUwrHV8V/YNahMNNflJSxL8wYBXPgQGW1kBZijsNkeSVmITHwfXMwM9Ih6qnclSyybxo1HPLEYnbmeDG+MD00/HV9X+fko/4kWeVPYOTPWVAjvN/uDa7dFw+WD4lVfbJpWvJscMQEwQUuN3M6m7jlCxCGz+fMw317a5BSIqQgREymKqf6YVSqKtxHfqIc37+kZd0qEVxlwTdlgE3t3DW7St8szYPztgqEsQpB+H28uwAhSe7EJhzn+gABlFxXLU5aX3rW+D+ToZnG7QTNPlBSBhPbnydjNHMS3g== 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=xUlbGMus6WxOxhgtcXXQhNnYBW98XmOpTtVXhH91RKo=; b=Nq1rRD59vRE/r2rQ222PrWIyg66VCHDh1It1Z9mxI0F2kKhbyGYT5HabqODYxlGPGgudU400UkDBCKR9edOXaM2EegfdSN/941GLLHAfJXsg+1Hk9yRpMpmZ3GfpCF1lyqcvzI0a/Z3fSad9t34xV6owGfcBqyiI/xubm2An7Dall2lyxgtjPnYRre2dcS8m+W72Fl47fTvzkD0TTQzsIIKumv71uWHXJRDIluaWD9SUFHefMQYrv2fp5JXtsFQ91LUQfI3wGAl3F4GH33iXA4S7T+TRJyBSrD4h06b56FKTOIcolecCo1aTJmKrQ8H4nB3ruFHzIoQqjbq8n2ixRQ== 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=xUlbGMus6WxOxhgtcXXQhNnYBW98XmOpTtVXhH91RKo=; b=SbGVjIZcHbzKhzNplFv4bgHC9SnpGCCNLqi5ouz4Sn9onNG9TigdoW3gAlzrwbNdymMiC/quTy4kNx55MDddi9lwPlc+w2QhFCLKLPYK3eWVbu5UGxbYFQgvhEX6javtVOWjrpvNyGpv0+qyTNL0BcqfEG926y4pd3MLSl73nQZVr5Yk8MAsKpqF9yq29XN7zMa7Rsh6mQm913e98WPZpriyD0LJ1QwXfnf9RqcNBDVlQ2G6OtI9AvwO4P81IkJbUm9XebGSOor3iwZ7DVI8clWa6I6kDyMK8NuzIl1C9InzQ3Q4UdlzIoTBFXDUNHlrQ9AqykiUv33iumHdxEFiKw== 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 VI2PR04MB10148.eurprd04.prod.outlook.com (2603:10a6:800:224::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8048.26; Thu, 17 Oct 2024 06:51: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.016; Thu, 17 Oct 2024 06:51: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 v5 4/4] clk: imx: add i.MX91 clk Date: Thu, 17 Oct 2024 15:51:37 -0700 Message-Id: <20241017225137.1158924-5-pengfei.li_1@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241017225137.1158924-1-pengfei.li_1@nxp.com> References: <20241017225137.1158924-1-pengfei.li_1@nxp.com> X-ClientProxiedBy: SG2P153CA0042.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c6::11) To DB8PR04MB7065.eurprd04.prod.outlook.com (2603:10a6:10:127::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB8PR04MB7065:EE_|VI2PR04MB10148:EE_ X-MS-Office365-Filtering-Correlation-Id: 1b39a2c7-deb4-44f0-377b-08dcee781f67 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|52116014|376014|1800799024|7416014|366016|38350700014|921020; X-Microsoft-Antispam-Message-Info: BTpFehc78MuWcjemGaGtzzrXgsWsLesY4DThDWQ7NK/YAA2vW/bUgpN7Wn2ydtI7maHkR4fac4UTP6ClolKppivdyb1TCu2u/g09oRV+Z7S6XsmGtpbjjgWM5hBHwHcFyg4FmO66L0LuiM4fW3z31t7cz46tS1OMJFEudcSKMoroDzfv73Q9w9j3gtEsV7wYlH5Kn0rsl4uPEu+e2yWkymQxi2c1Fl2/hbfnvaBhCuOhyV7a3QuBiAhAfjw14+HmZm0Z/xVA/90yoJYEGvsbZHCx9Sg/7UKwvR5yXxdC9DcPWKli/qmDXxwQCibs5JQrrM3aUHk2+GEvEwOZZlOto84KxB+iEzOVsy0vxt7N1JGE4umBic+9cDKx7IT+XKo5NgZv9lpCHaURBnE2cD+HexWRJ87uMC36uZH05YVfgslpFZx9cI1SpYkhTe5fQ3nMswatJWz1CoiI4NFNiV4IbC9mdC+Z/WNSIwaC4ZSgUUVKmKhAhGND41JD337vISOcoZyJCnKG1MicRhmalD2x/LBdZlZCq/kxA8LkoGvTereJLcAh/Yo3PGXueXBfqMIDoJo/EzZNadvKGY3XUEj28DDTOX9Fp2AytGJ5cryRypiLRGpvt6+mHjhRAAK2+jDsh8oT0cMTNKw/ZWSyd4qZYeZVKs4VvNGSRhquZru2FWeAGtllVEI8BWfQElGpUkaBjTkPqk+GxDHdNz71dF8SUZWo89ZL1PsCyKuZ3PVYDgKo9XM68GCpj278S0ukwV/aJpvb9MJn9p62ivxOUGZkrbA38QCiJc0nILOURzYZ3y+LwTlipATrOsDPxHp9qC3Wu4k+OuT9x5YK8yUV/L1idTmtA79+e3TVKKqQ+dmrqSjz3C/YuZoHE8fKQKKGAXHWTZiNdWFrlUy69n+QtF8tx7cNh9N8UYkyE7fbJZcBEB+UgIJbio0KmY2ffEGz+qJ2dEhcAsjWvJNy+QNMVDWjqpWfv7QfFJFTbYrQezAbSnqyHd64yMqZmUwsvcaQH8y7LVRoZfk9j+eKYMq2Ephh2fDCM7AuZxzGA56ZR8FAW6Qpsg3CmkZm2I50Q8jl078X69VtW+em/m6BBJH1H/LX6ireTBIxsKBRm0vRnw1qcBU5uWxq2AXp6KCqWeZM156qvWCRtehdvHVN2BLdw+r1OJ5tQeYaatnt+DXGNv2sMftKQpGvVNPpgv2YqN7a4Cm5KZO2ZFJ23y2v7sy+ScfZ02tIIDQL0K/3CBDe/3Ouu9XQd2Ll9Xt7YMzASkb0J1z+ZKrGpAVQkA4U+ZOPSRk8S/Dk5NDYN7uGFUOAW8ON5KZgMQuTfvlqQ9tAPih+eDQsuJUZU5htNfl38LeqSS3RaL+OEZia0aXEHDFPcqMNrxKRl+lMswDePY57b+xRWt+R 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)(52116014)(376014)(1800799024)(7416014)(366016)(38350700014)(921020);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 6u9nUQOulr6Il/8fWSCp/upmkEFG51rKgwjK91CSRvLkiMMoATEQRabw27ZsVHRex/FVf6Bena15Lbdc49o0uO3JqhCd7bQBqHK84ZrvCP/8ho3fG8IODDet2zNqxhRpAW6QXIiomPffxyAhcKozDeBTUJd/Tlx/Z2ziMX5YRQYsiCZ9UlHmUw0kfmP+NPOIy/sJtWKWq7TUTtD/L5zOfftnbHsoIK1FD6P9bMzzMv3qX2Pi24DxaJoQjLs2tnAp7dF793bMu88rB35tton2hcPMw7dHSchGR7wx2LOE9wxir7zA5DWnTPKrlV2N5OuZTbi4tz01yHjn9jOjJjaupQlcC14q9CHJBwnbrXYFec0Xhj65HwK93UmdQqovI2cq+l++WXIWYjfNSaRjz866nKZlg7kI4FfkyLm+gisLWD3hh50mFp7qTYbo1YiYhYoO4MfxwbQIApmQz/dfQ1U6oq1HGlzaJznfKu8atTuu0BM40PGRIqe6t1AIiWNMz4RTdQBauvhVbcmAX7+vU2+c6bSh2ubBGgJ5kktcdLg59Yb5iqfGF0abCBKwed81mt/RxT11AWipd6RINBe5eMHJHcWm8KTB9rLQ6YjtdDnuEL9ltE1tiMyQ6zavTiqM84l2uJgmuGw1Xb/ImlUZivJkHjvL7/AWolW6Bwc5WPA0H0ZXc7hN5WX1q5v4e2+/jUvEaBewGfWAYEqEgAXqhTgQKUIuUTXkXyAcbtFYOT2teCcnfoJVCX91x3p3ThpZilTeJImHkZoG0krDRMcA6yD7+zPZrz1TXixaxRaESiyX8XyAR31nnCRQahefj2mE9yNRsW+mzuxkTsplCwxTnKqlztON4x6JfLGiFqgumCoGyK2EvYG00HABvwMKTDoCmJDs9LAfP/J4khvl81Jg8dOqnNn1p6cKF2TJK2Qf8UFX70yA5UXb1REtBZ0UdOrz8X9KCwgnoMreXKsTE6Nctn3ijN3QqI+eVTnPjYwGSWxTLaBnCO/ykeUEPzLtxnd2gpQO65/GWMnBjpZ1wW5YOUsocQGNnI24PGyYL9IUhpqANYlBWtTHLvy6NdNfJ3cY/Qm5GEzQQG/fAhYtuWVG6kdKskJhVocO41u3iDd1tzP3Efd0ymgrgUigPqYvTECUpAaEjhaVDPg/tnXkdv60E8UQsr6csljS4pc9qQ68yUnEvlaKJaP8YD7QHlzL/I31rMsZEWUOLK32K2+XJNoDBt0w4KQvFBt+pdw5zfHkAdNhKUhHkEc5uL2ZVpF4HiOWNTSkwdpKniXwDkQSLxa73imrSC3/uli1GxX0VKZd5fR2lECF7mhMbukf2GIF2inCyY9Kzj04Ii4FJOFrC05rgvCRMriCS9oLYecxsZuQpkbY++d3cRMLiLRQGho2bltrlroPgKzM16tbXw+55DuEfEerTW4LVVbat5SRRqG3aAT5boZVkhB9T1q6D5aRZnbdIAxbNe3D+5NBTNNFPEHsR3MOBPbCVg/UPv6HOySiCLa9suOxtmIru+xnP1WhLIjp7K1Y5/aw3vq3FJt6N3e/aGJnZZk0DccFaiWAxpjpVm1seh3O4lqj7CzVhtiCOcXYac2R X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1b39a2c7-deb4-44f0-377b-08dcee781f67 X-MS-Exchange-CrossTenant-AuthSource: DB8PR04MB7065.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Oct 2024 06:51:27.3707 (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: KtteDcpww09A/fy2JM7KeGm0qqZF0THuaMXMjRoQbDmACbUWubDOvdRKxXWonyNkBsYn+0CGPiCmzs0ZgDa4qg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI2PR04MB10148 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241017_000656_201101_06F118B9 X-CRM114-Status: GOOD ( 13.27 ) 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 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 | 64 +++++++++++++++++++++++-------------- 1 file changed, 40 insertions(+), 24 deletions(-) diff --git a/drivers/clk/imx/clk-imx93.c b/drivers/clk/imx/clk-imx93.c index c8b65146e76e..4d1123f51903 100644 --- a/drivers/clk/imx/clk-imx93.c +++ b/drivers/clk/imx/clk-imx93.c @@ -15,7 +15,11 @@ #include "clk.h" -#define IMX93_CLK_END 202 + +#define IMX93_CLK_END 207 + +#define PLAT_IMX93 BIT(0) +#define PLAT_IMX91 BIT(1) enum clk_sel { LOW_SPEED_IO_SEL, @@ -55,6 +59,7 @@ static const struct imx93_clk_root { u32 off; enum clk_sel sel; unsigned long flags; + unsigned long plat; } root_array[] = { /* a55/m33/bus critical clk for system run */ { IMX93_CLK_A55_PERIPH, "a55_periph_root", 0x0000, FAST_SEL, CLK_IS_CRITICAL }, @@ -65,7 +70,7 @@ static const struct imx93_clk_root { { IMX93_CLK_BUS_AON, "bus_aon_root", 0x0300, LOW_SPEED_IO_SEL, CLK_IS_CRITICAL }, { IMX93_CLK_WAKEUP_AXI, "wakeup_axi_root", 0x0380, FAST_SEL, CLK_IS_CRITICAL }, { 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 +127,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_IMX93, }, + { 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_IMX93, }, { 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 +144,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, PLAT_IMX93, }, + { IMX93_CLK_I3C2_SLOW, "i3c2_slow_root", 0x2e00, LOW_SPEED_IO_SEL, 0, PLAT_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 +165,7 @@ static const struct imx93_clk_ccgr { u32 off; unsigned long flags; u32 *shared_count; + unsigned long plat; } ccgr_array[] = { { IMX93_CLK_A55_GATE, "a55_alt", "a55_alt_root", 0x8000, }, /* M33 critical clk for system run */ @@ -246,8 +255,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, PLAT_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_root", 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 +278,7 @@ static int imx93_clocks_probe(struct platform_device *pdev) const struct imx93_clk_ccgr *ccgr; void __iomem *base, *anatop_base; int i, ret; + const unsigned long plat = (unsigned long)device_get_match_data(&pdev->dev); clk_hw_data = devm_kzalloc(dev, struct_size(clk_hw_data, hws, IMX93_CLK_END), GFP_KERNEL); @@ -316,17 +328,20 @@ static int imx93_clocks_probe(struct platform_device *pdev) for (i = 0; i < ARRAY_SIZE(root_array); i++) { root = &root_array[i]; - clks[root->clk] = 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] = imx93_clk_composite_flags(root->name, + parent_names[root->sel], + 4, base + root->off, 3, + root->flags); } for (i = 0; i < ARRAY_SIZE(ccgr_array); i++) { ccgr = &ccgr_array[i]; - clks[ccgr->clk] = 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] = imx93_clk_gate(NULL, + ccgr->name, ccgr->parent_name, + ccgr->flags, base + ccgr->off, 0, 1, 1, 3, + ccgr->shared_count); } clks[IMX93_CLK_A55_SEL] = imx_clk_hw_mux2("a55_sel", base + 0x4820, 0, 1, a55_core_sels, @@ -356,7 +371,8 @@ static int imx93_clocks_probe(struct platform_device *pdev) } static const struct of_device_id imx93_clk_of_match[] = { - { .compatible = "fsl,imx93-ccm" }, + { .compatible = "fsl,imx93-ccm", .data = (void *)PLAT_IMX93 }, + { .compatible = "fsl,imx91-ccm", .data = (void *)PLAT_IMX91 }, { /* Sentinel */ }, }; MODULE_DEVICE_TABLE(of, imx93_clk_of_match);