From patchwork Tue Apr 16 15:26:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 13632055 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 5DD3EC4345F for ; Tue, 16 Apr 2024 15:19:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Cc:To:In-Reply-To: References:Message-Id:Subject:Date:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=she77zA5nDu1vZ6r3FOS8jPWl2BgRlIIU8JOZjJqR8E=; b=JJQBPvri9260PMH3GIBIZg7CNh VoZOdbls9ShNHvzXpmZYK8tLC+LCTPg05FcNLLedPvElZ9Y222wvyZK7CSMpF2pSPNfe9RJjJQpUZ YcPbvzoaKuvPZtScMYYMYVsNLsZBSSfV4wwreWYfd74xRTcqLkh6Mqgf0TIHTS0NmoJOfxsG5CzpA wXm09dn6BaBHeG1G+omSXD6WFLmQICaoVDhalbfUgLFPnjXRBMl4+xEO6USB26Cfln8qwco5l8X4E bkW5mmmOJIhtObOAi6dzRHuFWusDP/4BGNJ3OTaKuRihloWRsONEDxD/FAwkxQn4X1QXNohMAiQ94 nR8EWx3A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rwkaQ-0000000CiRz-02BG; Tue, 16 Apr 2024 15:19:06 +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.97.1 #2 (Red Hat Linux)) id 1rwkaM-0000000CiOC-2SE5 for linux-arm-kernel@lists.infradead.org; Tue, 16 Apr 2024 15:19:04 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EO8l7EVh2zdMqCfNE9rr19CkuWODpxuMwDGUsRQ9xYf1dyxpel5eB6o+KC3fRxOZUtVSWjOVPEwDkkImV2lVmU35kT1xzUum6Dlgd85QF5cJIEa013N3k+UjYPuzJC76sth6libC2ZDbxB/+lAtdb6xJsy7E6x8VpYWmyAq0Dg6lhMBEKQVGiksDqcXli2L/a+ZZGhmZi9fVG3t4B7d8xtR+JmqEhQjdNdtan97o38nNSDKz/ycyqCJgIpzVb9D72lk0YTQBqHl4/vC+INirw6LUXDSh7GkvFR1xp+/AitMcJwi7PDCPguXf+kNSsnyo+N3eC5DGLyYnRlltVckcBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=5W7NKezwmELsSFrjWyw98/PaLrZg5hjO5gaIBymVc2w=; b=PcvT/iaE4vGT0uTbV6E/UIbdTah2/0lmvcE3SS6MvQBLiKdqNgCendTKUePnIGJ92tZ3pn2NbK7aLYw+/QKHq59lYUecvsW3NLb+Ywt6vZhsOD93BDi1aafLJ5WsqS9w0UCYs1YdBxmUqgiVipode89aLo0bAjAInOqxb9av6bVTcczoTlMCLIU715UJvtajiiTdU7SjtBzNo84HKmCZA0UW5/jrjyTw3mWNBQCxjUwAEoFzma23VPWHjGLqIPGHvz7cRSt7kLe03awwdR+y2W2T3UXmzQT6piso/zGlCF9hgTO+u9fK88f0a7uR+/REMHGhL3QbNIDbJBRnUjGKiw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5W7NKezwmELsSFrjWyw98/PaLrZg5hjO5gaIBymVc2w=; b=mVJ+I0XlKYcLUB4d4StS6+lxkFrqptMkxrmZWVprGBIAq5losx1mx+y7IVjTqjPeaYremU7CIjFu8sPvT5Tp53v+/zZXm7F6g7UUvQqe7IwsdNh3HYF428KB+fl9nw2HpWIPL4PA867BxJQh9zU74CvgiGsQSwLO1t4JySndDmk= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by VI1PR04MB7039.eurprd04.prod.outlook.com (2603:10a6:800:12b::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7452.50; Tue, 16 Apr 2024 15:18:56 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::d30b:44e7:e78e:662d]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::d30b:44e7:e78e:662d%4]) with mapi id 15.20.7452.049; Tue, 16 Apr 2024 15:18:56 +0000 From: "Peng Fan (OSS)" Date: Tue, 16 Apr 2024 23:26:37 +0800 Subject: [PATCH 01/11] arm64: dts: imx93: add dma support for lpi2c[1..8] Message-Id: <20240416-imx93-dts-4-13-v1-1-da8ac02e8413@nxp.com> References: <20240416-imx93-dts-4-13-v1-0-da8ac02e8413@nxp.com> In-Reply-To: <20240416-imx93-dts-4-13-v1-0-da8ac02e8413@nxp.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1713281223; l=2626; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=5oF/x8PxcPbwIEPx68AVDmK3DdSghfjUDifVdGG1b3M=; b=YIIGhFctfj2jzStz9MY2S+slgtBqrD2cO3DF8ZbppxW2fOrjBdfeaG0bIId4JKpUS/sSzgO2h D8dVwEdY9WWCZ7Q9+fENnYcMVovDhUvXcxR19LAbYNO0nUENz0tP5Gw X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI2PR04CA0012.apcprd04.prod.outlook.com (2603:1096:4:197::14) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9417:EE_|VI1PR04MB7039:EE_ X-MS-Office365-Filtering-Correlation-Id: d213a94e-3c66-49f8-16d2-08dc5e28887a X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: bV00EfZv0E6NI8ig3tJ5RP6cra10WmX/08d3oXJO/zp3u4Uve6CzXKCAqYq1jUfeA5+6aQTMPXqXOIxQp2DZ0+7olCBxJBuQiKF+HP2EV4I3Xr6V3/Y4OPLmbCbiXo4+CMV0zx2/TmtrgBFyvWsv9LK0lxAsfAfdcZfWgU+H0SAYvQHR5JhejcdJyCEMzZonqe+B9RwvNfOuR5Mqstq9aJmRmJuDofqdumFyKa/Wg20ZX7FDj/yC9vdTf8WaWNwo/rSngLJO2oNexyUmmA7zlKppMb1U6TpO7kvUP/JAjNVuA6sl/913qEst6Ilom0tOxJvah2aTjDIYiI9wMEkvsv6pIqZLP7flHpqcrhaxXnQpsjpyndsqeHqF6b+DDMBneJLzGsjxhRDJuQGH235mJHwvfrs+HJ2I6j2IwKLVizrhjgV+Dq4GuJM+hGSqz1W3FN7t2EZ6hgK9juUgGGyXKmvRDAGp1cwUu/qLqwikw4n7HMzqz1V3nAABM1LQI0aW+KwStX47nwlwU9C+n9tXwLCiXYDGacIPsblHyVnA6tFBMDDRy7qqKmjKWcKlaeGGVgSHLSadduJiulMCGHB0KpPtjjZgMN6gfjIAdwSU2GeWoIMncwJxWHAnSxHgFHL3EwL8QGaJd7reeNkL0s1lm1wvFFlC9m9TIkMZrSXdxMsFeS8Rj1sXg0MWmxA5z8+CmH/ugiXFaffjoB/cKDA9zAxbc/t3J1oHGiskPgZm0A8= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR04MB9417.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376005)(7416005)(366007)(1800799015)(52116005)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?dMU8a93Bna/3aG2Z37/AetR/fDzA?= =?utf-8?q?OvLKZQmBA4qfbpZ24nN5TrOEZ/0V/RkIfG8MeZI44RXqdv6upw1SIOYivcN7F3Hv9?= =?utf-8?q?xOU7QdIchsJzqdVFmdTflMmEwCtURrBUevZMfby861mzDxx3gBI5UyP4yRHmfhxk4?= =?utf-8?q?eyN9TBxqYizmRHaizJzh/DGAiahVFXru6cSu8/hbW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fnqBhDRPH3gAGmQT?= =?utf-8?q?kJRGfCirgEtgOuBczM+lyUSY3mke9DzusH0ANSi4jkLVzBQdShz+Jhn6PQcEyb/E8?= =?utf-8?q?JbVhL9VfbZyVCH959eNyYh1KyG/+11wFCKQ4isVKaV3gfrCfPeKOpUJ+F2buD3ABG?= =?utf-8?q?BzewOnkjXaU5YYuE1+raBwV6TVDnb8iPfyfl6407luHnwzz0ZbqLAm9KA6Y/KqiSj?= =?utf-8?q?rU84eoL3yHGeS2AS4RsMiqjHi8PK73YcRd/CsY3wKzAnVrePS+x96+pVpXy9Pim7q?= =?utf-8?q?nPdO7472uHUJ85ROHDmyLg4ZtuaPYhn48hshtCJ9Wpm926XpEXj0I8nO0l8LymlqL?= =?utf-8?q?PiB19yx17jqWov6VHbEFjBqddUw7yXgaqwk8FZ+Esa2FnHxYIC6aa0JnBuP9Ikg9s?= =?utf-8?q?KtMAxk7JbM/lqPHZHeg+yJ/WsQFG2oJR7N3jt5FP2xIeLIUYEGcBKMPxYKJQKQ8xU?= =?utf-8?q?ZQJHHbY0l0J2?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d213a94e-3c66-49f8-16d2-08dc5e28887a X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Apr 2024 15:18:56.2901 (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: 8ZrRFq3UDlA1yrj0gszAepwV3zla5bhVCpOW7YQxbYRxGyZCgX/kB5HmdMkUi0QFiYNcAQeq6/5bEz0oyuCHHw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB7039 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240416_081902_762489_CC695CCC X-CRM114-Status: UNSURE ( 8.80 ) X-CRM114-Notice: Please train this message. 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 From: Peng Fan Add dma support for lpi2c[1..8]. Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx93.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi b/arch/arm64/boot/dts/freescale/imx93.dtsi index b8ef9b938856..5c08e8787989 100644 --- a/arch/arm64/boot/dts/freescale/imx93.dtsi +++ b/arch/arm64/boot/dts/freescale/imx93.dtsi @@ -316,6 +316,8 @@ lpi2c1: i2c@44340000 { clocks = <&clk IMX93_CLK_LPI2C1_GATE>, <&clk IMX93_CLK_BUS_AON>; clock-names = "per", "ipg"; + dmas = <&edma1 7 0 0>, <&edma1 8 0 1>; + dma-names = "tx", "rx"; status = "disabled"; }; @@ -328,6 +330,8 @@ lpi2c2: i2c@44350000 { clocks = <&clk IMX93_CLK_LPI2C2_GATE>, <&clk IMX93_CLK_BUS_AON>; clock-names = "per", "ipg"; + dmas = <&edma1 9 0 0>, <&edma1 10 0 1>; + dma-names = "tx", "rx"; status = "disabled"; }; @@ -692,6 +696,8 @@ lpi2c3: i2c@42530000 { clocks = <&clk IMX93_CLK_LPI2C3_GATE>, <&clk IMX93_CLK_BUS_WAKEUP>; clock-names = "per", "ipg"; + dmas = <&edma2 8 0 0>, <&edma2 9 0 1>; + dma-names = "tx", "rx"; status = "disabled"; }; @@ -704,6 +710,8 @@ lpi2c4: i2c@42540000 { clocks = <&clk IMX93_CLK_LPI2C4_GATE>, <&clk IMX93_CLK_BUS_WAKEUP>; clock-names = "per", "ipg"; + dmas = <&edma2 10 0 0>, <&edma2 11 0 1>; + dma-names = "tx", "rx"; status = "disabled"; }; @@ -881,6 +889,8 @@ lpi2c5: i2c@426b0000 { clocks = <&clk IMX93_CLK_LPI2C5_GATE>, <&clk IMX93_CLK_BUS_WAKEUP>; clock-names = "per", "ipg"; + dmas = <&edma2 71 0 0>, <&edma2 72 0 1>; + dma-names = "tx", "rx"; status = "disabled"; }; @@ -893,6 +903,8 @@ lpi2c6: i2c@426c0000 { clocks = <&clk IMX93_CLK_LPI2C6_GATE>, <&clk IMX93_CLK_BUS_WAKEUP>; clock-names = "per", "ipg"; + dmas = <&edma2 73 0 0>, <&edma2 74 0 1>; + dma-names = "tx", "rx"; status = "disabled"; }; @@ -905,6 +917,8 @@ lpi2c7: i2c@426d0000 { clocks = <&clk IMX93_CLK_LPI2C7_GATE>, <&clk IMX93_CLK_BUS_WAKEUP>; clock-names = "per", "ipg"; + dmas = <&edma2 75 0 0>, <&edma2 76 0 1>; + dma-names = "tx", "rx"; status = "disabled"; }; @@ -917,6 +931,8 @@ lpi2c8: i2c@426e0000 { clocks = <&clk IMX93_CLK_LPI2C8_GATE>, <&clk IMX93_CLK_BUS_WAKEUP>; clock-names = "per", "ipg"; + dmas = <&edma2 77 0 0>, <&edma2 78 0 1>; + dma-names = "tx", "rx"; status = "disabled"; }; From patchwork Tue Apr 16 15:26:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 13632056 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 61E56C4345F for ; Tue, 16 Apr 2024 15:19:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Cc:To:In-Reply-To: References:Message-Id:Subject:Date:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=pvS0mhCf86zqY2e3aMLhpoCPCZhJ0EpPDvw/73SwIU4=; b=3yZwIIrfykPNOqQ0G+nl+33Ng6 sYzuWM/uuHEO7o/Sgf6iEjpApVIVhY6XgivdsnEiBbPMKRvvhXvyaIHVPhcposGxXYS8O1X+7K8Jv 0Tkmzb19JccYhN/72CCRVDhPt/jnP+eS/BEeLEczy8E2oP1XthUEF+gJgEglmwcmM0vB4+5+0y78H 4qOJ5H1Wgb3CXk3IT3zDRRkDO1PQRiS/s2KHFN6i4ATpEJgYV3TPeVHRk+pD7TJkoXsTENgNNOUgj ZxnHt5KyrfmKTIQQZzHVGRinBTMwDfqrByPVO00IBOjK3E5wuyBEYA+Ua/hTcSuZotw4fI2QoWtB0 CorWR24A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rwkaj-0000000Cie6-3gO9; Tue, 16 Apr 2024 15:19:25 +0000 Received: from mail-am7eur03on20600.outbound.protection.outlook.com ([2a01:111:f403:260e::600] helo=EUR03-AM7-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rwkaQ-0000000CiRD-0w43 for linux-arm-kernel@lists.infradead.org; Tue, 16 Apr 2024 15:19:07 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UnePe5MFbu/llRnwt1SiwLJwxtE0bAG9+bX5v2+07udq0O7Oi7XRvShFl+OQU0qfqEym/TrathgYUmPi/L9tEgBAhiMhflCRVGgnHxYiBm62LQ9PaWo9haGFzGrNzYjLyBZ8o2X0eKSVnHvuF9ldMQxl2EBIzhFMGnhEDLLsdhzqnLBLTH0KQ7qKp3mfjKPQviToGVxf9Q5bxSKg+pZcNjIkB48qXLR+PoDguj1H7iEl8WAtSlgBMWgm9uEtHQQc77Ul5VhRES7vB3ngdxYAsRwNZ/E8yvL3IdF2U9xQb41yJyMus2oYfZLkor3jKt22tE3DdRL6o1kHKHA7wZQxBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=OBCyYSgZ3dbcOHRZmq5b9Yc6wf2ahyedhro1IQOgnvA=; b=CWWbECpB4NtLCSuUr/eY7EFX3eRjD6s04ZOYIO/+jB138IPk6edh9kf+i0ZcAUZv4imaPSWwChALoY40zcaE13xGdtxlOsVATtJJxba9uk0cCkbNJGF7xSiTMPcB7AB4jQHC2dboBMdSKkQwRhhxJpvLJoleS9FoT9UslmCry5GwPnLgM54XE8C0ZWkOo27pCK6/gFJtkskObqsPAU4rfxgDgQhVbOsXR16FesH9U4w0fIc78JMnygO+4T97lEGuoteQtXJFzkmCFKIwm9BXa+i52xbM0GWZuZagehiZI0UMSRGAxmK3Ss9HvWs1Y4r/qqoSA+TFuNcJz5fsgSEd0w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OBCyYSgZ3dbcOHRZmq5b9Yc6wf2ahyedhro1IQOgnvA=; b=l95fRwHjj4D9Fqat7ihWYDT4uNHBUUQ0SpBeCuxxHqVnXUPqVORND9HBaNPw/HEJn9GbwTzxDVTFdIkihdjbfrOJ2ap4t6sfQfgRxUBJ+Ld/LKxglIT4Oi/JOAmlTWKacsgten2MMhOwC5G/Db7fcRU8u9MQqwf1t8rZZqe2/KM= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by AS8PR04MB8183.eurprd04.prod.outlook.com (2603:10a6:20b:3f1::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7452.50; Tue, 16 Apr 2024 15:19:00 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::d30b:44e7:e78e:662d]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::d30b:44e7:e78e:662d%4]) with mapi id 15.20.7452.049; Tue, 16 Apr 2024 15:19:00 +0000 From: "Peng Fan (OSS)" Date: Tue, 16 Apr 2024 23:26:38 +0800 Subject: [PATCH 02/11] arm64: dts: imx93: add dma support for lpspi[1..8] Message-Id: <20240416-imx93-dts-4-13-v1-2-da8ac02e8413@nxp.com> References: <20240416-imx93-dts-4-13-v1-0-da8ac02e8413@nxp.com> In-Reply-To: <20240416-imx93-dts-4-13-v1-0-da8ac02e8413@nxp.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1713281223; l=2630; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=eBviQjjFgEN5lnYsEmqMS0rKXbfK975Zf9b90AIzx3k=; b=iV6D7qnDYiRSplSNenwoiw9hA6BNf+LaFIysCTNHARbKUZ1k9A65FoKbrmxHQkKwIykCv20HC 0II/ANZ7o60BwEexubp00KCG6wMUNcGTsh62FztyMBlIB0bTE3S0Oeb X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI2PR04CA0012.apcprd04.prod.outlook.com (2603:1096:4:197::14) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9417:EE_|AS8PR04MB8183:EE_ X-MS-Office365-Filtering-Correlation-Id: 4c33ecd6-43f8-4f73-7d72-08dc5e288ac9 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: IrBtVg46G7qLmfWyUcvU7YLJZ/ppxluIova2z7IJAWupldWcdbUlbZBG67XeKB525q1LozQtDPdrD3JOuLDagtx+muvMtD8YrCLbhf0UYLQBmFRkNteg787lW5LxFaS9xhaOpgd15D41BQHJoy9FmmW1opJyTPXluXixL4Djhtxvt1B6k9cLMJyZ0gjWN6nbUIHbTQadNc73lUGriT/FuUCjp2BgzJzS5JkjITYQXmmDOeOsKLK8bm4y0iuzrdKj5XTknNX3LbOqHtnllP6AiaJJNJmCYbzMGynt9SvLI8B0wS3HMxLwdNRS4D63uPN6KmX1K6ZTh6QLKcDwjoWMWkOQfTvtXSWL0asAtvEpJPe5YpvEHjj0658I9E/NplCi5gyza4UgteVmQYJLKRn/HhsJLTIuooqKB8jGXM/trmheQa6v9Rilk/Glh2XDJ43UrVipXaThC6nm8AYPpXFuGFq/LH3sXu3RBAG7fX45CHtApbaa9q8csWlRrAXvelZjN+/ZiJIIfC8eHLlX+wCWbCMcwQSNUv9G+Rmg6VYH+AvQ9BLMb3VPxU9B+MQ9F68xM4t9hgc6tZiM9F+djwUXuEO3mNo6E1uJyN4hHmbImyLKPcuoklgjtWlc+hWcS3Z/9nLgeGubxz9fSarwmapDxCEVEah5+kqKmgIWUAQa2eJiJlFT8ZE7sgX3entxnqMQc5kLvrWVJuvGFPhBYotwejjwwhJnFP9AMwCNJ6VUVss= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR04MB9417.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(7416005)(1800799015)(52116005)(366007)(376005)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?Zfos6pmXqPzt9L+r4+ngMyqk02ab?= =?utf-8?q?gO6BCqo496O4PzFPmTp6j1rGR3hgBq69scuEvtBSEHKvSvJf14tFjA4hvl/26Z8cW?= =?utf-8?q?9zkaax8mli2RdCgQmGDIhYNu+J+2W9d8harlLdZmsorTyxstouGAizsw0sZco/jK7?= =?utf-8?q?aZAE/Z4GNi9GD80n2hdnyRBci8ANijE2q99onoDq2+L9vB0mJrsl3Xe5UvHeK/D6O?= =?utf-8?q?wLvM8A7dHMP4eETSiB4D6tdtQlLdIWYJh6s1Qrifd9Uvg+lvHc675ZQ0YyXqNFiHS?= =?utf-8?q?e/cP3t+Ra33M9IcWgzPhDLX+YM5Wm9CWgQ5r9uTPbVS1ccDYTckY1mgX4PrQQCmqL?= =?utf-8?q?Yc4FimlHUCd2Z4e+P/edylRWwW+d71UMFAawAKni5Dt6UoegV1DbSaUgD6xCWXsut?= =?utf-8?q?eF0/1gJaL0T6+M9D1yZTqqv2VPFC5ROlE/R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obyV?= =?utf-8?q?3qvBjasGu3woORBAXtaqQEQxOxOxTLXxSDVVXFJquCM+Q1IaYTI/1Dpd15iHKdlGN?= =?utf-8?q?AqciwE6SCnXdIuisovN413gF1gogl0Ib2HJzrmOB8R0P6ZfD1BDHlu9V585SvV+Wk?= =?utf-8?q?6pqUznYICa3ICIGHM8BdEMCkw6Xa3scfhlOeV/4eN7uV0aSxIS9KZRWHlP21qDYAK?= =?utf-8?q?hQ8SnpS/JQ6a?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4c33ecd6-43f8-4f73-7d72-08dc5e288ac9 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Apr 2024 15:19:00.4318 (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: s9CY+D8CeXwnhvpZfKDe9CwW3wk/KaYKCv8EuG89mZejtD3L7I2PzFMLzYV/C01uOHX99H9he5IHNNx3Hjyg8A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8183 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240416_081906_398562_0F61BBF0 X-CRM114-Status: UNSURE ( 8.64 ) X-CRM114-Notice: Please train this message. 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 From: Peng Fan Add dma support for lpspi[1..8] Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx93.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi b/arch/arm64/boot/dts/freescale/imx93.dtsi index 5c08e8787989..00f2526c4011 100644 --- a/arch/arm64/boot/dts/freescale/imx93.dtsi +++ b/arch/arm64/boot/dts/freescale/imx93.dtsi @@ -344,6 +344,8 @@ lpspi1: spi@44360000 { clocks = <&clk IMX93_CLK_LPSPI1_GATE>, <&clk IMX93_CLK_BUS_AON>; clock-names = "per", "ipg"; + dmas = <&edma1 11 0 0>, <&edma1 12 0 1>; + dma-names = "tx", "rx"; status = "disabled"; }; @@ -356,6 +358,8 @@ lpspi2: spi@44370000 { clocks = <&clk IMX93_CLK_LPSPI2_GATE>, <&clk IMX93_CLK_BUS_AON>; clock-names = "per", "ipg"; + dmas = <&edma1 13 0 0>, <&edma1 14 0 1>; + dma-names = "tx", "rx"; status = "disabled"; }; @@ -724,6 +728,8 @@ lpspi3: spi@42550000 { clocks = <&clk IMX93_CLK_LPSPI3_GATE>, <&clk IMX93_CLK_BUS_WAKEUP>; clock-names = "per", "ipg"; + dmas = <&edma2 12 0 0>, <&edma2 13 0 1>; + dma-names = "tx", "rx"; status = "disabled"; }; @@ -736,6 +742,8 @@ lpspi4: spi@42560000 { clocks = <&clk IMX93_CLK_LPSPI4_GATE>, <&clk IMX93_CLK_BUS_WAKEUP>; clock-names = "per", "ipg"; + dmas = <&edma2 14 0 0>, <&edma2 15 0 1>; + dma-names = "tx", "rx"; status = "disabled"; }; @@ -945,6 +953,8 @@ lpspi5: spi@426f0000 { clocks = <&clk IMX93_CLK_LPSPI5_GATE>, <&clk IMX93_CLK_BUS_WAKEUP>; clock-names = "per", "ipg"; + dmas = <&edma2 79 0 0>, <&edma2 80 0 1>; + dma-names = "tx", "rx"; status = "disabled"; }; @@ -957,6 +967,8 @@ lpspi6: spi@42700000 { clocks = <&clk IMX93_CLK_LPSPI6_GATE>, <&clk IMX93_CLK_BUS_WAKEUP>; clock-names = "per", "ipg"; + dmas = <&edma2 81 0 0>, <&edma2 82 0 1>; + dma-names = "tx", "rx"; status = "disabled"; }; @@ -969,6 +981,8 @@ lpspi7: spi@42710000 { clocks = <&clk IMX93_CLK_LPSPI7_GATE>, <&clk IMX93_CLK_BUS_WAKEUP>; clock-names = "per", "ipg"; + dmas = <&edma2 83 0 0>, <&edma2 84 0 1>; + dma-names = "tx", "rx"; status = "disabled"; }; @@ -981,6 +995,8 @@ lpspi8: spi@42720000 { clocks = <&clk IMX93_CLK_LPSPI8_GATE>, <&clk IMX93_CLK_BUS_WAKEUP>; clock-names = "per", "ipg"; + dmas = <&edma2 85 0 0>, <&edma2 86 0 1>; + dma-names = "tx", "rx"; status = "disabled"; }; From patchwork Tue Apr 16 15:26:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 13632058 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 D28D2C4345F for ; Tue, 16 Apr 2024 15:19:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Cc:To:In-Reply-To: References:Message-Id:Subject:Date:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=5RveGALJ11SsmA5oyQB+H0EP36WBvI7inNoMQaqi2jk=; b=ZREoYfvDs+v6rTiStlKEXDqA2X e/djLhLjHEz0znJeejLeDE1lmAVreEtNnxW8zb18gOOugGqOHK2wYUkVxe7GCJMud3PQw8xXOXNti N4chBtRuBJ+sXtR3C3w12f8QejWQvU8gtHgSQ4xcap3sSRKmuDbaijkfmNEDRbMp/xMB7gLQGoCfJ Sd38YUgoEvqmxIu1JNAHW0/RlNhJCCXIK6MkiBEpUEebc2Oe5jm8lq7NAvB8kR2wJMZqqy4QjrGLQ sa0bdNIYrVv4BJWrKqbDQT5e6SQ3mk1FHnwYgJ7jRLjxOVptxe/v/1ZdZRf4rDOepg3B8z3u3JtMd PwKjzzpw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rwkal-0000000Ciek-0sZO; Tue, 16 Apr 2024 15:19:27 +0000 Received: from mail-am7eur03on20600.outbound.protection.outlook.com ([2a01:111:f403:260e::600] helo=EUR03-AM7-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rwkaS-0000000CiRD-0Zxu for linux-arm-kernel@lists.infradead.org; Tue, 16 Apr 2024 15:19:09 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aH4SqJwMkUOxn0/sUyKWGTaC9H5def7L736x/QIEcoKTC47AX6Xwx1aemKM3zA+jTHwhDwJI5bVVadZCOA5eWcqIq3rf5eEzRXeOueDrDMMix3n6nrO4tlWnME0P7PFWBxRfa9t1KIpdYcfHVuG42QeOdC4LP9xjIqy0VCotUcyEZYHaXeGP0hYuBK2o5wRgg6Oa4hK+hs0uZTrD8iahBk4Wx347xMpY0e5n/PV9DzvCECZqLJo5ZZ9zZpAHIJ92yvf83SjCGlYqtpiUy18qZDHzTmvGBfzwltVYcbk+H3KL1/tU6f/5LS/3Z2eCvslvlXymKYITxrE/JBt174o+Kw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=JKgyZEJN/tuLVi8zm0HzDZF2ertIWMp8rOl19QvQk/E=; b=SulJmD0rmPVD8GdenxA6HZPSUbYJml15hOz4eItuUIxfDQPSZAOm/rN2EZMQQkPYorCm+B/9mu2nmOkLnV9nX0sE2aruivGlYmpWiPox0CeNNuuydAyKfiy6nn4I+85/wgDIzh+0FEXshlDn7aMf+A0N4xOaj0exlnExhLOiWj50x2KNXRmJYHdkPlNVmML/Am12FTHeCSel3uUim/GgSuRiJMDwi2XR5rryaiwZ0XFoX2tpg4wx8k57pr9gOpiX7oAzjQLINI+Ch77N1KUlux9bZcU+0KLaYkyY1J5JyxEQKyvZ0WY7Q1L24wOF7ZLlnaEQlyn9wYPN0/ceJJkvag== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JKgyZEJN/tuLVi8zm0HzDZF2ertIWMp8rOl19QvQk/E=; b=VzeFNnfSm9hkilCoizQ8JFtcHOb1VCUiC49iwmR9d0ViQGgvuNpvXLQQIcwbsgQnfrdSIkWm0grBdGBwRbZbA6XR61wt7BO5b3kk6Df5G0F/IKPsp5WcZFPpZImlRvuFiiIufcwB1e4NtHlJK1N0HpC0ssTNM6dw7gjMVzkp46k= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by AS8PR04MB8183.eurprd04.prod.outlook.com (2603:10a6:20b:3f1::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7452.50; Tue, 16 Apr 2024 15:19:04 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::d30b:44e7:e78e:662d]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::d30b:44e7:e78e:662d%4]) with mapi id 15.20.7452.049; Tue, 16 Apr 2024 15:19:04 +0000 From: "Peng Fan (OSS)" Date: Tue, 16 Apr 2024 23:26:39 +0800 Subject: [PATCH 03/11] arm64: dts: imx93: assign usdhc[1..3] root clock to 400MHz Message-Id: <20240416-imx93-dts-4-13-v1-3-da8ac02e8413@nxp.com> References: <20240416-imx93-dts-4-13-v1-0-da8ac02e8413@nxp.com> In-Reply-To: <20240416-imx93-dts-4-13-v1-0-da8ac02e8413@nxp.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan , Haibo Chen , Sherry Sun X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1713281223; l=2352; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=43TMrikuJPDeKTPwXqNdDtrx1wbjdfaZV735qSE9yLs=; b=4e7sAum6gdSVCl2B4SZLuWPHS4aK0E7Kn9gNuqgLiHQ5MmDcgwLE5ovqWlYuWEcN3TcuIPNbY 7FMaPbchnnpAhDN+MEGwvABNEVVF22mSiaiqQEGFxtFtPXM/QWSpT40 X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI2PR04CA0012.apcprd04.prod.outlook.com (2603:1096:4:197::14) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9417:EE_|AS8PR04MB8183:EE_ X-MS-Office365-Filtering-Correlation-Id: 874f4a8d-7c58-4b33-4540-08dc5e288d8f X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: mhCo2/73P5ak6I1FKyHs820tErPTMhY5kEC3anfL7qGnbW4EdffurA/mUu78Sf37G8vCAsKeQRSQKyt4RhTkkx/9p+js6YZn0sElqBSASYdh5okqbidy8feqBUHB/NcdVS8ygiKYM3+1bjNKsBpMt4dK+YKcFLsPAtzegHHu0+/paEH2StFyOedAaYb26Mc5dfBwYT34oUXMfU7olEbhbtvzIjtWT2pdG0bUlLHPS9V4kpwiSiXI024QDxMcut8KYtEE9ajAyS+0FKP5QIyWvVJd7h2K4U5PBgghwmhXWaKDmSvGhFDxwgKYdqViruiwry5H2LoNHkeH2ocI2GRlKVklLsx5WuxQmHFpulrjpbIVPMltC/Bpwi6pKFlCML2L/EH4MBD2yGUP+1XyZr24XUg0RldxrV2A4GfVCiWQLNMCiIGtRmf22LRuMW6HxUKm3wLgznWSIodahYfWjGz+9CC33or6S9WCINwhIaZzCWqOPd/wznQ9UDcmFMS5NiEkXhSjFE08H4TeURMSDIIqCQLQLXQOKt1eMgpe7zqvYuAJbsP9G7476ppOtlxr2rdrna/DUdYCD/k4TM0PCP2biB+hqODkMjKzWJSeU0N7h9Mjmqs4XdXWSDCTLGc7hJpmpYmCcnY6LfjNaKRGVjZGjNeSe9iY5qYjM0VCeH2LjHp26YyWiTIDXFSyh/7rvoKEnxqxnnwl7Mup7BhXMYASlPqHBUQBaktwwpEjz+7BKqg= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR04MB9417.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(7416005)(1800799015)(52116005)(366007)(376005)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?+/+u13XKXrBUL3rp90vKBwmVarod?= =?utf-8?q?hOkE/Z5J3tOBsTvj0OgEwGmlnSGb8AMoUrrnz/OwbCF6WnY2Hx14bhCEccSfi0JQy?= =?utf-8?q?OvVGMHhVE5tILfyMVECgCnLzwr/raYUN/VvTqFcYFM6Iatd/hMRbf/8s7wgEnFoYF?= =?utf-8?q?CBAg/zANqonOCgwtXvPwxgx6xXD9q9C5xzfLBAaMAjKWyF70F7LU14NGBQ37eFl+M?= =?utf-8?q?7EkWf4MP0R2GZyizTFeHiuMspv9php5YT+h7ejyH6R5Q1dIt5D8pWnadeBYiMfSMH?= =?utf-8?q?krAuLUwfuhwc6b8BryI/4QwhbKwkLwvS4eKv0QaN1J2HKGG+zFisisoS1k3wtseHh?= =?utf-8?q?LoClX2UkyZKqfNF+zVZy1zXUWP/Ebf9cbn65KgFm8BmpXgtKUescOmB/zU83RSBrY?= =?utf-8?q?yVy6r+BiDgpD2POOMlA96V1sOcfYKGP5QUW756JAjxcsBH8uvniWenK+a9puK7W5o?= =?utf-8?q?ptsVOrwXE0q339P2TdBByEhJeBe4oVzu4qnDsKkaB8yjfXvp43gCIxRl/9NTEbDtq?= =?utf-8?q?weh6RPleEaxfmo3Pn94jW130DkY+Af0DnFwEotyN/IIJbRvhFtWPinwiD+lzWatSG?= =?utf-8?q?dQKI/7xynZTFX5EgFcNdE9AvSCRA2LIbGZlArWqZCEBfh+6vS3wVO1zBgpxclPEk5?= =?utf-8?q?CYCpZwiIFKlcSt+ia53GzFmLzxqJ4PynJuRqWlHkc4Lcw8Bj3cwpDEfvuC2/leBKi?= =?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7c58-4b33-4540-08dc5e288d8f X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Apr 2024 15:19:04.8122 (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: CQawTUF66RDK6UWsYVNjaVFO+p6pLCwOdRKOhhxJhXuGxYwDKL5jEUuS1Jub7HnXRjdTpSDRw7PezvsZT3RqBA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8183 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240416_081908_374571_6D63B547 X-CRM114-Status: UNSURE ( 9.24 ) X-CRM114-Notice: Please train this message. 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 From: Haibo Chen 1. Config SDHC1 clock 400MHz to support eMMC HS400ES mode 2. The original usdhc2 and usdhc3 root clock is 200MHz. Then WIFI on usdhc3 at SDR104 mode can work under 200MHz. But if imx93 work under Low Drive mode, the usdhc3 pad signal is not good under 200MHz, SDR104 mode can't work stable. Need to downgrade to 133MHz to let WIFI work stable. To cover all the cases, for Norminal Drive mode, keep usdhc root at 400MHz, then card(SD/wifi) can work at SDR104 mode under 200MHz to get the best performance. For Low Drive mode, bootloader need override usdhc root clock to 266MHz, and the card(SD/wifi) work at SDR104 mode under 133MHz, can work stable. Reviewed-by: Sherry Sun Signed-off-by: Haibo Chen Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx93.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi b/arch/arm64/boot/dts/freescale/imx93.dtsi index 00f2526c4011..1c5e2049a37a 100644 --- a/arch/arm64/boot/dts/freescale/imx93.dtsi +++ b/arch/arm64/boot/dts/freescale/imx93.dtsi @@ -1017,6 +1017,9 @@ usdhc1: mmc@42850000 { <&clk IMX93_CLK_WAKEUP_AXI>, <&clk IMX93_CLK_USDHC1_GATE>; clock-names = "ipg", "ahb", "per"; + assigned-clocks = <&clk IMX93_CLK_USDHC1>; + assigned-clock-parents = <&clk IMX93_CLK_SYS_PLL_PFD1>; + assigned-clock-rates = <400000000>; bus-width = <8>; fsl,tuning-start-tap = <1>; fsl,tuning-step = <2>; @@ -1031,6 +1034,9 @@ usdhc2: mmc@42860000 { <&clk IMX93_CLK_WAKEUP_AXI>, <&clk IMX93_CLK_USDHC2_GATE>; clock-names = "ipg", "ahb", "per"; + assigned-clocks = <&clk IMX93_CLK_USDHC2>; + assigned-clock-parents = <&clk IMX93_CLK_SYS_PLL_PFD1>; + assigned-clock-rates = <400000000>; bus-width = <4>; fsl,tuning-start-tap = <1>; fsl,tuning-step = <2>; @@ -1094,6 +1100,9 @@ usdhc3: mmc@428b0000 { <&clk IMX93_CLK_WAKEUP_AXI>, <&clk IMX93_CLK_USDHC3_GATE>; clock-names = "ipg", "ahb", "per"; + assigned-clocks = <&clk IMX93_CLK_USDHC3>; + assigned-clock-parents = <&clk IMX93_CLK_SYS_PLL_PFD1>; + assigned-clock-rates = <400000000>; bus-width = <4>; fsl,tuning-start-tap = <1>; fsl,tuning-step = <2>; From patchwork Tue Apr 16 15:26:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 13632057 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 2A49DC4345F for ; Tue, 16 Apr 2024 15:19:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Cc:To:In-Reply-To: References:Message-Id:Subject:Date:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=r4y155rqakGHJxmkijvm1y+BsO9tI2R4nO9YxLzhSD8=; b=f9Om+Zk00/sBa2TsvzDHO1leqK CKunMnWBHZxa5frYmq3pSH9UhqfEmNBrp8XOkkki5VUDTp9uhVuFYnO6izO2zVOEDJKAt6F5asLXd j2t3eyEQWwRfxINfnBdnYYk46eZq2ure/0r1Qul+rd3suaK4qL0klrI5x5z7pQa41Ep0PWEBfhUyX aOG7vnvfcBzezjcBU/rpnWNqm6To3IwVzTQcnGPwHgbcbBCSJLQyB23cYzMJE6s4klMn6QVQbl+Q4 Ips/7bQ8JExO9KjZiv/fkjU0IrYInnWkvsnMODcZk8tHgY+MgdZ84HbDMV69//j4iKDiqQu7Q2pSv sU1NSMNg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rwkam-0000000CifM-0h30; Tue, 16 Apr 2024 15:19:28 +0000 Received: from mail-am7eur03on20600.outbound.protection.outlook.com ([2a01:111:f403:260e::600] helo=EUR03-AM7-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rwkaV-0000000CiRD-11bt for linux-arm-kernel@lists.infradead.org; Tue, 16 Apr 2024 15:19:13 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gJYt0I5IPl6GtgvnLr8R1EmUyV+Due/+aq9Uvn+PMuZ6K94ZsHq1nDqpZ/LXg3HKRSkOy7BfO8e5o0tejN3COUnY+tJsC3jC4sUd/9pYkDF+ocbKoxJvZjtK/JUIzbfGb2mGwJExzFuK5RfEl4a8Gnq3OdpI8CQpjI9ym2wXyWgp93ZGWCv6XzA1Vf4DGVOh/l/jqBwUCmNK8Lig2P5EpSuvlQretQv3mOdkGJev4kD9KNMEMa4pF/zU3Y+MlqOod3RZhKRTt9jqYpwuwGYAAqYcaumlDp+/YpdwTw0bf2HVxWotMlLXlw5scnwZtgzhaXDXkYFp5EPQrNyXOjXX9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=PPCXs3YT4FToZvDeU5ULKgKOGkSYbDX4qZUMPu4Sob8=; b=Iss81yyZcUm5AVyTDreb2KOrbfuGvIUARdtwKOLqGh9QPPp8h/fbfg8mfjfIixe9w223HdkvXzSvm1iqjc8TnHllq9jV9f+ZBUUKOhdtgkldYrLG4S4A7WyvrcNr5pWkg07V0iqgpF35JeXW6A0ygKaI0z4mQPAjwYSl2Aupw0oMtfmisontPtI2ZAnoQhqaQmDNge73Sr0iT5noekeG0yy+EkBBJ5UXh/eIXzYMSgX1ghD0lA4e9/s0e/29zyd1DBxNyVzH8N8FJmnYUffZrHq87uDZ+iQK78bywD1sy3wjAI/poPy4YP+hGksmSRGIQFKulOTDQKy3hKdi0OygNQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PPCXs3YT4FToZvDeU5ULKgKOGkSYbDX4qZUMPu4Sob8=; b=hXZ3mtcW6O5HbibrVSh3odAVU4aJEif7vd9jNsaVx0Vhxt8ar6CuVwzo2chTrPWgL88UJo6cHppzX0g194jYE8ODssKcsrr3dK2dv0OiVetP2OIJThUkuBqpuOPzaCyAtGX/G6xlTgIqI3lDLG3CLwuJpGeKHXDB7DaF3itoJDc= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by AS8PR04MB8183.eurprd04.prod.outlook.com (2603:10a6:20b:3f1::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7452.50; Tue, 16 Apr 2024 15:19:08 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::d30b:44e7:e78e:662d]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::d30b:44e7:e78e:662d%4]) with mapi id 15.20.7452.049; Tue, 16 Apr 2024 15:19:08 +0000 From: "Peng Fan (OSS)" Date: Tue, 16 Apr 2024 23:26:40 +0800 Subject: [PATCH 04/11] arm64: dts: imx93: add nvmem property for fec1 Message-Id: <20240416-imx93-dts-4-13-v1-4-da8ac02e8413@nxp.com> References: <20240416-imx93-dts-4-13-v1-0-da8ac02e8413@nxp.com> In-Reply-To: <20240416-imx93-dts-4-13-v1-0-da8ac02e8413@nxp.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1713281223; l=954; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=JLTOuCLoI8j1TNY27GmZ1hdlZ+YhirB+Br5tAz7LGFY=; b=flOSy/Sh+thMPSgc4Q+nyGRzEOAMeUdq16KGeyaWOKD+6K0fd/4YGm/0Wjwn5e7vIlmjFHeRg Mzh6GzU9xGLC/gYcVMBlAzzVea4iza+2H9HrsaP+EhcHkliyg2Gcmf2 X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI2PR04CA0012.apcprd04.prod.outlook.com (2603:1096:4:197::14) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9417:EE_|AS8PR04MB8183:EE_ X-MS-Office365-Filtering-Correlation-Id: 19d92526-734c-4055-122b-08dc5e288fe9 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: dt0Z92JoMxfZwL4TYkaZSCIInccDQAb9kBo7CquUQ89lKcEi854ofYIzHpRBKllU3KQHEx3PSGfTd/3FwH4AOk0kYs4lb/SBTdBvmj/NIGXHQJg6M/LBvwdKyQIfetRsQMTwy4ROqCxqVnlNTrMRvVe/mHv8CVnXU1dOtZ9BmEuP+HHmkAaNwiTFt1Pz4zkYsdTt6vLOTrey5Nr8PVQRem0lPyHhlmLo4fgAfOT8SwFjb2pUoIkFTAdhgDLyk+yT3otrZ6z3g3WA0ayDHGuqsuesesLX2ht26rWAPEfwS09MewIn3pNZANjjdL9rDb+fkdHDy6n4EtLUbOz4XwlTkPQil/Gc5N0NzenOr1J+LE/cAkCcV+deAiQTjRHKjX5VTYnt+Qgy8ASgGf7O5yh6Kucuy1ghbqz0bOyWx3Ezg4f4wluisK5kLh8N+jMEARS8JinkR5KY/byNTq1A+DRIhoq/xcK9pOeJTRXz65NfNMEMGwAWDg5IsZP7TqUD73p8jiWaXS550nEofq2oRCvgsooykZv3YTVPAE2N1USS4V33W0vQl/wO9atWD7ftsBXx7o1/Rt3SVC2/Y/fjl2uNpCwgqjKdYSLCx9+zB9R8lG+cFuHv0/ZPmcZe7wZIhhKfjn7L14pnOV42dMgEl2Bp1dHzaf/+121w+anKA6kjcBH2W48wnHgQ2XcLeYvDbbJfg8jB6jKagUgZlmjj94dvkxcjtlcXOtVB1z0xJzaCyC0= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR04MB9417.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(7416005)(1800799015)(52116005)(366007)(376005)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?1V1ap8w+oz4spNsbH9AvOK+i7Uog?= =?utf-8?q?Syczo88/I3UAANcOsyeI/LLt34aRZ74nOQyc3r021iV2dZQ8e6m3RCSxISRaSd4lv?= =?utf-8?q?2cTipHrwcNNynBWa94Xx6G1Ok9PrwPU4jTYXBSS2Lp5OOwvN0US9lbzyW74L7pTpg?= =?utf-8?q?volMUOsc19DL+egTMFDzqVCWzWPOFJdEX1w9o5OxG6zlgU19+9vD8v5FIMxk/tOYj?= =?utf-8?q?7/fSGTFkNx0CJhyD8giLmI3XfgcuKxbqVfhj9ZiG+P/U8bcIFUSx0Hf58+xaet6kt?= =?utf-8?q?mpQM7kqkpAQc9MgvJr+eTbDgf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78IJ56NwPDCVvvmRGi20cNzALqUMlM8?= =?utf-8?q?QTqRCq+D6DHF/t3LraFZl3mUybP38DI2X+2JUxk2lIGo2v7swREl6PDkSkOpr7gRF?= =?utf-8?q?Y2FOIzwOpdyTotHTyt4D345EtcYHcTKKzEVA/lzvKxYJituA/ULoGC4YhsLpue/Fi?= =?utf-8?q?d2oIbnw8S8A8CtmzH6IujeenaEpms+yP5q9wZ2398Dn5j1+GErPALOAenZQFzZaqa?= =?utf-8?q?ZJlJzKc2NtjImeekUgmvdbBb1abkjsGo0HtIqJFwcwJbvfqJrb/fzlQaB1hYekeFo?= =?utf-8?q?VzCrqTgdg+Uows7Q6VW5pqAJXZXMEvJH5y+OV6EQvDvSIDybt7Fj8kHnvLfB6GYs1?= =?utf-8?q?YATL08e41B9S?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 19d92526-734c-4055-122b-08dc5e288fe9 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Apr 2024 15:19:08.7052 (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: I/II/OH8CcAohLB6d1BkN+RBMQY5omDpJOfUeVhoDnzIpt8RAShF9Z4r2RezxfcP2e0uBpbxyc2zjdqR7Up1hQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8183 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240416_081911_501979_F81DC815 X-CRM114-Status: UNSURE ( 8.21 ) X-CRM114-Notice: Please train this message. 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 From: Peng Fan Add nvmem property for fec1 to get mac address. Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx93.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi b/arch/arm64/boot/dts/freescale/imx93.dtsi index 1c5e2049a37a..b09014b9a719 100644 --- a/arch/arm64/boot/dts/freescale/imx93.dtsi +++ b/arch/arm64/boot/dts/freescale/imx93.dtsi @@ -1067,6 +1067,8 @@ fec: ethernet@42890000 { fsl,num-tx-queues = <3>; fsl,num-rx-queues = <3>; fsl,stop-mode = <&wakeupmix_gpr 0x0c 1>; + nvmem-cells = <ð_mac1>; + nvmem-cell-names = "mac-address"; status = "disabled"; }; @@ -1176,6 +1178,11 @@ ocotp: efuse@47510000 { reg = <0x47510000 0x10000>; #address-cells = <1>; #size-cells = <1>; + + eth_mac1: mac-address@4ec { + reg = <0x4ec 0x6>; + }; + }; s4muap: mailbox@47520000 { From patchwork Tue Apr 16 15:26:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 13632060 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 067C5C4345F for ; Tue, 16 Apr 2024 15:19:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Cc:To:In-Reply-To: References:Message-Id:Subject:Date:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=FixYqVOzxHe/O12Z95E3/0DbId3UqybBWCIBgCBdySM=; b=kjwPq48nH6vhYMmogQf9ysVri2 qvE97O1oEZ9j3XGowrP3dB8DLhuOGCV2uyUaMN2biagRoG4j8Hwiol021RN8Yo+kB4nbwS6VWmkkH L30tTcEj+VUMW5EbveOdNdwKQK/RBZ8SvZISdT5RMqMosTWcwpzN68wyMBJqUH47b51RhavELXnHT 4IXWsNTU73n7CkTEZeplaAcTBA1VcOmuSfEfmgOO29mqFFPsiDsX59DWfyITclYsyGhbYhZyz0IOO jSVvOMs/lbl6MpNGLaxJDDSpA+dXAmuy88tyHF/3neOiW1GPg+6edhyHggKoiSL+6zaBWYLo27URF hNFLyiFQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rwkan-0000000CigK-1uC2; Tue, 16 Apr 2024 15:19:29 +0000 Received: from mail-am7eur03on20600.outbound.protection.outlook.com ([2a01:111:f403:260e::600] helo=EUR03-AM7-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rwkaY-0000000CiRD-0YNR for linux-arm-kernel@lists.infradead.org; Tue, 16 Apr 2024 15:19:16 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WVw37qgDFFz6c9e+jRu2HYn0lfS7R03JL6b+w/pYVxuQjlQzEaVKNXNGu6FRtxVPZShYhq0PE3uWMbfi1uGd5l98P9fnULBXtWIBsh9X1yI0+UvpXYX7uotfq1C7E2upQWCSfQqRn/IvFILzSre5U+op3TpRcoATIjG4IVTzkBG72/euojyr+kLu7fa7hBSTYN7gEKloFHVPbv8mz3K9fhQChaBnnNW74WoR4sGMVpBGPt6fJD7f9L96o3rj8vJNBolZP9MIo2jpazf1qT31LL2gEZ8Q0YxkiyY+QYjO1I+SkKbOrLlTSkchLKj77WaOqrT9HdTdGWBwxf0v+k26UA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=8CYpcLJaH5GZ6nn5K7B37bkO4JM0/2S0/2FuV4UqDvQ=; b=Jvh2EJMPvVVwD93UBPzVuugIw/shHUB/E7OZLGSoio9u8kD/YzVjr5qSLKey256jKEEoYJC0x1H1G9+LgG9rUmSeXt7uqPf7QzsD9BVO8OtRBnPO635rYopT6tNRTQyH4g0A2YOpGX6/SAr1lQ8Ec7bGUZeH+z2BLX69FR7oSLdB3eP2omcH421pOAKQktylDKqQnC4PZT8zRXXjT6n4hH6VOPftSjqD5FTnWkUHRlNIF8AWI69YXIBsgrndbTXWeNrUO3ZCUbMFnvbOUSS+wZnyzLyP9fQW7OUmEEctw+Pq004gNzZHJYmRYoOHGQ51/WAsfaJgA0uZ9izT6lJX4g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8CYpcLJaH5GZ6nn5K7B37bkO4JM0/2S0/2FuV4UqDvQ=; b=FDRe+Ipe6cqh+keZHkWegv77gICDkp0X8IyljtLxuE/vpBXEnRmPc5JH51tGhcLAqRpTYBCWk/S58Y1EjOgQZz4J2d/+Jyf6QcbSEzgn29hIJVNwsVync15By/nhNFiuAML9hXJ9p/zEqKdN0uppQ7cvCIUBHQIbaScrwVvLTzc= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by AS8PR04MB8183.eurprd04.prod.outlook.com (2603:10a6:20b:3f1::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7452.50; Tue, 16 Apr 2024 15:19:12 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::d30b:44e7:e78e:662d]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::d30b:44e7:e78e:662d%4]) with mapi id 15.20.7452.049; Tue, 16 Apr 2024 15:19:12 +0000 From: "Peng Fan (OSS)" Date: Tue, 16 Apr 2024 23:26:41 +0800 Subject: [PATCH 05/11] arm64: dts: imx93: add nvmem property for eqos Message-Id: <20240416-imx93-dts-4-13-v1-5-da8ac02e8413@nxp.com> References: <20240416-imx93-dts-4-13-v1-0-da8ac02e8413@nxp.com> In-Reply-To: <20240416-imx93-dts-4-13-v1-0-da8ac02e8413@nxp.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1713281223; l=922; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=FYexzw67Izd+aM6TWmuwzfi9yGy8drc70xRRExfgVok=; b=2wvhCPRwhBHDPNJrfsQI6Y6bXXRQVwsxvz3tBVTAn8pslfoAVp/AoDkOeWdBfeZXRzDWuyz3b CO5WNLl+w1EBGqnVRVc0HXHfWyA4+dBAYVD3ty66E1bKXOy5qvx6GmP X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI2PR04CA0012.apcprd04.prod.outlook.com (2603:1096:4:197::14) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9417:EE_|AS8PR04MB8183:EE_ X-MS-Office365-Filtering-Correlation-Id: 6d47b71a-e7e7-45d4-94fe-08dc5e289230 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 9XbCe9ixSlpc5+wDBXbhKHi7DNcouMNZpOFFBi2nLvFFc8vznjJNw/OmRVCWPDdfrCPC5KY78Vh3KgFH9VLz3Jsc3mzCUZ3rzmamP3txYfb24gsNJO3/HTgxU/1/tyiNgpv/EI/dTm72bKSyQW99DR+BKyktwJeEagEChX0yUm7l/sQkWGE5RhDBP2OVX4T7NtSSvMxJwBj30CHaYzHmtIWoYLyNoovDko6SGPd9nt2VYZHdlW/b0LUQFoXu8B3FDr+Zqnj10dewq6NZU2KJ19imun1kBYlNYTSH4YZZqdGTJyFxK+lq4TomDCErnOyuntxkPFCK/LkVQEsonQ90RSE19YDJ6ACVRxknWyGGvjYZFdFmkNpobSbUNC42eoJgtp32rsNOG7qT7xZWRH/ypqvvRsa5sCkulsmoto0LdGkH1uUgf5akNgtbA5IcPWGy9/dOGp2Log9z9/T/+rvEf0g1mnuFS6xeOlImEA6jbodXe7KUGyceR8QjNRbGtTdxl49gJt4/9BiUtCIYQjWz8p16A3aAboNM8IGd1aKMpEuH30OF8rrFhIkULyy1ilDkCViNNkJoiobsszsYPBByyXlhZQXIezxL1r5LnSd77+xYz2DNNxvFPR4LgQcu7j5vVVFkzUvl/M70Q4+hF+DY6bj32vB9BHlZH3D5hQm5wwipAR5ePdtfeLs9FfV/w/yNR6OAh3ekAgMfTj1Xz0mgzucAhUUnG4iNcu7Oznwqn4I= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR04MB9417.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(7416005)(1800799015)(52116005)(366007)(376005)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?Qv13/Sre0g4BkHQYfaCif+H777j6?= =?utf-8?q?H336eXRilhZiawi9TY2/19efrLYHnUtj7a9yxbB4vRx9Oqhv41yg+IbFO4p/sdNTm?= =?utf-8?q?hweiqNedI6EuXIy7ajhoq/7UjcH83f4c3u3YZea5yKh5jx/Yca/zYTfAs/bO+P7FH?= =?utf-8?q?ChiSkJpemxNCX+W93UymyBzuj7qbj9FLUmRDmhyaO1VL3q+tdr9AOFGZ4f6QzRW2N?= =?utf-8?q?CwY6uErJe+KEcTvnnx3APqxcXVzFGeUDVQrMPq4Ya219I2on0Q8aY5FT+Y+iQnAHR?= =?utf-8?q?uy7PKwjLo9GUIPeLuXbPz/jb2m0/YoWm0SSLWfQZ0zZN1ebSBMuHy0Ff0iMa/oSjD?= =?utf-8?q?ozilRiehA+bg/8I9ISAvfCxk/GQ+eviTqS2F33xu41eZIlfJt2mknEDugbYPD6VRt?= =?utf-8?q?UQqNUG2fQ5s09ykgdox33MWe8WoGdvkP6zKji9EAfzQq3QnBHr54PklDEWFvqTvWx?= =?utf-8?q?EL/3f5CiZYX769o7v5K513nAKD309QiPnN+0f/+KU4HVBB8Rj++yGvr7ZDUuVVjhH?= =?utf-8?q?DjThTgCXkUzRZ1c1khgBMij6F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UQ0kayIBVkM8MOf+JLvvziOkXXgHreub7wZivgz2QzjhytmVsEkD?= =?utf-8?q?ZXqUlWE3Loq7bWUhd77ficgjxGNNYrrgDA9ZLWxpJmXWIL74BNPHEtijt+EOViZte?= =?utf-8?q?CWLd8h/BXb3C?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6d47b71a-e7e7-45d4-94fe-08dc5e289230 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Apr 2024 15:19:12.5081 (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: yNAqYHaMg9iD0GELPP2D5PH4yuKv6Sy9k8gSmrORqNrhrvKa4SddpnMJI+oydHXtJRwMdTrx66kzogudof0CGg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8183 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240416_081914_552756_CD0C3176 X-CRM114-Status: UNSURE ( 8.52 ) X-CRM114-Notice: Please train this message. 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 From: Peng Fan Add nvmem properties for eqos to get mac address. Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx93.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi b/arch/arm64/boot/dts/freescale/imx93.dtsi index b09014b9a719..a83ac1bb1e41 100644 --- a/arch/arm64/boot/dts/freescale/imx93.dtsi +++ b/arch/arm64/boot/dts/freescale/imx93.dtsi @@ -1091,6 +1091,8 @@ eqos: ethernet@428a0000 { assigned-clock-rates = <100000000>, <250000000>; intf_mode = <&wakeupmix_gpr 0x28>; snps,clk-csr = <0>; + nvmem-cells = <ð_mac2>; + nvmem-cell-names = "mac-address"; status = "disabled"; }; @@ -1183,6 +1185,10 @@ eth_mac1: mac-address@4ec { reg = <0x4ec 0x6>; }; + eth_mac2: mac-address@4f2 { + reg = <0x4f2 0x6>; + }; + }; s4muap: mailbox@47520000 { From patchwork Tue Apr 16 15:26:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 13632059 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 C090EC04FF9 for ; Tue, 16 Apr 2024 15:19:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Cc:To:In-Reply-To: References:Message-Id:Subject:Date:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=2/l1LRrJ93mShCSiOqvNI0lECDGQr4KgSnfqHygSi8Q=; b=GC284iAwnNE+WFM8cCPPn6TCx7 gWsf9BiM/+hc8oxPzlTRjOnhrfUABLtUZ4p5M0z3+eWBAggbdOfUlMjs4TuBC9NWD1MzOMsmJ1l3e Al2wSVSt9qktJoUIs6WfK1PeiuWHg9iWYp7Au1mfumK/8wTIdgio3Df+7GCVlXDMgM/I16SNpTvED sQuYFLWuOrD2Yl1gFZReykLrihgX5R1q0vH215N8qzsEiSoLM8OealT8gXt19RrCMeOL+jwJ3DN1e u6urojYyj2X8GXy/4eO8yW/p1/u1N3KdhkPljBlh6NoTkXr4aL0II632onX2krJ21m7Vh03aL/2DZ YhVftIfQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rwkaq-0000000Ciio-1sbX; Tue, 16 Apr 2024 15:19:32 +0000 Received: from mail-am7eur03on20601.outbound.protection.outlook.com ([2a01:111:f403:260e::601] helo=EUR03-AM7-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rwkag-0000000CicB-3ppH for linux-arm-kernel@lists.infradead.org; Tue, 16 Apr 2024 15:19:24 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=i+L9mwsC1aA7/GR7SKHTk/JVOBdbu3KcsON6LVs50uyJG6oi1kRRpcQyZpp5yiLF6MaXXqKoU45U4zZFJ4fXVcU6t4s2WW6+klOvXtAiJfFLQpTS9cc7LjOa9ncSAazc8Ayn1XyZW2+twFyXPxXmutDUyN7/+2Wos6fdtB1aOU9yTPAMAoGmP19SzhuruGzfLHKYsmJQU/z8Tt2kpg2U9fBzPeryP2yrF7d//mmVYubroyg+hmf3Aoo0ZbZbiWx8H0iZT7q3jdfHg3LXwFK/fElH5mkW1odsv5504vz+GSRJOSNaY47vqoEOYEkJ8yonYEHsuRYyT5MaULHlR05MBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=TRksF2g3QDMzehRt4Usp/FoD17du8Q3c4Jh1C1+abJg=; b=VK17LvC8nFjvw7w+gjmncoef/J0lf/bmuZAyMNCmDhePnISAroOAmV+K53dlfkALdA/P9jZZwIFhkv7Wan5CCFSgbEmFBQk1QzcaXABL7dQlDAqgaof+knlHZzmvsA4T/CPpNM9zjbBQjrnxNHZ1Yn/XZZ4f8XJF0FSqy6VI+4z8BD44rTXc5xXhRG/tq+jWmOZw2VnjayRPK7zlin45ERf0OeO7R6AWqV4rAgfHX2x6Cy7Guwc06UEmeblgsmdzHaodYjpZ3siFp7B2jbGO334Ljhq6e0HjnUlwdu6DU8TJu7GwInKZZq7sGjQATyQAAUgpKTq3O9kivowdxRf6VA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TRksF2g3QDMzehRt4Usp/FoD17du8Q3c4Jh1C1+abJg=; b=jKuKRcTn1sWHoPPAEp4DFwDd7Hzz3t6S1ZwNtWlUqzs2+a9O/bSk8QN/8AuE/AoSkPtodHke/7c2r8VKzJG0zz4RDXhmyUQerzAfAH+zPf1uQNjVKQAriWEXibBWKsXdT0iRenpE0QOPWnfIoq2IC8TmvuOdkAKortM5NzMIy7M= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by AS8PR04MB8183.eurprd04.prod.outlook.com (2603:10a6:20b:3f1::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7452.50; Tue, 16 Apr 2024 15:19:16 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::d30b:44e7:e78e:662d]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::d30b:44e7:e78e:662d%4]) with mapi id 15.20.7452.049; Tue, 16 Apr 2024 15:19:16 +0000 From: "Peng Fan (OSS)" Date: Tue, 16 Apr 2024 23:26:42 +0800 Subject: [PATCH 06/11] arm64: dts: imx93-11x11-evk: update resource table address Message-Id: <20240416-imx93-dts-4-13-v1-6-da8ac02e8413@nxp.com> References: <20240416-imx93-dts-4-13-v1-0-da8ac02e8413@nxp.com> In-Reply-To: <20240416-imx93-dts-4-13-v1-0-da8ac02e8413@nxp.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1713281224; l=1062; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=CLhZ37ZF4E+NIrVOCWZ1K/HaEhBstYTmmr8Sw8zJ5ZQ=; b=A2keneqx5PPAydbDmzz/ejcmm1tWL7fnz583IAzUaK+LMpJ4bKiKEg1hcHT5n1/6Vi8rmWc+B Gh+OX72C949Abh5xNTed0B7jkeksSr/E5U/xH6R+D3FipITr04R6IR0 X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI2PR04CA0012.apcprd04.prod.outlook.com (2603:1096:4:197::14) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9417:EE_|AS8PR04MB8183:EE_ X-MS-Office365-Filtering-Correlation-Id: f9d11bef-1469-4681-aab3-08dc5e289471 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: a7pMxHWCFxRGBleqKX9izfI+DQoM6dmQQD9cyzgk1rx381hVyKCDmaHuSVBS4xjKmASEEgzq+4wlc6f/wcrKNYHrZ7xwBfwAvyS+CtCaFX4ujApjDAjN0TbSkNQvf2GSmInYE4qhkvpVWJMcgLBF0xKHB2Rq6fF1q91r199q9aq4AkAUeNMz9upKaxWap6O9t4qR6CZ45QJ/CeXtPsBLK/f9//f9WfaRKYeyyMtGYmlpsVYZADptxDyTtOznG1eAMEeztrGRcE3UulEVZ/QE1owIJFELjvzZ3U9YmI0n7fB/P4aaf7tiq5ofWTS3UA5jArMzGdYGmY3h3hAYNXnZBTQiFN5kx42nWksGUy+Um07kvVr7UeiukX2PteOTySJLIIQf2mdZNpKIJoB+WLrYFqOemelwbJ+qcWj9kavP0IWYN9KPENrNbPLWcKgBXPl/icWzMpX91iqxxNrWBwQ3upU/NDThS8LRKT2RgVYvUg5g9eyZZeJ7MHkQUWEwgh5HG0aD69AeTy3TPN9YbBrXMo5bCZoYRe4RklRU3I1+r1s8BqwLBj2jnMgnguCojFA++tg2Akb8F8tg1BqOSkFrOPQOIr3iqquOHJAzNttYrJ7b5TQY6qLSsjyZcLvAduif8nd7zewIjAliC9Q5/2EEew/lR98f3H6b+hEGyrtllVW5Ft8yrE7vgTXXlbb9zs5YYAOLWrXZxY9z6RQjubuklm3jvVa/rkTdu6XZxubUAhY= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR04MB9417.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(7416005)(1800799015)(52116005)(366007)(376005)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?2aDjxVx5RO/DboFrUZgBF2nEFiEG?= =?utf-8?q?NiQ4aaeNshAXwMRcRcdMr19jPSAlZXxnbLMQeAycmLCwCY3WmYUu3hfvl6541l+FV?= =?utf-8?q?jNtIatF9y9AjLdD+u6c2hCAaqaD7a3iOh2znVuPol+iEOx8wU21mv/2ql9l1t/MJp?= =?utf-8?q?ZWXx1DR7SpQlNxy/j4b2tlu3UbXaf1LWvoKielovlHun3zmMnCM84Gut9YwCOPjNO?= =?utf-8?q?bM/MiYzkX5v6odfUxuWWTTRHrnCAGl3U5WRXu4IDxi/KPgi1wohfv5A09l/amljky?= =?utf-8?q?xi7hFPHK06Mvmkxo/Cz2qPr27NA6GWkyaHGIdID3NdIkAFLzYiP9P4r3Ej14Rj+hI?= =?utf-8?q?283tKTH5dJ4mO37h2b3uQpEz9PKEXwusUEgch5LnYbfGp37fL9jGwDFXdv9/I0iFx?= =?utf-8?q?pDKazslQQegc3CTLBpu9Rf4uV6dgcKE2GeBH4ElqCNx6josqv0pzKl8k1jbi2wZK7?= =?utf-8?q?8rg7I08qA1y+dPxjZlNVTUulIYzC4HapWc8N9FuIU4NKOykr/0H/aBs7gwuCRSFFk?= =?utf-8?q?NGFeYVS6rdDcEVu4PngpiAJWRarkmGE2tFJPpgFLN/RzJO3sjPirJM2TFoDMHy/BH?= =?utf-8?q?adnBQtiagoo4XunOpi8we21oBg/ynEZUk3Lf9ZmCweegZnGFg43c/OQXyl/iR9Do5?= =?utf-8?q?6rzD4zzEr+cCw+zXL6FXw5Z6fe4sotGSAIfV4wVw28BRH4tPZz6QUtlhDrmg5qzs1?= =?utf-8?q?6Y1r4htkvQoFtGfF44l5f1W8oQA1V8n92BT7Y1aLmPxp0a0PXElk5Te+jMhRUwOsA?= =?utf-8?q?/wMsYkXKsjyXNeo6hjTn6fYWWgHr2Y53acXUGiyEwP7u7ZGb9NQB63cXTYXh1UwaN?= =?utf-8?q?WvDfB0sjTD2fHlCUaXu76l7oV6iecj+JVPMpjljCbJLSt8pUEK6hXZXfxmENyzbOB?= =?utf-8?q?zpWq1DIlUQtxipJlJ36cnZw8S6XSLQm+Ce1Ub71hmc1EOUXwAVP8v3zeliiV3laaF?= =?utf-8?q?O0VAFwAbh2shzb7juLXmxc0HcOHEfn1r/u71necWbptG1sKFYpDa+TDOpAas6zg+b?= =?utf-8?q?X7gskR0WZXsVPK9y4Eoe3P+/xaumN7JO/HWD1gC47ZwLKveQel7nzbZCRLcurfeoU?= =?utf-8?q?Q/eLreVWL2Rj9MM53UJogrUdXZ5u0N6SZfR0RMaOkHfXG6Wu+m/Y+mwaOemzIA4b7?= =?utf-8?q?2Et0rBK88qI1S/80mIu4aqGvJL/Zs8ljUiq0RHmyz+40sDZX1/ytcRzIkz+f4PvNj?= =?utf-8?q?K1yWXq9rgek+q7VsQCJWuZXgwBEA9c/iqOupQfM7vWDDQh2spHqJ2i2n83HMlWLPP?= =?utf-8?q?2XxXAnMFNm4cnMiSYsgvXJIx2aG7b10LntM1I+FwfQ3W4PvZD+mHXApV9IcqsB5k4?= =?utf-8?q?o6W1Nql3NegYaSVziMoNTiaZTSYuKvvs071hVm6XqyM6T0rQ1fsM7ywtzDNQcAxIe?= =?utf-8?q?7AVRxpq0hWiFNX5AgTu6cfVnNMXW1lwaRF4TZ4l2tgFF/0CWHrwY/AYc0xBh8wReG?= =?utf-8?q?sZAkyzPM/4ce5AU9MBhaFt2PFZyjhCmWpYXVUQKxofSyHx0YWkkQ9M//Ibl7xPe0K?= =?utf-8?q?SWbQDkjk3Szx?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: f9d11bef-1469-4681-aab3-08dc5e289471 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Apr 2024 15:19:16.2910 (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: CHvLDG58aPmwq+XJEkv5iXJTMUxATaw3exyn0r6CDHYv/+TkxfDByt2Ae2afNw49rXif+D1GhMbTB4XmOwEYqQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8183 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240416_081923_083982_BBEF9720 X-CRM114-Status: UNSURE ( 9.45 ) X-CRM114-Notice: Please train this message. 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 From: Peng Fan Because i.MX93 A1 ROM used the last 4KB TCM area, update the resource table to avoid conflict. Also correct vdev1vring node name to align with reg. Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts index 07e85a30a25f..b7b52576586f 100644 --- a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts @@ -38,7 +38,7 @@ vdev0vring1: vdev0vring1@a4008000 { no-map; }; - vdev1vring0: vdev1vring0@a4000000 { + vdev1vring0: vdev1vring0@a4010000 { reg = <0 0xa4010000 0 0x8000>; no-map; }; @@ -48,8 +48,8 @@ vdev1vring1: vdev1vring1@a4018000 { no-map; }; - rsc_table: rsc-table@2021f000 { - reg = <0 0x2021f000 0 0x1000>; + rsc_table: rsc-table@2021e000 { + reg = <0 0x2021e000 0 0x1000>; no-map; }; From patchwork Tue Apr 16 15:26:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 13632061 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 4298BC4345F for ; Tue, 16 Apr 2024 15:20:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Cc:To:In-Reply-To: References:Message-Id:Subject:Date:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=8s5YWWOWpAMai23lW3ZDPAqVKN3gD7sz13yLw4/IkWQ=; b=0xAE2EpwSoEEQHgCZpYB2cg0Ax dazU2Xluikeo63nM0TlarFs3y9e42VI9J2Kx3ZD/FXdOXUolZyBfnWA0xzooVY2xS2Lo45cQMWvRE QxRacF0HCN5sVFkph6LSFO2wK1jKr1xcLnDdYQFO//cOgdJVWUkAL+pF/7gBNsU9ZU88zY6wlHrbg ROJIb2RMNA8QLh3nX24aNX0sEHDS5e/LugRHvEUES2/U0bDU31ZPYRYW44R41kj4f9nBt7HOXbjsC ju1/I5+oB7KQBHs9fL+qbiFA+DYtahgK6EQHWz+plN2DNF9sADmQqSHPq2cTif/r1bvSoafynGqQb IwUV+eGA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rwkbV-0000000Cj76-113b; Tue, 16 Apr 2024 15:20:13 +0000 Received: from mail-am7eur03on20601.outbound.protection.outlook.com ([2a01:111:f403:260e::601] helo=EUR03-AM7-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rwkaj-0000000CicB-01bk for linux-arm-kernel@lists.infradead.org; Tue, 16 Apr 2024 15:19:26 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bAndsr0KN5tSPv8A4ZFiVx5/Ov3hPIi55cG1ibAZ6c7vJdMRCVwBvWlnLN8XMLvJVCyaD9Yi6zzVRcBlw/GRKQ3KNHdUakNaickaFfRo/NHRnTWS9v9npSaXwHsrNqmL4bR8/tXeMoB45Zpcp750Y5CYgzGreeK+CwN+e9k3OH/sIYEjDUwWcZBMQ8dWQ8fkbr0V7Akdt28sRHjJyW4GHDPKSxMxpZXEwq0MP1tEYXID3w5vN8yK42OykijxNUOjTD0mAO4RSRwm0+bS+5r6JcpNpncolhrGb/uyd89GWNPSCT1giDWtxAj7LKISxoO384MCXP3PJL0Ax4g0yvMWzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=h7Z1E91NTteX96MebwxrBMYq7DIWOfOT9dKPSgrWvQw=; b=hvghnYQSf8VDD4JracHMC5Og8FzORqeNnJ16JmLsQcDI2SnyzvkeQLwvqc3b9xvpReN1KGhWYMJ/HkzzD/FotaZ+j6mzIZs8eWqcD0Mq7joDc5eaIXIIQBNH+dU4tXy/LVVyV3egsrGwfeDtKXTAz1AJRQ7CRa5Bh03fCm0ObyHjcGWf80A0Vj40cZ5ed0EvMHBrkswIGoAN5yyVBO37E7tF0aHobxDP22oFfcpLHYh0jVwX9rvOEFZDyEisyM23umIl/xboBx+WZZ1uwkCKQ5XajLqztpIA/Qf6iB6wSodaqDKBjwAjJH5T8idJHXEv0OdNh1vuMsVUq6dFpzmq+Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=h7Z1E91NTteX96MebwxrBMYq7DIWOfOT9dKPSgrWvQw=; b=OH18DYNDOZNEJEhcjt4qxIek/2wEP5TVWNZ/i1TVOCjTqyUXTNqmSHgcdd2JhyGNiFDdIVyrs5mbRISqubtbKzcx49C+D9b6gOep5hKxL/BULYxkLQOelgKTbKIYJLLmvj7B34ahWDeZaq35uD9xqUl3G3cKa7RWvnZ2X6ffhkY= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by AS8PR04MB8183.eurprd04.prod.outlook.com (2603:10a6:20b:3f1::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7452.50; Tue, 16 Apr 2024 15:19:20 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::d30b:44e7:e78e:662d]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::d30b:44e7:e78e:662d%4]) with mapi id 15.20.7452.049; Tue, 16 Apr 2024 15:19:20 +0000 From: "Peng Fan (OSS)" Date: Tue, 16 Apr 2024 23:26:43 +0800 Subject: [PATCH 07/11] arm64: dts: imx93-11x11-evk: add sleep pinctrl for eqos and fec Message-Id: <20240416-imx93-dts-4-13-v1-7-da8ac02e8413@nxp.com> References: <20240416-imx93-dts-4-13-v1-0-da8ac02e8413@nxp.com> In-Reply-To: <20240416-imx93-dts-4-13-v1-0-da8ac02e8413@nxp.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1713281224; l=2999; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=nfM6Wo+VmL/ZWUcSpFUHf0VCuNybDxhQy3VHzlu51Ro=; b=ZbCOHDZ8GTppE7zbFQV7RqnqBVJy3vWQeu9AUjQx0vLwwIltGxYinngLVsHfFTeEV5gLIhHyK lAs1139DkvyDP8u6IRTmKLq2aWUcZuEfyTdPjMbmHmqoN0Ed2+bLXhs X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI2PR04CA0012.apcprd04.prod.outlook.com (2603:1096:4:197::14) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9417:EE_|AS8PR04MB8183:EE_ X-MS-Office365-Filtering-Correlation-Id: 6439247a-f915-431e-441e-08dc5e2896b5 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 6kumEte0x6cIuK+bdL9Wc7j30+SvxiezblOfPT+Typ+Qlb1QuLehErVyvCUvRWQhhyxYqTWPv0JpQ+dBADgWqcHYhTNbmuOen++gHHh4YPbPSHqV/Z9rzkJW8xZo7+HX3XvGecRAGpxW43FhboCMn81X0t1ZhWzP1kAjhaRBmE0Nk6l/li2P1iIPukYHoX1zZvUrOmAiS5dgM0mD8VDgGBa5BpGjn1uhHtvng8EUU7ZCNPtvcoyE6x7GoQil7p2nUGLny48PlMEHGNO3DzhX5yFp6OqSj3+81yI/8VnE//2eCKFhv+bgZR5miW5hwUnjCtiKIQt2T2DVptKHUudfi8zW58yySy13sLhfh8T1p4zbV0yYT0dAgCVLqNQyr24k1nZgtxhAts+iPVPqJgsFd9yp+X4K2QoHDih75YLgQp+h0qyfdaeFHjiBw9h5XGsJBWi28xo8LG3mGpemGdl+/f2T0O/m/Qw/q1Zx2KMKnUPWYeyKWLU6TLSB+wGe7xiM8U/raUnnvFS59qFdQhy4ahLaLQYTfnW8EKoKM7RvBZ+pI9zIGFUEBLulc4TIW+E76Hc9jcTNJVCoMIErJge3ligG5IiSAbk7km84CMwzQ9UW7jfL2qr/oQCo8ZKpno4ZJ9ckAYtNQUei/GtcTeVdpsseX7v5RN8hvxmIir9jZgeXLK6RGdhYe/g38XIH5mkJDBOZiZYrmwCnVyrSVCNT3okCIeF9EXzbJA1gcjlfmKA= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR04MB9417.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(7416005)(1800799015)(52116005)(366007)(376005)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?SVBWhjYoOnC78OdcChE601L5d5C6?= =?utf-8?q?v37UIclyzAxTXk3HHS+/tE9WFw+0dliS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QHgpfm3m33EzL2IkwP4BgOdA12sJBP+eUn6t?= =?utf-8?q?b0LO8DeCbY4pXgg5ddRfdQAW3CkyOMZTTMQnIKqMXUXw54YknW+ct4uYTtCT+lNgR?= =?utf-8?q?T4Bs/tstQwaHlK5XLDNr9vaBHMJbUfolnaH7XqSRzOnjaIYtTTsm/b6TMjkpgZw9B?= =?utf-8?q?euJJ7ANtJtoLoQYCyhn2kmsDihxemCrec2WdlkvBJimcqIiiIhibsrK9It+aZZBbA?= =?utf-8?q?Y5dtc+ypuOKKGMMC9sXbkGz3x1+G2o9aEOeyXBIyHwXiNky4EvPAWZHZHPvHiVGJc?= =?utf-8?q?VNtsJXKiVl6Z0PTGPazyh4Jf5k51M2leTTU3miVB962uGWa/OxXCb5mOQXDxScY5N?= =?utf-8?q?fVnYwiyQ0thfSwqD1K0vvxCna0Ko4Ljzc9EfMMb3JCq41RrBMpfrdbocEQ4Yc8rpn?= =?utf-8?q?wJWx1F/UqnaAN7KMxo8U4BwNl/m/7mbFEzx6QxjuVGmJA61aDXu660bkSEg7Iuuhi?= =?utf-8?q?EDxZjBMwaAPh37qp6/E2scVDSX/OiOk2BLbTMA30wg03aTFt2c/BXuNW+AVi+kM0l?= =?utf-8?q?moRNHn4zjUAFfmO35PtzkuEKbDWqPvIH//lmyLv7gSEnEddB5Zt2oMJXhL9WB44Ow?= =?utf-8?q?bidQwBP5VEyX?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6439247a-f915-431e-441e-08dc5e2896b5 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Apr 2024 15:19:20.1152 (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: oJJe2Yn/n+RFYtF+Ht25hhJ2951dHX1P2WzIpP5qgcOa9s0u1O44RiYRa4q6Z2Jo2S24GhI434jwcvfGsyuUdw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8183 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240416_081925_118793_65CC1B09 X-CRM114-Status: UNSURE ( 9.33 ) X-CRM114-Notice: Please train this message. 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 From: Peng Fan Add sleep pinctrl settings for EQoS and FEC to save power when suspend. Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts | 44 +++++++++++++++++++++-- 1 file changed, 42 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts index b7b52576586f..2b67724db685 100644 --- a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts @@ -105,8 +105,9 @@ &mu2 { }; &eqos { - pinctrl-names = "default"; + pinctrl-names = "default", "sleep"; pinctrl-0 = <&pinctrl_eqos>; + pinctrl-1 = <&pinctrl_eqos_sleep>; phy-mode = "rgmii-id"; phy-handle = <ðphy1>; status = "okay"; @@ -125,8 +126,9 @@ ethphy1: ethernet-phy@1 { }; &fec { - pinctrl-names = "default"; + pinctrl-names = "default", "sleep"; pinctrl-0 = <&pinctrl_fec>; + pinctrl-1 = <&pinctrl_fec_sleep>; phy-mode = "rgmii-id"; phy-handle = <ðphy2>; fsl,magic-packet; @@ -301,6 +303,25 @@ MX93_PAD_ENET1_TX_CTL__ENET_QOS_RGMII_TX_CTL 0x57e >; }; + pinctrl_eqos_sleep: eqossleepgrp { + fsl,pins = < + MX93_PAD_ENET1_MDC__GPIO4_IO00 0x31e + MX93_PAD_ENET1_MDIO__GPIO4_IO01 0x31e + MX93_PAD_ENET1_RD0__GPIO4_IO10 0x31e + MX93_PAD_ENET1_RD1__GPIO4_IO11 0x31e + MX93_PAD_ENET1_RD2__GPIO4_IO12 0x31e + MX93_PAD_ENET1_RD3__GPIO4_IO13 0x31e + MX93_PAD_ENET1_RXC__GPIO4_IO09 0x31e + MX93_PAD_ENET1_RX_CTL__GPIO4_IO08 0x31e + MX93_PAD_ENET1_TD0__GPIO4_IO05 0x31e + MX93_PAD_ENET1_TD1__GPIO4_IO04 0x31e + MX93_PAD_ENET1_TD2__GPIO4_IO03 0x31e + MX93_PAD_ENET1_TD3__GPIO4_IO02 0x31e + MX93_PAD_ENET1_TXC__GPIO4_IO07 0x31e + MX93_PAD_ENET1_TX_CTL__GPIO4_IO06 0x31e + >; + }; + pinctrl_fec: fecgrp { fsl,pins = < MX93_PAD_ENET2_MDC__ENET1_MDC 0x57e @@ -320,6 +341,25 @@ MX93_PAD_ENET2_TX_CTL__ENET1_RGMII_TX_CTL 0x57e >; }; + pinctrl_fec_sleep: fecsleepgrp { + fsl,pins = < + MX93_PAD_ENET2_MDC__GPIO4_IO14 0x51e + MX93_PAD_ENET2_MDIO__GPIO4_IO15 0x51e + MX93_PAD_ENET2_RD0__GPIO4_IO24 0x51e + MX93_PAD_ENET2_RD1__GPIO4_IO25 0x51e + MX93_PAD_ENET2_RD2__GPIO4_IO26 0x51e + MX93_PAD_ENET2_RD3__GPIO4_IO27 0x51e + MX93_PAD_ENET2_RXC__GPIO4_IO23 0x51e + MX93_PAD_ENET2_RX_CTL__GPIO4_IO22 0x51e + MX93_PAD_ENET2_TD0__GPIO4_IO19 0x51e + MX93_PAD_ENET2_TD1__GPIO4_IO18 0x51e + MX93_PAD_ENET2_TD2__GPIO4_IO17 0x51e + MX93_PAD_ENET2_TD3__GPIO4_IO16 0x51e + MX93_PAD_ENET2_TXC__GPIO4_IO21 0x51e + MX93_PAD_ENET2_TX_CTL__GPIO4_IO20 0x51e + >; + }; + pinctrl_uart1: uart1grp { fsl,pins = < MX93_PAD_UART1_RXD__LPUART1_RX 0x31e From patchwork Tue Apr 16 15:26:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 13632062 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 E9C39C4345F for ; Tue, 16 Apr 2024 15:20:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Cc:To:In-Reply-To: References:Message-Id:Subject:Date:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=++Jm6KrvuKWkS7ImjwxL/iH5/LsLHiGklgqT9u8Hn+U=; b=y5uTbQib4nh7O9M8J+GfPowp+2 sYw61ZeTCjiAG9rXn5lhr6FXlm4xawmQQwLkIWcB+9ZRB5PEDlLDa0XLNJqEYKzLQxp5FO2Li9esp rVBMe0A1WnPAcNsZeTP7xFhjBPIok/ns8Pf7G6fToc+fvkUERHCUgX47mbehxGmvkeJ61+7sjrvHG 549cGGF9Lz/85t/EMCO73S6O4GZkS+uW+OkolHSp30fSYJGFhrZ5AbwymyRrH8ZZM6IpiDwEFbO6q vYXmj3DzczfgOllIOf+y9jRDUDVkji+p9l7j3+rSEILkr5srGj4cvKShHhZx2CbwS2WFv0bZ5av87 TlAU0wQA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rwkbW-0000000Cj87-2iYV; Tue, 16 Apr 2024 15:20:14 +0000 Received: from mail-db3eur04on0624.outbound.protection.outlook.com ([2a01:111:f400:fe0c::624] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rwkan-0000000Ciep-1SG6 for linux-arm-kernel@lists.infradead.org; Tue, 16 Apr 2024 15:19:34 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TsP4RHzqao9qEixCX3K5ITMDIJrGhqAR1cKK99zt4bK1RcDX0/+/OC6QsewhV5zee+bmmQInkkUijMB+PXcrNVLRJUwvfD22g1+qs2+IOih2kieVC57yyhupTV9KDML7x3z5s7G43fQk4/cV1Wu7epMFVf0y9ZGoBCC2mPj0zQ7D9vSXI9nMN6/cDs84Y68ocbPlTvELRCBGkUIgniRhxRpXHaAr1hZHOLjcuZYcNdi3dzP7i70EhLpWXVmlU+CzrdnNHlr1Q21KZ9P7V3wAUj5VkZGI2zbHHxdFY4hK/+fs0nVNQTx1JvRTRpb+NCejabJjdTgEWIi+QDSPScPQRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=Utj7ItaEHtvIsv0ZHYVfFXFu+fj+P2M3yxfR5i0ip94=; b=DTOK3XFY9Ep6KjPvTrOw6hVOYTmnEYkTExMu0Cj8soD27BtA7LWf7VMZ1XUgKIYMFtqLLdaz8L6Jf2eHRx5xFc93hP9A6jqP1q492Bv+dScGjsW6UcYBiT3htTe5yNYf2VenzX5K9+sw7aGOlIHLp5K85liX5w1giSOC6TUVR2sVNyISYlau3JN6yITnBSWvek3DehElBAQ8pcVjnZCQCE0wMWTmgdOcTjqA/PZSW0lOlX5opmS33gb3hVZX/Y5BhqAr/pJUNWJitH2qjY+jWRt97S82tm40W771FBoNbyv5B2oCLwMW+W7LCiFtkRR4pIU67PSwxeWFuEjXBPkFhA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Utj7ItaEHtvIsv0ZHYVfFXFu+fj+P2M3yxfR5i0ip94=; b=B7GcFrCsava0OTIl2AqbuHXoLLmwReI4GM8hNz/a811Wsx+u8Gz3zsqWK0wYQyJJ4JSL/EwyImN+01M3qczqzpUkJIXmXx9mBIB8cz6sZ9mG5CMr9f5q05dxYyiDvd4k4YD2h+uuYPZJeoP8gl+CyQunte2+KtrvZ5pYaou9aiQ= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by DU2PR04MB9194.eurprd04.prod.outlook.com (2603:10a6:10:2f9::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7452.50; Tue, 16 Apr 2024 15:19:24 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::d30b:44e7:e78e:662d]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::d30b:44e7:e78e:662d%4]) with mapi id 15.20.7452.049; Tue, 16 Apr 2024 15:19:24 +0000 From: "Peng Fan (OSS)" Date: Tue, 16 Apr 2024 23:26:44 +0800 Subject: [PATCH 08/11] arm64: dts: imx93-11x11-evk: add different usdhc pinctrl for different timing usage Message-Id: <20240416-imx93-dts-4-13-v1-8-da8ac02e8413@nxp.com> References: <20240416-imx93-dts-4-13-v1-0-da8ac02e8413@nxp.com> In-Reply-To: <20240416-imx93-dts-4-13-v1-0-da8ac02e8413@nxp.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan , Luke Wang , Haibo Chen X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1713281224; l=4577; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=llEiY/5OnUc6shhi+Ccz28hv01yOemdhaRxTciJwC4k=; b=ppkm5RtF8XrJImc6U1PIc1OJRmggyMKb+gqqnbeYL9RH1H1caarFbsZlh2wNJ1TM/XrMxHbVr W/sGbNQdJxlCswZkJ824/yW/qiWzPCClXkHSKEOTE5yRHoNN3i62qrj X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI2PR04CA0012.apcprd04.prod.outlook.com (2603:1096:4:197::14) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9417:EE_|DU2PR04MB9194:EE_ X-MS-Office365-Filtering-Correlation-Id: fb56ce86-9aa9-4ed0-f5dd-08dc5e289953 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: IYXiKsIZKIL97q1j9DCWDPkdQZRY0wVY3pXFbzfyl1MuyzntXLAgxvjBS3kgKAKKqIILXKJOD/U6soq4q62NxuOCeOc91Mu5z1VwBwzXdX+2LHCfVzL/RqchS6jdA7Hz4YZFVUDGmWwaUFenr0bY5Jus7zW3mYP3SLB06bF8PIWgrWobvQroXiQoZ1Ez2EaRviJYrCm7/Be8EQd1K3V5aTywfpVDR2ZoTUz2X6xWSnk72giKxcoD3zuWVrv9SQQ68r7uHndymNjc3N73PAmkgVS4RjfklPqDWUACHpFq67gJmNE7yB4qzjupURV4pHX6oxH8srO7GVtPnwlyCBW1cUJWMYc3i2waEN0EQIrZA2ooOZFoytOQ0XeWcVrXA1DOgj3/F5gvp7LrkwsyEh21R52bG1ka0rwb2GP0L0NyD1DKTMuyG1smWCacTtJwua4Ms2GpcA2p0MGlavTO5cWajTP2YYWmmh2gfB1zI1oT/sSvWhKJmqDLzO0/+FxKOY+2CP2Hu6HVZuVT5YYSniKiYDh9IBNi/akk7+WsQfZ4wA4mrfhf1nN2n2Sp6PMNL7t7Lk54BPWWKjWMrJHtEOgBgMk4EJAaKXRKr4pxqpMAHMLzDzhympGoBfIOkLkXk9ohdFKbtclAofQfbeLwWCt6hQLPYJwPBP7rc8nQRY9OfVKaGTxceQo0WNEgy/8u3eZ2bFBat3AM7D0K7qcw1PK1wLZQOUxeK63Rnvr6kA2TecM= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR04MB9417.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376005)(7416005)(366007)(1800799015)(52116005)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: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9ABFX?= =?utf-8?q?Cki2MrL4GSqub8GxRGvD5xrAZupbnlRMhsaIRobsBBzvAyZ4u3BpS0ldZZ+lxe0E2?= =?utf-8?q?61IOBs0H4keKP97utuKitgArVnCtb8W+Ip8hMrPVpKo3prcNRIuLwhmIBnwwZiVOW?= =?utf-8?q?p9fStqSWsTIvqAQofdZw8a3FMKzvS3FuVJ+bdtan8etGU0Dw6eF9+ZiG7itQofg+/?= =?utf-8?q?Qjp5T0F6xclG4h/KUftLwkMtMCyQs0W9dS8YmLhqS8fuGs6uPNMbcb/HNtI/eyqen?= =?utf-8?q?FJyyksJmDF+/9qQPBPXNeXGGEMJJhuz/uK8VO1qr6dWL2WVMfOyGSMPurl8ldCd91?= =?utf-8?q?xT3IHgn+GbqgZ8rVC4ee6yxYU9Wz2epYuC4aQ8fXnEXX02367loMAZ47jRLLiH2gU?= =?utf-8?q?gjz1tsnsQBtCeP5+AZICK2sR/QxWy5xJ6iETcYIYdB7wRr4VgSfwO/moTFXoQfiey?= =?utf-8?q?Gv7w7rVbLGiiCD1YcXRqYia4bv3SlBzET/9lmSkUiibMXJop3eTijrh0PX5dgLyQl?= =?utf-8?q?Wn87aZGEZY9zOfQPbgsKmSRXwA+W7g6P9vFcRRGTWaAGKm5j7mXFsODgYydrD8YMK?= =?utf-8?q?q9S/vfQ0mhyJ8BVC4qRaGBWs1H1/jDuiWeHaiNSAq06wB+WOWP5F2xTVgdzVF+4IF?= =?utf-8?q?kfEj+4QoWXIK?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: fb56ce86-9aa9-4ed0-f5dd-08dc5e289953 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Apr 2024 15:19:24.5044 (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: OC54mOf7lMOAfTHuZGcYkZglUXOV8NuL2PM030kSq6gyhGkFRXh23XkPUswIkLcssgbisefOB6cg8FrW0acSCw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB9194 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240416_081930_204021_14418CF5 X-CRM114-Status: GOOD ( 10.74 ) 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 From: Luke Wang imx93-11x11-evk dts use the strongest driver strength for default(high-speed), 100MHz(SDR50/DDR50/DDR52) and 200MHz(SDR104/HS200/HS400) timing. To make usdhc working appropriately for each timing, add X1 drive strength to default timing and X3 drive strength to 100MHz timing. Reviewed-by: Haibo Chen Signed-off-by: Luke Wang Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts | 68 +++++++++++++++++++++-- 1 file changed, 64 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts index 2b67724db685..f848cb0922ef 100644 --- a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts @@ -161,8 +161,8 @@ &lpuart5 { &usdhc1 { pinctrl-names = "default", "state_100mhz", "state_200mhz"; pinctrl-0 = <&pinctrl_usdhc1>; - pinctrl-1 = <&pinctrl_usdhc1>; - pinctrl-2 = <&pinctrl_usdhc1>; + pinctrl-1 = <&pinctrl_usdhc1_100mhz>; + pinctrl-2 = <&pinctrl_usdhc1_200mhz>; bus-width = <8>; non-removable; status = "okay"; @@ -171,8 +171,8 @@ &usdhc1 { &usdhc2 { pinctrl-names = "default", "state_100mhz", "state_200mhz"; pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>; - pinctrl-1 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>; - pinctrl-2 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>; + pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>; + pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>; cd-gpios = <&gpio3 00 GPIO_ACTIVE_LOW>; vmmc-supply = <®_usdhc2_vmmc>; bus-width = <4>; @@ -391,6 +391,40 @@ MX93_PAD_CCM_CLKO2__GPIO3_IO27 0x31e /* need to config the SION for data and cmd pad, refer to ERR052021 */ pinctrl_usdhc1: usdhc1grp { + fsl,pins = < + MX93_PAD_SD1_CLK__USDHC1_CLK 0x1582 + MX93_PAD_SD1_CMD__USDHC1_CMD 0x40001382 + MX93_PAD_SD1_DATA0__USDHC1_DATA0 0x40001382 + MX93_PAD_SD1_DATA1__USDHC1_DATA1 0x40001382 + MX93_PAD_SD1_DATA2__USDHC1_DATA2 0x40001382 + MX93_PAD_SD1_DATA3__USDHC1_DATA3 0x40001382 + MX93_PAD_SD1_DATA4__USDHC1_DATA4 0x40001382 + MX93_PAD_SD1_DATA5__USDHC1_DATA5 0x40001382 + MX93_PAD_SD1_DATA6__USDHC1_DATA6 0x40001382 + MX93_PAD_SD1_DATA7__USDHC1_DATA7 0x40001382 + MX93_PAD_SD1_STROBE__USDHC1_STROBE 0x1582 + >; + }; + + /* need to config the SION for data and cmd pad, refer to ERR052021 */ + pinctrl_usdhc1_100mhz: usdhc1-100mhzgrp { + fsl,pins = < + MX93_PAD_SD1_CLK__USDHC1_CLK 0x158e + MX93_PAD_SD1_CMD__USDHC1_CMD 0x4000138e + MX93_PAD_SD1_DATA0__USDHC1_DATA0 0x4000138e + MX93_PAD_SD1_DATA1__USDHC1_DATA1 0x4000138e + MX93_PAD_SD1_DATA2__USDHC1_DATA2 0x4000138e + MX93_PAD_SD1_DATA3__USDHC1_DATA3 0x4000138e + MX93_PAD_SD1_DATA4__USDHC1_DATA4 0x4000138e + MX93_PAD_SD1_DATA5__USDHC1_DATA5 0x4000138e + MX93_PAD_SD1_DATA6__USDHC1_DATA6 0x4000138e + MX93_PAD_SD1_DATA7__USDHC1_DATA7 0x4000138e + MX93_PAD_SD1_STROBE__USDHC1_STROBE 0x158e + >; + }; + + /* need to config the SION for data and cmd pad, refer to ERR052021 */ + pinctrl_usdhc1_200mhz: usdhc1-200mhzgrp { fsl,pins = < MX93_PAD_SD1_CLK__USDHC1_CLK 0x15fe MX93_PAD_SD1_CMD__USDHC1_CMD 0x400013fe @@ -420,6 +454,32 @@ MX93_PAD_SD2_CD_B__GPIO3_IO00 0x31e /* need to config the SION for data and cmd pad, refer to ERR052021 */ pinctrl_usdhc2: usdhc2grp { + fsl,pins = < + MX93_PAD_SD2_CLK__USDHC2_CLK 0x1582 + MX93_PAD_SD2_CMD__USDHC2_CMD 0x40001382 + MX93_PAD_SD2_DATA0__USDHC2_DATA0 0x40001382 + MX93_PAD_SD2_DATA1__USDHC2_DATA1 0x40001382 + MX93_PAD_SD2_DATA2__USDHC2_DATA2 0x40001382 + MX93_PAD_SD2_DATA3__USDHC2_DATA3 0x40001382 + MX93_PAD_SD2_VSELECT__USDHC2_VSELECT 0x51e + >; + }; + + /* need to config the SION for data and cmd pad, refer to ERR052021 */ + pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp { + fsl,pins = < + MX93_PAD_SD2_CLK__USDHC2_CLK 0x158e + MX93_PAD_SD2_CMD__USDHC2_CMD 0x4000138e + MX93_PAD_SD2_DATA0__USDHC2_DATA0 0x4000138e + MX93_PAD_SD2_DATA1__USDHC2_DATA1 0x4000138e + MX93_PAD_SD2_DATA2__USDHC2_DATA2 0x4000138e + MX93_PAD_SD2_DATA3__USDHC2_DATA3 0x4000138e + MX93_PAD_SD2_VSELECT__USDHC2_VSELECT 0x51e + >; + }; + + /* need to config the SION for data and cmd pad, refer to ERR052021 */ + pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp { fsl,pins = < MX93_PAD_SD2_CLK__USDHC2_CLK 0x15fe MX93_PAD_SD2_CMD__USDHC2_CMD 0x400013fe From patchwork Tue Apr 16 15:26:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 13632064 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 71D3CC04FF6 for ; Tue, 16 Apr 2024 15:20:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Cc:To:In-Reply-To: References:Message-Id:Subject:Date:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=i/LALI8XP8i4drpAJ9eCo5sbdqxqLgzOJSD77FCdPVw=; b=zXRFWKVuEA4ekrnT6UKMJb5xxX oT9mCJXbrYklnc4L9FhNa2A10MyszQbEURGs8F3XUShUNnKVXX4wJFh48w25f8ibtjd/NvLSCh850 lAVwuK3dEt9vfJhR5g55bwSUuNN2Pzs+gpVz+Gc7wkpBWhS4uIbZz3t04AB8efhIBkZrvnIUEu/TL 89itHPvnwWObV0H3loI8gKbSZhM1huGA50mRziz335Zez4pqbBW7Otbiv994TahjMUMd8fgLhYbua NHfaDBo5+AoAqwxY0UzaMJyRSffxM+x7dcZFHRYBrSHk2Jz0c6jy2+4tIh/wKsOI5J3+TKtBcELnv wOKDzDIA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rwkbX-0000000Cj8b-2hsx; Tue, 16 Apr 2024 15:20:15 +0000 Received: from mail-db3eur04on0624.outbound.protection.outlook.com ([2a01:111:f400:fe0c::624] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rwkat-0000000Ciep-0njx for linux-arm-kernel@lists.infradead.org; Tue, 16 Apr 2024 15:19:39 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RIbMOm0ta2l2IiBdi/4GdtydQxE2MY3FoqINXyj+BL17iZ50uiXKf7mrHMqLmVdTZ4RiDEsv/ls61yTDo2wD6sLUipFZ3qxONaYZC48DGeRTe13wivJYCGXWlSLSd1vW56dl1PvRCd7qfEsna6Jdt/+Hh4UsudL0dxHLcdwrb1yEGz4zhRplz/0J8lRZKNc4jFPoxn546Jmv8KZwNFVLq90weNlq5jdcubBt4xYdXX51SrsnUZd1OJdK4k2FItyONEqCQWHJznuGy/x5f+iqU2jCrAC+5dJZLArxNQ2XVxsHaqht1zByIBXrhPK5GcC7Za1E5cf5HhN4lNy+6OAtfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=A3NVyXgePVeYYgwWIWlhBWJiZIvg/AVy+K9WBcxlvX0=; b=U+1wZHLvmlTf3ttdL09hgmBV53T0GCFwHJo3Ko5JnUzfDweER4U8A3V6vlXi26R0ICajQovfBI2kAncCXWuHP7Wd2mcmqz4BbqKhRQAppfwtbj5hsdB7+qxtBbUYvjfXDepmKQEscJigdTsygcQbYo5r9MnO+X4JPZ4qy0fPw/C6Aj8a1oonTbzdZl5Q5qzNbc3w1eRWRvz2hG6Pvo1rnVegG1xH9gped+JNHTCmSRwPlI8Y6Bj7LcKUJOqJ+k2tKl7LK8Q+OB2rIQNUMYcW3pqQh3y12zOrjuNN9h5iamFNe4upmKWfqdltCrPdC5tSHISpQl29b3tNbLz96gxoOw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=A3NVyXgePVeYYgwWIWlhBWJiZIvg/AVy+K9WBcxlvX0=; b=ktEZYhpYnhZzG/jCQMXnmT4KVzOVUWFD8IRuhWDss9Aqaub62qM1zkeKmctnYrxA0XFB2v97cmKJmOTJngYzRzCliYURQKtklHKMcnLZB+DHVwIYZYOSKIX+a0B+eZ/L3ODS+j1CULiyn2wD7yzShr3fjNv79h0vzXVVfpt0cd4= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by DU2PR04MB9194.eurprd04.prod.outlook.com (2603:10a6:10:2f9::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7452.50; Tue, 16 Apr 2024 15:19:28 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::d30b:44e7:e78e:662d]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::d30b:44e7:e78e:662d%4]) with mapi id 15.20.7452.049; Tue, 16 Apr 2024 15:19:28 +0000 From: "Peng Fan (OSS)" Date: Tue, 16 Apr 2024 23:26:45 +0800 Subject: [PATCH 09/11] arm64: dts: imx93-11x11-evk: add sleep pinctrl for sdhc2 Message-Id: <20240416-imx93-dts-4-13-v1-9-da8ac02e8413@nxp.com> References: <20240416-imx93-dts-4-13-v1-0-da8ac02e8413@nxp.com> In-Reply-To: <20240416-imx93-dts-4-13-v1-0-da8ac02e8413@nxp.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1713281224; l=1902; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=IkgkzajW3i1/2uBfzzBinYnK7req5nUwjI0YrZQay6g=; b=cgtKK1BL+Gm9DeOmk6BC7Lj5yOQSoXesqsP6htoWUo9i511SpIefxQoSheojBZ1QN4E+K+qSp KTUk1Fc7AToCwv5bdaxjDmYDrwJY7Tro3UZB8s/FB969Hg1c7kl3LNA X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI2PR04CA0012.apcprd04.prod.outlook.com (2603:1096:4:197::14) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9417:EE_|DU2PR04MB9194:EE_ X-MS-Office365-Filtering-Correlation-Id: 163d6662-54ca-4fd9-b7d8-08dc5e289ba1 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: xSfjeHmbtm00ASkSQRutJPQh6tH9UUzE9AycjpXHTKMcAnupqe31GX1lAN9Pt6nzlexwyPBIu1grmzJWk7cqGGTuinHr2ViuEV9in+FObc/TYyqw3niGyvp/fWYjG/GUg6bWbtSykqqYB4fghdawSDoSMsDjG/ereVWaN+2cDkkOx+pcc9F99IODkJJA1l+h1+j/kv3RoBvumur4DI1caskj//tXjBul8hZJmKq4EwluaiUsxsFRhkDVqL+GpEmQkgAwMIKp4jfaKPKKig2bcuRfXlrdNxowoiIjH7wAkAtY+u6MvnKPP8a9DlSu5p68gH2gbzsmUzmWwnZP3wivor0rQcbZY2Euv8sUMOR/nC7Emk0NIqloBfj+HNA+Q7ceH0GRsCtZQjA+d9KicDHZ+1kHpXCLv1VeGQHrDV3G9WEKepFVv0K0xEw1oWhhtDRR13YIPEzOlgURYW98POExaHNwzWs59OtDOSvSeS3IZdIqu3K9+W9dXG8NnPKR39PkBO50r1cKMlJGuOSSBpdCJtJ6p1Yx1BVeF5iTdPkE68EqI2g4Vxv5ny5bHwnYsxsn4E4Jraw87r+bCA0T/F1FiYD6RuN51F2kRAvR7xcfMhwupIiMhEuKpPb6GX9NVCT68UUzDfs8OfAchAbYobrn97mCnzWMOZnWy5oSOdzrLZ7nHRFLfpdd+PqhGG9SgLlQZfz2gPWqSpQmAIwRl8wAkw== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR04MB9417.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376005)(7416005)(366007)(1800799015)(52116005)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?m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0T/UVup8EuDoJJn6rCDrHZjrV7yd?= =?utf-8?q?D570f4ZMM+q+wCUOMs/by8Y3/vPaMtg2Vsjoep9vWl9vZZcxIzrNPOe/zeG7jmFhz?= =?utf-8?q?2oUlVU+TzA7DQAHl094mFsJm5ivVscfADwyH4wHI3jobpDpNBLCiSoXSgyNyaw7hZ?= =?utf-8?q?p72mYdvIsjYtUM3RPL/Vk0OaKERVFrm7C3PcnkRoK0hE84EM1eUBtfAdMTEKaRpAR?= =?utf-8?q?g0W+N046PCHBz9ZwrS4HzeYTcgvZXvjXXWhgt4dZ98z0pcK2eb6qzgECS8llVH8WZ?= =?utf-8?q?qF8plpYXIyTdqdzV8OtiUG4DCE2Tx0aSrzfKi2FoqY5udceBBuSsX7OT94AfoSNY3?= =?utf-8?q?5pvWDQUgNUoCatcFScH9KsoBS9XsAcx/hN6z1Y5Ju+G05RkSZncVasAEO+fLNdkxx?= =?utf-8?q?yWz+YmX0cXD2PMYI12p6Gw9G/S4WSHll+IqRHwC4Oj6FwF/zsU+caS7y6bvOekKk5?= =?utf-8?q?n8tS1qehBCftvo+y1Dl58aUVawGMsLnDoqTd+tAEVd9TZTPB6/fcWGUp9lkCefeYD?= =?utf-8?q?Xt7a2lAwgi5xZfV8iR5ziBfh5kjD9FUVxq2l3vdRANQVVjgb+ZN6HSb0GGpqiqWci?= =?utf-8?q?gM339B6xWoNxjGCSGqbWD4iuqHz4xPV13yT9RCcLnQXAV9506C6tYRRSJxG7po6SO?= =?utf-8?q?WILy4xkhPHYF?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 163d6662-54ca-4fd9-b7d8-08dc5e289ba1 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Apr 2024 15:19:28.3506 (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: puoABZztjnVvePg81/TbY2Bauy4rV5GLf73Vey5tqUUyps5ARF87EjCLm78I02oWT2tkrrYwgNZ8Kd4FUuzSxA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB9194 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240416_081936_040370_2954F323 X-CRM114-Status: GOOD ( 10.21 ) 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 From: Peng Fan Add sleep pinctrl for SDHC2 for suspend usage. Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts index f848cb0922ef..b29d470d2492 100644 --- a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts @@ -169,10 +169,11 @@ &usdhc1 { }; &usdhc2 { - pinctrl-names = "default", "state_100mhz", "state_200mhz"; + pinctrl-names = "default", "state_100mhz", "state_200mhz", "sleep"; pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>; pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>; pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>; + pinctrl-3 = <&pinctrl_usdhc2_sleep>, <&pinctrl_usdhc2_gpio_sleep>; cd-gpios = <&gpio3 00 GPIO_ACTIVE_LOW>; vmmc-supply = <®_usdhc2_vmmc>; bus-width = <4>; @@ -452,6 +453,12 @@ MX93_PAD_SD2_CD_B__GPIO3_IO00 0x31e >; }; + pinctrl_usdhc2_gpio_sleep: usdhc2gpiosleepgrp { + fsl,pins = < + MX93_PAD_SD2_CD_B__GPIO3_IO00 0x51e + >; + }; + /* need to config the SION for data and cmd pad, refer to ERR052021 */ pinctrl_usdhc2: usdhc2grp { fsl,pins = < @@ -490,4 +497,17 @@ MX93_PAD_SD2_DATA3__USDHC2_DATA3 0x400013fe MX93_PAD_SD2_VSELECT__USDHC2_VSELECT 0x51e >; }; + + pinctrl_usdhc2_sleep: usdhc2sleepgrp { + fsl,pins = < + MX93_PAD_SD2_CLK__GPIO3_IO01 0x51e + MX93_PAD_SD2_CMD__GPIO3_IO02 0x51e + MX93_PAD_SD2_DATA0__GPIO3_IO03 0x51e + MX93_PAD_SD2_DATA1__GPIO3_IO04 0x51e + MX93_PAD_SD2_DATA2__GPIO3_IO05 0x51e + MX93_PAD_SD2_DATA3__GPIO3_IO06 0x51e + MX93_PAD_SD2_VSELECT__GPIO3_IO19 0x51e + >; + }; + }; From patchwork Tue Apr 16 15:26:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 13632063 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 EB9FFC04FF9 for ; Tue, 16 Apr 2024 15:20:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Cc:To:In-Reply-To: References:Message-Id:Subject:Date:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=uIsbuRNVhBGYMvRm7wT2eHKJPaveouDd943g5y4Or4E=; b=2W+2Hf1z/NXL2do6y4uC9BtbJJ S6MLPrOgglQEPDW+sXwlZJ5M2elU+1sKB99nax+rbTpsZqF9+zhcegRHAl8Z5A9yOZ9BQxyIv5IOr VKnHAVRD8OCRah0ia0Mmxx8hWNaFo7CxfPIVDAsJVeibGg6LPGCCKWumBoUrHxZzCXt8+nk+6c18O /EjxDuoMHiaYEw6ljD4YlKBlhIULEajgW6D/wpzoHxxhN+ShnLLckZNrXaoN0bJQY4aeU00TOfWxI WSbwBNKG3N7nIMuFCsFpusDJIlG0I+7BwerRlbSAWJehvjuleMJ34Axj/27dwQWY3saAcnhj7kPer ssuTloNg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rwkbZ-0000000Cj9r-1aH3; Tue, 16 Apr 2024 15:20:17 +0000 Received: from mail-db3eur04on0624.outbound.protection.outlook.com ([2a01:111:f400:fe0c::624] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rwkaz-0000000Ciep-0RPN for linux-arm-kernel@lists.infradead.org; Tue, 16 Apr 2024 15:19:44 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kGHLlDRQIVbfjwalk48A0shTkUY0nxEoGbSBdSdUMa4PjTcdyNKWAfGDh+ZF3Muxp6pkFm0e1dU86tmC1QEiwWfC5iOtGe+kRMi/AR/ZVQd5WTYK7QG7n42TkeD4A3oEEw6XemDa7XnU0C3HAFCKOENK5AMCXiGbVmVgGjeeUBoUUuag5rF1uByccFI9RBCvY+nso5ydp9saMxqXHMtHwOdFuJ4ekTzzBuVn+q0byuDVGIMbcGCXXgZuouYsoyo/UTSAI9j5nXK97KIhEsosHj8XOZ5WmbbSaePwaPtYeg+DNSI7U+OQg5g6SAh8tFKZoxx2pcmvhKpeMy80lSLPDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=IT32LSHMcIuQzL0CIpSXsBuJt+5bRTSEl6OAOqsLuRk=; b=hDWbYo2s3l6lGtDcSa3eHggBzQ0aOHpOfFLB6Z01cP1Qy5dXF/U3NjtbDzArAxfoPPAKKyH4B/4ayr3OizTsE8+PAVdYo/zQebQusb7RSrU8Q71AVAFrhy7Evwls69KyhC4eLckilMWRWjB6hbtVKuvQjvs4HDMpsW+jcNQIO7wUUl7rLx7YdXZrvBdei0ye7u34lBGFx+gQWCnsPwnXDHv35DyB+hD9tn+oBFZ23gkj01FJYWR2xrJXTzxvTF5QAgNaMHFKLRlWs7hv17QHvRiTYx0Zl43Xbyn4d8MyptkRNr3T5zSYdnc9PSW0vNOCzLnrhVTfCwYr5gCb20BU4A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IT32LSHMcIuQzL0CIpSXsBuJt+5bRTSEl6OAOqsLuRk=; b=PWJP5Dvj/VRjZYHfR38X7IQRNmeOOEgfuC0zVMB4a6G6gpN2ZWuE/1x4ze++qML+oF49jK7k/CdqALqo7aRhSkl0Fe4EeJ1lMJbpTMlL0gOm12nQpNiqhoy9gJTdw7rXmsYccJWJ5/b6PKKs0goDhlp7IukVITzbbgSoaiZtNEI= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by DU2PR04MB9194.eurprd04.prod.outlook.com (2603:10a6:10:2f9::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7452.50; Tue, 16 Apr 2024 15:19:32 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::d30b:44e7:e78e:662d]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::d30b:44e7:e78e:662d%4]) with mapi id 15.20.7452.049; Tue, 16 Apr 2024 15:19:32 +0000 From: "Peng Fan (OSS)" Date: Tue, 16 Apr 2024 23:26:46 +0800 Subject: [PATCH 10/11] arm64: dts: imx93-11x11-evk: add reset gpios for ethernet PHYs Message-Id: <20240416-imx93-dts-4-13-v1-10-da8ac02e8413@nxp.com> References: <20240416-imx93-dts-4-13-v1-0-da8ac02e8413@nxp.com> In-Reply-To: <20240416-imx93-dts-4-13-v1-0-da8ac02e8413@nxp.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan , Wei Fang , Clark Wang X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1713281224; l=1135; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=zt/COlkMbz43z8ZmWUtFhg4O3YRr9hO66cApIQ48y4I=; b=mdy0uimYpYMItC/CNeZyXk/UeNVPMONEBj8AiQ0nJjtDHdW9hm8piXxTOOHblXVij/G09Jfvv 19BhKwLANOdCzJpQCzfd8dOxD9R/r+Qk8E5KvNB2SKO1X+VqnRNmQsa X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI2PR04CA0012.apcprd04.prod.outlook.com (2603:1096:4:197::14) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9417:EE_|DU2PR04MB9194:EE_ X-MS-Office365-Filtering-Correlation-Id: 5287b02c-6ce4-4feb-8dc9-08dc5e289e2b X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: D/+djYZA+uOcYoVgw5IOy7DXPc9rzIsbPq4Ot+OU7KXJNzVBHxXnQGQBpf5lndOGwu/yyNV4xME5hBMVxdl3vzZPKvzfdT9I3rzCxKfvJHFqiZMnYrtUlnGtkxVnCdhMHLN7sfiH/DMFGEFaY+RVeyl/b5q5v+memJOtLIoBzL/tZhYlvBEUKPeqro4C5VdaIoqEgynWPvKyVMOX/UomlyGLxeIlwI0FFURPTU7KZQJAegVF51tQhOIJE5FxNrrXTHyW0RXIFzAinyqhNzzGQRfsos1QP0J+FwaNULEb000UWTf7maBLhk7u8IpDt1CqxZx5EbFkfJrHU+NEDlMn0oTZtCsB+8GcGfCTeJg3muKAhZsuodcw6OeM8YqAhPIkdJhuDdgN7jDwzJ2oeJsfWnTY4Y3HSLEeCyE5shvakP14+f3xwXElmiAvHGbTQIUAOP6iJOU4C+OXaDBsPRd9mlx9xL08axdxmPO/MPR2fAKpEofH45LGsHGN+e/4zC/mAtppKw2mSmX4J/qNT9EyL029ie1V2Gh6WzFaQ/GFUNfLSWj39xVYzuNbq7WU490aMo8AU9wFw1SznfwZhr5gFfXIhpurLxfOG8/kjsogSkD8LMJuPI4oD4KyA4JSbEIxSeh5mB/dCPEnFA1Zt4qopI0Qejrb9v4BAl9ymcQyjhZKNidv3B3dfxVeUj0+j1BGNi2E/tZKyqHU8YW9Okb/wli+RsZ9rlgUk4pI/R5XsqM= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR04MB9417.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376005)(7416005)(366007)(1800799015)(52116005)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?BTRjrn8geBsUHPPuvku/koXWqwzr?= =?utf-8?q?ySAj5NFpNMHaC9cxCENAk26+72/toD9YHAqLPRK/wEp3i3vVpyOh8h1B0/oisE669?= =?utf-8?q?c+YOv5bcM7xkVPzeuECavPfgyqRrChd4EVxCX18d0mqCntxOarT90g3e1SbhfrAp3?= =?utf-8?q?C/3/m9/wYNXGfYobLJVeSQIxEj7CaV4Lxv2YX2BuH6Oty3IFsln1h6u5hYh9GoU+x?= =?utf-8?q?839TGO0NZpvy56x8j1/ZWnWhh9/QuJbtr5wq7TWkJ0C2Q3K4Px4jC7SHxZDDMM6j2?= =?utf-8?q?PcJVvwOCm7Q0cXQPr+OYckaqUBys0hymcONiUiso/BRTkWotG2z+OJGqpEplCFihf?= =?utf-8?q?VHNFYCHjn1q3tZ12O5rPWawXjbNcYTFp8dgVahPHvtf9HfbhRAx9waChXtrRjM1S2?= =?utf-8?q?wshLpQrbqH1Il3ZlZf3tLHYPhtQuislKJDQQkl/vDkhcxp+Xbw1natj4gtZLpRihr?= =?utf-8?q?l/3gdAGl1a5hLUZejb9KzO2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B8MT9EWCKD06a6KMD4lqdj?= =?utf-8?q?LhWjW0l5iRXnj+W74nObVOoxIFkOvSRgchrROOmM802K3rgMNHHqjNwbHHYa3yPc1?= =?utf-8?q?UfikptXBt6IPoWwozKUeQm4cMUjNrTl9/X7DvGvmyfvNwIst9Bro14oBu32Dal6Zi?= =?utf-8?q?RqibbGZgmCab?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5287b02c-6ce4-4feb-8dc9-08dc5e289e2b X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Apr 2024 15:19:32.6260 (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: VLVPGY+UbZuBUr1y2w/GgiefZjwx2w3GtUZCvkdEztrB4BnzMdw2eqGxy0KE/5pBJSFJNdjCbE2j7sFJTgwdUg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB9194 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240416_081941_628435_3FAA29B1 X-CRM114-Status: UNSURE ( 8.61 ) X-CRM114-Notice: Please train this message. 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 From: Wei Fang Both the PHYs of the EQOS interface and the FEC interface are supported to be reset by I2C GPIO Expender. So add the support to reset PHYs. Signed-off-by: Wei Fang Reviewed-by: Clark Wang Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts index b29d470d2492..44ae985945ad 100644 --- a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts @@ -121,6 +121,9 @@ mdio { ethphy1: ethernet-phy@1 { reg = <1>; eee-broken-1000t; + reset-gpios = <&pcal6524 15 GPIO_ACTIVE_LOW>; + reset-assert-us = <10000>; + reset-deassert-us = <80000>; }; }; }; @@ -142,6 +145,9 @@ mdio { ethphy2: ethernet-phy@2 { reg = <2>; eee-broken-1000t; + reset-gpios = <&pcal6524 16 GPIO_ACTIVE_LOW>; + reset-assert-us = <10000>; + reset-deassert-us = <80000>; }; }; }; From patchwork Tue Apr 16 15:26:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 13632065 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 F28ADC4345F for ; Tue, 16 Apr 2024 15:20:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Cc:To:In-Reply-To: References:Message-Id:Subject:Date:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=mjyVAclTMVX6soZ6U9/VSAPxEPLmwgu/olQceHw+WZw=; b=2zY3PyHVXfuYFYqIXs06qqGnSL jpQVXmRlOawYhuzb0MAToykbzf6FIAmNOQVyEvUkIythjKNcoQGoW+bo4++U7yT6bGeQjmgyLlsM+ v8VPrKhiP3gvAHVx/4+bPuCGji9SVV9A/tHHtC1bMf4H7Iu/Ay2OvhLS387BjMMYezdz3p+sbTPWS EXAQXp2dzBvLn8sYgD2ns9WCU0B4TdCtZ7yUqZLJeFeqLWD2IkTVs7vjTFc78wwOWLARMspOKu4Nh xQfzfyM3nAVaJl6F/8AmIqH80TRfsG8YbDGyqEvHBaXMfw2+5VuU6bd0JLkAhQx4ZVu28wrx/YEKK mREwvucA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rwkba-0000000CjAS-13c8; Tue, 16 Apr 2024 15:20:18 +0000 Received: from mail-db3eur04on0624.outbound.protection.outlook.com ([2a01:111:f400:fe0c::624] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rwkb3-0000000Ciep-0bJQ for linux-arm-kernel@lists.infradead.org; Tue, 16 Apr 2024 15:19:48 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GDt1wqdAZiaVRs8ZNacgb85TY07H7gAu8AsUNU8lVAX/qJirRV4AMXuIbp4oD2iVNOQmOiQQZV4LkWxQruVzKiYxP9Zx4c4fpZmZ+tzPeViaLIWPpbt43B8JIdRBr1gHuWQ/innSfIZRjkxAP13QAKBf0wFEqkX/vjBsZcGec4apfuY/k0bgYl96xKVylfrPARo5RhM1Vs3KoMVE1Nqg8iPIrHcVJSC89SyDLnBqmd396666W2TjsjQKW1jtoM63ed+dCFhrJkK2q4x7tV5n2kQK0c+mHW3UuB1DE1WDT2P3IyWhgK8RGvcmo4tfxLwshqqkYGWDb2bpHBhnmQMtlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=40VyR+bbbDdzXJDNuAMSQzwuFFzejMNjxD9W5yvxzbs=; b=dd1ASq4ytZU4OtOQ7G3SFPn9M1N1LCZHicSUCh55YvMJkLrw3aczYvfQ6/a4uejkLo+SsJ/lhjZI4HdA94Vo2NnjqOhotGUtR7Nh7bpICAIn+RDo9kHocLS8oddnui+VavH77paZZCp0Fo1FjkULAl9PKQDk4i3HRirf92730741IppNfeHEE+dvt0OPfn9uPaPA0XyYSwOhJwZ/tauzc2pk4u0HCTV6bFUMQuZcVXQHeLNisMj8rlz/mOcB9QXlmamW29+C+RxPCPlq7eacpMO1RwE3OGMxtE1FsEYKBjgHyOlAtKRuWHgdk+534BCBGn7t0rxFy0qCKuMQxgjD3A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=40VyR+bbbDdzXJDNuAMSQzwuFFzejMNjxD9W5yvxzbs=; b=jVjC+8bGksngP0B0M31o+TYfrPDLsRVDdoXArdqDnYun2Mwc0yzU+iAJBl6aDS9xRVVYWZlpgF7llTdmtv8e5U/SYg09Aw9LY6OEtZGPI8dW9StUbuzJm1fH+sQT9tmFDhw1dUacl+PSmGec/qpvFw8ZHsUarQmSlSA0zAWo6Oc= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by DU2PR04MB9194.eurprd04.prod.outlook.com (2603:10a6:10:2f9::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7452.50; Tue, 16 Apr 2024 15:19:36 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::d30b:44e7:e78e:662d]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::d30b:44e7:e78e:662d%4]) with mapi id 15.20.7452.049; Tue, 16 Apr 2024 15:19:36 +0000 From: "Peng Fan (OSS)" Date: Tue, 16 Apr 2024 23:26:47 +0800 Subject: [PATCH 11/11] arm64: defconfig: build in OCOTP ELE Message-Id: <20240416-imx93-dts-4-13-v1-11-da8ac02e8413@nxp.com> References: <20240416-imx93-dts-4-13-v1-0-da8ac02e8413@nxp.com> In-Reply-To: <20240416-imx93-dts-4-13-v1-0-da8ac02e8413@nxp.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1713281224; l=833; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=95/or8YNovtRYwaReL52ZgU1R6CLxV7qrF0J7lepSt8=; b=zfRoOdxdMRLA8Pzv29u3UhOIq3URwSC0B7mC0FM7v6H51/78XQHRkQo+ZD1epNNBImSXlH7Zh Y/WGnMU9S8XAQEFZZKim8YRy4IjOQCwGQryUTaQrjgnbB6FT6nbYjGj X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI2PR04CA0012.apcprd04.prod.outlook.com (2603:1096:4:197::14) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9417:EE_|DU2PR04MB9194:EE_ X-MS-Office365-Filtering-Correlation-Id: 34f9c98a-feaa-4165-acf8-08dc5e28a072 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: NAox48oz6ddYlNWqH5n/yXf2cLVgfbHPwOvXqunFSLDlcfzaSnx/tOn+aLmvLOgLrdGxoSfszwi9+WY9Eoq9exQWu2/KtpskeMqvzr4OBd3btxwTiuv2ewa9gWKfUGjF7TY2iEQbQQVhJQmVlZivAaktX108Y9fvHdWZ4Lj5XCCEjBLKMHvhPKVWrb8A3a0YFaMAfepMmImtdFd6S6YxyvF+tSo0c/zOES4xCN7Qnczgrw692oh/WblBSi23e2bFnnFNp19/O6AJFwbKBSlMLcKdDXWPY4VskhULE6bvL14MHc2qri5E19QFBfHkqIwsQqH7e+GCz3EUHYTFmn3PvrOI2ehYzGXMJr0AGKXZj+0bH6thU2kCWtM90o9ywg6eCXm+fpk7KLQrDSmdKVHo6js4gur5S70rrC4rWe3Mjl5f5RS1GzvLtlKyweUbEJSVZMR2l7ls5TPehMc986qiCqkLpKmcIADTuAqZa7VdND41hBnzzmNQr0RFnKwnSnsVoYc/jxL8/a4648LYVMbcMfaM1x0aIommr1wJTCePSb9rGvNGXQDmzctkl6eKdT2YoLvtoLyMHvRLtfukyO3szP+TJROuUqd8YsAfOeDGVwDebEqEGb7WsJYlKE7mVYKfwWrXGieOpa1tuIdfzLbYsufYwyuqrz1sTi8vW3hYcErxw4Za03FGHIYqmKtVU3jwtKhQHiuIVTSBD2uH/gOStPGuhX6BbBi5B2oogbmigZ4= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR04MB9417.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376005)(7416005)(366007)(1800799015)(52116005)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?X1fVF4ny06h968F/GUSWdj4qVWSw?= =?utf-8?q?L6W8wEjBTxTuCi/3TfDce/lIydf7adNkeXCffLiwrEvPy4tMKcxqFHOQVpEb4ivlC?= =?utf-8?q?P7wOQinLglTb2tDSxAq0VU7UPhmKXn/u/5+J4wioZjrfmY1+YpWeYHcazU2U22SJ8?= =?utf-8?q?OfGIwG2KdUok+/Ut47LE6dWHY7U8MRwAmDL4GwB9i9/ydzEsdlY5njtHMlXZdhtc0?= =?utf-8?q?d4iohoeffv/OVYxw1u/bz4o4nufnIhS/eDxYOxEL9fCRp2rs4lNKuU1MvK/XE3K1l?= =?utf-8?q?2vT23CX/+Z6BCHpIbe6mWQRLMfBCxBUoIzAJnNiRDVR1ceMZO8R843Zn0ZYTyZE+u?= =?utf-8?q?uFDZiBH6PKJB4CzDjApk8XkLoCfM80VjCIQj/A4DVu9UY9nUX5gXDkOkcQEgCfy0m?= =?utf-8?q?nED9Fks4lbczajOehC9hSnPMDZe45dnI8MkmsE1YmC1i55v8i9fUgb6Oz+LI6sSDV?= =?utf-8?q?NdV3eznANSg8zRb2CzI01rBw5BYKPvg06+EvwtJWvvA89k1ktYxcjWJuaVYzD9QXx?= =?utf-8?q?ihhowTHAhH5chq2zReHNtEJm4uWeXoV2i77u2iiDCVBBcoUWYXaYvtZyWXoHhZd97?= =?utf-8?q?hqhlpn4L/h9YiR9nF8t/WParJLoaSmSNMOiKsDH4B35Ddop2/yVi0217mHlwv5yiG?= =?utf-8?q?IHU7cr/8QNmsUvUE1+Wxh9p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ss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 34f9c98a-feaa-4165-acf8-08dc5e28a072 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Apr 2024 15:19:36.4411 (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: bGIh3/DPALUAZsFHC250zGWSC9rvcAzQicOJ7r9HNXNAtQRDaMmUDXi9n+SmlmUdqf6/t20n0ZxkYR+r+WJM2w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB9194 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240416_081945_753899_B6598E7E X-CRM114-Status: GOOD ( 10.07 ) 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 From: Peng Fan The FEC network driver is built in, with OCOTP ELE built as module, the FEC drive will defer probe because nvmem provider not ready and nfsboot not work. So build in OCOTP ELE driver. Signed-off-by: Peng Fan --- arch/arm64/configs/defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 9957e126e32d..b9f0805abeef 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -1553,7 +1553,7 @@ CONFIG_ARM_CORESIGHT_PMU_ARCH_SYSTEM_PMU=m CONFIG_MESON_DDR_PMU=m CONFIG_NVMEM_LAYOUT_SL28_VPD=m CONFIG_NVMEM_IMX_OCOTP=y -CONFIG_NVMEM_IMX_OCOTP_ELE=m +CONFIG_NVMEM_IMX_OCOTP_ELE=y CONFIG_NVMEM_IMX_OCOTP_SCU=y CONFIG_NVMEM_LAYERSCAPE_SFP=m CONFIG_NVMEM_MESON_EFUSE=m