From patchwork Fri Apr 19 03:36:56 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: 13635599 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 B4452C4345F for ; Fri, 19 Apr 2024 03:29:50 +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=l0P1B7UD4ZiZbueWI3e9d2NS5RB3oTxjoDI+ie4CI9E=; b=gn6qIty7k17SCVO1zyxc8pDkTM 2JntoMJwIGX+FcD/IagkPSWsL2PeBx9zV5AUBjjeJJdKdje7wfwMV9s2SkMeUF1RZf4fKhDNsGNQ5 vA1c3pVr9ZE4XmbSdE6z00fujCISXaPgXI1A2erq6QTY34eHI8WLdSYxa8uy3kc9+FFaQMOYSfTTC Tlmo+NFP5RXqHpZ0FUv+MYUpLsclOM9iGc6agGzhRAQryh6QdAfqkCEG1rlC8Qwhnxwh4xc1QZMgS WM4MWt1xL566ngmTe+nPVDOtqCrdUCHunAzwwzmdjtfvMMt7Q0L+dY/lNcyMc+7HS33Y/yk80bJoS uhcN6O2Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxewV-00000004DsZ-3yK9; Fri, 19 Apr 2024 03:29:39 +0000 Received: from mail-db3eur04on060e.outbound.protection.outlook.com ([2a01:111:f400:fe0c::60e] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxewN-00000004DlW-42Zo for linux-arm-kernel@lists.infradead.org; Fri, 19 Apr 2024 03:29:33 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QkRtmbKk5BNlmC8C0Q0Q/1x3w6mKwRQe8iym8vAFCQTClep6u0KXyBNzDWV4n6YpleTUrahjPPqFzF7fQwdI++PZP8waRoZ9iTDD1g9JXu7A0ZbbYp4STSHOnqG9gY96jXbkvpk9wLRmTzGhY6Lmqln07R6HaKphTAhUpgQCJQLcdecFYX7P7PzYVZbnHRf03839Z3ptdyC/TxeBtHSjxnlVPW8qPsIxmK7zqXS2cEihgxKr0CcmmY7LOC9K/8bbMmmnZFnyEtCcHw+x0VyciT9voCIesxZS5KPn+RU64SZMgTMuTSZp5FF1eV5guf+cyGW+zoMjkFhtunaQ3X820Q== 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=NASOKxKFqVoTaZL/w/kh3vGj2Io5X0Kr26ME9SQ+1GI=; b=CQqKJQ607fzUhah/P3rDwsAc8/HQ0KAboBEXXEtJGtlF30RBaO5F50+GOw1gVJPS8Wu7E5EHN3GYpxhqV+OAvoL8CxZ9yayvh/3bEiYZhbvAw2bt+mil4tCT8XCDi195rcStG/pLZbRa9lBaZvN/867q45XCk4pAsS0pOKrwcmYnlBzdg2LOdiFz1c4DNdQDlQPYfX2Y9F2ZFP1ufL6cAdEEfGYO6OOqbGAPMRc15XmWFZv2P4AqDIVnNHS9IvWIDYGl3fLxx2zmViqaPfixt5TJe3B2PfQtKSlOQlBkFzJzXmAokX+RSuK962SsMa+nDQSXts4ZImBKGc9vd348Wg== 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=NASOKxKFqVoTaZL/w/kh3vGj2Io5X0Kr26ME9SQ+1GI=; b=N15nd99JqL09p+AKz80bg7AsFgzLAH2O5sC4IF6wTCrDOvX3tjAOrQ+ZmaJCF9mcU9SrdpHxlvtka1sVXNYpFWRnad6lO09VZsvuaOVeRDYpQZRho5Y/tW00XbNy00BMvOeMc66jTYXF8ZLrXpfe70EKJM36dmBlisFl8I1985k= 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 AS8PR04MB8802.eurprd04.prod.outlook.com (2603:10a6:20b:42d::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.43; Fri, 19 Apr 2024 03:29:14 +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; Fri, 19 Apr 2024 03:29:14 +0000 From: "Peng Fan (OSS)" Date: Fri, 19 Apr 2024 11:36:56 +0800 Subject: [PATCH v2 01/12] arm64: dts: imx93: use FSL_EDMA_RX for rx channel Message-Id: <20240419-imx93-dts-4-13-v2-1-9076e1d7d399@nxp.com> References: <20240419-imx93-dts-4-13-v2-0-9076e1d7d399@nxp.com> In-Reply-To: <20240419-imx93-dts-4-13-v2-0-9076e1d7d399@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=1713497841; l=4918; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=mySjYXM7AfvKO72Ck9WGrzZ9bsmjWK8wxHuq8kOXlEw=; b=h3ys0yUa/7rh1qoccebB/FDPpE86WFuOPowf3R52Yngl1PyVjTgLxtm+LzERo8HwI1KrkQQ5p wYpLk5khhnfBrmKLTNuOgqnJoV0fZI8lfL99/bU3me72SIQWeNjlNw1 X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI2PR02CA0025.apcprd02.prod.outlook.com (2603:1096:4:195::21) 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_|AS8PR04MB8802:EE_ X-MS-Office365-Filtering-Correlation-Id: caca1c47-295e-44ca-3ca2-08dc6020e2ef 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: JNh3HUJoXmMOWDOF4DvtZRx+1Yf5Vmq88HZl0j8BSbPwA4pHGQWFyEYKx08XctqCM+HyCXIukjpEDBuw/gfwAd6bT+X/lgDv/Pt0UyokAZGldczsXIkrx2WDndZJe5jIXItRP1DQblY/uNo1Ohwr99smgHcA2KvhTU1+TgVo3FeNQ9ovgFBO/oLPy0y+OrwATBIJaxAnw8VZ6TGBaaROUSH/jxbVFOJdkp24DN3RlvsAZiZXGhtLOLlZ+SzqVh7a6LUZmjThh3VLYypCHuYUsriHdVcn3s13czCh4E+n0u7D9W3fNIYIzPb+D9J1GWaNDQ6ksMPtviIUgDj26CxVLZQSTO11BaJZrs8wvG3uxKyjVSsDBXLK+yUk/Cs7uUw6kTK+1FQCF40Ut+j4rdzAfLfAKpm3YfOeKbYnMATv7bSqhkyRJDrYSJpr3nB2GFlTKc0+mkGL0Zz/zT2zt3NQexCzv6F8ycx+OACRYDmPihZNZysBIex7rTyIYoFufGFSRCgrYKq0IWfF3F4Eb81rtg4DID7AWXCQbqxyrolIPBBKh2ceXwlYjI/WyGa20Z6lZw/1yPBFzcX3dQKNNgC8C6TUDdyRkm7kbp6RWFi/Nh1OI506AbcdveicQkIkoQHPZP0TGeSfg41Yo5GPUY174JRFR6POqlGUz+vavSgZvmfT/sUPvbdnzvqMl+SIN3XOi/5KaG+pLV9NAxU+WGNR6s+ocNOyiEu+91YGu4bAdIQ= 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)(1800799015)(366007)(376005)(7416005)(52116005)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?fpUPHFWUFMWOUBJjRrH6Th/Us/yo?= =?utf-8?q?/c9fN9q1FESAAJe8PjZN48x2KUuAR32sNGO8ZYsX+nmWrUg687UNavKnPXUgg3UNi?= =?utf-8?q?BshZtK+/jBcnDWBTW9tr2CN9H212CZ/fE99L3t9s4cOXL4buLJRTe83r24YM3p4sE?= =?utf-8?q?3lUJ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1K1Skj41djmmKPnV5UmObExRSEkC+NtfJ9erVp43epE1MYIAYcWMVh5mtdTb?= =?utf-8?q?CMDaL+fsD6stba2qcSCKxXchwcmgKRIS0RCxUCXc99pcvhYBBvqPDwxIL9VZytX/e?= =?utf-8?q?zqJ5tlNb2DszpvCqE/FCiQ0Yb+RRg7JtLD+zcgic0e+QTMF6HICc5E4nuAGhFuzxT?= =?utf-8?q?h7KNvxpAmlYFPRg79PQqFHZrEwlR+h/WDhZiqIMly2Dc2ijz6msImWw/4r10KiH72?= =?utf-8?q?60l3YQs3YVT2L0iq9B2qLfON86dGRIkFFalHC+CEKeQSbl/XrWzAC3XWnlIXh1hjN?= =?utf-8?q?p4du52uyMNzyisNtm2kiEIPSUeP4lcSS9N9OAA+QQ4RFOr6Vvy0WpIf9FLbAVSc8t?= =?utf-8?q?0q6uIk6UA8p68XmkJO9Q61u8WZ/PcoemFkRyJRLEB76L8Dv0Qu/iWw06qwg01WI4t?= =?utf-8?q?Z+tPJEwKCSo7i4o7l2ZysgcoWlRUhnnrYBI/BZ5LDCJPenOKLVGWsolC1W2ArmuN6?= =?utf-8?q?LG6kL+lMZtV8?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: caca1c47-295e-44ca-3ca2-08dc6020e2ef X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Apr 2024 03:29:14.3485 (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: k2Hmz6RIApCgC0OIRSRD88N800eR8eo0zAFrAepoUSH/XSu079IlIc1fOIGykPIlQk7A8oXWSiM6/iUdFWtaBQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8802 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240418_202932_047797_850671DD X-CRM114-Status: UNSURE ( 8.66 ) 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 Use FSL_EDMA_RX for dma rx channel bitmask, which is intuitive. Signed-off-by: Peng Fan Reviewed-by: Frank Li --- arch/arm64/boot/dts/freescale/imx93.dtsi | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi b/arch/arm64/boot/dts/freescale/imx93.dtsi index b8ef9b938856..42bbe491a29b 100644 --- a/arch/arm64/boot/dts/freescale/imx93.dtsi +++ b/arch/arm64/boot/dts/freescale/imx93.dtsi @@ -4,6 +4,7 @@ */ #include +#include #include #include #include @@ -361,7 +362,7 @@ lpuart1: serial@44380000 { interrupts = ; clocks = <&clk IMX93_CLK_LPUART1_GATE>; clock-names = "ipg"; - dmas = <&edma1 17 0 1>, <&edma1 16 0 0>; + dmas = <&edma1 17 0 FSL_EDMA_RX>, <&edma1 16 0 0>; dma-names = "rx", "tx"; status = "disabled"; }; @@ -372,7 +373,7 @@ lpuart2: serial@44390000 { interrupts = ; clocks = <&clk IMX93_CLK_LPUART2_GATE>; clock-names = "ipg"; - dmas = <&edma1 19 0 1>, <&edma1 18 0 0>; + dmas = <&edma1 19 0 FSL_EDMA_RX>, <&edma1 18 0 0>; dma-names = "rx", "tx"; status = "disabled"; }; @@ -400,7 +401,7 @@ sai1: sai@443b0000 { <&clk IMX93_CLK_SAI1_GATE>, <&clk IMX93_CLK_DUMMY>, <&clk IMX93_CLK_DUMMY>; clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3"; - dmas = <&edma1 22 0 1>, <&edma1 21 0 0>; + dmas = <&edma1 22 0 FSL_EDMA_RX>, <&edma1 21 0 0>; dma-names = "rx", "tx"; status = "disabled"; }; @@ -737,7 +738,7 @@ lpuart3: serial@42570000 { interrupts = ; clocks = <&clk IMX93_CLK_LPUART3_GATE>; clock-names = "ipg"; - dmas = <&edma2 18 0 1>, <&edma2 17 0 0>; + dmas = <&edma2 18 0 FSL_EDMA_RX>, <&edma2 17 0 0>; dma-names = "rx", "tx"; status = "disabled"; }; @@ -748,7 +749,7 @@ lpuart4: serial@42580000 { interrupts = ; clocks = <&clk IMX93_CLK_LPUART4_GATE>; clock-names = "ipg"; - dmas = <&edma2 20 0 1>, <&edma2 19 0 0>; + dmas = <&edma2 20 0 FSL_EDMA_RX>, <&edma2 19 0 0>; dma-names = "rx", "tx"; status = "disabled"; }; @@ -759,7 +760,7 @@ lpuart5: serial@42590000 { interrupts = ; clocks = <&clk IMX93_CLK_LPUART5_GATE>; clock-names = "ipg"; - dmas = <&edma2 22 0 1>, <&edma2 21 0 0>; + dmas = <&edma2 22 0 FSL_EDMA_RX>, <&edma2 21 0 0>; dma-names = "rx", "tx"; status = "disabled"; }; @@ -770,7 +771,7 @@ lpuart6: serial@425a0000 { interrupts = ; clocks = <&clk IMX93_CLK_LPUART6_GATE>; clock-names = "ipg"; - dmas = <&edma2 24 0 1>, <&edma2 23 0 0>; + dmas = <&edma2 24 0 FSL_EDMA_RX>, <&edma2 23 0 0>; dma-names = "rx", "tx"; status = "disabled"; }; @@ -813,7 +814,7 @@ sai2: sai@42650000 { <&clk IMX93_CLK_SAI2_GATE>, <&clk IMX93_CLK_DUMMY>, <&clk IMX93_CLK_DUMMY>; clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3"; - dmas = <&edma2 59 0 1>, <&edma2 58 0 0>; + dmas = <&edma2 59 0 FSL_EDMA_RX>, <&edma2 58 0 0>; dma-names = "rx", "tx"; status = "disabled"; }; @@ -826,7 +827,7 @@ sai3: sai@42660000 { <&clk IMX93_CLK_SAI3_GATE>, <&clk IMX93_CLK_DUMMY>, <&clk IMX93_CLK_DUMMY>; clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3"; - dmas = <&edma2 61 0 1>, <&edma2 60 0 0>; + dmas = <&edma2 61 0 FSL_EDMA_RX>, <&edma2 60 0 0>; dma-names = "rx", "tx"; status = "disabled"; }; @@ -845,7 +846,7 @@ xcvr: xcvr@42680000 { <&clk IMX93_CLK_DUMMY>, <&clk IMX93_CLK_AUD_XCVR_GATE>; clock-names = "ipg", "phy", "spba", "pll_ipg"; - dmas = <&edma2 65 0 1>, <&edma2 66 0 0>; + dmas = <&edma2 65 0 FSL_EDMA_RX>, <&edma2 66 0 0>; dma-names = "rx", "tx"; status = "disabled"; }; @@ -856,7 +857,7 @@ lpuart7: serial@42690000 { interrupts = ; clocks = <&clk IMX93_CLK_LPUART7_GATE>; clock-names = "ipg"; - dmas = <&edma2 88 0 1>, <&edma2 87 0 0>; + dmas = <&edma2 88 0 FSL_EDMA_RX>, <&edma2 87 0 0>; dma-names = "rx", "tx"; status = "disabled"; }; @@ -867,7 +868,7 @@ lpuart8: serial@426a0000 { interrupts = ; clocks = <&clk IMX93_CLK_LPUART8_GATE>; clock-names = "ipg"; - dmas = <&edma2 90 0 1>, <&edma2 89 0 0>; + dmas = <&edma2 90 0 FSL_EDMA_RX>, <&edma2 89 0 0>; dma-names = "rx", "tx"; status = "disabled"; }; From patchwork Fri Apr 19 03:36:57 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: 13635601 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 DF542C4345F for ; Fri, 19 Apr 2024 03:29:53 +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=Fz74aWyORVVR40qfGwEaRBz8AZalUWulHEgE6qhJuJ8=; b=Vf8TLJxQuIUhVHdDNGOTIY8svv uLNacsJOFetQGi1raH4XDrk8/ZNyu4w/bm6ZCkdeVGzFkxv7G3W8m+mQ5jQBhXeXsXpQZ8g8hoTfb lnWNN3lN5eqwa1IEfE1+YOKAQ3ub5ziVAbmt5vr0dU8xBFJc4juMTHKBpHIn0o8IvjGCgM68Q0nwh jXO2cTxvboTDkuYJ80+7lSbUgOHkqk9uhrGdg5PfHdA/Ci3h09KH6mulJKZ5qmGzj3xCoQyfxbbEC khtNmjZ6/c/x1WbtKNVmVStVF/6jln76+pOxqOe6OR1GzWukm3RI/rthNDXsHdEUoAeLBftEirG/J kDpZeJlg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxewX-00000004Dtb-03YA; Fri, 19 Apr 2024 03:29:41 +0000 Received: from mail-db3eur04on060e.outbound.protection.outlook.com ([2a01:111:f400:fe0c::60e] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxewP-00000004DlW-2IN8 for linux-arm-kernel@lists.infradead.org; Fri, 19 Apr 2024 03:29:34 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hhVtbAKUNeru8aOMasQz5vpzjQqbW4H1RjkNcHXCqBE7zzSUcFn2DpdMpu3juDswzMxgdVOKiMnSeHFxqvuvwSVoz9cJQs4OIedilaAZpew9UTmKi5dDTUfEaR2FlM4z3Ryg6Xu02ARYAsvXIHjKeIuJ3WHpN1C5gS62aWPeay9mHjQigizyXF2OD+CFNaqmAdVcdMassXgYhQfQHpkYKZvSrUUF4kTskXqQhnT9nbTUuFLis7saP7HynwuB51+X1UhQcwuyL6RASjdzdRk7MfAvzwm0upSwUMrv5EFeX/iTEKxMSOt8R9T3OLTZOmFyfkeGeofqmBBHqF4AFncEew== 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=vvFkWbra2HvnIKpQ8gfJIcI1E03ufmEmFyiAVvLw6Ys=; b=ON22uesurfturUURXW7YqWBIutCAss1qbW/+ESnEfvAPSBDoQFgejLPxyePqn3CxRlZiLWJnk5K+gix+dkCL/WveD/kaI+leaWcTKEDRqYDrdErfY5ZgEjF8quU+HnpQDsiOEOD3W76GXKI9k2zKsek1Fm7okCW5dw3AUH6fuyBoRET7WHPv5giWMR9nRsxJIixgSvVKSbUJcNXj3KnRruKIf3h/uJd3Vglv3Ess+mMLcs6wbqHy/cjAOMXUEhiB8bbIgKYna5RBP4IDb2Ig7mt/CavNKTa9bHGVuVGeI4lo1lVvvIMpB/2Xaz9otaQwzKnOsk5LuUnbuVq48FNDvw== 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=vvFkWbra2HvnIKpQ8gfJIcI1E03ufmEmFyiAVvLw6Ys=; b=Rgy+3yqU7+wouGjIgMoRH5n8X1J95y7fZDwccc4Rlk5Bc1lAXgyaFEEwTDGL6MhsVQzUdnCxAJ/DNftKhMLJ/YTM6gQyc8/gkqrAMUWB+04zgJWnJnxXw6MoRr5EYZLwDkYlSbyMDyTmnf/KahS64UAaNFpFOME6vRJ8n3J881k= 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 AS8PR04MB8802.eurprd04.prod.outlook.com (2603:10a6:20b:42d::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.43; Fri, 19 Apr 2024 03:29:18 +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; Fri, 19 Apr 2024 03:29:18 +0000 From: "Peng Fan (OSS)" Date: Fri, 19 Apr 2024 11:36:57 +0800 Subject: [PATCH v2 02/12] arm64: dts: imx93: add dma support for lpi2c[1..8] Message-Id: <20240419-imx93-dts-4-13-v2-2-9076e1d7d399@nxp.com> References: <20240419-imx93-dts-4-13-v2-0-9076e1d7d399@nxp.com> In-Reply-To: <20240419-imx93-dts-4-13-v2-0-9076e1d7d399@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=1713497841; l=2706; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=oc6Fvu2CN/MVZ1zStQH3SPFzDWzYrcG02QceK0Pv/vM=; b=VwyY1aH/N270aMd58WWeElu6SqlannFuoSNH7yaIQWp4A4ld7KXtlQ2YtlqCu7slXMX4/Y0v8 S0zPPKYYouvDnkvgz1JfGj910eqVyWkuAfI8cu2TmhdhBL6Z5dq6J0I X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI2PR02CA0025.apcprd02.prod.outlook.com (2603:1096:4:195::21) 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_|AS8PR04MB8802:EE_ X-MS-Office365-Filtering-Correlation-Id: 82bd4e7f-f064-468e-860e-08dc6020e536 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: t5o/ZhI/Qur2/SWBP2Mz3us5M65c55isJYco55j7ifSFzfwkTI7aiinX43wCNBZmgHVSbkZThekJH0aTKtW5V4VVyNDw47Qc2igENCO+Fqk4P3VExW/3tP6770V5zmJW5bEK/5fsCv1CsuXWx5sdBb6QCi88xalf3tnLmD/2NdL/+4fY/Xydwk/o8W4HMiKkw8vw860jehXWhmSWSIwwC9yayPQOJLeKiJIL0CLNNzeXuBj38us6197l4AcBYg8YEeLPmJkSXg060JA7PdASM3LVu3XX2/xnYB2WRSVXA5oy3Zk8nfdD9kuuQV0lV9STsN2Qr5IunuXclqq3MD4pe25Havk5oX5mWuzNguic4kKy++DWVxhuMr98Wq1+nfmf2d/uZ7FuaCtqCTrKllCg/KYazc0k6PFG6NunzqRKOz9tIAu2Gdd348JSXnQMA9He5n32oTdSUxML6g8NmBA7AcNfalGOCuZgsKjhJCdnaR8D4oKooPBmArAvqUrSaX2zeSrIFJVoNSASkTKz4xfIuZY/89dVVX5Vj+X0VDhnOHx6NckW9O+XASHBmV6yKDDCzhbw24XvDvX6tIvm360bgKH2/WvTPmq28qb7k7Q1RDBauQMlSLXeOWtB2MnpECE28V0ye0nw8VsFskPmtm3YDST/79g7gnQ/kauN9FL19ayeqXUNxqr284qyvocA2Y6KqyqG8MpXV8SJL0kXrzt/DA== 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)(1800799015)(366007)(376005)(7416005)(52116005)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?BRo19i+L7rgJ04mbL95kbOEoUuFw?= =?utf-8?q?0nD0hRPhmuOCVBMTLzimR5jt1fSKwCK7jVtvuVcp0LYcvOyZ6jcFXwfPKEyUizkKJ?= =?utf-8?q?PddFqtC0EMsQ6xjMwO5/KTz1Dz5JNSLXrtiAFxSvhpzTsVVEYPr9L2J8HCKFcqEKL?= =?utf-8?q?S0eReBU5/FoODd9g8O6YQyYZH3DlotoGXzQuUnH1LUznaDRiSgxeYHHrOGDWBdiJy?= =?utf-8?q?HMTGRQ+y1iugZ9zVvjn7mnt0S+nR3g+U8Z0S0XGGu0xZKwBxcQfO44PKJK99BUfV4?= =?utf-8?q?vuqi3VLuSHOqdHqjpiE+nHgwewAQ7FVLIa/i/7q5adUyIZ9VuYMH2fDfKmtAHYMMC?= =?utf-8?q?1PmQz/6Ao0R9iEmesHniJ3ckS5rG4Ku6u71fzds541sHDB/93zApJ52Fy3CUR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ko?= =?utf-8?q?1delJ0Geg8mGscYhMYDs3STtZDOi6Xh4lSEAdt72blfY7bYnRKUNakfrvq7troRWL?= =?utf-8?q?TuqQpi6Ls2N8vsz15MZkpBiW7WxX+APgMDODzio6g1WC/n2U4B8uZbRImNC3154c+?= =?utf-8?q?fGOjVeNCf6p+0nprP1Bo3o6iyPQq5E1RcJEA9C/u+H+8be0AC8hWrsFq7ebfc6Oe2?= =?utf-8?q?CMUuaFNd9M3jhXDtgWLcROff/0S09H7E1PgZ7ILQAKe3NlxD+p3BJW266fGgEh2pR?= =?utf-8?q?V1O+J3qCkEWI?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 82bd4e7f-f064-468e-860e-08dc6020e536 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Apr 2024 03:29:18.1386 (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: O4SLwf2a96ClD7arLFEOjECTXv6JbA9tX/jDLtmysJ4X+sC9AiRtTu9cieKxR41UuIOEwmphoHLyxwl6vwty8A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8802 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240418_202933_670064_2748526C X-CRM114-Status: UNSURE ( 8.57 ) 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 Reviewed-by: Frank Li --- 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 42bbe491a29b..93c1d0fae291 100644 --- a/arch/arm64/boot/dts/freescale/imx93.dtsi +++ b/arch/arm64/boot/dts/freescale/imx93.dtsi @@ -317,6 +317,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 FSL_EDMA_RX>; + dma-names = "tx", "rx"; status = "disabled"; }; @@ -329,6 +331,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 FSL_EDMA_RX>; + dma-names = "tx", "rx"; status = "disabled"; }; @@ -693,6 +697,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 FSL_EDMA_RX>; + dma-names = "tx", "rx"; status = "disabled"; }; @@ -705,6 +711,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 FSL_EDMA_RX>; + dma-names = "tx", "rx"; status = "disabled"; }; @@ -882,6 +890,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 FSL_EDMA_RX>; + dma-names = "tx", "rx"; status = "disabled"; }; @@ -894,6 +904,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 FSL_EDMA_RX>; + dma-names = "tx", "rx"; status = "disabled"; }; @@ -906,6 +918,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 FSL_EDMA_RX>; + dma-names = "tx", "rx"; status = "disabled"; }; @@ -918,6 +932,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 FSL_EDMA_RX>; + dma-names = "tx", "rx"; status = "disabled"; }; From patchwork Fri Apr 19 03:36:58 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: 13635600 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 BCB75C04FF8 for ; Fri, 19 Apr 2024 03:29:52 +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=r0piNs8E+rg4+HncsOtjF+Vxsd5Wsm8Hjcq8joI4HZA=; b=c6n71W5hXCi0FKlpV/4yp3c0y7 /zG8lmIwyKHgWRa241D4SV0X6pY1NRA8R/jLN0knnWAGJt0+0cADij+YPyKQtkat1Cqu/ugbNjape VBezvI5g9cgaGdV+A/vOfmS1qHEdvOrLwzO3mpa8GELwGoI2W6wV1W+o3wLYfL8IxSvi/91sP4+J/ 02r1jqfym+TYEh2Tq/j0cYgpFKzX5jZeNiuscpwRmCnHVzSXRp6bLfNStOb3RHEVEIgnE5dnuC35t ljTSyKnZU9mJTYU6Y2nDF6dURfAJQwBMjdtj6jrj7COPcyAB+xmq1p3SgtXoEd9rMsoccJms+EdxY iIOGnipA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxewY-00000004DuK-1c0h; Fri, 19 Apr 2024 03:29:42 +0000 Received: from mail-db3eur04on060e.outbound.protection.outlook.com ([2a01:111:f400:fe0c::60e] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxewR-00000004DlW-1FEH for linux-arm-kernel@lists.infradead.org; Fri, 19 Apr 2024 03:29:36 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CqBQZnL92TGA3hFJZYW184O/JI3GrTvNcBLCoT0VsHAEmc2XcfvC92p1xbJLpZ9fUP/EItAkPAmBT/F2zaA+TD+iA5PCEZao0tOQ9NmQREgmVNNsk84AwFBFR/PwxNQ8KydeqbaCM2FzjooKT8SO0NRoRrmBxCik8cWM4XAcwZcwfPJfSOIOCWqgjEVFMxhpDG+ZCu+D9z+eRSHrNOlHFGA2RBddCTHjDWGfRQypc3prdQ10DKkp5eeuBrV943aBE+dyYWcN/3+n1GWyMs/OscasFFutWnIj2Sm8Qlb3vHJXrUjVaR9tE0DDjfsmBqMDNCIuKIyAHo900p1ibR954A== 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=E376hw7okZA3gyRt6FHqVVoTkDlyzFXW28a/g8TKz6g=; b=eYN+yPRoEEqE06Y8UVLRxQPlv7AYOuq18nazhjs94pQ4dDZKS6NSzeMQAPUmcNcTaCt5EJ0RyEj47WzG7K5C9TUYZd240Julxm2m4RUc04da8T6qwRk/ZB6zFZoC/jKgw9z+GL7l17DXCJ9OFBcLxG4fwmSMGQPadBkCGAv3v9IzhkXgNtPjmMPJFDBw4MdmnGwiyNXdzaL2eRbrZfS17ZqxSrYQaB8JT3lFos/6g58oHR6qFr4foyoe9NOKD/sca6yNo226xZO5MxZir7BQFyGhMPy0ml4DyNO5161cAYSL7Dft3nOYgFI3uqvH7iLzpz2r/4a7nAAt7XqnFpQvjg== 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=E376hw7okZA3gyRt6FHqVVoTkDlyzFXW28a/g8TKz6g=; b=WEPXEFD5H2l3NeFXf8470pESgfQRw2qorLLxz0bpXm0OZVu+ficTJfZKe7wycgrZVhGUZ7wHUCc8mAq1pIiAuVerJGJ7JI6P6/tfTqKADfdDVhYIn1J0itRh6Ojxd536JrAPrMWdiKXcgfvuJfwa1j3D4FyYU+vX3VfpoPTsEpA= 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 AS8PR04MB8802.eurprd04.prod.outlook.com (2603:10a6:20b:42d::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.43; Fri, 19 Apr 2024 03:29:22 +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; Fri, 19 Apr 2024 03:29:22 +0000 From: "Peng Fan (OSS)" Date: Fri, 19 Apr 2024 11:36:58 +0800 Subject: [PATCH v2 03/12] arm64: dts: imx93: add dma support for lpspi[1..8] Message-Id: <20240419-imx93-dts-4-13-v2-3-9076e1d7d399@nxp.com> References: <20240419-imx93-dts-4-13-v2-0-9076e1d7d399@nxp.com> In-Reply-To: <20240419-imx93-dts-4-13-v2-0-9076e1d7d399@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=1713497841; l=2710; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=JRiwvwf7zsQWFnwrGpbPk1gr8vwpQcTBOuKKxzQjCkU=; b=+F6Pl3ZCd52DVDR/2m7Wzx1Z9GhWZqrRbpwcFDIOtYHSu1NK1BBIcWODlWRPk9mLpJkGI6J0J eUls1SKHefTB8btvyiJ+cF/l4ARJDLSiGe/gtGEMyHIdHbU6N/oXbzz X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI2PR02CA0025.apcprd02.prod.outlook.com (2603:1096:4:195::21) 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_|AS8PR04MB8802:EE_ X-MS-Office365-Filtering-Correlation-Id: 21ade895-351e-4b41-9d52-08dc6020e77e 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: P2ztm4Wzq6LMVVUZ7wDOGrK9RxJomHKCrjFylpR+QR+eXYLduIS2hX9fqOwxvwlwMJd0ZCErLVHm9zcJj6rtB258g7bZ2FZaiG9bl6zboBHmiErdXKIgV9CFUbofg+JKxt+UPK7Sd2Ni3UOJPGaNozijvVqu6/J1r4BANfNd2adT+URZTC+7RQSr50ZwPVRotFMV/Vfm8ESAgcd7izwUK2eNxZos1nnXLie4/OcKqKtbzQ6olfDG1SlYp1xVS7egko4502Uif2SWrjBYz6r7PT04NuGmOiRtkMLI69Hvr1IlibAosujGCy0aJjDiw9/jFsvgX8Vwtn55H7TDaxP23OOPaEKwyC52vZvu3ANhKX2xl6KbfCEZjY1PiEcdfDACGMg/WgVAtpqtEPXsJtk1z+x0TacBiFX+cLdeoIuE9rLiUhQQd4dEnbG4pfc9Bk0sPn0dRezMV7ytA2yyo33I8gRsDlphErJ8qXu6WV1yjQkv61UXl52OwXazERj3xipVLmtMtTFZoQPLJ6fXyvYkMybGFslte/WNFQE1caZG14Qj75iP+A6H9QneoL14GYH+8tV5GV0X85FkrBcNNKNxxR9ckcpgfm08wywsAq1p3b6PVzukGsLO+RC7tQPOmo18xTqsiIcMBSk5nM5NKYxkMQW4hMQjnc1Rn4nbVk4zk4uXxmTLeAIgSkK1fsK4+WHsbJx4FH3LfELiYC4LX1fmRg== 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)(1800799015)(366007)(376005)(7416005)(52116005)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?8N+SFn75OVtKzMOg6bmX5xQhImpW?= =?utf-8?q?iK6Nb9Hk+uWRMg+C2JT3HbU/EFdBSVgM3jQA8HfuUtd7oo7c9SeM0KoAgvS9V3uzU?= =?utf-8?q?uQEfki6v1lT6BRHdjiRTcUnm8lREwHOw1h2kLzwykgckqZenONBa4UYYwlvPZsh6O?= =?utf-8?q?+X0a77DSzzBxShlzv9miNMBQ9mg+mHI1tn8CX4vp7RsRBWYlQFsRXDO0BG4Bj6mct?= =?utf-8?q?yWa8KA7dKK0U3B28/yQphrt8KxS233oMQR3eMzhoSWbDmyfOC9y0dsFpzPFmIknMd?= =?utf-8?q?X3riSUe2QHs1Scj2xSztL9681uoZ6y8RyE2AEJCC5dhVP2bpGBhIzcN+8hPVjJobS?= =?utf-8?q?czuWKy2mUvIVpJO5ky5zLlpzbfHf2iOrYx5bbjFIZJpovJuUZFZOjF4dV5WekexPJ?= =?utf-8?q?sR3e/bxNGQW97+auq01vHa5EJU/U3D+unJrUJ0cjxxezdK/uzqs9XSU/hXn5GTwVz?= =?utf-8?q?IpcQNZDXKE3FXCGPOE93Wk8mlONF7nKkDS3buzWXyHfBiLeMQ6hEw3/VOHhWNYPWc?= =?utf-8?q?NoGYQYrBbkqCMDUl80LgcISkbGkWDsjE5073UBQXWNUCkAZwDMP2+0WI2WOM+vqdh?= =?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utf-8?q?yEVZw7aCDsBc1yt88hTW9fPAun41B0+4fa0knVMz909ANt+V0jcGrz1RlMIdnCrbg?= =?utf-8?q?wuSeVKR10k11?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 21ade895-351e-4b41-9d52-08dc6020e77e X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Apr 2024 03:29:21.9657 (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: h6QpIsm/0FnjuXxbluA+sO9bHL3UhN5KWlBkeQoLYOxUtEVSpXIVWve+YuRKfXwJbLN7w4XCaSdkZgO6TCtsZQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8802 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240418_202935_380850_BBB7F476 X-CRM114-Status: UNSURE ( 8.90 ) 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 Reviewed-by: Frank Li --- 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 93c1d0fae291..d762d96afcd5 100644 --- a/arch/arm64/boot/dts/freescale/imx93.dtsi +++ b/arch/arm64/boot/dts/freescale/imx93.dtsi @@ -345,6 +345,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 FSL_EDMA_RX>; + dma-names = "tx", "rx"; status = "disabled"; }; @@ -357,6 +359,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 FSL_EDMA_RX>; + dma-names = "tx", "rx"; status = "disabled"; }; @@ -725,6 +729,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 FSL_EDMA_RX>; + dma-names = "tx", "rx"; status = "disabled"; }; @@ -737,6 +743,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 FSL_EDMA_RX>; + dma-names = "tx", "rx"; status = "disabled"; }; @@ -946,6 +954,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 FSL_EDMA_RX>; + dma-names = "tx", "rx"; status = "disabled"; }; @@ -958,6 +968,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 FSL_EDMA_RX>; + dma-names = "tx", "rx"; status = "disabled"; }; @@ -970,6 +982,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 FSL_EDMA_RX>; + dma-names = "tx", "rx"; status = "disabled"; }; @@ -982,6 +996,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 FSL_EDMA_RX>; + dma-names = "tx", "rx"; status = "disabled"; }; From patchwork Fri Apr 19 03:36:59 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: 13635602 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 4D31DC4345F for ; Fri, 19 Apr 2024 03:29:57 +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=SKerYakMIwfC0uAMtZKnj522iC8DqpPAjj+9SJEOTpc=; b=ZAtFeKhVMbs4x849VfuM4rFiZ7 r7rSKVijA5BkXdn6TWdSl2mSOVdyeYw6H0Z8HuheN2oqjf3JqbaAwgX8f+DeA+/HLIvhhFSXN2Ur/ pd1Ot9cYJWNl8zRpNSVn+JopYAggXaqDwmc0uvSo+d/y+altwWcy25pxa3S/SWErDXTB6gk4wyTiu zN4LEDkBXDBbaQ+asKBMyPje7ReH+71QnPBFdmAKCLXyMkY+3fxdyG813ljsUXn4nR1s9pIcbSgYy 6JXUf3VK4Xr9h/smMSc4gYEN0mcaOZhfQj2GboKdGpgAPLFpEFEfWGuRSCzJTKT0/59DSmAO881Ip AE2Y/XvA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxewZ-00000004Dvo-2dSI; Fri, 19 Apr 2024 03:29:43 +0000 Received: from mail-db3eur04on060e.outbound.protection.outlook.com ([2a01:111:f400:fe0c::60e] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxewT-00000004DlW-0DMA for linux-arm-kernel@lists.infradead.org; Fri, 19 Apr 2024 03:29:38 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iQ7z1ich/wodgDrkBAzLutIjlwRHtqOHIojqsmdknHuNldjx91USiSJ41VmjDxG1xA21ftZOgL5MSEwtlmGvp4IWpWPh/gLwKVXQg4Az6XUDuvZn+x1LTnm42CvqgXNFOKn6yctlO8NVhI2tObwRhKyRwoNfbLn6D92EU+DlQH/njmS6+oB4J1/wVGNGjtBdVRb+q6MQm+0LDJaLgQe9mdgol9nythelQ/c1aTcE8jTjg5hiEtwlYcensqgvhUvAz6O2K0tdlZqXKmd4lTgpkc4FUtCwmNfFwzQ6TIis3E9BfLoEjuCYVNSRsFqIK8dyKx7gvQaBgagTOA1XhYqqfQ== 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=DbeMMzeCVw0tlxjqUopoDEXz+dzhZ3rLxjqKiGivFq8=; b=H7e5+MDspVaRTGnt+jVLcYoNtL6vH8yX67cI/VwRCjZG5xLGQBFHje4TpZcKBGLArChEAbxax+QJqcjTe+U5E3lEnT1A+NSYl+7PScf4iQsKLIVd+IXmzcEN9rB33ATy6/AUXRpmLRJzwEYjfqGK7EPItPZhtN9Tv37QvfXrhclb8C8VttXMru3wZgRNXonhl4xy0ATo4eHk5AzH6WsFT7QFnXRO6iYMTsUc1cQLIS1GrxEiqeqe+9gSrO4sZt61ioW6UpkRJRGxoVHky7ZGBAa+hszu6ueDCjSr61wShFxH6Qvy1u1rS9vq7zLBGyzCnokanYV8hek4pxsPBlpCUg== 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=DbeMMzeCVw0tlxjqUopoDEXz+dzhZ3rLxjqKiGivFq8=; b=SWrecIPHN1/mIQ2TIooieW+gvln3RAElxRKdpuFQQ0t0z5mcMnfzAOXDU109bnate1S9iq8cfqRFRFXML0s1QeYaf3hXWEOzADF00f4ZEdutPMViW3reByqpSH5WVUZKGVYL3Dvn7PsZ8V72Q++odqPNmBk0fc8mNRei2zmiseE= 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 AS8PR04MB8802.eurprd04.prod.outlook.com (2603:10a6:20b:42d::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.43; Fri, 19 Apr 2024 03:29:26 +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; Fri, 19 Apr 2024 03:29:26 +0000 From: "Peng Fan (OSS)" Date: Fri, 19 Apr 2024 11:36:59 +0800 Subject: [PATCH v2 04/12] arm64: dts: imx93: assign usdhc[1..3] root clock to 400MHz Message-Id: <20240419-imx93-dts-4-13-v2-4-9076e1d7d399@nxp.com> References: <20240419-imx93-dts-4-13-v2-0-9076e1d7d399@nxp.com> In-Reply-To: <20240419-imx93-dts-4-13-v2-0-9076e1d7d399@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=1713497841; l=2352; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=0U2zo71EC9Wu15E32rrl4zFFUOLw4/kKO/mst7UPUWU=; b=2GbmJS3Vbju9NJboam+oOXs/rlAtA5JKYqDguBg2nVmglA4UFZSDqROLiPMro4A+yLc4E6GJd L+ZMKz8GYknAHOi/NmKr4dQkGz7c3k1vqzpOectREg6I/R35utxE4Yj X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI2PR02CA0025.apcprd02.prod.outlook.com (2603:1096:4:195::21) 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_|AS8PR04MB8802:EE_ X-MS-Office365-Filtering-Correlation-Id: 6d7dcbd0-38d0-45ac-8ba7-08dc6020ea07 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: Kk26SXBslI0GDgVqqRT1YHnxFbxAm/0lXe04DNdj6Y3/OGRdbiQUlILb9EBP5xq4NmXGpW4zGWSo5TK/A21nHguCVzW8iiqQUR8Hrk7U1wY3u9YKWLn+M/jHDp0AdAZPPpx4BwOnSsJsUkG7yWcdD+9ZKcrwP5vqScRoim/E6Nnb16iJMY4UhYfkmgesHbKt9k1qYd9hN3o3vBXbIX4HxI6wlq/lRoMTe6SMWuGafA5V4G2EijEwpZVMAi5/S4gFkC/qOJkDGay/Oxu1GmnpwnK73nSzc50A8e4l9iZsq72oY12Hze94jOplbKFXJEK1iuqOOe1gWqV0BNCDNX6h7RucA63CJ4VH+GnJJtjC41pkIsOJZIT9Yd6GuS68BmmSRYaRLAmtEC0ygKniwomYIarQ4rmo59FsDMe0fp2uT0rxBMcS9iFzf7h6qWoRf0Ty9yEWFFMdsUtH1jhllEjeeIddWZIFd3ErDHyALOWkXxDYlI5nkVLkO49LkWiqgqQp7QkgETGo2n8i8C0nXJOUF7rBMUN9wcdwCTdvEC6W99R9FKUMlSWrJpffkvRd9awz1MeDV4gNr0yVyqm6lfGP2H/AZSfcleXqFtQyGL4Sk9dKKHLz/t3eoqbAV7WWDDAla27VEK3Nz6lQqBmsP11AqML5OLmAQBOcZlHmMQBHPFZ5shdy1Vb8hoPObw75Ri/FT0PPSOx/ZdgMgIIiCiNgKHfUT5pqGWm55STY9H5ryvY= 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)(1800799015)(366007)(376005)(7416005)(52116005)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?7wPzD9Y/6ejrtagf8RwVWMMKru+X?= =?utf-8?q?fz5G1/B2bPqgE3JT5Q9IHtdTtPQTFyuYoNf75G1zE9j6TEx4jt3m8CMSTX0DjwJer?= =?utf-8?q?Dlf/hKp2TLikMl1z7waBd7eWoysey/NR88B/kv7r5ZuCXl1YdFcuPcgQFXQMGgxJQ?= =?utf-8?q?Lo+ibf8Hd0Yv9Bv7N+ysQqtG8jVRv99VnkHkCzGwUYM3aXjcaF8nyCYfiqCdU1ijC?= =?utf-8?q?ifHZguLOoQnJReMvNOs8RafQb87R3UidwrKVF0DskNB1ibNfwbnUJluGZdkc2REPM?= =?utf-8?q?nVh5i2K6U1O8fCJQ+Yey33Iozaxi8g7s/4csbU73ViZg0IFyI/Ib0RsJLnmyDcB9d?= =?utf-8?q?7UGKGncauBEWScleJ+DedIlBGydUG4m1YVcV2ryNiV1IBPdsN3+h+5x4H8A1YfIcj?= =?utf-8?q?2uEUGuP52BiTm80MjlBuZW6U/60z4NG/PCoboiw/qN7FBVIs+wxzGeKk0VV5ovXnQ?= =?utf-8?q?xATRGHBEFxXidNYqF4i3uPlRh5bYOSyzPEzY+Hn3dDeAJkFLhq++d+euIFQG4ph/f?= =?utf-8?q?yD+6IsVN4soUtUpVLtRqEKS+ZMJOkkl/Q+vFjfUVUprOwMGlXDcuXUZ160ZEK45bH?= =?utf-8?q?05AR3wFs/bWxw2/4ZowQN996Dn7jJQ/9DPxC3pfkYgwbUFXYITp3ugZFt/Hxzques?= =?utf-8?q?HcSmbrgWgsgfUO+dAzQvbSGz02hLggNQwjY5ERgUIAIl3DgtFTHIgNBWaAJdTc/U/?= =?utf-8?q?AHW9vFwkacW0JwbW/UrFSkCNUBmtpp3prZ8zTp0XiU+649Lb0WWlIope8/2FBYT1P?= =?utf-8?q?ojZlv7/dzN7w/dUZzsB0b5yEi7qGeZwJsE44yr+9/T2pj9GL950v/jJx+P+QGOkm8?= =?utf-8?q?jlVIDcBPzPpGECF+mSR14wBaAwM4DFoxgjdf4eYwJsExWlv5dmeJMPg89aH2oppTI?= =?utf-8?q?fVqJLvlQ5EROVg/T2e0A3MT6AY/d2hmyjB4ngPR3sRaSO3+3+tPkzVcgaQZsA9SCj?= =?utf-8?q?p3ZNFYjmHWUn9LINf+cP4SjsSawxXkrMESUkWCit3R0XYadEBNPC1Azx/t47S0Zph?= =?utf-8?q?p7Ysm6S+vOC9ChQK6j7bY7SwM9AsXUSKV9yPkdo4HmomDAEPh9Ia1rfYRduzxje4G?= =?utf-8?q?efbIoGSlMIgPdKENJyhx8WtO8p692pej6NXKR6tF2fYn1YuLSp/1oxpUpSVNWyobf?= =?utf-8?q?HCea2s+DNRFqhCZn1mCMzFshzNaIYzTQQDr+6eLduVWZCqWjEnh0wAx0vSTLdx++9?= =?utf-8?q?s4jMlX0VjSVtn05fSaiZXreU0ZpLxgXhLu7DVv/oh0ztJf2Da4IRT4z1HibBrxzpD?= =?utf-8?q?FOUaxJVHXYZRnjaBDSU3+/on7jn6xaRHRlslGgpMIDb6QIhBfIfHRi2yU9kFnURJ8?= =?utf-8?q?DiZM3/NhyKzo1gNEsRlCuRapA9y0m40f0HLohhS/3PwebV1YlPmH4o2TlPPK/5qEv?= =?utf-8?q?904xjQPMKJGDob3KRA6LTPrC2CGirSjs/sBhPd5luRpX+GKRAYNxu3BexyWO83qcI?= =?utf-8?q?3kREue9taZGYfhszERzGN4+DPAIeUuS3nJDjpX+RnDJ0ldKrBUPchcRC2ACLvPlYu?= =?utf-8?q?daT18HrhHl+u?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6d7dcbd0-38d0-45ac-8ba7-08dc6020ea07 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Apr 2024 03:29:26.2160 (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: ghhKnmlTZPX7xMVzV9cMQ/q1K9vsCWugqv/1lbSLweLY0QkDniQ9AmOK4t5UWbQavrCIIyA1N/weCSCd4nPpdg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8802 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240418_202937_136466_CCE79DD9 X-CRM114-Status: UNSURE ( 9.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: 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 d762d96afcd5..9a7cb59e2c7f 100644 --- a/arch/arm64/boot/dts/freescale/imx93.dtsi +++ b/arch/arm64/boot/dts/freescale/imx93.dtsi @@ -1018,6 +1018,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>; @@ -1032,6 +1035,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>; @@ -1095,6 +1101,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 Fri Apr 19 03:37:00 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: 13635603 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 9D9F1C4345F for ; Fri, 19 Apr 2024 03:30:32 +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=XGyfUJCO+UEm7Ja6iyvJhBlvMWU274C1pDymjX1oUlg=; b=iooj4Qc0GtmBigvWtatKU0JyLK zPJVQZ5u9VtXg7RaD7sYgQ671ShHCxh1cc55dc/KCasnlgKHyCtTJAOnT3yx+suNRnAFGzxZe/XMp 5yzWgX9Oov6vpy2L4MuJHKvhsqNNNoc4ET505gb4PGgqUwZOG8TP6MJU0VmO5ME00qdYZBZKFRCbi ydHhH736lWJ8IXw1437KqgJ7gFMTz5ZfwlPaIU574dZsrTg5jEX8K62mbsva+8C5s2BzvnFMCx+n3 Lcc/lh26yx136pnEHMUGuDqwejZvgT0PmNRAEnNtADDi42N3FxLpxSjBXKONaE6NGJOb1bek5zb8E 2URcSwpQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxexD-00000004EJv-0FR2; Fri, 19 Apr 2024 03:30:23 +0000 Received: from mail-db3eur04on060e.outbound.protection.outlook.com ([2a01:111:f400:fe0c::60e] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxewU-00000004DlW-2vTP for linux-arm-kernel@lists.infradead.org; Fri, 19 Apr 2024 03:29:40 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VpNPyw4vUoInzN0gE9urienPlz3agsLuDllxEbZLh2g79KmYzHGL42kod0E8g+wf12q8xfj6h2wO5PIOPwDtwKTP/mSh52jjYoAvHnEhvXVjPva4x26vKLqWByOIpdxXQcO47zUvq7lwEqI4F0FZ+0geFxDPRkBrAFcbBiksrV6JpEK2vvHg4QO64zK6bNuh76jTyP3pQ0POzKyXvhbYwR80D2Aqc9cFAFTr5hOaB/gS2BKeCQX2fFJr+4qFuf7Bq1vSK3m9sr9zOsiq/8gjYL1WGp9q2HBR92/NaNNeC+INznGmil9E62iNhruj1bi+qmJUn8HR79DQlFG2aG+yLA== 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=a2oYGnDaq5Px2nxpcyVWPQ2vj4ThoPvMYsN4wymC79A=; b=JZ9JSjS2Jn3f9mQ76p59UOJ2uwiCEFLDEEvpgIpIGYZEuX14UhIQO74/X42LtFuq5MZ/00c6qc8oo7ooDD8MzQTZxpK1huOh8mlFcy6dIMqlOLqbGlpbfMc/G2iQQB34m32jFha9jT7Dla50SYyZE7a4uykGyJl3bGZRdWMTR2DRSBtb07/67mFcbRajdO7qOYylQ0EXcNq+PZjQr3jOQCSU4sKsqD4bVi2NJ1jUlYaSCTc1ni6E5k8m0jV3QJaf/F+7VSTNIKaFIfw1zkog+nJcFPzdzdyqcUQTnWXGHrfzHUv8/RJCc6wMizgx6+DJIhsmSFDx9QBDwt7X8JxX3w== 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=a2oYGnDaq5Px2nxpcyVWPQ2vj4ThoPvMYsN4wymC79A=; b=F7ZGKrhiBR9fXUUDPKkcp6h4QfNuj2Hed+9dW/ZJYNyP+xfYFeXl0TJ9ur8OyaL4emHcMUfX642c7h5Z566byc27NwWtJJkOL7VC4bQWM2wz1tJidfPQBh+2saAoKe2OCVZkB8T4YijnWNGeDKTfNUPit3pcoE7s2kluL12zgTM= 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 AS8PR04MB8802.eurprd04.prod.outlook.com (2603:10a6:20b:42d::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.43; Fri, 19 Apr 2024 03:29:30 +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; Fri, 19 Apr 2024 03:29:30 +0000 From: "Peng Fan (OSS)" Date: Fri, 19 Apr 2024 11:37:00 +0800 Subject: [PATCH v2 05/12] arm64: dts: imx93: add nvmem property for fec1 Message-Id: <20240419-imx93-dts-4-13-v2-5-9076e1d7d399@nxp.com> References: <20240419-imx93-dts-4-13-v2-0-9076e1d7d399@nxp.com> In-Reply-To: <20240419-imx93-dts-4-13-v2-0-9076e1d7d399@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=1713497841; l=954; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=mlwccPXznhmzT7zlEU6EiK4d/4d7CrH5Ytxq9K3mDt4=; b=UKr1hNHrQ6EBxIv+gy9sgCyFo8PO6NF8edeo9PkBYC+W0yg3gDwfOujTAcJ2hA+My9i+p2bQ+ O3JsoHRUvGvDxukflYzJRfFRhVnxewG6hV/OwsZXUL2V1CaicnUefQx X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI2PR02CA0025.apcprd02.prod.outlook.com (2603:1096:4:195::21) 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_|AS8PR04MB8802:EE_ X-MS-Office365-Filtering-Correlation-Id: 787d9dc8-d6e0-4766-4b27-08dc6020ec46 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: LFQtT8+QtQll9YqmNecV4t86a8MEvX+zMRIyfZA6XQJdx3yR56JyFcH9vVNZYpYK72aTBcq76nxXQsKnyBXvqrgI2CFjwdCgEXRRwM3sgbNd1mg9v8yDKJvA/4HW3SzDNEpG7iIVJ2tvnD8M+DWZDr/xWKYWLnBy2MsWgc//WtXNrLHl2ttXZF54hp5DnNK9MAL6FtsqE9w4+8zZbQYu8A2T3oaqCWdLP4pbpyAI4h0dB3vVyMim9OGM5PIe/R/aup1Gd0ceicvb8kDJ+zd6EoRiptDDFDVbbiJBjNlIFsHEdPQ0pLymI2jv0H5GiYbWdD9D05swgbgstFCDWGS+J8HYzUx/O3Bk9QI2/r0K+5/lifg+m7c01YaPFAwoRApcUi4IkvOBrAJtn4RHlcDZv8/ghNWxYnHIK0VaEhSkKOMLb3BpfXO4uy74yXSDCevLVEjLa0NMN2N20in8O2zXrkXqQ5kmwaALF75vWeCatWtuJp9cHp0wsto1Fq2mZ8lzjeXQCT4HiAZFygsnlgqPsb2ZnJdni9oYproC3ps0hkvLbtaaWPmBscarxrYR0eeAYKuwcQ8V6CkOZPcu1SSq3xEWC8SG3+FLZEatyqHBBbS0p9LEuo6GOeOCjddCkS1jST5B8dPJCT8YG0OnSqqFBxzyvCbe0Kqwbhf2vuIwqU83RVXNcy7mF4gNijyam0MlY4cXVGirHXY32OwUxe3Fkp623ulGyHLUdk0xKj3iXHU= 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)(1800799015)(366007)(376005)(7416005)(52116005)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?eh+Eoc1aKCk+iwB9FDpKnr2hQvVT?= =?utf-8?q?jWKfPHGrxxjlzLhwCijIbuEmL7GcIkQJ6yNopnsUrfWc3g5IozWFjAmb93BjCcmvG?= =?utf-8?q?7fiMQP/LOiTU7uSixnfeRCoIZNSirpKd3JcHixNWDuMogtva3Xk7hOoVShvTrLTvs?= =?utf-8?q?8E6JDEaW7W7UqhUZUqtMPm02ay8qB0lIJCst6FuxRxXgh9P9GoezTYJysTpr6v05N?= =?utf-8?q?B2AKFQRb0WvkOv7gzTKqSI4/FFumZgNSbBreyvUsKMHQ+uNCaLSuOmdCwNVu5Yi6e?= =?utf-8?q?glTsRhI9crK5UcSI/TKZH9FSWTT35LEXFrT53QefpMbD3odgXomOFnzLIWQZ+qAo0?= =?utf-8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QoKSUK/7nYufPEzDQlm3bQ3uledgmAa4gZPOGnHmWtTnSNUsxofieV9jjz8it?= =?utf-8?q?1diKQJTiXr849HGelVlxbRCxTenn0MTUMg4KHaaaSZLhxnWM/j6LRnJUsSdl4FukO?= =?utf-8?q?T/2pwXaciEJ0HztoLOlDhlGmmz56Daml9jvyJF2/VSI0yFJvtt4KVL9+xEmkK+MWv?= =?utf-8?q?YPTcZUr0g3PqjaMB7Wwtlv10DYwjp8CsUJ//cUnn4skJzmJEDNEmTPthN5gDiDqu5?= =?utf-8?q?KBuAmka9hiH+CXXw6O04mLYFISyZaXgljnFKC84dY50hwl79R5kxi7teFgcl/4Rzj?= =?utf-8?q?PAuNtNqEqpPv?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 787d9dc8-d6e0-4766-4b27-08dc6020ec46 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Apr 2024 03:29:29.9871 (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: Ys+mxUz00vrLDBHCKy8Z3zpuy/x46VtihYBZFXDzZCiXdXJl5Yh7fcx+eZz0y46AT53AsSk3cpm9pgvc7r83UA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8802 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240418_202938_817794_1CDAADE6 X-CRM114-Status: UNSURE ( 8.47 ) 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 9a7cb59e2c7f..04d0b1c2ce02 100644 --- a/arch/arm64/boot/dts/freescale/imx93.dtsi +++ b/arch/arm64/boot/dts/freescale/imx93.dtsi @@ -1068,6 +1068,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"; }; @@ -1177,6 +1179,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 Fri Apr 19 03:37:01 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: 13635605 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 2E788C4345F for ; Fri, 19 Apr 2024 03:30:38 +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=ZUF9U5tmEn2t2B6metrs+0KdEOrtaJxWCt52c4JQAow=; b=ZOcmeaSZLYLWvHa1a7wHampvbe 0+aVt6tE7Sd3jF0q4q5hLSZ8QH8RieatiyTUq0ZaVxZw4YzrQesDmHWK5aifDBMjxMx8sD3xW6jNA fnaq1N7oVFesmdkM3Adct2l319INEAbo7sGP3t4L0x8wMU25zmSxY6S8mM4394XTNjkPWlNzbrapR g46tiE9JOkh2GCnoNkbUpQAV10do3GpF0GMXRB3veIK4aay/y5INK7KrcAAatJ5r3olI9tO8caE+b FTLNSA3h1CIcTKTj5V7idjEKnpcjWYdByINrrxKGwoQNhQDPV0yKxwLpl6Il1syWiv7jHZUu+5sAQ ENTgdRcg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxexE-00000004EKy-0aMX; Fri, 19 Apr 2024 03:30:24 +0000 Received: from mail-db3eur04on060e.outbound.protection.outlook.com ([2a01:111:f400:fe0c::60e] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxewY-00000004DlW-3KPw for linux-arm-kernel@lists.infradead.org; Fri, 19 Apr 2024 03:29:44 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=R641RT3Au+EmRrYzdKRSxt8Cd+XVBIFFCpJiqQAVuH9KeTc40Q5EOwOQrpTPKUGITC/0YxKJxDozvyKXv2yXVWg09Y2i3YTw3acueGVo6LWwsC3fQXGt2soH+SWxTKDic10CGr63KOphIgiS/f6L057s3HtnYCN/SyMyzn0YwD6lW3J8BGt42nDRI9RagsshXSyDBuWtck8Eh7wu+GENPayRz1RVD0Z8Oqsm+QdOAPzUHyLOCTcJk6jrDSOyPtkPCQ1FPezcmonzmUcDd4EnVqzk9HDdthp2o1OHgcKTerU1ZXbmn1bA+1+rg0jvCAEdJGaKXMTC4hFWnK2GT+4JGQ== 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=PHq1roPSIB4Ja40tEC+Os+YKEXzefTn4rZfrgb1f9LU=; b=MKxPi+9rT+uJ9dmwkdls88DHvLqkei62HmBCF3EUoUwwMsTS2tr0kqgaOKbzSOh8GcJXXImryjSK6lpV+nUnLDROY1QNJM8sdOygbCkDzxvliOL3+a9cBiXdYKnsZpjNFusV39ouXIAX8FV765dtrJkQA+j/pKjV412SoVjQiFSYZU7Vwl3E7j9mkR4x2QukNhZmskQvp15tgx54uvmYbc8NGoYNBiBvBr9/a8crjYaHihW+6KOofANT8UqgDnKkFGdMSG/OAR9hy74C8vxR80MmVKIzBvHX6Cju1tmOLYs05HVF2r6XGXS9tVSNZAzXoGLFyhcpXzoj4180GxORyg== 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=PHq1roPSIB4Ja40tEC+Os+YKEXzefTn4rZfrgb1f9LU=; b=DWy1OXQ5wrLAMQHiEmQHqDZUuPv7qAvMkp5Jr28u70xwH+0b4GvXDl6vNpRNFSJm6HLZg7SL7GOLh7eDpcTO6EXYC56J0PDMYF7+6zuCI65b6cx85uY9cGDnZXdCjj6a3qw4+IlPWwE7uBdqgq0vJ0yvnZXjRmPa9lwF174IPqo= 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 AS8PR04MB8802.eurprd04.prod.outlook.com (2603:10a6:20b:42d::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.43; Fri, 19 Apr 2024 03:29:34 +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; Fri, 19 Apr 2024 03:29:34 +0000 From: "Peng Fan (OSS)" Date: Fri, 19 Apr 2024 11:37:01 +0800 Subject: [PATCH v2 06/12] arm64: dts: imx93: add nvmem property for eqos Message-Id: <20240419-imx93-dts-4-13-v2-6-9076e1d7d399@nxp.com> References: <20240419-imx93-dts-4-13-v2-0-9076e1d7d399@nxp.com> In-Reply-To: <20240419-imx93-dts-4-13-v2-0-9076e1d7d399@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=1713497841; l=922; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=XpHH9fWzkgX0ChZpZFdzJg6cer3AB46CAW1MMWSbdms=; b=xvsVdSBp/++eAThM7EoPm6CuveJ5DhAlkB2/tG93FjCtNEp6pLwUEKQOKP2/l4hCFdUCIvKcw RynimuTju1zBd934V/owsoFBlmq988jdl4nSczSjzs99ZUBR9QrcP1H X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI2PR02CA0025.apcprd02.prod.outlook.com (2603:1096:4:195::21) 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_|AS8PR04MB8802:EE_ X-MS-Office365-Filtering-Correlation-Id: a24f9f45-b436-4def-f527-08dc6020eebc 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: GuKWw8TI3Oztz2PVKcGnQUE9cl2YaQnK5npvgIBFovBknl8ks7uXIk82IdjXf1ljf69LhzFXUM4jTY5qShfRvuqMRcwaw7CoT3lRZy+jAwcGPe1o0DRGN1qsLZaMHj21ADywVgipu+un8IltKV9AitNTcTZMtSWk5x30rTKnJGdg6Dp+IEH6KwiVo3lBuH97M0W2KMtvknm0SWc9i2LQwmyzdvyhPymN7b/nIOLKlkh7F3R916ROti1seVZF2F5yHkRiRttVkMLZ4IsZAeDSysXbosJXV1/S/kg5ERQRL/z26T7YvPdWeSi3YY1+EXlO7p4ij9RDG5Qn6DZd9MGWZGBvup1lEUZkSA2SiElmo86J0z4+w2ratsorFA+rmJ86m4Hz/wDHfuLUalUxpA/Am+ZnVWwohj1qmgXMptc70c/yG9mnFq9Gwkiwe2eBEIKGSyxPyBRsZNQSvgDA/SjS0qMoPciBHlVoe4FEweoQI4vhvegsZAHSvxgQ12pXugTDR4Xj5rC/HnkdiXhEQLQopXw6ab+AOlGoQs+VLHPLdrKSX5IuyD0DRe/zxVvx4vG/RTTSbpQw5v460HXb5ykY1hk4B+DkEe17MU8QMycNjspx/rHvp85zSJPsKSdXCh0RuHHrpyrr3cOMgr/mlSvI3K3159jjvhIIYfiUC6LhZ1U2U6GIlJvt1KWMoI4CUwHm4ORsLsXwF4gOs/GhmTAgN9/ZgaZ5xWroiCzW+7+JEvM= 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)(1800799015)(366007)(376005)(7416005)(52116005)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?PECvIgy2acifdlvTsjjAWOP2q603?= =?utf-8?q?ootZDeCZjSRpZ89Nw94HSTSGrlJnTny4sy/g9UqUdOgE5qc3VS1svsftTM8Pto0FK?= =?utf-8?q?VFbHd0SoyntfAJXEkDAf5DIobx+33930ALHRL8ycSAo/Vv7dISglkPX8beqGQ68LN?= =?utf-8?q?vcMPRrK49ddLdB4hXXlAQeWal8r9/gLUjXFfCMoYMYepyXo6RBfkSpVBa4UNy/eFP?= =?utf-8?q?AI1Q5cKQXPxaSXzdtKaBifY61bED3Fov1PGPbXmS3/xw53JT8h+41gX+ezE13TIRx?= =?utf-8?q?5jAME+jxQS1Vu0jfpCPs8b3UYBQpm25Wm8m7nVqHy+x/Haj9OrSvYrE1tVLL6F3MN?= =?utf-8?q?KxsuiHQFD7nxvHLzMMZFSbVfPSWVDX28BTNgBTZ+NNeyxEUiqR3Lg6ROJh7VfiiRo?= =?utf-8?q?7ztPTqmBkHa1BAuA4jGcJ45sxjnDXu1A09QPFq0eLawcjLNiuB/5cqSc2uG2nTCra?= =?utf-8?q?QwPKyt/0kMe+oEYSQIfBe79XikDvgrdf8wvkJX4PT6GXZXiELLNqLPvlZ4qvxSpwz?= =?utf-8?q?8u3ARu6lQhaymMb298XrpC0twdLegXOJGu+qbIKeW24X+Il2DM5zI+mEHfx6eop0s?= =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= =?utf-8?q?edaDET27MXAMOZNNwWs9UlvCHiLGjRqyUrZnZhVhaYyCiWB9nov88vJj2Gm3hyeYf?= =?utf-8?q?A6IuJqx1/BJA?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a24f9f45-b436-4def-f527-08dc6020eebc X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Apr 2024 03:29:34.1475 (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: sCOlTF+/IJBsuy/BzNwVTeyos6n5xpu10G9ljIlxPUnwFhL9RdC7Ts5mBBwe5wZgONSMAGPt8rFCYzqxIJdMYg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8802 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240418_202943_043939_6A560B3E X-CRM114-Status: UNSURE ( 8.77 ) 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 04d0b1c2ce02..7aee43a8ae71 100644 --- a/arch/arm64/boot/dts/freescale/imx93.dtsi +++ b/arch/arm64/boot/dts/freescale/imx93.dtsi @@ -1092,6 +1092,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"; }; @@ -1184,6 +1186,10 @@ eth_mac1: mac-address@4ec { reg = <0x4ec 0x6>; }; + eth_mac2: mac-address@4f2 { + reg = <0x4f2 0x6>; + }; + }; s4muap: mailbox@47520000 { From patchwork Fri Apr 19 03:37:02 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: 13635604 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 692E7C4345F for ; Fri, 19 Apr 2024 03:30:35 +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=AjTwDP5Fa90uDoFoznmbHkZLEuNJmXTd2dgBDVy7aww=; b=TyPxyzFLZrnjDUsGsDit4GMu09 l4XTdlNmzGZLZqX83lk6rUElQRsu/v84jVpmCYjcpgBzFVDs9qXkztkO8zwpKUF9frzut/1C0GIKl 1Tf2YXI8LWdlsu28bhYsVHGGIlTjONRNEJ3V98hZ1ImE8Ia6WjTKqQGAUyKntMuxoHPese1i9cEu8 Y30LcTXcPCHoPzlszmuIMC5tdIUOjHar8pCX8i+djB1qAf/kosNt4ypUm/KWybVY2KFbakX8QRgt3 0N4fZyWFi04XITdbC6IwLUnlT0TAfbG5xn5fFGbu1QqA5SlQ0BRCNgUEE5PJTuczcZnXKAzXMxehJ haXmZ1ow==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxexF-00000004ELg-0Izx; Fri, 19 Apr 2024 03:30:25 +0000 Received: from mail-db3eur04on060e.outbound.protection.outlook.com ([2a01:111:f400:fe0c::60e] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxewb-00000004DlW-21lf for linux-arm-kernel@lists.infradead.org; Fri, 19 Apr 2024 03:29:47 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WykhtMwWoJHIbHlqUx+ky6CsUZTbMou9nhM1iGuNDalbe5AMZAckjbZWmkqVr2qJ8r69U9YlQCsBEl11UuRwXFqmfuaUotM0KroxhSwZSn5yNYyXiwOrZl98/e4yYhMmdIfRwnzgcsYGQ2JQWhklVee1cgEKtdnRFqLAKsC8ZphpAjALkVrXzRdc/tGohZeQIxE9YREeviIJG+XUJlKEsjy0vaoUmS1EdQLgsIbA6d6bMPxGzTIE/hYEwgZfxVifQaFrINOYnzy/8pmWp7658FMTyWxFSBOLaLQuQuBu9iaU56DzFY2RUUV2vUR+CyEd1A1Fxztexrsv4pqU9MjF/w== 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=GQk7VAJ6KCLx2mT26CZlgdYkv8T/VVxP5LKqa2hQeNw=; b=YZyKTsSmHu7mYIF8W4SRvsoc2WjMCRE8tAjeGcSUOiHYdYEEUNIMvLkXdH/lg4y+jle5V6McWo8XniVlROE9tKTBoAJFFH/nMUSGrZz1ZOWkP2YYvYH+a55ncNkn+S65usg7O/biz+HJ/cEzpvTUVhZzLpS7EWrpBGZlMTEPLxUa4R5NZX5iVx4LRwJ5rT66fCZaV8oC2MYA//uKAFMuaZpMKxjfAkBzFgoN4ac/3voHP6VcFT877vjbrNLO6iAAUi9B1zbKM6IzOrH6mm0UG7ECazL4Bf/VplhXNqi8Cbp0NfTbHu3tL6k8HGwxMSLGrLQYy7bxtaMk23Ov1e5hJw== 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=GQk7VAJ6KCLx2mT26CZlgdYkv8T/VVxP5LKqa2hQeNw=; b=QcZBnQFHuZO7Cx4u+LvK3O+LSeCAs5clkZM2RvSukbY2b7zS3MuPy7GhiR04I0rIezv1SZub8fo/05zCWLg2yciZDvWjfPaXoJXMzXZzPTiXCHoqkR7xa+2OsPFhUPhvLflfu+UWJ7PeXtJgNNIZ//YISeIea3y+f/j3V8XGwws= 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 AS8PR04MB8802.eurprd04.prod.outlook.com (2603:10a6:20b:42d::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.43; Fri, 19 Apr 2024 03:29:38 +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; Fri, 19 Apr 2024 03:29:38 +0000 From: "Peng Fan (OSS)" Date: Fri, 19 Apr 2024 11:37:02 +0800 Subject: [PATCH v2 07/12] arm64: dts: imx93-11x11-evk: update resource table address Message-Id: <20240419-imx93-dts-4-13-v2-7-9076e1d7d399@nxp.com> References: <20240419-imx93-dts-4-13-v2-0-9076e1d7d399@nxp.com> In-Reply-To: <20240419-imx93-dts-4-13-v2-0-9076e1d7d399@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=1713497841; l=1122; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=FH8g35tYve4Lnb3pbEjT2iovncc33YnZXMgpBy+eCac=; b=ZWtdxmkFUauMpLKQkItp5VCqU9+DX7rewc8xP0i2WUE7n+1rSQVxh+dbHhoi84yWcG1IJuTs9 u5daOeRF9C7DVZ4q7z3pCYcU3w2CvbMTjgwSCDCwPlC/7vNDHQemiBW X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI2PR02CA0025.apcprd02.prod.outlook.com (2603:1096:4:195::21) 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_|AS8PR04MB8802:EE_ X-MS-Office365-Filtering-Correlation-Id: 447f05a7-4807-44ac-edb3-08dc6020f104 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: WhiaDnoQYydIsMf0Yeg590i4W5k5iaaHEbIAQismxwHNu6jcsdzHiSY9RVH66yu/NZM8m2dwptBA05LCCPwdbCgrhTIO6uedIo03HuRHFBdK9SVZt8L2dujzxAev/QaxksygYTtTwKkMoqqErJ033u616TvOYfx+pIajJVrUu4sLC3O2tg2qY1b+RkFzQccsCE0+MKJKbXms0x5yK6RwaiT3fLuz4bm4FupgRUKG1D0AYJyNrmosiB/yrDfve3YaBMa5QW0jgrWSuW8n/Ggo9WlqpDRL5Fk6d0GmKfypVPPqIqL7sYb7qQYOyGfvHQy7AGeEZFV8holeo55LwowHz3gEqAv+mdE9HWxrnMeFrYaD0VGb3kURGvpWKzPri7l7SADsxCQkS1yhxbpnv8UZl5uOBlgwuEULQC9Ys2kXPJhvm83The7PO9TSKT5y/7Qsnujx3wgKg7q52dpnAhs9sV+rSLyWnq+GQSjId2XWKKHG6q1cx+NDIsOv6hopfwh2RsmParJDDKZ1b7jlnXSmwqpGE1EvV4ezkPEv52/EawspzAIPc6cNdnQPOcd6Eg1nElHbs5cO4SgYhZmzi8AQy0i1vcsWHTxAZKqhEnMNZp2OX2eJDjKlAt6qXUdmHbbT+wSlZWWvuqVXMlTyJcQ8fYI5I95EiI+N542t8g7OMqK29JkFYRyWTDE2bqispINNIFv9rEG/bSapq56AwHCaHc5fpEofkk1cRUmFQzjdYZE= 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)(1800799015)(366007)(376005)(7416005)(52116005)(38350700005);DIR:OUT;SFP:1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kjv+eP3Baii1IU61YN?= =?utf-8?q?8YMqd836wW7Zx2atVondnaO0L3mndF7b1/3ZW1qVZzMa4NKbKlArmrfCpbjvEoH/1?= =?utf-8?q?THP45jo/xphWekx0DDFFBFzmD/YRlRCd1tU6Bl73cgERi6ZYf/TVRrr9Lo+kMJtPr?= =?utf-8?q?1sLMHXTU8uNYHURaUwJVHgaNM69+F+dlyV9qLJRolk84KEtzl5hwlvu3svJI6H793?= =?utf-8?q?+w+2nYz7aI1LXNw/nMob1BFD0ycYthw+Upq4iy8emHPrxUIG0TnK38Q2WJwIsbS16?= =?utf-8?q?4XYjg8+iKWjzMXGHhqoz9IGUvjKbybrDJzzrrUx1MZv3q6HAX2rcEd/FNB5Vm/JzY?= =?utf-8?q?i5O3bkc2VbtmD+x77U7Ft3m82etjgCEu3GPfJyTn/zPxaZsBgEklfhEMysQnlK+z3?= =?utf-8?q?qFZmyenNyhCe6rbDXHgHT1MVPjkT1Xyzsx9D+KIFVjFjxiMp2JZgRe8vAqQT3/zDV?= =?utf-8?q?MXhlXIvFFua93ZitBtD0RZ0CaYR3I0jMK6W34P8uEvfu5jKgxZSukplArbQo5p6m2?= =?utf-8?q?TpyRDACh6WoBiXEc7C7auq+W3wW2gwT4NO63gCL+kZc86JZFaevniWm4z+DwxwGc6?= =?utf-8?q?MzocMIZsDSjuYfgRu+cpaWvHZuUMIxYf0KZkuXm3wXG3mfeqARqSLQR+wRqSqvuUS?= =?utf-8?q?P4DRCpuC29tGf+Epm0FkL4eJsSNwDVuIxtuRLCnij6lLsOQfFXiKuEKT5VhqnNcDv?= =?utf-8?q?fmDzsj4BEa9C?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 447f05a7-4807-44ac-edb3-08dc6020f104 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Apr 2024 03:29:37.9535 (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: Aribhvfw1pq9KUwKpsryPdjuHnTauSLA6eDorw48FZvgNgHkKJN/GQcE5KWiVgko/GQ0UNFdpvSumo9hULaWPQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8802 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240418_202945_688676_50D785D2 X-CRM114-Status: UNSURE ( 9.63 ) 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 Update the resource table to avoid conflict because iMX93 ROM use last 4KB TCM aream. Also correct vdev1vring node name to align with reg. Fixes: e1da729459e6 ("arm64: dts: imx93: enable CM33 for 11x11 EVK") 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 Fri Apr 19 03:37:03 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: 13635606 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 D1E66C04FF8 for ; Fri, 19 Apr 2024 03:30:38 +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=YNsTp+NB1y4zqoyJyCwjB6Aa0l q3Ji7vJhKURfDsk1iUfx/dNxQUs4QewGTn4CDJikAXdMLZzh1dL6j73nnQvsb7pmjoGHGorN+SrzS Cizn60p2xHT2Yr8L/7hbugnzBqpWNjxhNNy8aJUgQIsTNyurSDlwoohf4WnF4YaLt7lV59Ay/evQM /ffdjMooyWmQgdE6ZW0Xq2yIETxJoR4p6A5otM2cM6FdWANqTwebSvJt0FgBrEWeBpzley4euLgFb eBAXPSqBJ9vHyRpJLxcPSdJxZEyEW7+oj/pqKzjWeyPQaBNJJHfD3wUERk+M6yXY4ufUHH2MliJj4 41EaklmA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxexG-00000004EMT-0Tvj; Fri, 19 Apr 2024 03:30:26 +0000 Received: from mail-db3eur04on060e.outbound.protection.outlook.com ([2a01:111:f400:fe0c::60e] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxewe-00000004DlW-1Og0 for linux-arm-kernel@lists.infradead.org; Fri, 19 Apr 2024 03:29:49 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ja2PYHrK0hnGOXIY6af3OI8Xah3txPOSHKMWNrz4LPb4P++hgu8MtewmQL2b13DqP/kytaDDwwLh5vDVqI64AnQ1RmZF40Ti14czFznzjH3MOdMNtwwn8Hb1hHyQ0IGL5rNaqQ+R1t+E375BW++WCmyzObTCFkJDYo1vjOGurG10eY3KPvxUtIznADTSS5dPVzjIjwdtAL2CmxMIDMjXjJ1qcrIU+OTQb37J1z6fXkyWV2ti6smGnA7YaYDNpfvFuqnLhYGwdGA/YA5Ae3Ac5NDwCj788GY26mHX+MIcT4S+67UuVnstdhwh/qH5uIY+tiuwGEylISqYNIgJ3mIadw== 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=HoVTvlak0zj7zLvDpES5tTB5EeZ78talZ+07dBsswmTOCxwLlMgW3kaYVnCm+jZ3jCpcK/atU5mdmSfQ8jSjU2uljmvuxg1BbGKfjyfJbjV/iPZqiyY6NyWu1SC21SlW6GgQas/ZuRXFnaxQHe0Jz7msd77cjsMdL7Qi7y3aNsomiKiTy+GqfUgBOft3/DQuvwbBkZWuziIPoXcc5tC5kWLR1T8uhmJZfpjT9+cduU5Q3w/U/mHRBagoUsXDvpPAPIwYnrkyMKgqTwyAg5okWI2VIiKh0TffCf91zqfWr+nYIyJ0twra+lbZfrPdIuejmlbZBQCqYTQKOLLyziqNvA== 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=PEpmnfpMbA7YmM6RySzD//+RN88n8K2ikBihzq8J+BXDB5htgD5q2YV1jNR4NGE0KCrXu5yKUvXNaUgcbHgw2nG4HdWMcarSZztJ3UW5fMpVoryA0O6Z/xuRWSq85p1xU8/vaf0IDd452fTi+AXv/W9iAo13/A8Vfq2KwZRO3uk= 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 AS8PR04MB8802.eurprd04.prod.outlook.com (2603:10a6:20b:42d::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.43; Fri, 19 Apr 2024 03:29:42 +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; Fri, 19 Apr 2024 03:29:42 +0000 From: "Peng Fan (OSS)" Date: Fri, 19 Apr 2024 11:37:03 +0800 Subject: [PATCH v2 08/12] arm64: dts: imx93-11x11-evk: add sleep pinctrl for eqos and fec Message-Id: <20240419-imx93-dts-4-13-v2-8-9076e1d7d399@nxp.com> References: <20240419-imx93-dts-4-13-v2-0-9076e1d7d399@nxp.com> In-Reply-To: <20240419-imx93-dts-4-13-v2-0-9076e1d7d399@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=1713497841; l=2999; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=nfM6Wo+VmL/ZWUcSpFUHf0VCuNybDxhQy3VHzlu51Ro=; b=69zHQHnyBiNGfTmNdO5DvJ5B/vcZW1QwtzpEGBQjR5jPpMMnUSV4+0+I/DYUjMYskxm5b+ycb 2y2TOiq41lRAvBdOPOHHuZQ6MtkZX3ACEC1FJuE3KAfkGHt28I5z6WM X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI2PR02CA0025.apcprd02.prod.outlook.com (2603:1096:4:195::21) 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_|AS8PR04MB8802:EE_ X-MS-Office365-Filtering-Correlation-Id: a937934d-59ac-484d-cf2d-08dc6020f37a 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: CqQHaG0u3cD/FFYqjH/nVuF88lZmbvzeLduA1e7I0jE0opeenkYuRWIqy3jI5YtWXTqNoebHUz3eFHvnQUpxwVV8OLO1acRDi8uMZnqF00q+4zbUQIv1NuAmEDZIwM/PyRpJnVc9sAL/dSb+nTFp7k93x6+KNuDF8YN9MUC34kohIA8RgKO1ktA2u5T76F4mjrOjEPjKhpcEwT24Kz2s0pRfezA9YcC6oFd0wFuRSk8eropcAlz3XvYVLq+feJOXHL4b5EvJ6JHp5YYJ59NZUUcVga1ebdJswL9hBDQdF12WKH9bb+AwIJqGROJQjXeJ0cs0XH5ogBKc9/J70n7gFFfalj2yyB+THauuKO1rclQhpM9mkcvcTIWI62tA4O13YgHg9k4b8K7h6NyLLSePW8A4cC1hd+YI4HZ+8F+YAVWkHwCA6RJCdEjuSxSeB7heFm1m70cbeK+D1MwSxtH2nmGjFGxRKBrTtvv/gVIqe1dbMvL/FjghfWw124GyjZ41CuFTG2agKOfq0WEhimM0xlsuoTxfwDbRSWls1+Iobio7NAeFYRmI6Gb5v3aZFvELz0Xr9n+SVzP2SCOyl67Kj29f5s6HW1wjNfI3KGI+5ycb9eFAc8Pl45nOsJBsshhW1D3+jSDGKjy4A3sorbuOlSMNv4qR57IQnUeAgKobcXtLu1MlL61dlKNhtd8Dief3FE/r+jhTnQD8jveaCqU6nEJuG84pcZdcyTXMTmnqHg0= 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)(1800799015)(366007)(376005)(7416005)(52116005)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?4NFzVQ5bRSbAh6LUtkx1EKPFUZPS?= =?utf-8?q?EongdPz5eRfekSYTA0Vu0/5QE7/2Wdj0ZGodyD8dwiZ7wAqB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?q?/XzMACrx8yuUoGsrD4kVOGLj9RUF/f2Kg5CUSwu33mr6Zgfqdue11kkHfTdQbzc/H?= =?utf-8?q?0+n4OWe/1Pkc0HWW6a0TuXKGqPekT3yioqYXThBrUqZIJO+6UTRc0bI+cUHvM0+L9?= =?utf-8?q?i63Eikb71BjX4hP/erXHDfHGHhEpe+stZrB7SWY1Dk7qqGaR7xHj//hpLEjq4YEp4?= =?utf-8?q?APXEa+Rp1o2mEt2MUlVaqgQTi7DMPjmJ+rNaWLvEllEcLejNrAZLvrlaQDd4KctO5?= =?utf-8?q?4TbpgSedVzBACpbh3Yy8ekzlq13+uYeu+D0LhYM3Xps10haYe+6QOLPfspK1fP8bN?= =?utf-8?q?Fq8fxLUhiaS+AAU5Ra6NcWS+TdQ0XLN1yGJDfj1JydQirTnbN9CZ3b2c5Fe0wmwJx?= =?utf-8?q?EoLdEvULHQ9mbh6f4CH9+3tGCmUNziGfVjM7kxNNye19T14T1Df29ibR82wbKWymG?= =?utf-8?q?DkXYpiEHK8kTgam63z/x1Qa2Cs66908XA1C+teGX4scivgBWOx8KhDAAMVfF0Ib8s?= =?utf-8?q?KzgEP+vOyoXTcib08HVVgM9ZDqLBjb/nhm7ai/7qPsdwwrf/evZG0GsvzxrXkUx0s?= =?utf-8?q?G94mxwg8vtlo?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a937934d-59ac-484d-cf2d-08dc6020f37a X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Apr 2024 03:29:42.0959 (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: o4W2wmHD7Nonx8xPql0MSfIt+36pk1l8QFpWcvsRiDBunbP9iQ2bs9LLddd0BQkfDE57Ogv/2eDHJ+3ByhA3QQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8802 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240418_202948_540914_4A696EF6 X-CRM114-Status: UNSURE ( 9.70 ) 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 Fri Apr 19 03:37:04 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: 13635607 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 252E0C05023 for ; Fri, 19 Apr 2024 03:30: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=++Jm6KrvuKWkS7ImjwxL/iH5/LsLHiGklgqT9u8Hn+U=; b=I2aOQMe+H9sFdQE7y501y7YUp8 546oAD7g0M81RSKylwUpr6pMviKu+p2CJ8+3zxPKzZvfKvEdOQzWGHadX4Gc4n/FiNUKyqFERYhzT 8kmNRalG12qrdYZ07ycRjK4QhLrKuvj/fkMZMC0dJ1lf9hSCFsp7Iu8gbTLnpCr9xKJeio5yEwxkc Gu3n9NrpM2dhFaqn2I85St4nAdpnMGGCfXjqvcMAyriiSP2oy0PWvZg6BoyPnBRnVkXXsWD6X/2h8 pPz3DjBtHmvvi+RnOFHVns6V+oPcvaOAMakbyLRw9REitvflrSO6JSlk6gdd9AC+es5lhCL1F+hNo MeGyCtXg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxexH-00000004ENO-2wZP; Fri, 19 Apr 2024 03:30:27 +0000 Received: from mail-db3eur04on060e.outbound.protection.outlook.com ([2a01:111:f400:fe0c::60e] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxewg-00000004DlW-1EQi for linux-arm-kernel@lists.infradead.org; Fri, 19 Apr 2024 03:29:52 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bQdgwxiqaHs6XJvOdZtKR96ksj7QHY4xp/Xl8NqSb5WIaAZJ4kQg76gxmyaO9tZbnOryPmzRa2m4WKCxDy5VQe/LsSI4ROKsp38iSTUsO7uQ8EDQpUXl4hdxlzru/aGBsVxtqHrweqOn/UDUHtAPgG+lrnzvOQgMcCw7HNePe+UQyMioj8gV9Q7y0Bw2VveBKiH2VCl4e6DyBTht6fEZGpkh38YZPaWW1q7mlrZnfVu7XDGhgrTnslriUwq+d9Zi9K6NdtW4nONZw+XzUdLYInMS7Bwymvqxw0j9FGMTEoDgDiw6RYkNe2R8Z8FgFg5LXnhNx7EKnMKRntuuW96paA== 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=T66EnH1Rv877j4+s/dqAHBD+/IcKphtVj2sFOoecWmiRrajP4V0HiJhazjCgJfQ0I3AtOqFT7VB2Lf3D8m7DPbg29yCtnxXM2jX6LdWxO1jCrjUl2bHnsuZ8czamv6bzhIG8b7EEJyucu7uisDEje4Bo+sQiwbL6bAhMot0sJeJ9c1qdM2QhvzLiBsPWBJb1kyf4KVwNWJnZiI196I0WJ7X/knr7oiSdYeYiWgyt7FGw+n0AOiZRYlGPmnOQvA+PKvaIfzsKzVOR3ChKV2JXUeSmSkOoSm0YXaxA+imwW5C64VnIKjxvYlpv9USFU2O1mX8+biQFYsU5pQnhJTyrZQ== 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=mgV9vpWqbAdEwKfw9Lcu4fZFlLumCg+0N7QFI9zPBs3ktK1Q6fL6mZz/f51e7Wq4uwIA3hHgpLZ+u6zmc7+cd+aQRcBo9muvO6owSC65+CLDW+O+dY6M/kCDg9aPM8CvatgM+KhEA8YNWeOvFIWRGPkFN1e13yoOlUV4gvwRsA4= 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 AS8PR04MB8802.eurprd04.prod.outlook.com (2603:10a6:20b:42d::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.43; Fri, 19 Apr 2024 03:29:46 +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; Fri, 19 Apr 2024 03:29:46 +0000 From: "Peng Fan (OSS)" Date: Fri, 19 Apr 2024 11:37:04 +0800 Subject: [PATCH v2 09/12] arm64: dts: imx93-11x11-evk: add different usdhc pinctrl for different timing usage Message-Id: <20240419-imx93-dts-4-13-v2-9-9076e1d7d399@nxp.com> References: <20240419-imx93-dts-4-13-v2-0-9076e1d7d399@nxp.com> In-Reply-To: <20240419-imx93-dts-4-13-v2-0-9076e1d7d399@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=1713497841; l=4577; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=llEiY/5OnUc6shhi+Ccz28hv01yOemdhaRxTciJwC4k=; b=xZX59iOVXW+b/glp/r9LsjmXa+DnLTCDtcRz5WRkry4joMT/8pvzl7RQNZItPEWHLpOXdAX28 80muOt8qY53Dv1bqJA99ncMYMwA/sKM3WOIl7qhxpIVPDvyo+jNjnXQ X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI2PR02CA0025.apcprd02.prod.outlook.com (2603:1096:4:195::21) 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_|AS8PR04MB8802:EE_ X-MS-Office365-Filtering-Correlation-Id: 61a58b4e-3c66-48be-e434-08dc6020f608 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: IqzRbTVZ+qHs1E2GtPi9dURk+W98qMZ66aDGU0vKd9YesXqIxrd7IYNtdVLy6xtToNYnNhhBUeqrUY2ztCpRWnq0Bw67yEMd3eKdwnFJ1AYzRE8Un20neX5aAAo2t/XLrweUt8G53LDq50sTuwhKjNEzBBqkTcxmSdHtZR7IaRY+sLTNX44jAXHx8PJywXpwVKH2Kb2LEO7PglbBDk0FpIi5wXjKNm4f5UeLhiUrS7YCUlRGQnzWnH5UQhdI0vYLuOf2i1K7kJDiA6EZVPQCBbOGPl2gBi2dVL2gdCYw2TkJjHpCUMYHicrOvghI9/3fDwbzh1M14wAJgM63xb7FZdG0mjuKcMOK6+dp8qkPwofYZJjVPfSa+eWlKn2UafYPzCrZfTT4yFFoEYaBDtZhLNGJXTgdSiNyzzUXZFozdf7eeG9ZBxE2Mlj5G6IJXzy6oKGARk3Jx3cTy1zYLeMzf5u8a8QEYBZwTia21Pa9++de/9jNFS2yCTJ1K6aJ31h8tkmE25RY0SQBSxWR79zBN14sAAAAxBS0nUJUoWpGsYQRZwyEXxfTna9aAXFC4mD5trQIOELPABY9xfvqz06iECoc73S6G0nJawwDZ6qjUMhofLR4EunPs9rmYot1ZiIarEAFTZVc3xAXKXMi+dR9Cmq8fXmfNFjA1gWMOxi0eYpg8sSTH2+Nd3tYEQFA+OBoYZmHOhonkWqLyi3nW2xEeu9QBAFEqiA4CJyhiqEupDs= 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)(1800799015)(366007)(376005)(7416005)(52116005)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?3p9nA5yMQEGBA7Gqt39/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+yDq2?= =?utf-8?q?pFUnqdEsdxghAxBXy5yoymtN3sIY4oEtrrJiJFfZ9UzA0xQuS9BhWkSaE5kl+4QYO?= =?utf-8?q?UwIBGme3+yAxpqaXisyNZqBrK/+xi4WnKrLuTbPk4lHyKr1FPft96MbC9XGuGGdET?= =?utf-8?q?EBXuVgRlNb4U334oNz9LxNAo8r1v8uHxpv/Y6w0vb/G8PWD/yhi2wOvkzcYLQpd3r?= =?utf-8?q?c2Sh9M4FO+GAYpugsWR2ML3ZLwUj4zchx5ErDA7S8IwPtkK+McQ2CQrJPXigBrZJq?= =?utf-8?q?JtRPzL5ebcP0HblTzp3KtrDH1z/81dknB+9rUfZykDgrEvSK1GIE+u6ryIKpXlWfh?= =?utf-8?q?x+pLuusLf3AzdGErjbRGx+lEjfw0To9UX9yqK/Dhx9BYPQvLrl6DBEdUzq5ZdB7+P?= =?utf-8?q?/LZmJYlUaStSGi+3BTq2d6ZRXY2/lHQgE2zm0tmnAvByZZBWx3yAcm8T1gnijqGXO?= =?utf-8?q?lClhLv1GnbTsJtqoscjaxQGAxB7rilhWg27nDS/8CXG/FaAmSrd2/nwPQId1gl8qw?= =?utf-8?q?KKtJ4OGrFU0QWkWA3KOWdP4RRB+UTwnrE8WBiVitWhqilefA0ePU/yAcwk3d7+A52?= =?utf-8?q?Xrx8F5qB+j+0C8xzoQR8dNN1KFsbaT15Q+c1mVnvgXdmzzsSzN0zd0O5LcHI+1oao?= =?utf-8?q?BB+pyXTQxqlX?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 61a58b4e-3c66-48be-e434-08dc6020f608 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Apr 2024 03:29:46.3798 (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: RIUCpTr3/wgYRYkexxY2E/stTSrgTH6ePIZI58a0c4SGCauO/N5M2/Kf2BrYZr84ZuXo2C8TXkDuXjxZoVfL0Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8802 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240418_202950_477821_CE43EC98 X-CRM114-Status: GOOD ( 11.08 ) 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 Fri Apr 19 03:37:05 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: 13635608 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 A5E74C4345F for ; Fri, 19 Apr 2024 03:30:44 +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=HPDSxRsT07fEvjYQtREltbzQx+ ccgR03B85wcdhfPsd1VulmvA4/swKZILhUW8ET0kuCEHJJNNKSkcHN0jtdLuQx618nsWV1g1ZbWTG N+j8FtFFAuE29ydVcMnattsLmW7qov8CwvowHlTHoo7ArVTBexYdeDmlg5Xgd0E1Q9lnxJTZJc3ag w2FbNeZY/xfF51lfdhPHhparm6LtE6BAH5DQtQ/QXMIMZXCQiEAdjH0Um1ZVU/DChe5TZ8z4nlZqW xjpRrh5ZFqr1Z1lfYPDIkdPKU0ivqNrbAnc3tRhs7jGoqz56xfNbmoAwN81gYC4lbFf6ZPfWnOoLP MHikqpdg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxexJ-00000004EOv-3Y33; Fri, 19 Apr 2024 03:30:29 +0000 Received: from mail-db3eur04on060e.outbound.protection.outlook.com ([2a01:111:f400:fe0c::60e] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxewi-00000004DlW-3glS for linux-arm-kernel@lists.infradead.org; Fri, 19 Apr 2024 03:29:55 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Fu19XImvL74V4K5+ubGNcP0BGZzxPkQfGmQGKhEq27TiGlS4q/b3O3a0DhnJe8Z9PZB71xq6C5tjMlfv3AdvxOivahp8yi8Gy6wNRotbRniEZTOE3CxR10E4i2Yc+GShsgzBth0Lawlt3XneEhf/Hi8YoX7DLbVVKsdu8Go0UnTJs7WWzjDBJADaj8qKf5u0fY01S6ZW8xNOKljBgSZp7AjN7kpYeYvLgkqQSepCqrZ0Y9DYQdtK2HKJ1fCOzaQFK3SNu4uoTMdl0OuS5w0NqOKusWxbRDWklLgFEYg/te2t/ynNSVMvKKKyLJoWLuob72mo/U7y0MlvogMsfL25jQ== 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=EpmG1QuAALtTIh5pe8DeCHROFaailGodEJEX+i8dmQZnMeAtucxz8/i9SdtLqtoP4wlQS36Uhkx6rYh6x6WHx6Rye4sKU7Cty3U51EKk58YO9BkQ05nXkX3NDM6nZVZ058D0HS6OYg+DKl3jSOtgWMOUfi9eeh2DkWSb0mzWq4C6lC17ySoMQZkeAbqz4+t1XzvTmBHQ6pDJKRJXJh6CQyuKVope0fDaIWhapxrHxC7Kb9DU+aCi8q0CX2dHzGMBZt/BVCj7PZQY1MHdI/DkVYALjmSeUZCn+Ju0QTPZg7+6by5doU4R5csuPLJLtUBP7hLHoD8tFAhraTQzQGOChg== 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=W0/LFdyFd4fvtbh29UfWeMkLXPKCSkrSTwr+NLa/AtPtQVBC23TCi6rIjatcEnm8sE+2Kzru8c21lTxBy1Z1zgX3+YLrj9FrfeHBh8XbgImQujvg/dntsIx+8SAVPrZBC+ihsWPCGaAxmgKkT6J574sgefgi7uCeI0I3CzW2wEA= 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 AS8PR04MB8802.eurprd04.prod.outlook.com (2603:10a6:20b:42d::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.43; Fri, 19 Apr 2024 03:29:50 +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; Fri, 19 Apr 2024 03:29:50 +0000 From: "Peng Fan (OSS)" Date: Fri, 19 Apr 2024 11:37:05 +0800 Subject: [PATCH v2 10/12] arm64: dts: imx93-11x11-evk: add sleep pinctrl for sdhc2 Message-Id: <20240419-imx93-dts-4-13-v2-10-9076e1d7d399@nxp.com> References: <20240419-imx93-dts-4-13-v2-0-9076e1d7d399@nxp.com> In-Reply-To: <20240419-imx93-dts-4-13-v2-0-9076e1d7d399@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=1713497841; l=1902; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=IkgkzajW3i1/2uBfzzBinYnK7req5nUwjI0YrZQay6g=; b=hci03aqo6vL+ELpg33s+D1JzSKFLo4+HTokNTzFGGiKtmq6cUNyL/2kqWpL6Mmv1sgzrQSt/J lRLgdkIGXCCD7gIHpHWNdOn6iLHsQXc2yfiwl9xjh6I/RR9HMWGjIIE X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI2PR02CA0025.apcprd02.prod.outlook.com (2603:1096:4:195::21) 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_|AS8PR04MB8802:EE_ X-MS-Office365-Filtering-Correlation-Id: f5ca031a-328f-4dfc-9d97-08dc6020f84d 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: Zhlqdh2aixgbEHyYX4MrejVUcfga5862IfGNi00n717kUo2D1dHTa+FyDpTNv6XzWVEKcTdrHJLzHyTSmMH+JXyPkCIx0zwfoJjr0PEXON77zbfiO33yLEwBnljTuPULg5zkPcZa6cPI53/97WMZOl9Gp+awl4m2wUXwnmlj8M1zE0EEcljzwcSze0AwoG6QR/obdcQJgt9mN7XEE5fDnln0/6g0WCfjtr+fhjhlugUnJ33RzDYDJtoHM7rFcsqUmI9YTtuTLJ50/7SurWIOvcCm4pfQPBcSik1GbcVAKkpKU61B6ZCA3dGnEE743GMnPbQZhad30Dex8w98Z0Apm7GkU2vsNegSAzaXqXUypa8maIe/3nfhZ8E4Cdw6aizvbTbDjZRZYVuSH/7z91VBPifZcvPvZtarab748dCqYB9UhcAwH/ZyD7xia/koioq0IgOlOuw0aEfKyRN+5EJs4iIMGjU/r3T8ZNKIB0JtgA0KY4jCNRKFbWWSEfHTqML9+mOyUigYTWwaATHfObsUGHm5AapBaFG5g/QeZIexKrKli/V3s9fs/BqzjFqQ0QX12zT0Tdshdq4GfpoOmb5iquDf21D67ZUf4qAOmAFlpR8/bxHU4YkCU7uPIjkjpl81uwnt4jD35jzdaeumr7oSVt3TtjvoXn/7pqdXa7vlpAuL+CaLHTd02GQv3mke7wHD1qlKvXzKBDpNUj5l+DMgjw== 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)(1800799015)(366007)(376005)(7416005)(52116005)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =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obdxmObVXCX721Bv8UjuA/DSvYlYBvhZabq2nF?= =?utf-8?q?jJr9NnJx4gWPdgldsJGcpXxVwSfUyvkS3yXaeu08DBsaxKIq02UBeiewddGeAr/Rt?= =?utf-8?q?Njk3e2ZWttJG6fTU7FccsVvEGOk1aAMTpsD9kjf7hSkPtPVaCS7uSK/nbFD0MwX/A?= =?utf-8?q?uLEcSR+5Zfbbk84gbr9v7yjANpBOK1B5dlOFsEWyIpLR48j1PNfDdDWCUFsC6neT7?= =?utf-8?q?onVRWSExzFywN3+jNo+99gx5FtuPcuXI1RExID2agd35sdgS9O6qJuS+td8KM964G?= =?utf-8?q?jVGVPvFgUi13cv77UGt5eRmMqwYFUhiHkxDMMadXl98FaEPPSob862wY82I7f44xc?= =?utf-8?q?X6qAzgDxN73fj4J+7WMPErgzwyM2sls4aW6qgZ75IvISt0vREol/Br09xudZG6ACx?= =?utf-8?q?6+JaXqnwP7kDL9IXujSYDXcEw+FV12n3OjeZmago6hRrVyVjwCR6qEa2jBrX8qswT?= =?utf-8?q?P/u16Dwe6iMvxTj1ipZaTAhSRVnj/5VeovrAVAds/7Ev/AFeMmumbRqBddkcjJY/1?= =?utf-8?q?3/B6C2LkYY3vHE0Q+ETeRnE0DUkMwef1tzflEhnUEni94R1/Qu5vj6Gy4TlDwV9am?= =?utf-8?q?cNfXeKQceUMgB6uTPWdytV2g8i6G69qB8EzzhC9bNBebmf3QyiYWCDs9g1EHTCsSJ?= =?utf-8?q?TtLzTtiyIpEl?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: f5ca031a-328f-4dfc-9d97-08dc6020f84d X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Apr 2024 03:29:50.1701 (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: A8Twk5YJwZ/x0GRupXnW3hqPf+lz1ztncWSNZZeDvOEm7KmFlzLtN9CywvZRbUzmLyuFfhVsGm/ea9jY0G09fQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8802 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240418_202953_064854_656D960A X-CRM114-Status: GOOD ( 10.47 ) 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 Fri Apr 19 03:37:06 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: 13635609 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 0314AC4345F for ; Fri, 19 Apr 2024 03:30:46 +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=ab5J2kJv5oISX3cmfN8f8o1kVd fPyerbcKCi4xKjcFZGX7rW6EVR9GgHL3ZBEUzSemqiVNpqja7l+meytaNOJLdk1tm+NmJdaazF1GZ RIyzPuAdKQkMuuBsXHQbScbb8O/nA0gTJymR8M4WHWsigM39dcadPxUF3l/7CrLJxXFtrtQsXJN7E T9abcQR3DkRw+K0h/e6BhuVrqjgd5TzOADiQ1GgNcyXR0aYpDtenST5kOFp3me4cO+Va6sWn8MmSN M88wpEcJO9N2/fI/TtvxaqbmmmkjKfDE12THCFVZNfX8ojO7JeOhqvJW21UXGS4A0h5Ac79lQneJs t8PcF0Ng==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxexO-00000004ESh-08e0; Fri, 19 Apr 2024 03:30:34 +0000 Received: from mail-vi1eur04on20600.outbound.protection.outlook.com ([2a01:111:f403:2611::600] helo=EUR04-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxewv-00000004E9Q-2uQf for linux-arm-kernel@lists.infradead.org; Fri, 19 Apr 2024 03:30:07 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PQGLsFneWdlWWveHE44YXGORwUwGLu3fGEUWgkswl/pvpdZ9QTl8f+WC+T1w8mmxVMcG1w2pt6I81dDDK2CLWCoi1ZcE75fnpvcGZln9wfkPeC79p8ayulo5VZjAJ8qzE5sP3dy3TQtcqwiSFAH5e6dKk1lFLMnn36lhFbq6pr15vn/fXJJvFVM2sSux4Jd46XHMJUclKMBiU4ygvnvlNKpiAkuhmYFRPvJ3SSJX6OeQo8Z+bnObXW6rJEVcTHa1znNJeu6oOxGU1Wc6CKUfzA2cAuSuEjEC30vZeZnOVTKmRnHB45Ci1fZR0oZG8kuA3jC7LZ/5MT+UlgRN7tZgIQ== 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=oA8IlOqVVvR7/BSqOBdB0vK7FAaupuFmAuxu3P+OjE9NafJEUUVcscEJU54YSVGvReoIhGlyp62hpmGs7SFZoJE8NpiFm25HKs67FJD8jvTqVLOiiLIuT1e+uFHKvC0sqBJvjZ5AXbbTSZFVbD2wY5HA8lJ+BkfQVs25ifOQYTalg4T9hcAzeSmfkbluSBNYdm5HujfyUp6n+4wMy56h2Hj1h7Qibs4oaK6kQ3WFGIUKh5Tr1Q8fWEDySX+1mIZ4ZxB1CyvHB8W+b9Y28VjWVUQTgYOy+LuPvOdR8YQ+8XMcNp7dRJjjJTMxPFN67G7Xho/5XgZmecLCn0bH+OpOxA== 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=VMZtFkCxStS3ryfSdS77K3h2GCD3FAa+P5sBO3oe5Ti6YR+EUoi6L9xrFoGLOpZTtx02DsqJ8yjMHdmase7WA2zO91jxgb0ldDGOeBL2i1Df6vnPzw0XRxEnGu7RVgJqRiXsBBJa32L9Ke8pAaqnqnDpw4vXmeSlr27ro+SFhxc= 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 VE1PR04MB7358.eurprd04.prod.outlook.com (2603:10a6:800:1a5::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.39; Fri, 19 Apr 2024 03:29:54 +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; Fri, 19 Apr 2024 03:29:54 +0000 From: "Peng Fan (OSS)" Date: Fri, 19 Apr 2024 11:37:06 +0800 Subject: [PATCH v2 11/12] arm64: dts: imx93-11x11-evk: add reset gpios for ethernet PHYs Message-Id: <20240419-imx93-dts-4-13-v2-11-9076e1d7d399@nxp.com> References: <20240419-imx93-dts-4-13-v2-0-9076e1d7d399@nxp.com> In-Reply-To: <20240419-imx93-dts-4-13-v2-0-9076e1d7d399@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=1713497841; l=1135; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=zt/COlkMbz43z8ZmWUtFhg4O3YRr9hO66cApIQ48y4I=; b=farRS/ccGCSQdrLCknRNrjRqh/nwA828mot/UMZNriNy9oskYOljuZNJthrAy5cwo5aUCJUpE 6ydS1TxgaeWC2cdp6lOyi8O0ga4AT8pRGSISST+EviJP+8OA0Bj0oIK X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI2PR02CA0025.apcprd02.prod.outlook.com (2603:1096:4:195::21) 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_|VE1PR04MB7358:EE_ X-MS-Office365-Filtering-Correlation-Id: f70ec9f2-b34c-4004-978c-08dc6020fad8 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: 4rEp7BAFlKoAFnw1EuYQApMhyDW745ksliyBCCDg0CLql3rRKSnGoM22LbByvRwLuFowNqfbqfb8C0KjyXzZ0XryPYLU0JnbbH9JqSKcYqKJFDRHvTTXzNzhG6Mw0bWjhOMoAcI+mJNunsaa1u/3ce7rUqOD1a5gEI4p9DnhaJpvm6bJBUB9xZ5DmkU7+969hXGnL9PULgzqbgvSLZwsFOjIxPsOfOfrsY4jTmrtybIGiIRgkJ+qBUGeJ269AT06tWnjRurzTnIdEIB1eYlw48Pb3x4sl6r0ckPYnCUbOVxPrGB9b8dtAT0cnpYiocaHScVqojXWg0vBbBstWp6NRTZkxilOaUmBbszqKKoecK5nzJ6fBQMvpr8xrvSrU4pxK38jpO9SRTtGlx480aRK289htJjb38VXH9XREoMtO7x89s626POluUT6RNRAO+mhDaSVbjyM9Yf9B7DbnCnsj74fSwhJ30Oa+z3MpyleSJRquxOsX7rXIzvp/bRf6iE0xGoQkSNbx8qXvCxcJemJTe3/a8U4rVCCMCdot4hMgT3YKWTZWHroDpFjtFKNQ45t8alwD0L8n/lLjSFWOAfnwcoWZqtIxlTt6FGsGcMgiB52jcOGQsWwDX8APomFUXwCDleFz3Odcq/6F4ChVSWPnnJE/tF/s+Oa6dG8x/KAFHOj+p7YJ6EpsarnP1wdvlTVwuhjgHKOgsfE0TL6qKGTwWNJZei0hmt+Inud78FxLgs= 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)(366007)(7416005)(376005)(1800799015)(52116005)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?Sftq0ZeXTNBqXJZrti0ySCUHx0LI?= =?utf-8?q?Ac9rRi3ZC/F9cSbt4lB5EDlcz+OQQKg/4EcfJduhbEDOFvrVIoNorQQpisn0T/f8H?= =?utf-8?q?w53V9WQRq/7d7iO1TJnQb3TQ/HuqOCtFx64QSJcSVzHJ6Bye1+gGmCpCGz5wY2PPR?= =?utf-8?q?zve//OmNRnf+dXk2/16WfTInuaC+pO0mQErVXdkoCOW0DM4xjKV6Feha205Ru6MY1?= =?utf-8?q?atejdqbamrprENnI99S39CyxAiiP7/H079QoR9SymEj9xKjdeD5+5LyQoww5hTc6s?= =?utf-8?q?Ik7m39gqG0YdBLiTORZVmwETEDIsXqBfKaZuRykqEzqgjbW7W6O5GcgJUxNuSvVLW?= =?utf-8?q?z7jgPkGzRNOVEISx/KDTmhAMWyN3+Fd+Ayd8N09S+LVynx1QD7f6Ysdz0Gsej+pre?= =?utf-8?q?jOxvFNh6cuoyAuG+xQ2lZODU1zAGRtkSx6/QubHqOV7P8AkZ1nOoC7SXStcctX7Iy?= =?utf-8?q?eeIg7i5N6g580CbppUWh/tZyaDMa9ayytETf5jqmUIpUN2RG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enp3xwler2Oihgpfv4QUrjPh?= =?utf-8?q?JzHZBb8QtSwARjuwzekM4miqnRUJfgsMGChkOMiE0fXnjrCGRZNxocv/vDrIDsXhq?= =?utf-8?q?FNbMv6nkS6tRGFCRGnreb2nvwW+AGvHrfbjpxVdoeNKWsnImgbqOb0CFg+Bwg7HY3?= =?utf-8?q?ClpNskX09v8J?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: f70ec9f2-b34c-4004-978c-08dc6020fad8 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Apr 2024 03:29:54.4369 (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: e6In4AhVE77z9TizfTgc+sEpjVhc2t2AXeEqkoLwWJdsZoMafY/7vFQ6PePzRFtG1GkPAAlQ3aoHDgDxszEMTg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB7358 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240418_203005_904976_912C1C85 X-CRM114-Status: UNSURE ( 8.87 ) 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 Fri Apr 19 03:37:07 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: 13635610 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 CE856C4345F for ; Fri, 19 Apr 2024 03:30:53 +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=LIgW8rQZQ7bVxk0TlY3u5RiCK+ tDn0PlUWoDd/GCvwmiMju8YrCU18N79w0UulmWtSSCKceb9sADednouvB2KVVFmijrqFiw1WSoKMZ q5d+tAFq3XSYXuGGF8G3LGicE6OVVDTUeBG9gkiVpe+7EzYJtSIsf+Tqf+9h9tPo4adixeOZKNUuO B0KrIh6e9V6uj6ig42G9T5aTvQql3ZVRsMkr7JNu3S0HQPQeGP/sw7zRLaoj8yR4CWf6U98KhcEOw ByB2W0lJiCKTxkiP5tzhUTHvLoP8eq0qG0VaWJh6ibPLSOXvGXsyfYIx/V1XM6FTJxIVKFOkawYas sc5t8tFg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxexT-00000004EXQ-15br; Fri, 19 Apr 2024 03:30:39 +0000 Received: from mail-vi1eur04on20600.outbound.protection.outlook.com ([2a01:111:f403:2611::600] helo=EUR04-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxewx-00000004E9Q-3sjF for linux-arm-kernel@lists.infradead.org; Fri, 19 Apr 2024 03:30:09 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VZ4El+MJ+hLABJt6R2g+CcwgrTpylO/BqcvhEnGG3sqnO9z1I92BAuyTn6jf3dzfSnbPsjNL1Ph3IBrpxhbt/m7oNvbJWyY77fL/xSQnvfIlSfUXsNFGKyL9G9EXV3qyeNi//43vW6BtKVLd+iLCUD4UVaYNHtZg1qXytZbokPY5cNrWax0yOqVxAq0swFGxSmkX/12wihkCgq5qwf4Nfq36MkEz3pOdG0ByZ9ALjejgEZmrmJP2wMc59d/Q7n7/eqDSqpWD6VgetnRi+P+Eh7rz9ETHMcMSeDsV5y71vCcpt0RIkzD+DbY5DZqQvs9teW7CKcQYs9O1QTD/dtMWsw== 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=aNdAcqqXMMv7bQJvoqBrg294mKA2mxDNxtUwAvAdTvbsVdF5ehzVh/wmY8JnmhUUFVryTfGCOmixowyPHxC7B0X2ltbd0OgRoDhrauQX6dqRxK1XkhN0L3A2KSIzr2RGWuDrnKC8NQiXegRBpRROz+h4tIxStxhm96tnNadU9O9Fub/FUmC4uRpKqe+6bbp64hxNc0mIO8mXFk7NVHZRPM7aq3hDv7SOch0w9qqiEPh67K8E5FBB9b0ZHgRLcFg/+6z9XfHtHVihJOm/KJ6X8UFsehg+jMYiT1E6bEkRY6jZgjIj0b9hj6m0QGg0/skifr9toeb5w1j+Gx1Qc0CGLQ== 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=LrMBUJZKn+BJ4SRQiaBBo2dhfqmT4HJu9dysWzc4WyFqlQGXsCxBIiGcXyUEvMkkbIYT98LfVFhVo3XBz9AzSrAngaDBTRnlrxN3ClKVStzvbFaIwikG8JJIe13O9fVRnaFilnlWvAJY1tseVd+TLDSIA4EQMsP/dQrpL5wMRGA= 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 VE1PR04MB7358.eurprd04.prod.outlook.com (2603:10a6:800:1a5::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.39; Fri, 19 Apr 2024 03:29:58 +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; Fri, 19 Apr 2024 03:29:58 +0000 From: "Peng Fan (OSS)" Date: Fri, 19 Apr 2024 11:37:07 +0800 Subject: [PATCH v2 12/12] arm64: defconfig: build in OCOTP ELE Message-Id: <20240419-imx93-dts-4-13-v2-12-9076e1d7d399@nxp.com> References: <20240419-imx93-dts-4-13-v2-0-9076e1d7d399@nxp.com> In-Reply-To: <20240419-imx93-dts-4-13-v2-0-9076e1d7d399@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=1713497841; l=833; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=95/or8YNovtRYwaReL52ZgU1R6CLxV7qrF0J7lepSt8=; b=eCcGqBFC/eh9x3iqIH/GhNCtxuzA8ZkFSUyvEnfsKEnCUkwBziO/rlUI5+p7zbH85PdO02Shc N9Gto8uXpcmCYsn8gAon4P2+ml3nVusGY/Lh0gpDNLcuZwNNGYfL4rn X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI2PR02CA0025.apcprd02.prod.outlook.com (2603:1096:4:195::21) 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_|VE1PR04MB7358:EE_ X-MS-Office365-Filtering-Correlation-Id: 7c521ffa-4b8f-49f1-0ddb-08dc6020fd18 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: I84SQXUFQlcJmdGsV98LdTCUWoQJG0WSDP0oLH7vchohlWVuUpfCiGa5L1s8nLLCC5HW2lDwFB5yLrtmB/jYJuryPhtCIj5W17gwQAAp63d5lM0zwXRdre2ONOCMenUpEy3xBSt83NjUBSjCGYZxcOWubha+R97Pmhry7jwfGCfxhOyl9hrPW93wsLBwmsQH9uF8xr5oVhzm9c6n5uJAniLatkHq3QbPEd80mur/ICsG737BqUpbsCjWk2o4K431MtvLWkS01dIA8DDh5bfBul/jeECYmXwQuaH1rP4NHKebVIe4+kNPrBwbYoDWLtaVOfqKl5olj8//YcFmG0/pYriYncutjhHgsWK3315OJ4cJA9hx4oZkfCR8I74vTOLJliwmaGGnOLO1T1+5gtUJ3+r9kwVJe9X0UXXZ2Ak/OWWWEbPmSZwbnM/tP8oaCbsHB8ruTDPLR+RMLAkHM3hyM9ApmjqH5RZxhD1pz0GM57fs3NKZezsol8yfQhSnWFCHCEnTiB983WjI1DYBgGVcaXWLiVl90U1ZJQg99F8fUDK7/HmpMKZq6mQGfHjK9c5q/mzfY64FbFe4JIaAt+uCujSDdDlPoYHNj9C0PShxa26+KLDYYzigRBM8zOjZMvv3JT9EA15O7yPcSjxbvE+UMXn689UUHOvR+g324Xdh/uS0R63uihfxpZIt+bCNmhiXL1DreTuW3Uy5K6PXQJcBPnCL+AJDBMetcLeccUOYSiA= 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)(366007)(7416005)(376005)(1800799015)(52116005)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?8X2LCEYWlTBDrmooOLjrTxzkt5cY?= =?utf-8?q?P3HX1r0o8ssjPbLzuOBXGGBMRAOmQp2lUvDHTsV19+Wp6s4sbA1s3FixPBaotJlzp?= =?utf-8?q?KO1xSYapjLbsb3kQNH40+oqJzfhdrJuMKIl3Td+okC343FjQIBlHLsJ0Oto5gUb/x?= =?utf-8?q?V1fs34ejanpg7XVZWJpjlPnMBLiU4xPIHOYgfCs4qIO+2dmSbQ6RU8iKZBwgmWCj5?= =?utf-8?q?ZPLfx/I/5QMBA87E3jPRMrTxTvXDNehpr/FGWGIlXaWOo8MKASb6Bz6Jh7O/0UJxy?= =?utf-8?q?E6YQnfvHlSznGvCflJL/GHYNFApHwgLgIVbNANc/ntLiKIYsnXq9AdLGbSqlCKeEr?= =?utf-8?q?gaOIw7KQs54/nulJS+WlqU3Vsn5FboeCcpa6hiAdN2tTlVX0mpViDD0RmJ8dGX+p1?= =?utf-8?q?1FyTakyOjr+FKsehnEj6GDf9H0hGzT7AG6/3QRA8h/B43qvjyQRKqU3X9F/LcZBLQ?= =?utf-8?q?x2fI3yfE4ZMWRM8Td1sUn8PaCPyrnpARK+DCewx53merlht1oAA8MKan7KNUThTsy?= =?utf-8?q?9Rec1Xp/cXwFWsT9p2NwjbGCDMx/sXECCLzamM1LtHiwIvxrNkm/WWLQ5OWpexiYM?= =?utf-8?q?3A7FjbOUPRm/0vkyy2lgJBVzsK0dp8wIwEFp2JhdGsfDEpxqO1/tUocD7X+SzNy5C?= =?utf-8?q?DjV+D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: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7c521ffa-4b8f-49f1-0ddb-08dc6020fd18 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Apr 2024 03:29:58.1997 (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: 3a+JMvZjMKpMdhlxrDOWVQx9OR/DxCqtrLpMEBlY/9/zqrNyNT2Ke0Aqri8eTnfVHkGkyqpWorA+tTd+zGG+TA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB7358 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240418_203007_991640_8F3BEBE6 X-CRM114-Status: GOOD ( 10.42 ) 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