Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2366155lqp; Sun, 24 Mar 2024 16:02:34 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXTS2x+8DT/EhEKP9xe4QOAEob9aJeAiA++b43bkjDkSAEYFiAIGLYOAMe11bpsDgZ9pQSOV+uG5cv9CwbuQzNhN9Tych5krazj1xdC9w== X-Google-Smtp-Source: AGHT+IGfYHSVZ58o+ObcyntqgeXrzKkbsSkMlGQWZdxaW+nSzuEyfCYdlRRw3SDrrHV7rbiPgeKF X-Received: by 2002:a17:902:d488:b0:1de:fa9b:7f99 with SMTP id c8-20020a170902d48800b001defa9b7f99mr6448109plg.10.1711321353973; Sun, 24 Mar 2024 16:02:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711321353; cv=pass; d=google.com; s=arc-20160816; b=toYsEn+kSzaYxaNqAHEwpuVhvEYnyMxj92TmKuDqh1vBBYGZ9UQNMg6emipCroJUBV cbM45O2RV0R0qVPurjbqzZF4vspeAlyPCONvnfq4HV9j0U8fLgmv9unE88FtAKnk8MPp j110acoWc7sbcF+Buk089MSQNfphAyBT/26k0b/Qxgy+TlbKN4K4iYjvNjRUE4wPEPDV qsaUBA0G8hQyAdoevWpQSGha8ecvd8VAN2vyD9+BdT/elo63Z3Sjfo7ZHLvkSNPNf/GU m9G4nmdOguHqukIepdhlJHqt9nxTBBlRgnAGTymeBwNJVnrSiyxob5RrRBgIrB3QqswH fb3g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=rRve8GCWaxgjDH7g5L2gJhtsG4dMnCgy2Ik0hSefZyw=; fh=LWL2uHambtjjaCtO3rNvtjXwVF34BiJ8kvsGiPO9e/E=; b=NeI91477e6cssSk8UgEttBQxKlEMWg3x0N2dh4BJAKdo5A/4lyzSEO4Fm2NVtmOVPT 7krr01rK20pR7O30QvC5JExh3mS1QOZETXQWRnd30M7TUyled2h8U1tkmRDtM66rp+iH iihPffZvlBEbPMCl+cGsHnZ1qBekF568chjZ8VVxwFgphDhqsLkil/a5P9HDk80iFMKj EE5XLUc0k+d8wkN4Z+9fss2Aq94PsBxXoNIWL9KxpV0G892tFgutWbomf5g+/2ejhQol /RUxJC7HQdN0nYWaOnI4A3UhCCwgOdlJQ/RQbZc0i+UUyJMDQcAshHA220/U+MA8pJ+Y Aoug==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AgeOh++F; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113004-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113004-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 13-20020a170902ee4d00b001dda53c3867si3835860plo.648.2024.03.24.16.02.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Mar 2024 16:02:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-113004-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=@kernel.org header.s=k20201202 header.b=AgeOh++F; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113004-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113004-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 9A7D8281A05 for ; Sun, 24 Mar 2024 23:02:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 30D96130AE5; Sun, 24 Mar 2024 22:36:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="AgeOh++F" 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 4C368130AC8; Sun, 24 Mar 2024 22:36:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711319815; cv=none; b=pjJS9CFRWz62PozR/Yw9VCBjNnliG59dGkRPtBBrYXBv2xutA6QcpoIMPu5/5YmVlqt8BZD5JJuiRbxM8x3u+RTz2lbNJfZA8uGZ8AvOw+pTcCGJsQXv6dzNwiApr6sg4MoBMtvY4yL+EAwJTXMjvUAMwa6+Br68QJXYwQUe3wY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711319815; c=relaxed/simple; bh=EIbMxu/q2XMUhSWQMGGLvMeG00Row+WgL4DEBSSi048=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=AHWHO/x5cVJaYW/zaPr/BZLE/vNbS2/Nf2COQx+QAunk1ER3h169XdppqcEFnsY5GjnErxD9lKQnajGqK8jlg/s7PMWOThGqwGJgywzSU1+I4QbAEjtvfMeTJtFgaW2JRACZvulmB6cDkKER/WV1Hha8F+xvXCN5OKLO4hcx1EA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=AgeOh++F; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8976BC43394; Sun, 24 Mar 2024 22:36:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711319815; bh=EIbMxu/q2XMUhSWQMGGLvMeG00Row+WgL4DEBSSi048=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AgeOh++FyCRiksr6g9S8uA536oLYmqFEycD4A6nP7YtKUVa7AEfZ318HUIMkz6GQ/ kQtbkCpDTOJseoe8rQhEkNAL81X2mfC5zzo7UnpdukK7j49A9AcTga9+ZMOBS8yAH/ Ti0l7mtXaiBkLywDbAIBs3jTgJqABs4CqG5a6DVMpKlnXzEL4i1tGO4zlbdMoTAUPj s9ooSBpSKn4Vbrthh1F86ou3cMO53Gw+EFKKgqy+otvCiNh+MCNA7okQ+g9zqFG5GG rUGQmW5bFJtIJLM7OZVugQVmX3m7FEbWkqNlLXTT6vpXZw2jvO7Xwn7W9xelRlMzTX np/iwIb6KNWEw== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Frank Li , Shawn Guo , Sasha Levin Subject: [PATCH 6.8 117/715] arm64: dts: imx8qm: Correct edma3 power-domains and interrupt numbers Date: Sun, 24 Mar 2024 18:24:56 -0400 Message-ID: <20240324223455.1342824-118-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240324223455.1342824-1-sashal@kernel.org> References: <20240324223455.1342824-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit From: Frank Li [ Upstream commit 5136ea6b109de66b1327a3069f88ad8f5efb37b2 ] It is eDMA1 at QM, which have the same register with eDMA3 at qxp. The below commit fix panic problem. commit b37e75bddc35 ("arm64: dts: imx8qm: Add imx8qm's own pm to avoid panic during startup") This fixes the IRQ and DMA channel numbers. While QM eDMA1 technically has 32 channels, only 10 channels are likely used for I2C. The exact IRQ numbers for the remaining channels were unclear in the reference manual. Fixes: e4d7a330fb7a ("arm64: dts: imx8: add edma[0..3]") Signed-off-by: Frank Li Signed-off-by: Shawn Guo Signed-off-by: Sasha Levin --- .../arm64/boot/dts/freescale/imx8qm-ss-dma.dtsi | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8qm-ss-dma.dtsi b/arch/arm64/boot/dts/freescale/imx8qm-ss-dma.dtsi index 453fabfd17b81..cafc1383115ab 100644 --- a/arch/arm64/boot/dts/freescale/imx8qm-ss-dma.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8qm-ss-dma.dtsi @@ -96,7 +96,20 @@ &edma2 { status = "okay"; }; +/* It is eDMA1 in 8QM RM, but 8QXP it is eDMA3 */ &edma3 { + reg = <0x5a9f0000 0x210000>; + dma-channels = <10>; + interrupts = , + , + , + , + , + , + , + , + , + ; power-domains = <&pd IMX_SC_R_DMA_1_CH0>, <&pd IMX_SC_R_DMA_1_CH1>, <&pd IMX_SC_R_DMA_1_CH2>, @@ -104,7 +117,9 @@ &edma3 { <&pd IMX_SC_R_DMA_1_CH4>, <&pd IMX_SC_R_DMA_1_CH5>, <&pd IMX_SC_R_DMA_1_CH6>, - <&pd IMX_SC_R_DMA_1_CH7>; + <&pd IMX_SC_R_DMA_1_CH7>, + <&pd IMX_SC_R_DMA_1_CH8>, + <&pd IMX_SC_R_DMA_1_CH9>; }; &flexcan1 { -- 2.43.0