From patchwork Mon Oct 14 18:24:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pengfei Li X-Patchwork-Id: 13834067 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 244E7CF259B for ; Mon, 14 Oct 2024 02:29:31 +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=VdRy/cGz1rlLd/QngPadPKRazaOghqcsrt6SN34Joro=; b=Gterfnl4EBtV6SvCwtu5/m0S85 POeGLR6zDdbiYkDPRa8lrEWT2QRX52kCCilm6W+wW8/OuXx/5xX3PfO0qfPRDMkbaVKRldyfAUWmE iEuO/JgBGa9clgqjJeOj6IHOPZf5pDaZiG8Pmd7dIpF+MxcacnVRACni1USdkqQLziY0RpXoVHQmZ Zg28lRmUMRWGel4lNc+Uc+1hJ+KBW951kUTm+BikeVC/iNzxEeArEAQb1OekhqjBSaYQlaETToyR9 zFjbdI+7TU8dig0AV7oZnxvIRSggJsPNlKYDHpFObNFT0b0/DtM5SDO0PouymbaeaP0AuC/ViXaN/ ne4qamVQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t0Apm-00000003YPS-0c62; Mon, 14 Oct 2024 02:29:22 +0000 Received: from mail-am6eur05on20600.outbound.protection.outlook.com ([2a01:111:f403:2612::600] helo=EUR05-AM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t0Akb-00000003Xim-3HYT for linux-arm-kernel@lists.infradead.org; Mon, 14 Oct 2024 02:24:03 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=qX5TiKszfGI9A8QmGCsfKh6AfDFifQDpd1O0jgjGe9zGGrK3e76+ZviqdHWFrvaUjH2PocnwMsH1GZ+b3TTNGPC93ErdkifFzGdUirYzFFpAC4funRTnBpcIf9A7eEKXGULYp5uyBF7eLVoqBsnpBXyTT6FMCEK+USYSQim8NuH9ltPpkVAmpmFx0Sjw+supK5dUprJkMFkLMoecmBrWBYo7VXRMpZOxqbSNQQfU7ORjIJ8UIogsPoZPsGGWZtPVRtM3k/uJbbvlp5gr5knz2iNj4XUfhuVhFxeYH4DT+AmIIPfPCaQojLPvouhA/83VmR/i7uzaEEN0i5ZwiFf7JQ== 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=VdRy/cGz1rlLd/QngPadPKRazaOghqcsrt6SN34Joro=; b=O4QbWBmEpUhgw0K8DiaEJaZNLPp+PWnUZh3L7G8rEpYmHLgwH0d1mMBO4mmO4RB2LTbpO/RhPQ4Xs4Tv/QkOELARosr1sO0n4c5Ltc+wceqkW31ngXARjANHq4GCxhBNpvTyp62dKMQM2DtH1Ow8rE+e5EKJhZE58uvBDiZLOu962t6PzRcCeIn/pnuJvOR2U2zFK8QK//i/D6LFD1IkpWGBdmb3g89t9jYJGKp016jn9qB11TAeZgFtyi0haWkGmVnS29f3hPXUTaEYJG175HV8tRpa/oxBPMoXHy+Ww4bs/F2kw3oq752OEZwkOlim5XUYaPkQImUMd+kV+KQF8Q== 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=VdRy/cGz1rlLd/QngPadPKRazaOghqcsrt6SN34Joro=; b=CkK1bDklPbErPxM+YCfIJT+7pooLySo2MERuQVHGLxiBZVUnzPtolbME1XXWKeWYMe5n0S+ASdbUkGzPfyu8f4HxIDvugmz7eMTePU9EvdTQsJJ1LPs0013KYn8eV7mrQeFwTeyrxZ0Uq8idV2YTvQLemfiV+cNkwWeOJz5PWVQ6mInaKdGaPCMPUGKSmwuN+mOne7KzHDkT6ZPVDVQZVMGTPlBujmvHn/gFVPFZrRQ5cFJyQ+iDKgeqtOIKX3u9K0fxQN/wYDSf8pc3tNqUKWIlTf2wk0RHV46pbztD50Zi+y5Kj2LCVB0ctQNWVtFkCz2C+aQaUh6gOFSdBtDAiA== 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 DB9PR04MB9378.eurprd04.prod.outlook.com (2603:10a6:10:36a::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8048.24; Mon, 14 Oct 2024 02:23:56 +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.020; Mon, 14 Oct 2024 02:23:56 +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 v4 3/4] dt-bindings: clock: Add i.MX91 clock support Date: Mon, 14 Oct 2024 11:24:37 -0700 Message-Id: <20241014182438.732444-4-pengfei.li_1@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241014182438.732444-1-pengfei.li_1@nxp.com> References: <20241014182438.732444-1-pengfei.li_1@nxp.com> X-ClientProxiedBy: SI2PR02CA0040.apcprd02.prod.outlook.com (2603:1096:4:196::6) To DB8PR04MB7065.eurprd04.prod.outlook.com (2603:10a6:10:127::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB8PR04MB7065:EE_|DB9PR04MB9378:EE_ X-MS-Office365-Filtering-Correlation-Id: 3860c62b-1c32-41ea-8628-08dcebf7413a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|7416014|376014|366016|52116014|921020|38350700014; X-Microsoft-Antispam-Message-Info: 1lijnfHFkaxKaUDhpeZlPrH/QSjI6YXnVJE45bKDCyEAfl24Gi4znvChVdiA5hI4N93V42ZQTTdlxgBhvsHwEwQ1xhuyatXx19JFo9S6tESS/mJt/tIzTZW1cCRYeA8UaoXXgU3bdLd90mgaDIGqymzGPPzjzKw1vJv539VVYJyBYnEvULUPQEftSjnZx2vRM2a6vo9mvuV/2lOiCZ+qQu6pY8DunZ7+0SfAeuKZqvBcn84HXLoH01EkqyRA6fgccJtoIm3azfOsZNhvwyyvr5sk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5DMET0wm9pPNQ= 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)(7416014)(376014)(366016)(52116014)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 5VbHmKEPLTyovzgYrW5AuFxYK/m+4c2BnZ32whW8TLmzZzNyEHYDlFGStSpr+/Cc7yNE2xl7vQMuZAZeDxAqN5S9wUlN2xuQAptMDMdexhzzcI93qjHPtaLcM2bpaibxDNFKADl0OT7Zw25NLeOG7UY4/ycsPiqU8wRIHsSEGPQ7o7NcJZkbJr5OquDYfKm4L/ygtXF+DiUNjyEnBJKL2s/gg/WHMnMrq43AoVIbCP5XWu7ljdv9iQw1lXr6AwG//C3CVhQhLKLdkWlYx5ff+Zj/lVPXNwfc+oWAR9DUwxvibqTJsP0ZKcIf62YqCsOZKrJoT9x6Zi1l5MveOEoW/OyQPPJk8ag/0tXlbrN3YIAbJZc31Xyy7LzNn3vYprDAcDVwkMxP6sB0uk2zj/msdYmks/A29Oau5Q4/5/7VhYQr9+MqdMlD8jpI0/eXNu02XlYHkBw3G4abIqXrM6eOfNFceprfJWXsnU8Hk17jkFMPFDxXIEEYokCP6+vEjNDv85jRGVmXfIwOznhY0Nh71sFFcHGJCi+0jOmKJxSHS3vpeInUjRyhRQ2gFaPhj5CmMvl2m1rhmH5/EtqdQOfPsU7z/XGaTTxCNuMWaWp9NOgA753CtdS7XAYDtwFBgjX+pe8YLI2qeqXVqPXxqCdqazmv1XB1/E/bsgkUWQQ/KTFZvUg1DnkcdMOt42hvn21x5iur6UvjvHsECBJzSr7Nmyvx1I8iqnVR8tC7GY5lz27nt3Qp+rGFs++6o5MOM6szVJKXA8rPxihtIy2du255hJmgk5upNlglbkab35o6dMa+yfBmkW/uSdCXRZ6bMPgWY8ueYWMAUXIR4OBbafmZJ3D9Kk1DilhdVYXsolCouaIayf6Qw3QpU+17A9sbfLSvAX8ilP/xIQvt+Bbxwr9TKwwmHUXE/r6uuaAqMk57iLYeW62Gk8AsGupZ8mB2HeySNfFj42kH2UzRVf+gkKtUJRihT06GtQ0sWOlCQBfdLz0kvoXJ5BiXer2cx50HN8KbHxks0jPjF1Jr5UX3RSwysZV5XUHtvEZHTCrDbDsjXqj6+3yrOkHKbd2UkZ81yAxNhe9SiCbk0FyrvRkYgiehcbXnTTCnHf3XRU3OoD0IbLnNRHC3JvWN1k1YxVY3QF8FJeXj4Qon4UoighZQC4EOR2V7pNTi2DtVHHHsAzO4tM9cMwNlGLGLIVs1/m4DQdxUJEOc1JiNQHYReHdXW1T87WEu5o0cU5tsnDMPuSydWPXZtF6TF/1xaPBn0K+s5V4vIs/vqBcoKByqmhj7Z6XnHvfRE8QitLf9V5YqNY9rHZ63QqATKUv9qRwVECVKQ22Y8/sMVr1cU55al1+7pH9gm5qUY5Uf7Rzvn51JKB4L4c2o+0Zes7SffcKxcXqEzDIozyFlSFrAjatXj1brdKOtgZmr5197d0E3g9LYkVAAp7l9mziEcIxaiZog0yVHvKNqUCPxlBxH0LboVyZ3LpKJ/8Ow1ZGzgwQ96MEdLdaxRXye61zE0p+NolJ00xD5glgBwAhfVBPtHAq2srY7sw2jNx6BkgvPu0+fJOBq+dDiTz8XcwuHKy/7L+syKKm1naHs X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3860c62b-1c32-41ea-8628-08dcebf7413a X-MS-Exchange-CrossTenant-AuthSource: DB8PR04MB7065.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Oct 2024 02:23:56.6109 (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: 7NrZjCPv3nS4jcx9PPPwaR3fpSNLnS+HMMFND1BiV17yuURAtrSxdwRdsQ61RSQGkcUVNk2TebHuhMqtox2BdQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB9378 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241013_192401_845451_EA150348 X-CRM114-Status: GOOD ( 10.12 ) 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