From patchwork Fri Oct 11 04:57: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: 13830082 Received: from DU2PR03CU002.outbound.protection.outlook.com (mail-northeuropeazon11012031.outbound.protection.outlook.com [52.101.66.31]) (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 143C01C9B6D; Thu, 10 Oct 2024 12:55:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.66.31 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728564958; cv=fail; b=VE1RXP0Ci8cWIaNqX/JklJMphdra3VYhDXIvoouw5qVfDBAqU7uy4AZM4rnGkv6niCCy6R2AtQJFPu1uYXNGdi5iz1T4tWzwnMWDue09kdxR2EeC6+BSoRjbQeV3+AOkaZaiWNONfKQV/KQHATcQLjhqyQKUhNoTTJXiRmvwalg= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728564958; c=relaxed/simple; bh=w+7PmH2jw3uYamet+CKUc461XWr66syAi7NX9iCk7Gc=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=aMaD14kIRXqoI3Hp0CU61mn4UCUuVOFSd7P/7eI+18+H85uTV/KxrcigleyyWZ0VKRRBBsQB77V5ZnuUcks9xJxYoH7RuQZadmJTdc3vRCpIiu4qDulnuUpRfJlpMI6mSYkIPVKD33P4iga7qvZ00SpG1oImRPWJQc3ADYWLKNI= 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=Q4f/Cqs8; arc=fail smtp.client-ip=52.101.66.31 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="Q4f/Cqs8" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=dwdONd68btk4LwU2Yw1NBk6JSWMWMHE/wyfTluMpULivzkICEU2JTamzzOGvUlUSOE7C7aGar4ar5031RYPdrsGmifq6dB7+NRH7GmdeEjOkvHpDVySOATb+OKbkNYBEc0nLdWHQSLaNIx+sRfVh4FT/Sx5bNrKBtNDziBbWMR8R8mlCOTxFybaK9YKKI9YTs1hNYu6DfmKIaaPyE44CCDkND1no4AsidXAxJeluBAl8mIaBfoH5Vm+gfztavz1VhrFcM/ppT+UMaPksCjEd732wMQ6lkBqxQr+kHCycpugQ1DjhxGFFjbIGhRkKzFC2DW1NoRpdKaqlOdA7vXoYIA== 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=L2K9LHKVMmyU2R0ZjVOQLXMNHcYbtARDRqjARPwVmdM=; b=op9ROqsnWkOuKrHWA5hU9JC3e+bTInJpnLmIx+porQVZr9ybUdqXJidJx6fXgKIUsR9MSw21N3Vmn3AYsYXFQDTlPy50y09X1VkDsrrEGkrk00JUa0Ea1G4SwV0gzQ1Sx4DSHBndydgAgGjyQ9leVEJKP0aDd5aoxxAEQOEmFaMmvb3wv3q3lO+p2JJSj739gTiDfSaGl6OQM1YCdFUaJm/7AL5yLBSgHUf9AB6YdnHzgRdJFV0D2lH8m8/12QZ5NXOGElSRyf88QBHJfzbsm5nGi190SDIBqeI29H5sEj80mAlgY51fXW4CfnP1OdtPasuiRwOFuo5EYttBrA6EQg== 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=L2K9LHKVMmyU2R0ZjVOQLXMNHcYbtARDRqjARPwVmdM=; b=Q4f/Cqs83hltANl9/INfZrv8CYAA81G4dmzUVa8myzv6psM1PdocvkZWB3TJX7MEqTBRRRZerS13eNrj2NHVCq04ZoTeeK1tTtxALBDRmImwNRO2hPZtvEzXkCnzukTLQHcKFDu7r/zihRd+WF4/nnRXfLgDMuAOwR3HjR83m5YbmgzA/bjYFZkXuTgpHwApSMiH9dKNz/nS5LjAt/+0oaxKNL0pz3DZ3yLFw0vfae4cw3CtUUmPCjiyN+K3Om7xhMPjYKYPMqVtnH3EPDAtb+2v//LzULtKDlYRWn4X7obdXISQ/3K7TrZBaOBTFQQOsRQGWxkstkbaF0NBJzXnyQ== 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 DU2PR04MB8776.eurprd04.prod.outlook.com (2603:10a6:10:2e3::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8026.23; Thu, 10 Oct 2024 12:55:51 +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.8048.017; Thu, 10 Oct 2024 12:55:51 +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 v3 1/3] dt-bindings: clock: Add i.MX91 clock support Date: Thu, 10 Oct 2024 21:57:34 -0700 Message-Id: <20241011045736.308338-2-pengfei.li_1@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241011045736.308338-1-pengfei.li_1@nxp.com> References: <20241011045736.308338-1-pengfei.li_1@nxp.com> X-ClientProxiedBy: SI1PR02CA0028.apcprd02.prod.outlook.com (2603:1096:4:1f4::6) To DB8PR04MB7065.eurprd04.prod.outlook.com (2603:10a6:10:127::9) Precedence: bulk X-Mailing-List: linux-clk@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB8PR04MB7065:EE_|DU2PR04MB8776:EE_ X-MS-Office365-Filtering-Correlation-Id: 62f36108-e39e-48e0-fcaf-08dce92ade95 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|52116014|7416014|366016|376014|921020|38350700014; X-Microsoft-Antispam-Message-Info: Nvx/EPGCQexx6clynEGltx2FBb0hsmzqPpQ0sfLOkjYIELPhlbeSGuXih6cL69l1B8aHH/viASjh7fX/kvnkRfys7ApkJjciCg8MvTEsTXPiALSDPFS6mhcy+Ord1V+aI0pdT01AI4sGBXDRiUcqaG1RetPNezUDmOt/+Dy6Seg/csQ7SLfFehNPYkWn2V+2A8zlzZcl85I//81q760Gb5bxAuZHjSf15LoDNjI93AaZMDslH4Nu1cAWeEfgEjv0f0NHlu+1277k/z2LcQuE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7+5/xT7rI25fFkLa4jTHy9/EV5s= 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)(1800799024)(52116014)(7416014)(366016)(376014)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: X+hmilYlvP11nxNaDENX2TLsn5XM6RjYFTXOCM13Tv+p65GsZpsCRB5s/yvMtYpxn5qHpHyVZbS97RKshlng7YPX/RUSgbgICJohIOmqW1n4yRSsXTV6oSR8eVGy0kbgD6VVpM78gGOoiyhmjZwjCzJXwucBFlCcsz0w3L7RK+HAVk7LmOXJziPypfjSnGo3rmhOIEdLjPV4HGf2xcf5ktdoINr9kX/jzZe2edWpPYDglWgivBt6XhrEp6i3mQAgsmv2onwwub+NhlvnmKdyt7vgHIcdUG+6diQ0NPdlHshHVUyq/IELVV1D2n2TRnZuj7AOMaR2fSpgDZsubCY9F6Zu7Vbd4KJyjI4ZnhMAjb9yXgdkjUU6Vosc/ZxGLOUDHXUpHfNm7wKA81RKftZj/x9vHbCDqrNLDy8Y8OVp5MP7grteHvBxB9zfhY/C8fyTzirbvwmtmsC24DGAkzkB9fgS9CjrTPBFItjb7sAbhm8PIrBrm2oNcGrczVANal9D2ORaHAkAboC+6XHZxjQV3j5S8L8V5o54O0CteKWGTPIPXLvkkExqw0a+PrOAiMUVtbCN5kUDTVxUknioyA7KIiLAVjvTi4mzwtuK2IdHoYFM2oPIxosdEJm+vvdAgy6rnm0dR+LZfxrRToJCcv61GyMk1Ibd3Rv3+tC8CNbgt/7GqwqjEjj+k/3yuvO12eipQKRTyK0VAIwx1PQ58uIdv6agTYNmoQp7YFSCHOyLeGmYFvH22mSSMP21XWDLleWeZId9HuzgGoCxuIMZ9YDGd1Ep9tQbGK1t39bPBIF020XIY++/FcJgM56IduU5gufpprpMDB/s1MZnG7uXNF3ZKUe/HsGas+olNbVVCor0G7j6AaqdOZkGsYA8xLcYFyQf69GN4SMrFkYKezKVd3TrDOLNtlj2OF9kqW92CDv+XR6wFMaWxy2OBhxyI8bvMkkD3p0LftatJRlNOkuDZ0MFQQqHCAhbgHjIA7gZMrhORQkALzN+enTOQqUdQs0W1CBIPT04oPO2ea+MRPm+bhbVSoOwmj5UeC+LAEYhSvoe9B6fROWLtsmUJzBimir0rZVkc18eoiMFh9QlytSP6Skh1xoXT43qFfOMyxqvWIp6YRke65/JqvqPUO3AYjBbSgf796RFJXBgLh8d7BsE4HeTVKYCVh+0W8Gb3MrmPmmAyRGB3N0gszwKyX6WhWv7RxnpKwkJKKN8ZRN/AhGLC8wrbfc6a0B71qjVKnIv08B97U9v+v44WOKumU6K2raSHzh4kEa8dMilVY0Xd+JRaxnWNhShR0WRBw3EVXImcap91Lpd8IrgglHDeUhZ66qenuAB3ljgVDkyV/qJLsiTpyveeFx8tIv2F7hL2uDi3ujGjRvcHAqV59fz10zKcbT7iCGOQ0uXT/FRaysOg7oJiUg0HRa7zm+X3Tw+K1ce+oQAp3xRuSHf1afvpEa9AtzTkyPPmnNEVxxPas41Hos0+KLqUfG6mtaRZ/5IkiLaR8FifUyX5ghopOfxgiF7H+TqFXz8CrHeEVMbQV7wyqmCDjRWJDhQIxHaqvvrBAGtLcpBegn4w+aamt8jG1Idb7mVSg5d X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 62f36108-e39e-48e0-fcaf-08dce92ade95 X-MS-Exchange-CrossTenant-AuthSource: DB8PR04MB7065.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Oct 2024 12:55:51.5214 (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: MmkcjlVE41bK+Bj8dZqD3e6rnZxyvL+GwdtYm0ivULreWHA5o3316npDTRyXeIWWcirmcynEBgcMZY5frYAIaw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8776 i.MX91 has similar Clock Control Module(CCM) design as i.MX93. Add a new compatible string for i.MX91. Signed-off-by: Pengfei Li Reviewed-by: Frank Li Acked-by: Krzysztof Kozlowski Acked-by: Rob Herring (Arm) --- Documentation/devicetree/bindings/clock/imx93-clock.yaml | 1 + 1 file changed, 1 insertion(+) 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: From patchwork Fri Oct 11 04:57: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: 13830083 Received: from DU2PR03CU002.outbound.protection.outlook.com (mail-northeuropeazon11012031.outbound.protection.outlook.com [52.101.66.31]) (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 18A991C9EA8; Thu, 10 Oct 2024 12:55:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.66.31 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728564960; cv=fail; b=NiTteWo/2F0rA8GK89cMTLVmFyp0nHRay6hkNTgt4S1vPMyRapuYSW2LaNrP7bOob1GG+ACQaogG/6iTTf9Q6QqC+kPqVLFt50rA9PMonoelqGTRsvNgMl43UgLnYfo7hA5rrWgeqGDGMcH3yRRcpYbs72rtPNnK2mZP/MaDFcE= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728564960; c=relaxed/simple; bh=eczrn5Oi3Li2/ug+E0wkJjjd8kKvBTd/s17pHXAkt/w=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=k/eh8j6IwvTHIETGj3V80ABNz7SdjWZrpv5qNT81TYP0B0YPG7KIDMQkULPZEkY5dRfu7342Q2vg7adBn4SoErcKcX4nr3Bl67xZQ9aLKX5DJpCRISGAE/MD0KrAXZkLSNfcnTvSW9yZdg3sLOM1K6hjnCo2ZU9Mh4Og2+LkFwk= 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=ZX92vztp; arc=fail smtp.client-ip=52.101.66.31 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="ZX92vztp" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=gbKyGo4kZCz1LhBmMBYasO8cdNadJ5Fpjd4ohfQf/zg4PAG16pi1Wfc7ZmqO5DGGqTW0uinMNknM/nSSN+yXZ5Hub1e5JxQXoM+ipvzvkFt6UnNf5Ts9J+weJor5XhK1+W9pUl+H+9l4oD+nWvQK+/yJNfqTJWDLR8HqFJEy0V74LWT7fapg/VsvowU3fSJ1SHjSaeL5BR0Nm3LaI8+05pmSHpEfNnHuBK1u/q7qGGDVx1959WvwAwXcvJ99V+3D85/6Y+0zM8d1mr3ePSRw03iOh6+BrWtLW/dELMrC86cHMVKXJXaTbOZzHKBRKwpZIW6I8Qw/vf3OkZCTrmkqFw== 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=RfT0j5kmYPfCyfzikvPfKE7P4wrW3653Ancgo4185BY=; b=S37WHNG68ra5JXowWOYzinLIosmJkjycCtyLCd4CGROFj0pVklYZht+YMOM7/U7kiiCeSPpPudK0KjfEZ1Sm9Dl4oUMhdKBSL+T2Sere+IcLdvTZ/b8bRHkYhBlGi+JRJ6BSRvYhEwBIhhrPaTTvB4H5IyeUsYMTdOe8F8RNRi7k3xRKEPHVDJ80jt1AYCr+NDy/sUg9KrgrNk0w0BpaNCI84t5Ew8PxxbHlOHHv1t3HNi0usf8KgvG4Upx1YXlppkMvCOUbPlYPzvQeXhPjR7Dveg3XQYwZB29PoxBFIeVcUrOyHVahC8jx2fgCSTM48BR9NKnW7GmdnEBtCXg+XA== 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=RfT0j5kmYPfCyfzikvPfKE7P4wrW3653Ancgo4185BY=; b=ZX92vztpgVNZxtckevCiw7Y5KJC/j1IpNjNVKIQqGHC1ePDjF7DvPtciW2XdIBN+dPmOGhIcNMLk4R1dFBiGF3H4bG3Kw2R7vcv0EpjnY5CXEYF+3coBg50UoiP13+gXM4EVbzvOiwfBq7i1QRKbKv0hjsksL8C3TpJ2KwDZWKE1RQ/q4iL+DHVeX+vdhgxhmyOvCD/gIfKYZ0qCnnTXKryHEz3Zjsh+ZKRpnkXrNIV63YgoiSMYQBFerq8PA1bc+kB/ZejUq2LXHveF8TSKsSMu5fQfyHwTuepISHP/qQb9dtE1eVEHnPn6Rzo0RE+pufK9c5mHDAdQ5eWpYgRKbg== 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 DU2PR04MB8776.eurprd04.prod.outlook.com (2603:10a6:10:2e3::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8026.23; Thu, 10 Oct 2024 12:55:57 +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.8048.017; Thu, 10 Oct 2024 12:55:57 +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 v3 2/3] dt-bindings: clock: Add i.MX91 clock definition Date: Thu, 10 Oct 2024 21:57:35 -0700 Message-Id: <20241011045736.308338-3-pengfei.li_1@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241011045736.308338-1-pengfei.li_1@nxp.com> References: <20241011045736.308338-1-pengfei.li_1@nxp.com> X-ClientProxiedBy: SI1PR02CA0028.apcprd02.prod.outlook.com (2603:1096:4:1f4::6) To DB8PR04MB7065.eurprd04.prod.outlook.com (2603:10a6:10:127::9) Precedence: bulk X-Mailing-List: linux-clk@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB8PR04MB7065:EE_|DU2PR04MB8776:EE_ X-MS-Office365-Filtering-Correlation-Id: 76bcb5ec-7ef4-4fee-0efd-08dce92ae20d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|52116014|7416014|366016|376014|921020|38350700014; X-Microsoft-Antispam-Message-Info: 3gOLgMsueA++InlZsjBRHXW+0exvl/WpeAUR4NXpH0RgK5VPwwLjaj7yFC/8mp/hjNnX5OeF3v5XavFjzyIoX2aLaKhIufs4lwcZ4UKz0Padbdrgi2rMvRzdaTkV+Kq6WDw72Vk+pxItSpWvNFM6++FAUf996xS8EGbV4ST5ausvU6TKSbxLSnWGT7HdPdQQ1zTvAUmhK9eKqGMXvnzS8su7jP2VcVSj+Y5FW+H8KWpxBfRjHQrz75pvwPZsi5K2tQgTbqwyZLC5RygpgGaQunCBFG/gWq8rpgpJWPRqCxw5cyov8WRJE3bjvGjGnyZWG4JF5ZvhewXQSrjlF9yn9ctVJGOq/mSTIECXB9IfXhIeh/lrd1SFxKBQ/4v6F57zIGlPYd5jYpBtK/kaSW7emybqAk9zRY139ZJZUFjz09eGvoQF3rLxdip6gbUQ0heMbzs9Nd0jT8+5iUWZmt8OZr/e73qYxjbjME6/0hKOeoCN+RPv3V6y2ZvbV42Xn4AvOg9UuOMjid1Gx4OS3E6/PCcbZv3Jc+kJ0hGzBDmlDDY0u2/aXGxOg6Vj3JcomZpOJmzE5fLvLuRm4JSRB89KL7phf2lgQbKO8qabuHNYKpcXQBRjXyFn95z2h7wLAjaN2vWo9bUAGPXOwW4D1q9Cjgrq1HwtrnpzDihvLJIhdwIHXUmZslB6JyzFwG2p/4vZ+aXBvFKuz/MfITvVHvhRX0Wxr85TWyDv3iTHlci61zo9F7Q3b+rqpxGdFwerCYbKEvWm5cVvEdx91jt19P4a718scUCQiBCLvf2CaspHw915AaSBR1eABxlarSYnEolNz+J46oEiGNEmImcPI/FD3Qj3SjH/S1NczS4OyakL0GpCTIQ/KTq+aOxmJ4iBpPCfP97NVlHZ8CE8g4HgUtBc4rTNfxoPjgqJ/rMYbwLAR+acQUOns3JBjXjwYt1/CdKiwSff7Am/u8Odwyi/oV2Jmg1zzVN10lZsSsdu5UqU0PVyFfRuELeNEqjL78BP7OrUGvLLW+QylKrkkmUqQ2uDOMPOUfRTOot6o8tGZ7B53gKxIm3KiN6aTMm2GwyyKc93iBz1c9PHrstJsytUW4gCQNSQDeJT028OBxJKUKL6NO0dsyiyfr/pCRCU/CnmVgNq41H/NlMzVOWiXzJyIngGhxE8jTAVHmRBRXOuNwdgqRfRN89Mz28BvdP1nOXKhTnv4ZC+P/+8/t8QeSQalwDiB4x3XCOQs+sJi+H9f3CALzQsjriGMWwc970oCwdzC2BkxGwP0TeVaax6eoXMoesuSByx6BG3JSLr/VSmcJbe4PzYZjck5tp8TTSq+GLg1qLc3hVWBOghsEe07qJgCLcq5/eX/tWibxylND4lAfpKolE= 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)(1800799024)(52116014)(7416014)(366016)(376014)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: qiObIa21sWeOgsEzU4WbAAuMemlHAtLG3qXvWMwVds859Jc5OfoLPEoU5tj3Nyy1SJuXOsI2iXiqyWv5MiNchbTc3xPnP7hs4zHjRn4eD9VQzqK5xtChfavbu+GKI2/R+jarP25/ITSkeb89D7eDkr5nI9xN59tNwqE3mK2FtdSPTYvixF8F3nKTQc+kXI4YlVQ9k0bifsorcOPMzP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noZcQqg+ajFMtKh7WCYuhOzxlYQdE69XSHjpXzfssGOI28L+v4689HL18Ls5YXhxyYagziuhztayVHbbRkonSxiaa9bltSPTTRrJ/gnQ3LxPMXWCVLe611x0InB+PxaD++/KtImn6DPGsazRvgKgSMCCgTIRd0Ah3BSm4O5UDycOKKgem2GfzWt09HNwS6Ym3u9nxVxuZ9ZScv5/1OHFInXLiI5IKM70vfIAlMVpqoP1XMyTLR2zvxwVj36pXMTD1mL/7Ow9lH5563CFVJx9AjVs/Z1dj29JA5nN8IlaWbcSOzb2c9tGyuPgGLsvVV2V X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 76bcb5ec-7ef4-4fee-0efd-08dce92ae20d X-MS-Exchange-CrossTenant-AuthSource: DB8PR04MB7065.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Oct 2024 12:55:57.3119 (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: ARrAfaxu4zUU3AwSQgwCM+GxR8h9Ji+xn/2ElEijxj7vogh57LctC7KaDwf6xTv1TMIrzM7sypxDJ+qn3mqO/A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8776 i.MX91 is similar with i.MX93, only add few new clock compared to i.MX93. Add i.MX91 related clock definition. Signed-off-by: Pengfei Li Reviewed-by: Frank Li --- include/dt-bindings/clock/imx93-clock.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/dt-bindings/clock/imx93-clock.h b/include/dt-bindings/clock/imx93-clock.h index 787c9e74dc96..6c685067288b 100644 --- a/include/dt-bindings/clock/imx93-clock.h +++ b/include/dt-bindings/clock/imx93-clock.h @@ -204,6 +204,10 @@ #define IMX93_CLK_A55_SEL 199 #define IMX93_CLK_A55_CORE 200 #define IMX93_CLK_PDM_IPG 201 -#define IMX93_CLK_END 202 +#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 Fri Oct 11 04:57: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: 13830084 Received: from DU2PR03CU002.outbound.protection.outlook.com (mail-northeuropeazon11012066.outbound.protection.outlook.com [52.101.66.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 45BAC1C9B97; Thu, 10 Oct 2024 12:56:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.66.66 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728564972; cv=fail; b=gbLRE2xuyhunFyHOImir37y59S6VzV0pN2Y9xTnbiyxhlTI8MU5288jOLToXI8VKkb4V2SdsrSdUX9Zs1at0b6xW3R1QTOtvb3M0PwYZ1MnrAkj5GjXLYAYYBmSsEL/ZYW7C/gmxXNIHdINHa2jVSmeXD6oheRGP6IcVcKRuNCc= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728564972; c=relaxed/simple; bh=USNJcKRuKuGM5Sr6lfPchDj4s29SiM2AkVoiMwLu1JE=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=XWsNI1lQHeRuIGTT1ZMK/lhtqpA34NRIN3uQtq5tDCTZ+eftk8XW3nBxiq0bqNVYzsTlh+Fbh7gB4XHRNWcp1tLBUtJG2L5bjG223KvbxZdxJcC0OLNooDDNiQIE+Gi5tuFya143vyj0b7cWRTtuyTWHbh4O7evfsr7p8ccDdrQ= 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=nlwj8SA4; arc=fail smtp.client-ip=52.101.66.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="nlwj8SA4" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=M3gozPbQE6TEvXt6RkVjtRhov0WceuM0FUjLdOb1FejG9VPV69BhkXhG3zBAXHTb3zLu6T7w7/VQw3R2Ek9BdQRFcTfl8uWUXdumUfTTaWl78eph1w0bp6LdNDRhu5TpKzXiZBZnHZ5t4y0nKOq3DjE2CfhOobUTs7HBoeTM5FMdhTrprnlcFQfGHsk6nOWv2GgO0PrBWz78OFG0A0YKxL+plB6jKSxLibkit39R5qb5ImQW28KIozqsxpKlJpdZnF9zZdHynI9LkItzqEgQJpiGWHfjw8PJA9zpJ924lho2mgr2uCGI2bagS3xTgsoQQa3Nkg14ja0zYxYifBxAQA== 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=3KD1kPCyYYL/ugWzWI5oeEDh9fbcVd3NfghHQ1aajR4=; b=u2H+AKEGSNoRqsFnhkMquK1wVG3/1Q0674elx5hUWxBuQ6+/hMD44bsu6+ojiYw2TInCdx+a1HhNBIFXyzyQmaTmZYyaiYNYTWHDAtL42tvsZE5saSs2nT2yovCPBC6oK9MkTWkUIEleRM/NoE6MlsPCsYrLO10XA+AC+CvJHChTlcyMQO6BaVJ+H9sZET8VMQCmPAg1uKbqYHWbkGM2H5GfsHsLHFcEioHrODJSD1sxPY643dOF+9OCaRYEcFSWfuvkt5ctahGu5BzAJKqNqZjNXhWsMs43TgTnzfobShgVI1WVDwA5cHeU2oHRLVrJL3ZFUR+kafnmCTNhoT361A== 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=3KD1kPCyYYL/ugWzWI5oeEDh9fbcVd3NfghHQ1aajR4=; b=nlwj8SA41eQ8W1wO650s3DKlTN/0GeYkIOM53E5d1q9htmtdGo7hPZRBVrl6iJjPmSsctRhgDm7rM8TD4O6mVDHLszj0tZPgtJVW3uQI5UyjB08bZF14JnKDRiJp2s6z2xQAYNgx9/EbinHRy2AoNE1n2asPKIBA+c/f/qvaaxjzpVzNSZZlSDA8QbWMYmK8eUWIeV3xUaRY6aFpukQ50WAI9A7ZTBhu9ZRWXa7F/sUvjV/UTPcigp33+c19QVTq1W44j24w4HjpPSREvgBe5AxUhhzsuci57KH3UsJGMKITcKTPq2304vtaqbb3VuuDeyAxg/XcvfOQ0qVnCZhnGQ== 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 DU2PR04MB8776.eurprd04.prod.outlook.com (2603:10a6:10:2e3::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8026.23; Thu, 10 Oct 2024 12:56:06 +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.8048.017; Thu, 10 Oct 2024 12:56:03 +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 v3 3/3] clk: imx: add i.MX91 clk Date: Thu, 10 Oct 2024 21:57:36 -0700 Message-Id: <20241011045736.308338-4-pengfei.li_1@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241011045736.308338-1-pengfei.li_1@nxp.com> References: <20241011045736.308338-1-pengfei.li_1@nxp.com> X-ClientProxiedBy: SI1PR02CA0028.apcprd02.prod.outlook.com (2603:1096:4:1f4::6) To DB8PR04MB7065.eurprd04.prod.outlook.com (2603:10a6:10:127::9) Precedence: bulk X-Mailing-List: linux-clk@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB8PR04MB7065:EE_|DU2PR04MB8776:EE_ X-MS-Office365-Filtering-Correlation-Id: 06af7c09-652a-48f7-bea8-08dce92ae5b5 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|52116014|7416014|366016|376014|921020|38350700014; X-Microsoft-Antispam-Message-Info: cAWVDOgJuo+LcwEQGJZxpOFbq8L2sXLDrlOVOEmVroIpW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p+uE7kC2k9OepXu+UE010NVMDhVPcdo66hy4rpqiE7pS5A7Kzmtx08mYVqe2yOe3BzzLKTD5PKDdlZ4HgDmmpoT7Pe+MeHtbdSrKmBBwxmcKd5p5X6UiltATdb6hmaDivP4Fnnvwm2O3dfhJ2PF1dl2G8P7pM2kE/WU54mxZdVdnMe9uxIa3NoeP+mgfvPKAnloUWIinbxgWIA6bjw6wqrtlC/HjzEtWnb/c4Y1oWUYAyKG//XmHjg== 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)(1800799024)(52116014)(7416014)(366016)(376014)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 94HOeKAPPDrrjaEOeSacVIVDnk9kZi6DJdzBXIVi1eq753cJLYf0sdScq0aKFH1KpX/pr//6/YSrUCB+dx8fz7WtbVmXZPxe0yw2/7dzA0SYKdNnkKOAH2FZvGRX/DPCYIV+C8+zAybUikdvD9Lcxw1/7B60KpudxHUnObRIUeWtQ1NvwH/DZFu5LpdBVuczssptuaPWtEWnLCm6LXCFRXie21Qt03QOZbRldG+HDiRYxgovgaRqaUyiO0imm5Pa5xZhojY+Pu309hPl6L8L7eB1z3v50tPKPVTfyRt0uVuhsj9JeFTKCmoKiS4X+NUGB46NHpSqssjhPKff6u9OmNAGrLveg1vHIQO+xU2BGWBTKZaf8HSnezvShBMXZ2df+sobxQ3uQOOG9xuIB2RPxZnVyg5Hl5ze44HblciBCBzUzCLr+/AK0aYbgzy0q/fvRpElobvvoxdh7bNiNJNJ8qwlH3h41JQym1vMWxg405z4F4iHTnP0iu7TGUSo0sTX3aX9sNJyHGDtc29YhnQ8SeFvfg7tQFQm/2M+/5EX9cegI3lO6WJ1rv13BrFJZtdvh9Bpl5Qyu1A/l2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b5 X-MS-Exchange-CrossTenant-AuthSource: DB8PR04MB7065.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Oct 2024 12:56:03.3481 (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: x0X8jPzIhhiZPn9wKpuorU8F8rcWcPOHwjVCIkjx6DuDHRzwX00JFBW9tk8+jYDYb6AB2RZ6XJ7v4ualxFwk+A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8776 Add i.MX91 clk driver which reuses the 93 driver and removes some clks. Signed-off-by: Pengfei Li --- drivers/clk/imx/clk-imx93.c | 63 +++++++++++++++++++++++-------------- 1 file changed, 40 insertions(+), 23 deletions(-) diff --git a/drivers/clk/imx/clk-imx93.c b/drivers/clk/imx/clk-imx93.c index c6a9bc8ecc1f..406c98566271 100644 --- a/drivers/clk/imx/clk-imx93.c +++ b/drivers/clk/imx/clk-imx93.c @@ -15,6 +15,11 @@ #include "clk.h" +#define IMX93_CLK_END 207 + +#define PLAT_IMX93 BIT(0) +#define PLAT_IMX91 BIT(1) + enum clk_sel { LOW_SPEED_IO_SEL, NON_IO_SEL, @@ -53,6 +58,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 }, @@ -63,7 +69,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, }, @@ -120,15 +126,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, }, @@ -137,13 +143,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, } }; @@ -155,6 +164,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 */ @@ -244,8 +254,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, }, @@ -265,6 +277,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); @@ -314,17 +327,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, @@ -354,7 +370,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);