From patchwork Tue Aug 22 15:53:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 715856 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 91915EE4993 for ; Tue, 22 Aug 2023 15:54:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237402AbjHVPyQ (ORCPT ); Tue, 22 Aug 2023 11:54:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232251AbjHVPyQ (ORCPT ); Tue, 22 Aug 2023 11:54:16 -0400 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2072.outbound.protection.outlook.com [40.107.21.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0FD9BCF8; Tue, 22 Aug 2023 08:54:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZKVpOou/cPnQiTxSLgY9scOjv7jnSCC4JNYfCTMqYAxP77fA20swIYgTz27D8INi9KE7PR315dfddvTvk3cyEmi/og4XVt66s2BfSapUbKqZ41wCakwSQzKQUFjoHzTKyLBSgLm8QL2uJuqBPhPZHB6ofsXjsf458+adzOEIaizR56+AWpGjXAbrIcyEJaU7pVwzALoJ/psAq7GiemI/V4D5zUvfdn+1Cu+cKS6/N1yJ+Fz7m3pHWM2sUu5n8Z05bqT8tyC8WNWXi40OVYCNWl8NhQinPMqgwc+IJ0+RiFdM1OzPXOFumzInU21/WJ+hMYwnWHta94Mmz5sEAewMXA== 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=UWJcHHCIlLzpvJoqnUnnYZqk7TeNz1B21bOVgvrlAO4=; b=YQtUmYp3jNRY9gRzzCkrzRijcRnBlBiI4lApzxGDT79wsRzdXVcCjBWz2Ni2bC0eMhnTdG8gSyl2kaAYDAAIO3PZVjKbMYXBScCAIegLUcBiFOK4EyAEnwKGucGCp+u8WSUlo4XTOG6KlAC2IDegXUeUNqLbKYSdpVxEXOSMaVH+iWgPFMKVsVpEKruiOrnI0MOOkiXUnm8kVO8W5wGclpSJjCd4iIGkTKlESZdVx0tj2YULiYlZJAgRJ+qEd+N92XEUJK/9/st2cSWNktltUuuzDLYoA8S7lklAHwWq0wyiHoSa+KcwwUi746f7QVDZER8Nn17iky/Q8h1ADa2zPA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=UWJcHHCIlLzpvJoqnUnnYZqk7TeNz1B21bOVgvrlAO4=; b=XxeVyGgV6BkqOGCmhbpny+d2q6hvPDOGkIyDANJDOkuEc8h//4xcMadZKeydlhDbd6uCwXSdmVK2ODTPuoUlXSY+Znd45k1wlFHuS7z29VYJtuQYBnhrKi7+cLrgLGz6/CFyZ/+OxyH5VGdyPR1q2a/P/nmiBmU96ZZTa4xNqGs= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM6PR04MB4838.eurprd04.prod.outlook.com (2603:10a6:20b:4::16) by PR3PR04MB7322.eurprd04.prod.outlook.com (2603:10a6:102:8e::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6699.24; Tue, 22 Aug 2023 15:54:08 +0000 Received: from AM6PR04MB4838.eurprd04.prod.outlook.com ([fe80::a680:2943:82d1:6aa8]) by AM6PR04MB4838.eurprd04.prod.outlook.com ([fe80::a680:2943:82d1:6aa8%3]) with mapi id 15.20.6699.022; Tue, 22 Aug 2023 15:54:08 +0000 From: Frank Li To: frank.li@nxp.com, shawnguo@kernel.org, joy.zou@nxp.com, shenwei.wang@nxp.com, sherry.sun@nxp.com Cc: clin@suse.com, conor+dt@kernel.org, devicetree@vger.kernel.org, eagle.zhou@nxp.com, festevam@gmail.com, imx@lists.linux.dev, kernel@pengutronix.de, krzysztof.kozlowski+dt@linaro.org, leoyang.li@nxp.com, linux-arm-kernel@lists.infradead.org, linux-imx@nxp.com, linux-kernel@vger.kernel.org, pierre.gondois@arm.com, robh+dt@kernel.org, s.hauer@pengutronix.de Subject: [PATCH 3/5] arm64: dts: imx8: Add edma for uart[1..3] Date: Tue, 22 Aug 2023 11:53:31 -0400 Message-Id: <20230822155333.2261262-4-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230822155333.2261262-1-Frank.Li@nxp.com> References: <20230822155333.2261262-1-Frank.Li@nxp.com> X-ClientProxiedBy: SJ0PR03CA0231.namprd03.prod.outlook.com (2603:10b6:a03:39f::26) To AM6PR04MB4838.eurprd04.prod.outlook.com (2603:10a6:20b:4::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM6PR04MB4838:EE_|PR3PR04MB7322:EE_ X-MS-Office365-Filtering-Correlation-Id: b5264f49-e06f-4a1a-5ec1-08dba3280527 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Gy3q9mQw8wWxmuCPCF0xIHJQrtAYHR5Zpd02BusyrFwXkxOtKCgUu7EujwdIC9+Sk+6gz1UB4udTcGU5ulKOpi9e2fbC7chGBxhij7QnEOHskqsak7bXgQ3jodhI3JmUW9nnvQ7Xr7naJW0gkR/HjKfuI5C4mGhs7L61C2G01GmUGRgwsbHPmC8EZwTUs/ix9FuHDUE5PkbFbb956Eu+B1imaVzhHT87uAIPgNbcTlFlyxCuC4JbTDe4L2ZWMeabXgeO70Jdz/pJxJGWib/u6gc+Z86dQo7InYoSsCilMlLh5Y84WK6XfxwliIGCEhRgAo+RO1hHadgoM3JMa9kLUOoWUmVNEWymg3MbojLRSGPHPEjs0VRwUGSRg7c7rU5W388PGYsBYpM3p9u5HNOaTPSY68rSz7ChcHVy8iVPI5fRUMCPYyVBTIEfbvKnIvj6L+UFUAsO/iLFav3JVbY96Ca9U3M5POppt+bTF4bVMwzJ9sOP6N0RvnxDBsZWBZ9zt6cfrSFLW9RJpQX1eKnBH3IFjtqDs+Hs+G3uny6K7diStmVj6/ILF64xa0TH5GACCLYOt4rm6n+fj1HuQhDNWUI5CJHhLr4vTY78gOBM5o0EkoX6soPqPGgQkVBg+nnvfLxowd2PhZArPb6BxiwXPQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM6PR04MB4838.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(366004)(346002)(39860400002)(376002)(136003)(396003)(451199024)(186009)(1800799009)(2906002)(7416002)(38350700002)(52116002)(6486002)(38100700002)(6506007)(83380400001)(5660300002)(86362001)(26005)(8936002)(2616005)(4326008)(66946007)(316002)(66476007)(66556008)(6512007)(6636002)(478600001)(8676002)(6666004)(41300700001)(36756003)(1076003)(101420200003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 7DsDsstPK/RIeit+rJtEsWmgay8Zi/zncB4h4isUlhEt21vn2m8wz525W6iR8oL4sz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BYxpknEikguTILAMDEosGgx0oZ0ky+kJyo+kw3iXsdFHAO9lnwMpu1DylWPNIdL6LceUQ53H+SnL0bTKaJDJ9c30JRasd/PcGIEO02SLGOqt0M+lLOyRjJMcZa3fwjfCrkSmv/aWyCcVJlzP7Tp8GH0gg0X79Y6GUGKi6axOpag/8gtzxFTgz0X1vxCMIdhRREFwM/8Ex2Ei0mPkklhuMG1pBYrHzUFr8CN8MMUrIaVfnC2fPVL1hwsiUK7Tj48YNALUAjIYhpLUEAyd1FuyAH5VelNvP3Md2zybWSGtJnuHZ2bhsOx0x0FZQxg2o8K4oGZ6l3mWUzB6CCgKOyvsdqPVzv9bt1cea8R3wH7O9DflhJnJyafBEtfExvO4HYEesfGI7Vop2mnIYB+j5irFKyVkvoaknAEKcWz/ttWBWKSfBvQ54qFp5dD+ee7slm4vY X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: b5264f49-e06f-4a1a-5ec1-08dba3280527 X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB4838.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Aug 2023 15:54:08.6450 (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: H8LcMntcIHI9cJ0I1SF4RFtwL2wQiUJcDYs38bCp0ixoNIJMc3WydxDTs7H5yigKew7LF2dn3UNTNXVGZA7Ivw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3PR04MB7322 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add dma support uart[1..3]. Signed-off-by: Frank Li --- arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi b/arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi index 76e4aaaf307f..92ed02e6048c 100644 --- a/arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi @@ -105,6 +105,8 @@ lpuart1: serial@5a070000 { assigned-clocks = <&clk IMX_SC_R_UART_1 IMX_SC_PM_CLK_PER>; assigned-clock-rates = <80000000>; power-domains = <&pd IMX_SC_R_UART_1>; + dma-names = "tx","rx"; + dmas = <&edma2 11 0 0>, <&edma2 10 0 1>; status = "disabled"; }; @@ -117,6 +119,8 @@ lpuart2: serial@5a080000 { assigned-clocks = <&clk IMX_SC_R_UART_2 IMX_SC_PM_CLK_PER>; assigned-clock-rates = <80000000>; power-domains = <&pd IMX_SC_R_UART_2>; + dma-names = "tx","rx"; + dmas = <&edma2 13 0 0>, <&edma2 12 0 1>; status = "disabled"; }; @@ -129,6 +133,8 @@ lpuart3: serial@5a090000 { assigned-clocks = <&clk IMX_SC_R_UART_3 IMX_SC_PM_CLK_PER>; assigned-clock-rates = <80000000>; power-domains = <&pd IMX_SC_R_UART_3>; + dma-names = "tx","rx"; + dmas = <&edma2 15 0 0>, <&edma2 14 0 1>; status = "disabled"; };