Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2948550rdb; Tue, 6 Feb 2024 02:40:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IFphUiTSnlE86bMZ7sHQEz9wyH7CN8RjFb3Y9Js+G9BHtliIi9Nohxnh42YG85K5tHVgDSr X-Received: by 2002:a05:6a20:a49e:b0:19c:8ed6:8bb5 with SMTP id y30-20020a056a20a49e00b0019c8ed68bb5mr969086pzk.39.1707216014652; Tue, 06 Feb 2024 02:40:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707216014; cv=pass; d=google.com; s=arc-20160816; b=xeHzaaEzVg1HVR/cFlLBJ90L+YgL3fE09P6+hgTay+oNOSU6HtrzuNuHQo5Yq5tKXt kD8667dh2Kj5HqA5YaPe+vLm0Ul4AhDnwrCvpbyucabIPsmX7IiGB/IqKtScj1GnrZjo tPi0ao9+2XFDiqAQkh2S5hDuoLj50BZlXzWpeGOj13P8ipUhmj9Z7zCN0/0IHt+AORev h5gfwUhJeaoGNig1e7tLojChelNmv6QWG81t8sqJuHul5LC+dhA9cZnX1ZtUt5Vayd1t D2VvPMXJ7cgf3eDNpsbbpxWj8J1vfZL7MCpNPoOfz93ob0kzAJGgYh4x2U1TYyyEdaHE UIxw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=rMy70T7bGq+86zodkiE5SnCSlDJcdq4HaQVB8APMukQ=; fh=oGXSmEVP2oBx0xRTJkKsxKeIJz00DU8nwjXTLcj5ImU=; b=dWphqD5ycdypOetWSiE63KoJUlBeVYXfTcvPgZ7dpsJVplxX44EQgN6z0XCruYJG+i /3svc6ra+6UMxhaNYwn+DO67R4p0v+RuQ6czXltVwXkxwULb5PUXrO49nKAcTYjeSD2s s59yp6udofi3pex3m1Nwhkc526SyrsDsOLhpx7XiwdHDZVTxqY9LHz9eyGXcET8G2iqD m8UAvgQGuyLeru9FxZp7zo8ALePv1Y7AQGzfM+elOivVNlP2VL1FIkdE/D/5pJEXBuJ3 h1VCf97ItV3AuGUzQgNhZE66Igvkxu6Vpb6TrF/6PH90yCSwveLhGEYGlSlBDbo+TXqp z1OA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@yeah.net header.s=s110527 header.b=TVbV6ANW; arc=pass (i=1 spf=pass spfdomain=yeah.net dkim=pass dkdomain=yeah.net dmarc=pass fromdomain=yeah.net); spf=pass (google.com: domain of linux-kernel+bounces-54704-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54704-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=yeah.net X-Forwarded-Encrypted: i=1; AJvYcCUi6xt7Fx+7ABJlW6CZhe0JxmQ+TVs7phkLyZbEGThypXoOff5SohOuz73sXuQpIPEclsVE1iIOtucN38qxA1J70mMEYK4S+Sk55ekp9g== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id jh4-20020a170903328400b001d8ded24c8esi1412059plb.143.2024.02.06.02.40.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 02:40:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-54704-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@yeah.net header.s=s110527 header.b=TVbV6ANW; arc=pass (i=1 spf=pass spfdomain=yeah.net dkim=pass dkdomain=yeah.net dmarc=pass fromdomain=yeah.net); spf=pass (google.com: domain of linux-kernel+bounces-54704-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54704-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=yeah.net Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id D4B462825CB for ; Tue, 6 Feb 2024 10:39:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 10C3B1EB21; Tue, 6 Feb 2024 10:39:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=yeah.net header.i=@yeah.net header.b="TVbV6ANW" Received: from mail-177132.yeah.net (mail-177132.yeah.net [123.58.177.132]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9E67533D1; Tue, 6 Feb 2024 10:38:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=123.58.177.132 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707215939; cv=none; b=HwJrJD5Q4KdEgHKNXaGMV8zx/qb45JH10EYIuJrf9Gmfr4fOJaDkGUUxMSjxNF5zM0R5V8qqTFlwz0VEExjpkA2Y2fQ2Fyy0HKilI3nIX/N8Oxfcb8R8DOyfhsvB77d32gGwr0mm8REY82VIaw4CH/nrxL8/ANcFH2aU96fF+Xg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707215939; c=relaxed/simple; bh=jIDetKdqCHcAy2PHqpROZugyHayLlJ1AtCGMh46V4os=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Sd2+QX86FzRNZYiSPDywjYa3XZiMmrOVH1SUMNzTSF6j+4y4YxYJI5kgEYzpWx4fwiUh1lrXj68SCwtrpbRnh4+XJuommCtCp5MyaSZ5ka9KmMrrwZTA5NzaYmDsyMpS2i+WuhXF49hrzMefilsnHXpwoCkC0o3TP11DnNsnB6k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=yeah.net; spf=pass smtp.mailfrom=yeah.net; dkim=pass (1024-bit key) header.d=yeah.net header.i=@yeah.net header.b=TVbV6ANW; arc=none smtp.client-ip=123.58.177.132 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=yeah.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=yeah.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yeah.net; s=s110527; h=Date:From:Subject:Message-ID:MIME-Version: Content-Type; bh=rMy70T7bGq+86zodkiE5SnCSlDJcdq4HaQVB8APMukQ=; b=TVbV6ANWNZ3RER6wPjOEzpUZ/iX8Lucs4azd6YiPVzSuGCjCyatDNwMXh9WZsz 6zqtFyzqR02KMp36N+dRLg1KkHq5jnRw4rBBWzlrywi8i+YNhOxw01eDtpayztth vr16iVDFiF+XElF5KitojBEGEX3K1VpSF/A4XD66vfXQY= Received: from dragon (unknown [183.213.196.254]) by smtp2 (Coremail) with SMTP id C1UQrADn7wgmDMJlAEACAw--.34613S3; Tue, 06 Feb 2024 18:38:31 +0800 (CST) Date: Tue, 6 Feb 2024 18:38:29 +0800 From: Shawn Guo To: Frank Li Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , open list , imx@lists.linux.dev Subject: Re: [PATCH 2/2] arm64: dts: imx8dxl update edma0 information Message-ID: References: <20240129201633.234255-1-Frank.Li@nxp.com> <20240129201633.234255-2-Frank.Li@nxp.com> Precedence: bulk X-Mailing-List: linux-kernel@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: <20240129201633.234255-2-Frank.Li@nxp.com> X-CM-TRANSID:C1UQrADn7wgmDMJlAEACAw--.34613S3 X-Coremail-Antispam: 1Uf129KBjvJXoWxXFyrXr48CF4UZr4UJw43ZFb_yoWrXr43p3 4UCF4DX3sag3W2v3Waga1xAryfGrn2kr4Ygr90k3y8JF92gFyIvF47Kr1vkF13Gr48XFy5 XFsrCry8A3W3XrJanT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x07jz4E_UUUUU= X-CM-SenderInfo: pvkd40hjxrjqh1hdxhhqhw/1tbiDwd8ZVnxccILPgACs9 On Mon, Jan 29, 2024 at 03:16:32PM -0500, Frank Li wrote: > edma0 of iMX8DXL is difference with other imx8 chips. Update register's > size, channel number and power-domain. > Update i2c[0-3] channel number information. > > Signed-off-by: Frank Li > --- > .../boot/dts/freescale/imx8dxl-ss-adma.dtsi | 65 +++++++++++++++++++ > 1 file changed, 65 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/imx8dxl-ss-adma.dtsi b/arch/arm64/boot/dts/freescale/imx8dxl-ss-adma.dtsi > index 0a477f6318f15..f8fca86babda7 100644 > --- a/arch/arm64/boot/dts/freescale/imx8dxl-ss-adma.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8dxl-ss-adma.dtsi > @@ -15,6 +15,63 @@ &adc0 { > interrupts = ; > }; > > +&edma0 { > + reg = <0x591f0000 0x1a0000>; > + #dma-cells = <3>; > + dma-channels = <25>; > + dma-channel-mask = <0x1c0cc0>; > + interrupts = , /* asrc 0 */ > + , > + , > + , > + , > + , > + , > + , > + , /* spdif0 */ > + , > + , > + , > + , /* sai0 */ > + , > + , /* sai1 */ > + , > + , /* sai2 */ > + , /* sai3 */ > + , > + , > + , > + , /* gpt0 */ > + , /* gpt1 */ > + , /* gpt2 */ > + ; /* gpt3 */ > + power-domains = <&pd IMX_SC_R_DMA_0_CH0>, > + <&pd IMX_SC_R_DMA_0_CH1>, > + <&pd IMX_SC_R_DMA_0_CH2>, > + <&pd IMX_SC_R_DMA_0_CH3>, > + <&pd IMX_SC_R_DMA_0_CH4>, > + <&pd IMX_SC_R_DMA_0_CH5>, > + <&pd IMX_SC_R_DMA_0_CH6>, > + <&pd IMX_SC_R_DMA_0_CH7>, > + <&pd IMX_SC_R_DMA_0_CH8>, > + <&pd IMX_SC_R_DMA_0_CH9>, > + <&pd IMX_SC_R_DMA_0_CH10>, > + <&pd IMX_SC_R_DMA_0_CH11>, > + <&pd IMX_SC_R_DMA_0_CH12>, > + <&pd IMX_SC_R_DMA_0_CH13>, > + <&pd IMX_SC_R_DMA_0_CH14>, > + <&pd IMX_SC_R_DMA_0_CH15>, > + <&pd IMX_SC_R_DMA_0_CH16>, > + <&pd IMX_SC_R_DMA_0_CH17>, > + <&pd IMX_SC_R_DMA_0_CH18>, > + <&pd IMX_SC_R_DMA_0_CH19>, > + <&pd IMX_SC_R_DMA_0_CH20>, > + <&pd IMX_SC_R_DMA_0_CH21>, > + <&pd IMX_SC_R_DMA_0_CH22>, > + <&pd IMX_SC_R_DMA_0_CH23>, > + <&pd IMX_SC_R_DMA_0_CH24>; > +}; > + > &edma2 { > interrupts = , > , > @@ -48,21 +105,29 @@ &edma3 { > &i2c0 { > compatible = "fsl,imx8dxl-lpi2c", "fsl,imx7ulp-lpi2c"; > interrupts = ; > + dma-names = "tx","rx"; > + dmas = <&edma3 1 0 0>, <&edma3 0 0 FSL_EDMA_RX>; > }; > > &i2c1 { > compatible = "fsl,imx8dxl-lpi2c", "fsl,imx7ulp-lpi2c"; > interrupts = ; > + dma-names = "tx","rx"; > + dmas = <&edma3 3 0 0>, <&edma3 2 0 FSL_EDMA_RX>; No FSL_EDMA_TX for "tx"? Shawn > }; > > &i2c2 { > compatible = "fsl,imx8dxl-lpi2c", "fsl,imx7ulp-lpi2c"; > interrupts = ; > + dma-names = "tx","rx"; > + dmas = <&edma3 5 0 0>, <&edma3 4 0 FSL_EDMA_RX>; > }; > > &i2c3 { > compatible = "fsl,imx8dxl-lpi2c", "fsl,imx7ulp-lpi2c"; > interrupts = ; > + dma-names = "tx","rx"; > + dmas = <&edma3 7 0 0>, <&edma3 6 0 FSL_EDMA_RX>; > }; > > &lpuart0 { > -- > 2.34.1 >