From patchwork Thu Aug 29 01:18:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Fang X-Patchwork-Id: 13782379 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 482E3C7115B for ; Thu, 29 Aug 2024 01:34:37 +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=RYSWi0Gs2vbw9esSVCl6BwkmwVy2PQTwb8B4vPmy3q0=; b=Jh93jMBxNyt8LRI6Rs7770j0JG 6nHR21+TwB06IbrhDFIyHjXCDTMSWKFLaAQ03WtgE8haXzJcl/bjjerGIruzb3Vua0IKpAOsHK682 VNRmO7XoONZ9AU1AVWQgGqOKMp6m1CvB+BXrK1ZnfEAB9CIoBRglAopX92oioG5dqMFR6+COqoBtx z94t1R0/nqKo34TeVkKQBWlYeDrgAjJnkBtI63HpjqpS4Fv35IhC5aTzlIG+XrWXGdvN7t2GCEyUG Jcs6fEt3DtTQXvsVJt9Bh/KBscjL+f2ZElptj5Y5a+omuVMS1EsICYacQh4QkDeBiHnYjV1aBHvdr 70X5hwwA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sjU3N-000000008hv-3eNh; Thu, 29 Aug 2024 01:34:25 +0000 Received: from mail-northeuropeazon11011012.outbound.protection.outlook.com ([52.101.65.12] helo=DB3PR0202CU003.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sjU2W-000000008Vn-0USQ for linux-arm-kernel@lists.infradead.org; Thu, 29 Aug 2024 01:33:33 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Loi1uEO23u8T+szJGtsOUfkYFNClO3BtH5PKBhPQrDi7iQYr0j2HL7Pvj3ANc5pM3oDMlPX3oDhpt2//PGdMFiyFkHy0e/evcZbvrcLKxOvCJLOh1TevwfNAKwyOyGHIoDmvTkYh9s54Kp0xcPDXIRb1Q0+SCNOIMh6C+fMsMLnSLD26JeGL8eKcJq/d+0zkNBqnb+YF0Ni6J+1wHqT77Gi4rT+f1DNcEilCRur4PkNODQPewqZdO0zGxAPLjQ9cgEN17CONaDpqvXz69FOzdWQRja09fXmwbX1em2Cxsht7VFXoAEJMOrHRXyg+Q2A00kCkg3yK0LtWJrVznCYlRA== 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=RYSWi0Gs2vbw9esSVCl6BwkmwVy2PQTwb8B4vPmy3q0=; b=WRu66HtfrZGLNv+gkj5oIZAxBzzWOkM4VInNWVMUhamJ1R/SyKK8EoU4V6cAyrfECtv/MSE/CTBG8en54CPVUbK8wdb0rjsoIOLlVtmEerTQ+XT3R7GdPwDsX9RGwU5VUIkeeCOoCmRz0HWhdALJ+m/FAwrJM8wbSZIgP7yw1I02cXed8ej5ZCNYkeoxkOXokhWuCZIncCYt5lsUBK5sB99AFnHujhU4ff68RCfh0XCVv3SyBuGwGZl0hSwFoDVY3srvUqFiDEJJrneM6z0Vw7UMbBVYJLlTxEn/ccDEECXeWFMqeR20yLZCH9iB7To8rnVBZFLvtqsAgU2Nz4k7jw== 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=RYSWi0Gs2vbw9esSVCl6BwkmwVy2PQTwb8B4vPmy3q0=; b=B/qc3G9NgELT3CoC8PMxX2GMsczAAL4hEHCobyHUdy3wULyLYpIp3pAYx6NVcBKQwYv08cLkAUcjLbM12w2iWiYhgVk+WMbQ+l5Ro6biXicHW6uDYwvtCrG0zQazfa/uuS9HXuL4LT5T9ky0NiT8EvbunmwRuNAoROyLfHfkJvhA4wDWUWHejyiZUiouIbnO/J9JddaoRrSqs+GJQQPWHn47HJR3/BHAMWr8xYue5NHpMG3YgnS8z9dygTdVDs2HDdS2mga7hEZ0cyKbXcrG+Q5vqdwtfTjZibz+0PpNEGsCP0xTfhHqB6wKOX+NPKLDqL/sokJURaWCUkv8X/eSQA== 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 GVXPR04MB10924.eurprd04.prod.outlook.com (2603:10a6:150:224::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.25; Thu, 29 Aug 2024 01:33:23 +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.7897.027; Thu, 29 Aug 2024 01:33:23 +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 v3 0/4] add NETCMIX block control support on i.MX95 Date: Thu, 29 Aug 2024 09:18:45 +0800 Message-Id: <20240829011849.364987-1-wei.fang@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: SI2PR01CA0017.apcprd01.prod.exchangelabs.com (2603:1096:4:191::19) To PAXPR04MB8510.eurprd04.prod.outlook.com (2603:10a6:102:211::7) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB8510:EE_|GVXPR04MB10924:EE_ X-MS-Office365-Filtering-Correlation-Id: 053716ef-4445-441c-f991-08dcc7ca9255 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|376014|52116014|7416014|1800799024|38350700014; X-Microsoft-Antispam-Message-Info: SqU3mAEJ+4BQc7SzjubHe0eA0SOiYkH+h/LEkTgVDoBsVnflYXeNicKij9WfE1Y3zmcdVov8/Rp2XsKbIiEu115jxCUKj3AxTlotzGSIIFUfGg8/RT3uot8jGVYPZfHFafyJ+5TsdkkV/4fRqyzSh36/LRgapptVyNbTkP6l8zqmu8RrdALrBux/EHPPzIrg20eaO6K6V3c49Mc9hJQkAlUdgNUTUPr2ZIImxsAXiuCPZsvYC0FWx/7FLZ2KJDunr8OWY9aGordzypGNCVE33+hRYR+dm0FAAHJPuSX6Z5GKhlOk61fVmMNcoNmNKMQorBNmBPkpxS+baMTClxXo8ZTFzv/FfrkFFOmGBX4k15LbxUNhA7EOQ0R66rQTRVllRFvs7Qe7R62s8k3MD7J/KXSHx3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IPV:NLI;SFV:NSPM;H:PAXPR04MB8510.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(376014)(52116014)(7416014)(1800799024)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: oeY8qnoX6p1vurqgdxe9/rspDZFVtN9/Yzx0N26FiEyrqDceTE4NRPhXpckjienUN8AaC5zmd6paUn19IWUER+NM8pByad3iphCy3AIKhqG7cAFfocKLxLiWvnWFEUj8BmYaoOgdiX3vmY30D/JgrBBZn5N86S8+MjWT0mxrP9dBaJmQh5WkOotnjgpShuV4BS/U+NQqF/IFLj3XYYZgHfQU9eG7c1ZFEQlWVwzmHFFPd+ouASLlnVx+0HNDYBWUdj9Y89CTL40PZlF34YEsvA6nbjBW5jK7hs7hXSdcge7joP4Vx8sEp2G5j9WyfKhhsKTL4ZOAAi7d0ghArr/P2TIfsCfL2wQ/dUpE831q0raSOO/Fa1XgieAou7B+xbhQqsii9XiXA29CiKbioAefQ2ktMz8jTLaHCfxGQPXGyB33i4nFYTYDsnu1/I6xAOcrWp4DBKS1bE0Js30nyhYxDEYv8t30bcIWhxJM9K3Pxs55cg+F4jWXnmfDTJjI5xGM79j9829EWVEDgYVG/fTZpuDudUhcwFC3aGZ/p1mbcJ+FM5lCfdRVdJHWca1cuN+UgCnDsbbpVR+1f5lm4BRS9yZ6Ti8kF7BUd/MWSSyVKA6XBbrJX1ws+kbiX5rAQtkk1Q9QRImrg9L1lxttIRO5UbNdkkKTDBhiHjsZ5ar5KnEK4ikd/rSuTB4A3iB1hPCd5iwXTghuGwXJlIYhZ5kHfh75tWdkehSbPk2u4KmmGu5jQ2SNXcRGp6tkbrNL+ijM2t5wqzcc821OH/mlEKEv3GIBgeMq8CJS1xMuucrHPdyxhuxUQJRVaNI/ZfcbQ8k+4sYMoDhC0vvIMrCxwC+cQF1FGFtuM4AjP0zgNeAGfWvo4J1uGc/s7SSuPnW3XMKGClH//K3bNB7wMqJgs0bslJzXpPntDC9xJ3sjRYM1RLYG3hCaWVcwdD56Bg5XdK+pB97SFoAqABD7/L/QS3ohSqKPL8S1UVzXYpL9ctfHTXyyZSFWEcwiu0RD0mh8zds166yXVFwehObD78CVLbGp/orwaPhbo5zJLtWHp5dvsJzGwhdd+B9+FzO0qLKLQOsKe4tig9FAboDR+lVscpYYCsytdeFE4wqwnDccoboiaP81VxEy34b/4q4pf7o5Echl4Drk6COBvov9qqGf9g9R21y9/A1HCLhoZtDL7WAcwofba+3Q4tlLG4dfjLTtwP+pK2WsqMsWd7nRjtexLVO2IZYF+UJmbJ0X63BIjrEMDZ+VTKEnyX698YRIdInFTJTi28+TJ1Vzm44ZS7HPhMLzNn55SJe23g3mPlQU5+uSBioORTZ4ndRiW7IhdoN5o4IiWQeDR5XvcGNyqeA+zAtB5GnV8Cs08zXUzzvyjvA5zB03cYi7bib/LF2jLu7AXn5ZH1CJm87Rpj2bNr225FZAWj/0Bsll2aCK/sa3sTnmZkn0wn4tEIQDXQAD3KPh8LjzT4PF+rgG/nH2VNkWX9HYKIRVAltN+Yqkclrdb6futMh20Xig1YT/ppn7y+CbsDuJDmgC+6TSWY2bPxM6QZeI2cAQ+RQGDIJynFELPmSUoxvtW41puR4dq+PKKL/nBL4V X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 053716ef-4445-441c-f991-08dcc7ca9255 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB8510.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Aug 2024 01:33:23.5842 (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: yibb/LXCFD7b3yq/TYSzfu/WRdzZPmNs2qoXxlON8Vu1wzy55dDaGzfl8nhrblneYVsZnn79HlvXF5h3qZW/xg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GVXPR04MB10924 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240828_183332_350164_8EDBF66C X-CRM114-Status: GOOD ( 10.15 ) 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/ V3: Respin the patch set due to merge conflicts. Link to V2: https://lore.kernel.org/all/20240729012756.3686758-1-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(+)