From patchwork Wed Jul 10 08:43:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Fang X-Patchwork-Id: 13729092 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 30DFFC3DA45 for ; Wed, 10 Jul 2024 08:57:17 +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=aOCuKesYpa1/nhz4pE18D5X77QYhMG6xFiwZQmM8s1M=; b=prnlNeNCqYplbsntS4Kex1lJaK sX92UA5jgFdIeVWoU7tqR2O+3Eq0FOb+8EecolU/1lqRIE9w0CqXkFRuD8hswRV9Xg/jAEnwsiyEX G7SDfjdC19kN9ZDl777z7Tmyjcf46MASLOqZm+80ZBlfrB1uCz+GJDUS6v8Feko69dmsjItnlRljm cy9e6MXT94xiLaa31ywdg/9iVCh10UiVWJqpxVGbrOuRHT/8GNUx29VXXS1eYG1rQLKtUxYDZVoAb GzzJaTE+RwDByZ44Wq6eoh2r4FaPlctQ7ajTJnufaxmKiqpwV1z3ay1/OLf15KlTRcAoWMWwSS6Ol 9gZMCh/A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sRT8I-00000009ywC-1cSh; Wed, 10 Jul 2024 08:57:02 +0000 Received: from mail-northeuropeazlp170130004.outbound.protection.outlook.com ([2a01:111:f403:c200::4] helo=DUZPR83CU001.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sRT80-00000009yrv-16zW for linux-arm-kernel@lists.infradead.org; Wed, 10 Jul 2024 08:56:46 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MjAUQYTCjReVzk2A7KxL9rp0vGFroRDfyh6+FDoN0fyyx8oYrLxNXjPto5dlxkEy9yvL/HZEZvmfVbTkhUsYplqLK7xaS/cwANnJQN5XnqzYUmQ2ZOnUfkTfRf7bC6Bqf01gWFEGcKnUGPXdCJbqtlU7xOrwGsrdOnpNcuAQlfLgr0e8Iychgx9u9sggm7/a0TZj7OrvYvAQbUlVJceO5eS4SGlHFtdy35bWvf6S4dtRtbAOxs8zaEFG3spjV4GhfKCcc02Y2ldW0ybn2t/iG4rCKvcEqZLNjsHGuwTffjIdr8yJqMSNGz9kE9P36IwtRbDzhBSbubEJwD8TCxcYWg== 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=aOCuKesYpa1/nhz4pE18D5X77QYhMG6xFiwZQmM8s1M=; b=Jit9Lexp/U5MUV+FD2r0Qdgg+C6yGUkivHtR0w4izwjKs/DsXDO24McPCqYTgxnYaTX4UxlcGCRHluokr9I8+cu5sKb+8bJ+Z+ZLgJa3xFK5VlsGNSTciHJNjSj1LDtkPfxyLk6kZCBBHTnzec5bbrYDFy1v3jUHsbnuBXaoE+wlftgfA64o8UUmch8673CvWnZ+GYZT7pGVFRk3/LCjN8wngwLynuIHSa8iBXIpxSbFqjog+6wd4b/5+SfD9JV2ANrg8Xdv9yZRuW+MVvQZoqUPxmGVjZVtxiXVfHQTHmJ9f3N92/Lu2HZuaWdwPk02wjM+d37I+2kUcHRwh7hEfA== 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=aOCuKesYpa1/nhz4pE18D5X77QYhMG6xFiwZQmM8s1M=; b=r7m1aSiwX+LVfTP8y0o8zTHvplzWWm71lyy58Zg8HxLQ2Lin3FE6S8qYsDc0dOv/VJJyC9CCKgke8AUtbekjC//ThmfKvqNmp/BeHZjPI7/8yd0TXdwJpkBIDgzEaO108LMdfhBMzd0+r0FZ4dlo199llWW84wgFbngId1kW+fQ= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB8510.eurprd04.prod.outlook.com (2603:10a6:102:211::7) by VI2PR04MB10091.eurprd04.prod.outlook.com (2603:10a6:800:22f::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7741.35; Wed, 10 Jul 2024 08:56:34 +0000 Received: from PAXPR04MB8510.eurprd04.prod.outlook.com ([fe80::a7c2:e2fa:8e04:40db]) by PAXPR04MB8510.eurprd04.prod.outlook.com ([fe80::a7c2:e2fa:8e04:40db%6]) with mapi id 15.20.7741.033; Wed, 10 Jul 2024 08:56:33 +0000 From: Wei Fang To: mturquette@baylibre.com, sboyd@kernel.org, robh@kernel.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, festevam@gmail.com, abelvesa@kernel.org, peng.fan@nxp.com 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 Subject: [PATCH v2 0/4] add NETCMIX block control support on i.MX95 Date: Wed, 10 Jul 2024 16:43:41 +0800 Message-Id: <20240710084345.2016687-1-wei.fang@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: SI2P153CA0031.APCP153.PROD.OUTLOOK.COM (2603:1096:4:190::7) To PAXPR04MB8510.eurprd04.prod.outlook.com (2603:10a6:102:211::7) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB8510:EE_|VI2PR04MB10091:EE_ X-MS-Office365-Filtering-Correlation-Id: f6de3a21-8420-47d9-06b0-08dca0be328e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|1800799024|52116014|376014|366016|38350700014; X-Microsoft-Antispam-Message-Info: L6caOrXFxlNKuZt7Q1MVO/YPSeHsdbj6diBmsHgoA+kWepISOaGMZBmlRndXAalh3eBhiEG0YD80SM6zqaS4w5USTz/FS9izBGCZgr0k6v8tbQPtfoWu1ZP0aeNdIYUkfiwoqgXHPsatvU+9URp5yKjKpYmb9hI4Mqg4WwjUDLN/ZUlp3YffMbrfiHNkQcG6Tmanw680EeWOwbMkrzv9STtsnlBBiAkZar3XdQB9JbvcCoh8/jl/0VjYZxLMgBOTFwdELoyzmn2uw/OdsOLZGIAJinFeM6uX4FpW/HPsA3ZBWJQOkoVgAdbV3ROKI9IHGcMsTSFdx8hSyIt39CfkGxhcD0rTjLxh752fqY2gU+6x1hn77Md0dJv2h+UCW7/SbMeZTpr5rZJZ0ek9oI8m3mozPCPuFbkgzROWUzJRzhkn7FCapFYFvFe5mJmyQ02XSMlcSHXEDP5vMfIvs/9zP40UVgQ/h50yytJti2MrSH07jhzfdXq6gTiDwWoJie6kf35V8JPNVwRHByJGiAy7p8dCa1jj4g/NxoIFx9HkTrW6TsobzyQ0NPv/7ouPBSQdTKVeaAVpEl9clo1p5jMghYNDbilHOAeyqGCoaPrLkj1E4tkExnGKPVqVMcsbjv/GqPHJxp6W+wtaBSUcejMoA6wcjaoAAjQ5+SPOANNW5LWfJhpVSz19KIM0slY8Iii3Mvwkl/cHtgxpEMkZrzoBPva2uNcs8h5uLwmlvmMvczz/bvsZ6N4ReN+4qd1aQ//3tyX24jzbECE8wXTgvqm2McLvA7U/ZIMKsgtZBzMYEyS784aB6+iD1wZz/Po7fFG3AXu4GzbPRShqrKieBU+bojwFVk3tUeSCyGMUk5WLBy/1uuJ+9fUUK59qEQ4ouxCQMOX8Ja+o7KXFphaDBKguYeZGj+c7AGV1mq7FC3cXqtnH8U3485WDcHsHvau7Zpfty8+1OKX4izojKtH7cf/u4lcsaWHk6u56opPaNDoY0xtjmiSaER6yZdH+6r0HvfHjvls4cN11XALru7xcaTLuTLgO7w1AWYE5f0t9ZFhLADVXsErPinLD5m6HvFjfiJQlQB+d6582zBOrOGlt3im/V6YKtDRlFPzpbz2JgMNjcLv6AWaO6wpG9qzOAdzBP+hSf8eHmjwcrbJWuuqiRVpM8jA8ro454GO2Rqlqfw0FRawMBnY/R9kTowRaxje4LkmcG7nzAeuRzqKZoVgMI6L6byCXkBVuXL5adhfeGBYLSHrHKvf87ufLBnMPaLs6yrlfxfJj7DRJlm0OSxlBvZWXEbUPrTrKxaH2Lt26ltZW++y6sYG8VpAMUJlooonbbH1515xCL+EujR5NvXw4Ez4y6I/sKIZLIv4Y4VmZ/kbErGk= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB8510.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(7416014)(1800799024)(52116014)(376014)(366016)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: mgFyLdUmqZbxaC9XeKwsimCjJGQVgWjKc+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/xReB0/Vaunj7vPYjKTTjBKnxckjRKIJ7zdnAFK/aboibtxCm+srsUcCdw79VOucXD36BolQg4/hyQmQDtcR3dHk+C3+F+ljZT6OaZyuxDp05Ou81/LP2z9WNuV+ZXTCBYMhTXKzLW5USH6B96hChtrzFaYyeO1a2Y4c4ctXLcR7PxUqnoUfEGeCpORVREORqVqjju/2UDxmylY+sVF8LZw+lmmJKnpXhQLwWl+KkVAU6WhTMnchV1atochM6iZ3isDyddfdU4dXoxia1sarBqAwaDEM5iSqGxZY2T2yyK/Dfb8svDK2ANUMFl8ZC0yBg0J8/X+eE+3KZZ54eN+McUVzTwcJLUgnDeSvoPWKBKl05hCzVrudBi1GD+1EY7ctaZQG6G13Utic7X4jzI6fScmpdb0c7MESpU7aXFffZADFuMAoml4TxdiI3w5N0piCgfwGQkREFcPJsMAU/VbwDhTcLKXVNh5DqB4FoIOrcJNy75/ X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: f6de3a21-8420-47d9-06b0-08dca0be328e X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB8510.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jul 2024 08:56:33.7954 (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: No7acT53rL7suRviWD3jVrzRAkLJQO1xnIgQDAmgArFtAnqEkxlQZQCxG79T1+YqrdgNk/MktRdOwV66pDkPRg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI2PR04MB10091 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240710_015644_327491_079D3867 X-CRM114-Status: UNSURE ( 9.72 ) 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 The NETCMIX block control consists of registers for configuration of peripherals in the NETC domain, such as MQS, SAI and NETC. So add the NETCMIX block control support on i.MX95 platform. --- V2: 1. Patch 2 is new patch. 2. Add rmii reference clock mux for ENETC0 and ENETC1 in patch 3. Link to V1: https://lore.kernel.org/all/20240709073603.1967609-3-wei.fang@nxp.com/ --- Wei Fang (4): dt-bindings: clock: add i.MX95 NETCMIX block control dt-bindings: clock: add RMII clock selection clk: imx95: enable the clock of NETCMIX block control arm64: dts: imx95: Add NETCMIX block control support .../bindings/clock/nxp,imx95-blk-ctl.yaml | 1 + arch/arm64/boot/dts/freescale/imx95.dtsi | 12 ++++++++ drivers/clk/imx/clk-imx95-blk-ctl.c | 30 +++++++++++++++++++ include/dt-bindings/clock/nxp,imx95-clock.h | 3 ++ 4 files changed, 46 insertions(+)