From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E73EB371; Mon, 25 Sep 2023 00:33:28 +0000 (UTC) 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> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230823180055.2605191-2-Frank.Li@nxp.com> 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 >