Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp897261rdh; Sun, 24 Sep 2023 17:33:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFuODfHaScMBdDINBDQIQ2rXj2D6baNTnqeOb7miG/VkeHQ9ZqSEUxqG6Xmf18PB1ilt9xs X-Received: by 2002:a05:6a20:ddaf:b0:15e:9032:419a with SMTP id kw47-20020a056a20ddaf00b0015e9032419amr1410267pzb.31.1695602012936; Sun, 24 Sep 2023 17:33:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695602012; cv=none; d=google.com; s=arc-20160816; b=X98eXP+obiJHrFcXa82J5+1Ex8/ZtA6uYBmiT/O4WK3lYfaSEAYpVmAGm05f5Sa6hW 6iMCpEJeoDLtjx8P+Rf14HVHzJflIbcCrBCf/iu2fr9b3j+BEL3hEhBOjIlU4XSaYD54 CyU+W+vTwuwe2FWt+h827HSYSO1KXhSfzqx4NNcw56Ih3TqUPW4hOBJYCkl68jpA2AF+ QhIdLxkApaNy6/GUNnTKF8HZpkX8o4YM987gcr3sXV6JudPItMSok9dpa3MtQA60Dq+t WNNvu39uL+nJ0q/6GE/OiF8N155KjJM+5xjDQBsIvkcuO1EANxIPWobPQDB0HOyo158W KfdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=FEAEjxxl/L1dDSty+K3tS7cOWSaE7l+NyA4VehYMIuI=; fh=VgX07jCRqay7MsqP8DQUGNGbRU1N+Okp4ON+cfa39e0=; b=sVbtdojvUCHg+BZBxt5a2oInsT4oIAspcThVkt20i5G65yb1YPUsA1Svsq/N63nILo /PLIE7z7wsjQ2kHBojk51Ee9pzAUT97lknodT/G/azKQwvIwCk2e7eSYDum6gS+3bOv7 pAczpVINOKG9H8U08SbkNeZpyXUxmE+DNcJSbcDdr0uM8MgPBf13iG0rqoLjJCQEnM8X xzmfrqfqKOyE5gJTkRcoAKlJYAjxzjuLz78fXmwgiP064mdeImOgS52JbbPUJX1gxRvZ aXQ6h3XdgD1NRE4KuCDcJRUFDb1t793WdQMc0EeYLCak2k+bwRsvuZsOQ8ITSSLtkLec LAqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Wb++vxCU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id p11-20020a17090ab90b00b0026efcf5357csi8619332pjr.126.2023.09.24.17.33.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Sep 2023 17:33:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Wb++vxCU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id F11738112443; Sun, 24 Sep 2023 17:33:31 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229748AbjIYAdf (ORCPT + 99 others); Sun, 24 Sep 2023 20:33:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44628 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229475AbjIYAde (ORCPT ); Sun, 24 Sep 2023 20:33:34 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A502CCF for ; Sun, 24 Sep 2023 17:33:28 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B0D8AC433C7; Mon, 25 Sep 2023 00:33:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695602008; bh=YOabgbAw23v6Lo5+imY7xlOKOFQFR3ooh03BmYV8U9o=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Wb++vxCUecfenACiqdgN5n2xfXnyjrhLxmEzSyhZevgqqlB1nkZMLJbct+HDzuxZj W98iE20anXGk0fyY+a1fpxv2iLCiJV7j2alTvJ6LhrG7e2qzUkRg/u2uYf2mkiV8Gi APqCFn3/77GCSr/7nu0Pq8vL6CmgNIvZ+jTuGGm5x5E/HmckI8ttBH615RFiPeSg7d PB1/PjeJR4QtBQMXA0W5rRJn3mg/UK+zI64papvfSX8E4T+p35BdVq015qVQPvA+TL M0WRxcfh408UZAGAT/K9Jwxt02Gk1KrOajYszAkuZ54bG+2wUtqPqAwEzq+Ibm+u1y ZN897/jcdWIYA== Date: Mon, 25 Sep 2023 08:33:14 +0800 From: Shawn Guo To: Frank Li Cc: clin@suse.com, conor+dt@kernel.org, devicetree@vger.kernel.org, eagle.zhou@nxp.com, festevam@gmail.com, imx@lists.linux.dev, joy.zou@nxp.com, 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, shenwei.wang@nxp.com, sherry.sun@nxp.com Subject: Re: [PATCH 1/3] arm64: dts: imx93: add edma1 and edma2 Message-ID: <20230925003314.GV7231@dragon> References: <20230823180055.2605191-1-Frank.Li@nxp.com> <20230823180055.2605191-2-Frank.Li@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230823180055.2605191-2-Frank.Li@nxp.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,UPPERCASE_50_75 autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Sun, 24 Sep 2023 17:33:32 -0700 (PDT) On Wed, Aug 23, 2023 at 02:00:53PM -0400, Frank Li wrote: > Add edma nodes. > > Signed-off-by: Frank Li > --- > arch/arm64/boot/dts/freescale/imx93.dtsi | 116 +++++++++++++++++++++++ > 1 file changed, 116 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi b/arch/arm64/boot/dts/freescale/imx93.dtsi > index 6f85a05ee7e1..acdca18673b7 100644 > --- a/arch/arm64/boot/dts/freescale/imx93.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx93.dtsi > @@ -185,6 +185,46 @@ aips1: bus@44000000 { > #size-cells = <1>; > ranges; > > + edma1: dma-controller@44000000{ > + compatible = "fsl,imx93-edma3"; > + reg = <0x44000000 0x200000>; > + #dma-cells = <3>; > + dma-channels = <31>; > + interrupts = , // 0: Reserved > + , // 1: CANFD1 > + , // 2: Reserved > + , // 3: GPIO1 CH0 > + , // 4: GPIO1 CH1 > + , // 5: I3C1 TO Bus > + , // 6: I3C1 From Bus > + , // 7: LPI2C1 M TX > + , // 8: LPI2C1 S TX > + , // 9: LPI2C2 M RX > + , // 10: LPI2C2 S RX > + , // 11: LPSPI1 TX > + , // 12: LPSPI1 RX > + , // 13: LPSPI2 TX > + , // 14: LPSPI2 RX > + , // 15: LPTMR1 > + , // 16: LPUART1 TX > + , // 17: LPUART1 RX > + , // 18: LPUART2 TX > + , // 19: LPUART2 RX > + , // 20: S400 > + , // 21: SAI TX > + , // 22: SAI RX > + , // 23: TPM1 CH0/CH2 > + , // 24: TPM1 CH1/CH3 > + , // 25: TPM1 Overflow > + , // 26: TMP2 CH0/CH2 > + , // 27: TMP2 CH1/CH3 > + , // 28: TMP2 Overflow > + , // 29: PDM > + ; // 30: ADC1 > + clocks = <&clk IMX93_CLK_EDMA1_GATE>; > + clock-names = "dma"; > + }; > + > anomix_ns_gpr: syscon@44210000 { > compatible = "fsl,imx93-aonmix-ns-syscfg", "syscon"; > reg = <0x44210000 0x1000>; > @@ -423,6 +463,82 @@ aips2: bus@42000000 { > #size-cells = <1>; > ranges; > > + edma2: dma-controller@42000000{ > + compatible = "fsl,imx93-edma4"; > + reg = <0x42000000 0x210000>; > + #dma-cells = <3>; > + shared-interrupt; > + dma-channels = <64>; > + interrupts = , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + ; > + clocks = <&clk IMX93_CLK_EDMA2_GATE>; > + clock-names = "dma"; > + fsl,edma-axi; I do not find this property in bindings doc. > + status = "okay"; Unnecessary 'status'. Shawn > + }; > + > wakeupmix_gpr: syscon@42420000 { > compatible = "fsl,imx93-wakeupmix-syscfg", "syscon"; > reg = <0x42420000 0x1000>; > -- > 2.34.1 >