From patchwork Sun Mar 24 07:51:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 13600769 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 ADB9DC6FD1F for ; Sun, 24 Mar 2024 07:44: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: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Cc:To:Message-Id:Date: Subject: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=No6aw13ngmbDzccSVq6EhkfVx88ig3fADE+Y4X0ttEw=; b=QuiI4nGkPdtuIJ S/N5IXoIJHPsIUhsUz68doeCfkKTqHGd53x1FS0pagktC0DVWczs5nPiXDHlBEP/SWcudkJwpu7+V 8kxNv8rhFvXunL+egBsXkrN22LNxbU8YZjTgROgim2jbvD7j4/QleWRj7ug30HT6KaWqn6FBeBrNm 0qqeItMdRMrtjKFjPJGcDps2enALnCr0Y+XubHa0fAq4calywDqkK1QRQOvqsLPxUXwu1yNQI9eOC EuTLwmtjjOD/cecudn40AakGFk/k0S2lmL3GpFBH6FsR+z0vsnlUJhm3gOgITrJCFX+0oapD47a60 2H6ZdCsb7YVIfxjhhZQg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1roIWX-0000000C6W5-2xll; Sun, 24 Mar 2024 07:44:09 +0000 Received: from mail-db8eur05on20618.outbound.protection.outlook.com ([2a01:111:f400:7e1a::618] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1roIWT-0000000C6UT-2u1N for linux-arm-kernel@lists.infradead.org; Sun, 24 Mar 2024 07:44:08 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dCYDPWIkJbS3R90jIvnOlYn8yMetvP2dyRPK2fqrdhCFnhbhfBQZoEpqK4/mGsntnj3ZBrLdAn2mmG1kthAU6cnziVH/fABbB3+N8gn3ecbtVpx3QCIFQu0c1YIBxxmkYNzMsMZ3k4vpWkXzVjp+uFV7I4ql25W3L5koOcNCgoJP++8/Vv9KiP6dHLW9NjMH5PVpeNaPk3Np1dVZSo3VcGj6hSyPKqufhREOcWtEA11HxNaFkgxWoGoiBvfIb+w3ZJZ/+3d2W1aex2R/+VL8vjlbQ3ZVSnNDhZcL1tBeK5pFzVVI2KPs3B3rEZVg7GP+r7h8UaGH+UdueojCgEWzrA== 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=wBGXZEvav8N9nKGgvvBh1mDkm8WyY3yV+GNW3jQHXg8=; b=b+e2WYqG5V7QPbXW0wPMQx2T9QtM41KJXL3khk+8jEXSlIMwKkyYNRgJDVh0oMaYGR6zhfZ9rx1A+vIHOZlPvnYB/7jk5ylQhKE/Jt7iMavOJs1GM9Af9ctB9TJs3ae2lWcPUR0M0kM7HJ9JIi8A5QnvYlUHg/CcjGuP8IXDDkPGDNSVjIbQFndM23pSAGLrso2XD8cF9pErEFK3AsCx/m+Fjdq8sgm7szxBvf5yL081WusO7pLkpJkCtSUaYml8Tw46MzdMmlTQBFKwJXlXEJ7Tbc336ZvZOV4f7W1hJVpn0zPHIqbq/S7VjdQC8yXO+Ld8ppgLHOlyB819xLFqbg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wBGXZEvav8N9nKGgvvBh1mDkm8WyY3yV+GNW3jQHXg8=; b=Y/8gvkSLoE/N+gb2bkanGaMPcnzFyP8vJiKi1vanjCORJohAoN7wPcLS5V0Y/MzldjteZc+tnJ1dEVW0qVung5ro95It/OWHcXl3KUMB1YwAWpVl8Qn7DKXyEimUoGmy7U5QTz+BOgev7Cahye2o2KuEMD6qrxmFe9XHPmayv4s= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by PAXPR04MB8573.eurprd04.prod.outlook.com (2603:10a6:102:214::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.31; Sun, 24 Mar 2024 07:43:51 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::d30b:44e7:e78e:662d]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::d30b:44e7:e78e:662d%4]) with mapi id 15.20.7386.037; Sun, 24 Mar 2024 07:43:51 +0000 From: "Peng Fan (OSS)" Subject: [PATCH v5 0/4] Add support i.MX95 BLK CTL module clock features Date: Sun, 24 Mar 2024 15:51:59 +0800 Message-Id: <20240324-imx95-blk-ctl-v5-0-7a706174078a@nxp.com> X-B4-Tracking: v=1; b=H4sIAJ/b/2UC/33MSw6CMBSF4a2Yjq1pbwuCI/dhHNDbW2nkFSAEQ 9i7hQnBRIbnJN8/sY5aTx27nSbW0uA7X1dhROcTwzyrXsS9DZuBAC0AEu7LMY24Kd4c+4Kn5BK UDjUCsGCalpwf197jGXbuu75uP2t+kMv7rzRILnhqoowUSm0Tda/G5oJ1yZbOAIcWgnXOXImci S3avVWHVgWrBZLJhMxAyr3Vm1VS/1odrAVlCZSJnYPNzvP8BaO8eIlcAQAA To: Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Abel Vesa Cc: linux-clk@vger.kernel.org, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1711266729; l=1953; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=qAh1W0wuVwvNymC0GxVExwYXQOFSqFwsk3xX5sKMhEk=; b=9b5nAUjGeHl1phfJRrLQ+a6AE8xXtMreCcsBNhawFOnsm4R4lD35IcoNXztQ8fGOpNC/pxW0P 7sWoMWrCr1vDT+K6v3EaLbmf40u/pLxXgU8ANjYf4s4j4VPYLZ1Z29h X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SG2PR03CA0110.apcprd03.prod.outlook.com (2603:1096:4:91::14) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9417:EE_|PAXPR04MB8573:EE_ X-MS-Office365-Filtering-Correlation-Id: 463dd730-de78-43be-a6bf-08dc4bd62621 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: FojsUuy0KcxpSOalY15XRz6OJ0ydRdZyKrOmNTfd3UNGLkW+ze1sXb2UTwwPzylNGWk+xSXOjqY41QBinUGk4h9ehfEjtqq4MFwtMqx0RwkscGb4X00ijqlne0Iw9BG/jVJq9PdPvsAqDpu2PNvpwOfu9vvMVIC7WB3T1aPi3NCoWKVNhEofoA3dxcKa4gQLbdiWC9QREoJw8CfXDrZmb3z5AsFI2iCkOw6nN6wvxuVkbJCRgtlphoiz8jD/hhorgbnWciyFbX4uFATwQDYKVL9Ej0D1F8MiF9ux5C7vGu5wOAzlbJ9EeHFcFpvM6XY3nyJvLhJZiBGM0tQKlaXRIzwroB0XywTDvMbWzdmx+qMAEDBoGaLZRHccV9cgj4poGYliWnfAMWV/XgXGXI2LpCN6crJUb8z7lxbxe+fwpVh3XuLiBDLCafvTUXObUpRI69uqg6eSSxGuQTCaG/xdDBY4Lcsvfx9sm+OVAwX2BHsXJNk8EjfBE76c8uHs8oHbGPwzNXXASCPkFw8Vou5r5A1dgQbfe6Ru8K3GxTPuQvI24ly20+h0UwHzR090MR7mfxz9Gp9Sh0GXH0d3Zi6p7gI/zNWfXA7BzearSlM3n5IwYKKL4j7AwvjenoakHXf0QzfwJTzSa+4OUMGGpUvrPDMArZ/I0VLfQYfPqlWuoyo7iPMm2WQv0g7k0xj/kU3P X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR04MB9417.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(7416005)(376005)(1800799015)(52116005)(366007)(921011)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?vvg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xPFBU0KuXU/0Y9E0UMunYBpr?= =?utf-8?q?twgHK1XFtgTMXbWQCCWnd7aZexyZBkbT68pzb7egA/JwW5ASVKWo6v/aKSCMfGFs8?= =?utf-8?q?XC4t60bCSJe8PBzdvxOBWp/Cv/Ul/u3jq8Lks7lOpUl4zWhU9jy7HU5CKfdmIOpAW?= =?utf-8?q?8wwbKWcg209pYY/shUZnm+EIDLF7Xbzraznf9d324XPxV8IgK/jnHyg/aoHHGxFwU?= =?utf-8?q?CatI3XIxPyUIWouG4QLOiMfS9c3Qot57a+9WmeMIuEfH5akguftyzSyhg3BV/IZgk?= =?utf-8?q?vJgOvageed8jw1zwqTwEZTHUTySoqDlT4ez60k74ZxTuvfXCWmxv8OyUo+gaV6XLb?= =?utf-8?q?cdsHYTnYalb8Tu5W1kfO8AE33Y7VqHfr0qOg34msP8Hr3XGLj6AlBZAyf9vNB7OPh?= =?utf-8?q?63J4Bn5vC5/11vkjSKhGqlsMY5SE+j7awI1j9PcnSMGnpoeLgIZtRY1KIboIKFzoY?= =?utf-8?q?uqoGPl4NjoJ0JZWDfchuT0QdZyE7QZLgLy7K5sY6M3Zia2Xxxr15jT7GLech3Cp/7?= =?utf-8?q?7O8sZqMdpDMP3EP0b7bZnSBS64aWY9/MTu5l2Pn+2bi2dTPtuFjpqMq6P4bLBQged?= =?utf-8?q?afMF8eX+i+Xdnt/On1xP2w5OZ7xL3oDVHXF84PoGmQd5MiztpekdLy0do7r3WI6io?= =?utf-8?q?cPAO8ZJK8TTO?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 463dd730-de78-43be-a6bf-08dc4bd62621 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Mar 2024 07:43:51.7665 (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: eerRJRuq3chGubcgxOsj1hzojWNsAQ5jkicRq8J4wNIxuJbsdZ8jQmwJczYLt7ae4P7SHzqJf12ywX2dkLvWgw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8573 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240324_004405_791554_684FF92C X-CRM114-Status: UNSURE ( 8.67 ) X-CRM114-Notice: Please train this message. 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.MX95's several MIXes has BLK CTL module which could be used for clk settings, QoS settings, Misc settings for a MIX. This patchset is to add the clk feature support, including dt-bindings Signed-off-by: Peng Fan --- Changes in v5: - Merge bindings except the one has mux-controller - Separate clock ID headers in a separate patch per Rob's comments - Link to v4: https://lore.kernel.org/r/20240314-imx95-blk-ctl-v4-0-d23de23b6ff2@nxp.com Changes in v4: - Separate binding doc for each modules, I still keep the syscon as node name, because the module is not just for clock - Pass dt-schema check - Update node compatibles - Link to v3: https://lore.kernel.org/r/20240228-imx95-blk-ctl-v3-0-40ceba01a211@nxp.com Changes in v3: - Correct example node compatible string - Pass "make ARCH=arm64 DT_CHECKER_FLAGS=-m -j32 dt_binding_check" - Link to v2: https://lore.kernel.org/r/20240228-imx95-blk-ctl-v2-0-ffb7eefb6dcd@nxp.com Changes in v2: - Correct example node compatible string - Link to v1: https://lore.kernel.org/r/20240228-imx95-blk-ctl-v1-0-9b5ae3c14d83@nxp.com --- Peng Fan (4): dt-bindings: clock: support i.MX95 BLK CTL module dt-bindings: clock: support i.MX95 Display Master CSR module dt-bindings: clock: add i.MX95 clock header clk: imx: add i.MX95 BLK CTL clk driver .../bindings/clock/nxp,imx95-blk-ctl.yaml | 56 +++ .../clock/nxp,imx95-display-master-csr.yaml | 64 +++ drivers/clk/imx/Kconfig | 7 + drivers/clk/imx/Makefile | 1 + drivers/clk/imx/clk-imx95-blk-ctl.c | 438 +++++++++++++++++++++ include/dt-bindings/clock/nxp,imx95-clock.h | 32 ++ 6 files changed, 598 insertions(+) --- base-commit: c9c32620af65fee2b1ac8390fe1349b33f9d0888 change-id: 20240228-imx95-blk-ctl-9ef8c1fc4c22 Best regards,