From patchwork Thu Oct 17 22:51:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pengfei Li X-Patchwork-Id: 13839509 Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on2066.outbound.protection.outlook.com [40.107.104.66]) (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 96D9B1AD401 for ; Thu, 17 Oct 2024 06:51:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.104.66 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729147865; cv=fail; b=oFk/1X3iesYZBUTzBPVWuR19dbSZcI49fyIR2fSVWM5EjMEe7QKg/DPyZ2+dSePOevT2pxz9XAnBzz4Pxf7llb1oYndW+RjE0yOksw6+NZUOh1/IT2qMGh9pEsoR8bWR8k2FNMH7BztqWueFXT27RUzxW6rlz5xX7ougGnlDakI= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729147865; c=relaxed/simple; bh=SOzvdyKWHGf31VXtnMq6Sftwvo/HgydN3PDdAzfMGj0=; h=From:To:Cc:Subject:Date:Message-Id:Content-Type:MIME-Version; b=XJ6r6WZx/lEpldpKzpYmFVamplkU4Dn8Saows6P2uBlVNsBDhXFe1GHZ4p5XTGkqR22LDN/+0sQTuh2SNlh0pUFT3tjDLqhgglPftCbc0MVi70WyuraVlNnvDcleBB09xgSlDFPW8L6ka0FDexxdOcNpgO/x//RzeY5kY/0a68s= 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=dDVr9pSz; arc=fail smtp.client-ip=40.107.104.66 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="dDVr9pSz" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=DBK4zUYY/l9+BabR4SSruDsbgEpQYYIr4bIpx5+KvBI4e/WGcC8VucwKsxL6O2qmKegYXfvPrzUxFcayiSXrJWm01Tantxg8SV12Cf1HIWQC2G5rS89I/jna5se6+gpyQvXe5yCDh2itkO3SZHvQGD8Nh5jDCPrU+ppG6btitUqRnd9F09tUiIqCq6ETJizS3SduGxzLNQ1m8pyOE16mWCw9qQ/Rw6k8owYD21w69V6YtMu1seHR1ir7h3UewQCWHnoLeJnI1K1r3GjdGgJcA0G3Vm7hYj/+bLxCYiCLufd7TdFDR3DTCz6wyIt3WpKMCg7AtZlYx/ZHp1QCx2OFIA== 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=QR3ZMPLNsUbtYadLBv71NnLTBwpW7PdZH2OQgm2N3R8=; b=Vw/5YloOwarIThmcLJm4mZ7QDf3AXWrDXk8AX6zXwy3DauKk79PJJ6PSTdvXqanyQiPlHUniLvPJ8V9i2VurYOcMQk+P84fWs6a0D6DwcRd4VJ6IvbkBeu3R4BKx5rNJt67Zn5rJuZJ0FTc3TS6q19FP3VNLgsBWqXmYOt04GOoY/z8IJvq7waEJ8OWui734L6lyjOUvuuHGETS8/lxkdGoWyodfr/xiJMR0aVumYYFyFPvcG1uwsZNFI6mlTEa9pzGBzEGJ3GHsau46iHaHp9VBG7gNqbUiqRWEpYVO75BhRnG6QBP4eMZ//Bxi9F1mcHmELkKSZ01vHTZ8FIY09g== 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=QR3ZMPLNsUbtYadLBv71NnLTBwpW7PdZH2OQgm2N3R8=; b=dDVr9pSzjKUXok4qcaqX6c3BdqnZe5qV4YAhXFAeVZ8/2v91fhCWGSzqsqQ61ZXTffmK4yAgN3N+qYs0/yIG6QLGOsusD9xEuhxBB3cPWU3rkJBF6bi8SiuVtYnOvaSqT1aiGNn0BzIa2sNZi9ERMWf6OowjjdWdkO6kobUcY0wW7sI+cMboKGH/gXCPAI2OuBl3UReQqNrFkNlbwmD62vjOdFRhZCSLhqxa7ZEXHZGjW3Q5ygbxTMyG2DCS/R9hOU4UeCBxd1Ht2qcuZO1Y7q/paZ4t3XQ/CFqVfvJ4WrlQnatsBIi4bhWBcq2QuN75oOAT/D2bNk+DQt/tDdZtxA== 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:50:59 +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:50:59 +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 0/4] Add iMX91 clock driver support Date: Thu, 17 Oct 2024 15:51:33 -0700 Message-Id: <20241017225137.1158924-1-pengfei.li_1@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: SG2P153CA0042.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c6::11) To DB8PR04MB7065.eurprd04.prod.outlook.com (2603:10a6:10:127::9) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB8PR04MB7065:EE_|VI2PR04MB10148:EE_ X-MS-Office365-Filtering-Correlation-Id: 7f0d6464-27ba-4a29-9ed3-08dcee780ecb 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: F/Ow6cNbu9o84vkqx4mUfvil2sQLlZfZerCvBLiohnz/BkPbHNMFDG9iPMBR81aKLRhns/o9NxxZJzjvkSHrBnAEwM5rRUPBi63djuLxWv5WB7OC+YNmZt25JW6z+o009/6PwgP/9WOC66Xns8oHOjJdC9RrsBfbdPQuGSwcsk1B+6CJVr5ebAFjBa8PlNDX+P2KYyDIxEts1yWX/ltBJOu2zxi/HNRQtJGHf35r6zTeaUelXs/EEZQPY0JgBnBZ0Li5QuGY6Aab2pXD8gHHIeBm80AKM8TvbXECSGFXx6Sbhs0X4tebcxbmhr36Pqx1EblWB2A2X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XM 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: 1zNrEY3pF2pEMrRdGh+6ZAmttEgofwMCCb6Rs3QURq6l9vEyL0yayAxBgKmNxONo1E7yMvxF4FU3+SxJ4ckq/xt51y8gV5HLeCfg8f1rxsAiigfBg4+pRmNxyXi5Q9BpVGR7rzYinl+6Pc3UazSNkkTq/COoV5Vv0JX5Fa/y7pKbb3+3wLM34//Jk4io5XRApA2Dh7vy90FNqWyov3dO62UW7tnCutMT4G0hQpSBIDxaXBFMa0M8ExKQQJp6BCgV7D4kseLFZTACAzu8+b6BfFFAjOufZlpFdXIclq/1iPDWSZz7STPUuFsb2tkXIc5g2hA5D+3YhgDE613MKy2UAroZ7r7L9xq12rXWkJMZl7Ezz2KjF66TpIeVeexPD72aUXLNyWMH4IFGkSjYt/iVFEp8TXKMmHsZE30RpjUl+qzQZu8YDbIr0LcvkJx7K3IpidDlhdN9aReZ4T12H/bpJU74uH+alSk18NMOHscrcLAaGgmqIlZlgm/bRWtJ/85QmYza/lyRf9DTWADQ/nWaQbe95czmSi+Vc33EReSgogMlxP51+HgcHO8Yj9Wt2NiqGgGcdD1YaDk8nVVdHimB9jDqegyXDrJWnIS3zbB0+mFnzeAb+UftmhS//524jW8nuQEjNFfPfp05jKOm0ie9GcYCjNYH+ot1FlBqt7F7zL7QOXWEybKH20Hvb937oNBfM06jJkntlmQYFFWHQ9EXynf7f9xLzyhIv1Ez3TYKPZZzdbN5gbTdGDLEUzQjRyL6ZfW1B8ehkvzipfUSep2QvWvfb7D4ZAwXCmgGphIGiIVJXA+qEul3+hjpd1J3K+uG08yMOAACnXW90U7breEuDecy+oJ7MwB3jQ+gCyN89NxFLCVVaNoQB6iH8laTM1liC+nf6U6YXXI0piHbaBbJF1v50DvgeYb5p/5/RADka5B3eUJrBBIrPCt/bXeejyPC3yOMRl0fk9CW9K0o/HENp0JgcGETp1GXnPoS7ytoGthVUaQpunOx/ptG/W76rkVgwQEww3WuGAfBA1ofL/IswUYxR5MXPj4I6Rbmar3iSu88cgM317osWuwAA7/mDOOXzkm6+x+NK2yZ0z1F6mQjJ1pBp1c/lh8qn3yvw8X2XguRsXs5rX/xrbl0h049Hg2syjC4XjFTvpoTXjYf24pNTjpiTZUmzzZx1iPXGo9YUVwYKHQ8Prwvc1x+WPPHDd3WN9yWIHjBQx0HIaOl3wXJb3SUf2lGdfXofvJhPHh8hv8YOy1OqZgwxqtjYnopET9cjJkah3pzww7zIlQOJf4zztEum/bC9ymSx+dPuv/A6pkINBjlSOEUhe5gLk+zc8vKLBr0F+SboXRxOVvTEyWu5XWsOec3W0g2LwIzI3+MRNygHnJZi6g2doKHIqr53BjnvDDP3YgsT5xAS+dGrSl5AyJOMYSsPkPstqlrbcGbns8yx8DfgKvfDf70Qy7pqimE4zGNa7FREMeBvIVWHpegZPGWJp/00kpFvbbAkPKC6tRWnAz3I2Rqv6Zozrb5eigoyQbWRhydVlwzXMiRNt91CUTXkIDXvUzGKKTcLPBqjx4vP3LQUMFqBjA0nFtgiQwe X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7f0d6464-27ba-4a29-9ed3-08dcee780ecb 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:50:59.6385 (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: PQsItGBbJC+34YpMO7KeB5fgb1nmQofupvi/lG7STku8CWxRh23KmkbaJ8za0D4sBctLr9UWSbPI6GrgRjD+OQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI2PR04MB10148 This patch set is to add some new clocks to binding header and driver. 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. --- Change for v5: - update commit message for patch 4: 'clk: imx: add i.MX91 clk' - link to v4: https://lore.kernel.org/all/20241014182438.732444-1-pengfei.li_1@nxp.com/ Pengfei Li (4): clk: imx93: Move IMX93_CLK_END macro to clk driver dt-bindings: clock: imx93: Drop IMX93_CLK_END macro definition dt-bindings: clock: Add i.MX91 clock support clk: imx: add i.MX91 clk .../bindings/clock/imx93-clock.yaml | 1 + drivers/clk/imx/clk-imx93.c | 64 ++++++++++++------- include/dt-bindings/clock/imx93-clock.h | 6 +- 3 files changed, 47 insertions(+), 24 deletions(-)