From patchwork Wed Oct 23 18:46:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pengfei Li X-Patchwork-Id: 13846366 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 78805D2E00A for ; Wed, 23 Oct 2024 02:53:42 +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:References:In-Reply-To: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:List-Owner; bh=c2HNXhTaV09438FPwaxBxpX3LsGkzxD1G2+lVD0T40c=; b=snpf9MzZ0syNZPMi4mZrznZrCj BsZbagWzXouFlYQeDjJGiLMXN5fEfmG9vKrnuHqzc1tNT3v8cElm51rPp3/tfJYzef3M47SP3U8uJ HHdko7X2bmSkYVURxCMqxhDNVbdiXoALveOZtlP9nN5vI0uK7fXkYyWlk+eHe4bIYAL0B7bN2osbp vYgGIilycMmxo1pMlqzKmUAc2mVFTcI0n2F2KAkytP9ouKbrU4BAwYvfhXH/MKHLF8mCuWKDeQs5P 6eZxVt31O/HUQ2fUp+ctwOfVxkcuSqLNYDFtj1XXThfey4NNOMmBf4SdYy8gjU25xAVNOzzs2DdlC Z6Sn6V/w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t3RV4-0000000ClBU-41Qh; Wed, 23 Oct 2024 02:53:31 +0000 Received: from mail-vi1eur03on20620.outbound.protection.outlook.com ([2a01:111:f403:260c::620] helo=EUR03-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t3RPK-0000000CkCB-1x8r for linux-arm-kernel@lists.infradead.org; Wed, 23 Oct 2024 02:47:35 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Lh8fskZTt2MfTXxM3R8RJNdx16HwCKVvQGkQ+mb38I+Qi9oqzupYbsGmNAVfRGOlB8iYbar18ibUcvC77ZNMyWF9FGUhrbt4uYIsnA7tJYlhvQ7aZZqTCOYogJeASJ1BGrYycyPJa76pRxRTBRB9NvLkPTmj9MvvWOnJivkFMNciGUBaxBIv/AKCUfPKIHr02E5igF3lYsmYur0b67ZFXxUUkAr15LQP3RZeU5AYcsYaMQk9ACIesASwT9ybRzNdDgzGbyONFJf0ftOLp8IoNtZe7wYOkjvz6UNune7D/gXir4P0YrTx5btuCV5gecDarsrj97uRUKej55IOPr0hXg== 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=c2HNXhTaV09438FPwaxBxpX3LsGkzxD1G2+lVD0T40c=; b=ZTHmpZ6ujVxaWv9OcWGDbXqXDsUVHJ1iPjZ4Lpq3C0BZAu/yuqpQiS7Oy6OigVh8T4BrNY38SM0B+pDZvEPV9Xrf/PijhGbasXAga2NdjFo9ArX3XbrL88zqXbLT34Pwm/WHJ1ePT+nvg1w7p6elROEHHzgnnLj/BqB+1gQqm8vGPzkQNH3SJihu+Y0Yeei/N21hrd12ztpuDhxSlpC5oiXpe89Gi87aZzvBQZoz8IdAm/GE5IYMlkCUnZICmNCnXyNvsImLe5iUBKYWBfGif1g21bSOKAumCbBTWxoblkimBDtVIWwG8AJiNFCy/rtuWOAgUMLRrCv4j6aO91JUVg== 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=c2HNXhTaV09438FPwaxBxpX3LsGkzxD1G2+lVD0T40c=; b=jTRkAOUtRTY5UHII4MBf60LjoC94eIYP416SuIDZht2/qR3c3bRTz9oNcMk/G/1srQCWdERjieSq1QShhLLCMIAlDcjJaezirDO7vmR1d+wlP32zT6PF1RqtN63HL3iJ//QkBB/d0x6oppI1p82JpBGBshQcEA3C53mF1J3XA+icmkGSadnzN7ghtvsL/3UactYlBx6U1THNivLLkEJi247DVEk966yx8TkQgzc+i2Z+i20W1IHQQ2RJEKRTMfXDh7psUEMn7BPAZonLSuj6IxY0vZMqISdlqvSHStytjuuboNQSm78YIQ7tHdowGRgzdsA2M3OZaCF9fg5DGew3Yg== 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 GV1PR04MB9216.eurprd04.prod.outlook.com (2603:10a6:150:2b::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.18; Wed, 23 Oct 2024 02:47:33 +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.027; Wed, 23 Oct 2024 02:47:33 +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 v6 3/4] dt-bindings: clock: Add i.MX91 clock support Date: Wed, 23 Oct 2024 11:46:49 -0700 Message-Id: <20241023184651.381265-4-pengfei.li_1@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241023184651.381265-1-pengfei.li_1@nxp.com> References: <20241023184651.381265-1-pengfei.li_1@nxp.com> X-ClientProxiedBy: SG2PR03CA0118.apcprd03.prod.outlook.com (2603:1096:4:91::22) To DB8PR04MB7065.eurprd04.prod.outlook.com (2603:10a6:10:127::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB8PR04MB7065:EE_|GV1PR04MB9216:EE_ X-MS-Office365-Filtering-Correlation-Id: 2d978561-7106-4079-9201-08dcf30d0b34 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|52116014|376014|366016|1800799024|921020|38350700014; X-Microsoft-Antispam-Message-Info: tdmntU/zi4UnexPjVZF/mOOfWp/o/N/tlATjlLXVnRixzKSdGnZ5tuSx7nBHhnXfvXQszukocpdaNBKtgql0e2ipoxxJ6AftSzxLi9faZRikINyYK2BKC5y50Y2Bt4Sw3JhSH0Ydk8yUtD0NVjDwMdu2gh4QGjpnhUAPaZcI59VyX3LB3GFYzSLiBh8cp4Ue/A0i+Py8vbf3uxhFF3OdCLhvfWzO9Kv+2molsKEXqPbVgxHJxjrfNaOjJWMRfUhv0pC8ekvdE7GAwo6610Od04SqrWmeTQ6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bDl2mtmrL8f/s4yq0IOho 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)(7416014)(52116014)(376014)(366016)(1800799024)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: uXQtwMgcNInmc5VzHq1TgPAjX2UezppLcFAORoT648qNOmmHS+RPQEUsfDGee2vFMryhw3ABvqhDXxpLQBzuTc0cLtW5rQBY+mPYs7wF4QLnS9QREqbPMhxFxuNHm3KbIiId2Os+DDLKrH5haYhCqLGICopAu2LIOSAn8DluvuFXapZFphi+e7frYesqY6g141jpmxSPFcX0dkxoS1Mty69BFyGCUjU4VHpGSlQDkBtnNf9c8kSEUQcCqzxcevy9jB1KHLM1/6mBJ8zdE/339j9Bwpi1i1FK4qGEz+2CJPW/aBoSpjgciZ0R3XsJG62YzOcRDTJtpnTck8OpK56hLhgY3mG/JLTh8iZc5yNch5i80wk1WZr6XnceoO/SZqsieQgeP1dx7wLA1pizYEco2ggU2dvkKC7pKbZfYADD8tzps09lCPn07Gwu/444ZoVaTH9w2EjY4jLeZvIsVqfoPCkv086PMEOmDmW4MufJzJkIDzcYFC+UqhuNw/y4LT0RK6+acqqqNau8kkQoXRGpvIthJsPWiTIqDXT93HFQU9b6V0jXmTxlx4lk5ZhRZx53JugnKNKg+pKYNcv4vEWMlttrPiRZPBHwy0LqQOc4E9syYjvIcbLXQ3QTrNUyFKD/rRLBw0lCUCEWisiI+lcWEMuG8sHgzE7BBedoWKHRJC3S3a5/lePFYflK02dzjs2c8ib6nuBD7DoUqkUJTpz5cuYSFnVH4OJLfg4Jt0jIiZdS+vVcJplHIQ/fmrk8oZJaTxZ+/TMMv8hcNScIvJo/eACq70npd1ErZjnqCXV0ztZmLADy2WrbVOj9yeS23hw6UNBFggDihh8l7ePAWrr5MwwWJh9T+1mI5pOjBCw3/cmVgaLiim0W5u+/GyPIogUVPyN6eJ9c1GjfFMqzN2FkZM5wEV+UN94IBlEb7BdUnDi+UI9PnWBR9QYvcqiyOMoBMcAnW6RA15dtFkw0b9cNwEjNYN1XfkQ3uGO90bTqIvTzk8rotkesh9pYjfq/qCiqg+yBVpxZ26GdQfx0y4GsHWScrKV+jFFovst4FLFrx/YynHjigUqLwnUwJBYDKnackUMEbGPj6nyZiVMCPDrwIEyfuY6/5QLEhxftGZsJpIyndg6/ncZncUQehatCMipqGlpOCNxrHX4+moSM2wegYf0ectGiaHE3jRXQjOIZCPTNV1vh0jb6k3b8OA3EVnLhKa90i3vlt5UV0LvRzYlMC1q8hbMsxD7ME51+ZDI81CVnlAr3nw3GqJ7LNkDA5CEkHIg3vYxEF46AbPvOMFroKE3M7/WEUT2oPRNjvCoc8uKRZRtg6hrcbciSs3MXr/iu9eC7jDsn2vjIAYnH4dSUIHFetRq8Uiza02C+eadLVD06IbtRhONvTq4kNN+05mQORq0eoyhLCy2JK/qZl+nOD6b7phlH2zP53gpD5AR31bco432Xl4S/+NSiePPU0sAa1ENWTmuAf2I2DHTBqER42OSe9MHVGaaWfcQLjcFGVg9ykBID5eDq8XiufWuJeeFlaQo2n7x8lfd2bfO2qY3TEYRx66oGhujDvrvzRPa2NviLP1O75V/tIX8vdLbDrwWS X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2d978561-7106-4079-9201-08dcf30d0b34 X-MS-Exchange-CrossTenant-AuthSource: DB8PR04MB7065.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Oct 2024 02:47:32.9447 (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: OsYDJZFjWxqy7FPrZM2aHqFnnd5fEEtuZ3FBuQKgXSHfFMVkid7fgDxiZkFquc2roQNLnYK8Dkqov5g7EHebdw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR04MB9216 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241022_194734_527580_28006B70 X-CRM114-Status: GOOD ( 10.65 ) 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.MX91 has similar Clock Control Module(CCM) design as i.MX93, only add few new clock compared to i.MX93. Add a new compatible string and some new clocks for i.MX91. Signed-off-by: Pengfei Li Reviewed-by: Frank Li Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/clock/imx93-clock.yaml | 1 + include/dt-bindings/clock/imx93-clock.h | 5 +++++ 2 files changed, 6 insertions(+) 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: diff --git a/include/dt-bindings/clock/imx93-clock.h b/include/dt-bindings/clock/imx93-clock.h index a1d0b326bb6b..6c685067288b 100644 --- a/include/dt-bindings/clock/imx93-clock.h +++ b/include/dt-bindings/clock/imx93-clock.h @@ -204,5 +204,10 @@ #define IMX93_CLK_A55_SEL 199 #define IMX93_CLK_A55_CORE 200 #define IMX93_CLK_PDM_IPG 201 +#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