From patchwork Thu Oct 17 22:51: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: 13839512 Received: from EUR02-AM0-obe.outbound.protection.outlook.com (mail-am0eur02on2064.outbound.protection.outlook.com [40.107.247.64]) (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 467A91C2317 for ; Thu, 17 Oct 2024 06:51:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.247.64 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729147887; cv=fail; b=uWmomQEaCC2XOI1smYW7xSJqwo1aoq3rY5mlskqI3L9e1odDTfXK/GJUTKd0BxDsllYZ7x2v50Nqe36wZDnjxXqwa2CwaJzrWxBNH8CzTJO2uyEJxZUJchbHyA7JS0Ku2h2duWjBSvD0VpfCXFJ4TejOxevZcFyVdY6YoVOpp1Q= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729147887; c=relaxed/simple; bh=y8Ppxl90zorPlqLUk38jXQH/WPGiq4hxJL6TkOoxBgc=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=EK2siO5qRou4YDgf6l78iwKuYnZHrcduSOB5Amii+5KTaCAuXIa0z2Y3A7saHoI8AFXdjCY5sqizWq+aeRm9USglsb2yKaHHwq2BSMiLS1OCRwQB97HgXCpTaoDQUzcA06yQuge4a69AuRQdFY7Ai6Z3NF9W9/IyM9OsHLP7biM= 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=SdydwfLG; arc=fail smtp.client-ip=40.107.247.64 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="SdydwfLG" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Vm6ckfTWMfcmZIkyapzEidfPVExtG9FFp3OMgfHBbTrqRQlXH8a4r8hCkCX8NNHYaH5tE3tbtgXdp9KWfzELSy4wAQ1uyGSI56FcC493hiFwDfnJBwIZB4ef6K0ALcHC/Vzwn0cDZDSv9rksEnSLf7fD2GvzpivFa9DG0h6wDZF28AWnil/MWKg4WmC/UgdR79QRaNp0sS+xtfmUhSziWUupfq28T271+rIUXwV4d/mx9js0j3wGj48Hvm7dUhMlzGRWxUkUlYjBF5FuZeTROfHzBX6UlKlmeza/hrSj6+PltxOc9wmdQAd+aHQQscB7G83lG1q9A9nE1YU0X6brTw== 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=co+XkK1TcQij8G2Sj2LJcwLXe1x9h6XyQL3+aWe1JXKKcxkOxNgAzyvNV2MMvLYKmfZ7pyeylDv2o3ssuoRCTk+c9X4kuBL6vNm7MpSh/1PCK88b9jGFJ+LkrNy8iHQNTaIdbAZcFarvfqrB5so+Y523/+Yf2JfBouQNoMWoSV5fD+GNkmBYf+wu+bvOQGQintdH9nmcs3JVQrpLhpPf2tn+fITBLYvkzs2KzD5eaXFXukHmJQ1Cd5qWfz/RKRe4Q0Tw/yKEDDFyFG7qeflQhFu93muWOOYHgfzr48OtiNQ51gCuO2ijPjHkdC4NiSLBEXfskWZ2HpJqbGSj5N76mw== 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=SdydwfLGWbpHOHUwd2rDmDu6tOXEHdFl1TzVn++xe860OP1yolpMrtdJNgUh86jJqsvbJxYvW9xvEFlvQKjWC9npczVyg8HU5yU/HR6/pIHB8DZVnpj7MLH5n88XYIMW84JQGwNWXq/GcSB/goUZt5DTdZjRv+c8RVoyRpMBnqBC986Bqo9X1WbRRU3A/EfAq0gvTse4uAa0oDhXu2N9BDXd8iHx788NWYS+lAnjOrJarKxegTKkCwY1vuDOke58jxRsphaz1kDWFkXlHP/sRwlpdxgyVCcblknUH2QtKTEogVo8P1b57IJulRA0ZGJ/18h2TtGEo1YfeOUb+c84rw== 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 VI2PR04MB10148.eurprd04.prod.outlook.com (2603:10a6:800:224::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8048.26; Thu, 17 Oct 2024 06:51:21 +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.016; Thu, 17 Oct 2024 06:51:20 +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 v5 3/4] dt-bindings: clock: Add i.MX91 clock support Date: Thu, 17 Oct 2024 15:51:36 -0700 Message-Id: <20241017225137.1158924-4-pengfei.li_1@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241017225137.1158924-1-pengfei.li_1@nxp.com> References: <20241017225137.1158924-1-pengfei.li_1@nxp.com> X-ClientProxiedBy: SG2P153CA0042.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c6::11) To DB8PR04MB7065.eurprd04.prod.outlook.com (2603:10a6:10:127::9) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB8PR04MB7065:EE_|VI2PR04MB10148:EE_ X-MS-Office365-Filtering-Correlation-Id: 1792b837-6f83-490b-a131-08dcee781bac X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|52116014|376014|1800799024|7416014|366016|38350700014|921020; X-Microsoft-Antispam-Message-Info: SSWqSZSZ9FHU+D1YeEzb0z1L4cVhLrCAqJeqiGRbNIyCYWYLlZP91Zs4+3t68hrk3vgDdwHGuZPuG0UvaRzJRKyMtDCGXzUCIAEFi+sXVIV/AgZk/6mFaEaPQRhp8F/whK+m0Y73wzouOfQIx0vXAxbVs8KDl8ZNEISIOe5QCB8RNp/sZDcRhO/QL7YsCQJWD6lQ3vO0lNXcPnkbUd02i/7RBGA4rfMYq+qLYJCCgxMsCuPvVL5KbpGiO33lBUZXdWGFVO4I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XSuwAvF07N9jrHWg61S+Kz56knMXnvNHcbvu9ao0V86/0q1YiXRcAlaBY6sY 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)(52116014)(376014)(1800799024)(7416014)(366016)(38350700014)(921020);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 35gecdnO0AkyhbcSMi/8+/mveT7e+wtg7bhK3qxx/54zpDHuRioWQUL61PEItik661k+AhsggLBXOhNs0F6Y+luPaFu2WAC1m8a752aYsrAXUVfecOwMkRPsw+xqdilzgasFLzXQWBHCPehAtoefcWc6dWErxilb7SGSZp3RTT4UkZ9PrHBw5wubQpA8fcty89xNB7k+uQwcQClnI9QG/fPtOvUbJxj96nBFQb/Rb1SpI+MySkRPh28FvVmuggMOUaswXVfnzFuK70wzxEDMfaR6JHggfvKMkSd450zt2k/dK+nibZAuaqU94DzBVdhX1XjS24dQ2MQpGI/Gjrjo7QvU/ouVOuVJBd4I1med4wBseaxCio5PkNyRFKo64vdA5uTcHrk9gU9DiXsQzj/Tli/C8bjzwhyF9E/md0plHuxI2fb0tpSZ1G1VnuYssPNPefGQmnTpmvsg0w2JLa4PJ24oV39gVMVOJSZtZqlWhjssCX2LuYh2z5+UBuGuaOAlaNf0/6tP8IPr7wVm5Ti342B49LhIblWrbiEOdGpeIdjTpVdjenxNYA2ybY0w1EfDDe/GLz8bhEXTjcGoUbxJXTbxQ5tGJH0T35lnmWjny0+KlnhQPiUxVUaSuu/JMzSPj4gJt2f3LOlMTJp/c8HpNusttHjcnEeKMDTVqgvn3AyYbUupegm5+Zh+ae0VYaKw10GdRKw/d/K6sNJn7Jfh7cPifBv0rVMdEGv7MqWihXf6/eQ9MQBDN9mmcgaf2rRxjGVwMD0/TsZCmqFgX5l7u3aRyjoy5rP0VMWip7wg1jLLoUd+s4XNjtou7v7cFbnkUJQX/dVNfDa1Zd9zN3vZWgghd4zoHWTU369CJZhFoDoapCNYln1v43NkA3WHH60TwFbIuomuTIXwiTnaioZoHB4T+tAY4jY2cLeDdtma6X6CV6BpqYxQgHAZmVD/fVL1vJ5o2hx5AxeUqA33HBFmHBVF3GYydPb429Q3VZX/DuJ/PydlIOEmhXoaWAg520ibjQJegmAaVWEiccX+OCyE/vDbku7r1h/Q3dWis4afg+XXhrB13CvtEFqyuEQ1gFF9XfGW5SSJDxuNANo4UMMFCeHTpLKeV+4x1A4EyilNUJjicsIlxC8z3gPsGtCXWXhYq7jEGdmRyv3KW80LeByuPkI4g6PKTRxJC3OlbnWlMmEjehgB/7bXm0KBc7PQRkocvRNFFAD00GDQOQJJs7jUfx0ZkJMUU8g6+A+uZHhGBDqNi0cqkcUXovai86phb5Su/QgVT4vgAKZnBjQ5YbwdcYr/RHO7ZBAVbJaXMsQsuANrSHsYW0RW4Cmsz8pNuxorfKk+ViU3RVKh0kGd/kuMTOPeKVs5RVSOJ2QJuaIQwvw8EFuTr5IgJOOfqmHRRxEsmtHSmKAL8RsNlbcEuAvPiurT1F2cpC+sSuiSEFljmPKp3J+rbUxi3Xfe+8lyoMWSehNbRjcYXxvD1SAaqQfo5kFLzMTndqWOFJi8bGjpk4u/IwpY2+vPTtYDnWIDTuN0/5ZajionXhpfcj5FLI4ahXMwdZTt+lBYVhuuncX2t218rFCwYXU6qUIbwsQ0I0Sg X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1792b837-6f83-490b-a131-08dcee781bac X-MS-Exchange-CrossTenant-AuthSource: DB8PR04MB7065.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Oct 2024 06:51:20.9122 (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: J/GR/EKMqHU0VewwMtUGVXhLbp5A/KkDAN2YQ4haA8Nf377LSx0BQ8cuSfRZ7nlUek5XogLLqQrvp62FMT2JhQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI2PR04MB10148 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