Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6229036rdb; Thu, 14 Dec 2023 11:47:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IEGt2YsWJxVzwjZKr9+TEGsreCsUpEvbh7SY0oPQHde6v1ctHcqVBA4Et/P4GYq0KFF70mr X-Received: by 2002:a05:6a20:7286:b0:18a:e176:87e9 with SMTP id o6-20020a056a20728600b0018ae17687e9mr6466754pzk.15.1702583277817; Thu, 14 Dec 2023 11:47:57 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1702583277; cv=pass; d=google.com; s=arc-20160816; b=PeONgyPPbI59YLVcYt4GWSw6BO8cO+E2y8GfpkuPu+QBBFNRJgAIcLSemOvxwgn+h6 KKgv1dgtsnXw47L78XoGEoVqOApoYuJQs4UsVAhh7qTxf1IsuyTwW4Dl6+bsFuxOVn6B U4pJvLByyqCYuU2izAQCsU5NpszpK/Ip5GJq9vcgDs/MxS5oixqsziudVIuzdWEhWA06 P6MlY6/gAWuPYycjjD9CjkyzUjoAKNTBhFoWFrIaDTLtwXzaZMx5zqwuDvWt8eyFSLa+ FLyL1sfW1nZeC9el5S8dSqrSCFs6kCi437v2CrK85ShN42bfr6ECPosuCBDnGrAUMzht DO5Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :content-transfer-encoding:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=SMJ/SYq2xgdNsdWVEDuvaK7MGok/qWL7VOslVxBsHLA=; fh=Rnos2BzMRANOVZUqbdS4UULScQjiGR9zIpXicjvWEkM=; b=UQpyT/kJj8MM1RK0J2iSbspX/V/D9hG7FQNKxELgf27LLQ0R4SfD2iVxy1Xxa2xOqG b0rk+Jn8r3VWrKbBvra2Pda6OVPWp7nZ9ov4POjs4ZTlmDvkyNokupMqp32ntY1MtHhz ubV41Op9Oq1jnSZjCxowFtA8d/kYr6zWiZQIzkes0vwibpzZSymD7X6njzjKot6aPt2N qwdhoHhLQM6yXTcxIAoQQVsj1svsZvsNmwqsGxdHS98KGwA3BxgYLSUg4pSf3Htl1GSW +0n3XHxMBUHOOw3CM4KlLnPIq0N4iiTreTbpcb02Ffx/uOvG4J+8H8mK7APYGH43cu26 YoFg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b="ArcJ/5xY"; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel+bounces-28-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-28-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id j7-20020a654287000000b005bdff953b76si11577881pgp.197.2023.12.14.11.47.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 11:47:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-28-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=@nxp.com header.s=selector2 header.b="ArcJ/5xY"; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel+bounces-28-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-28-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com 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 7460F282F37 for ; Thu, 14 Dec 2023 19:47:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7F8536A338; Thu, 14 Dec 2023 19:47:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="ArcJ/5xY" X-Original-To: linux-kernel@vger.kernel.org Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2058.outbound.protection.outlook.com [40.107.20.58]) (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 5CF966A008; Thu, 14 Dec 2023 19:47:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gv1YqlHF93//BQAR62UnyC5cIJYvNVmRXs0X59KJXhn1N+8me0ACMYvYt04ub5cRgEdT1fidJibueh2/Vpv4vroMPuzGzGPKqOknIhSvHVKOEQTDGxXeW4868yskRS0TQAlspkzgAaCM3cvbS24Tb4fxA1ZZPgOr/S58gSgSb2tAZsDLIRfwkgWTwiDstGYy2WNvhkuYLCJqvRSwMPsJi5V9AL+nBxtWojbwACMtzoJG9dXGIbuoWVvfxzSWbnvSBh5fd2rwNX8UlLQcvhPdNd50vmuIOuhhlAPqtYX1MfAUaGuH+b+4+sXfeqB36XLILFDIRasb/VwvjaXN/vsqHw== 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=SMJ/SYq2xgdNsdWVEDuvaK7MGok/qWL7VOslVxBsHLA=; b=WIDL26+RbS8TNbxAkblN7B3am4Oa1bKxppztoWEiwzzK+fGmuuLs2lEDs1os4NSF7w7vTXXiIsdt7rO7QsF8jCovANwELDpFi52v5unfOUd4Mz8D1vr1kVBtYJN2Cu+4u535nfii2aji6kRjkho7E17X6geBk2gcoVezx+xokX2DMHXX9/4rt51VkwHwYamBX8YZqyFtFIH8+ZqrumPPx4E2yr7fxLi1SJ5+jldN9GpcgMnjbVqIU5T0irUX1tSvsRDXp2PnGimH5g5gzBAhcmyKn/kUlP73PibXmlst+0ANoWyhCor2aVcSJn2YdEWpN4loton8lNS7SxSuqLo2ZA== 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=SMJ/SYq2xgdNsdWVEDuvaK7MGok/qWL7VOslVxBsHLA=; b=ArcJ/5xY49Yii9HxUWFg7KgPw/iRxf3oOfg1xSUfVj9gaKUjToMm05bbQS9HGDcU9m9Cnc952YFdLCoWWA7pjKIgacdMNDiynHxpYaRHt75SpyeHw1DyMUbJyfElMntErv1UqpDbrmSaYrhx+9LTN587HdHy7cYCxH4EBTvtHMI= 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 AS8PR04MB7688.eurprd04.prod.outlook.com (2603:10a6:20b:29d::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7091.28; Thu, 14 Dec 2023 19:47:17 +0000 Received: from AM6PR04MB4838.eurprd04.prod.outlook.com ([fe80::95f5:5118:258f:ee40]) by AM6PR04MB4838.eurprd04.prod.outlook.com ([fe80::95f5:5118:258f:ee40%7]) with mapi id 15.20.7091.028; Thu, 14 Dec 2023 19:47:17 +0000 From: Frank Li To: shawnguo@kernel.org, xiaolei.wang@windriver.com Cc: Frank.li@nxp.com, conor+dt@kernel.org, devicetree@vger.kernel.org, festevam@gmail.com, imx@lists.linux.dev, kernel@pengutronix.de, krzysztof.kozlowski+dt@linaro.org, linux-arm-kernel@lists.infradead.org, linux-imx@nxp.com, linux-kernel@vger.kernel.org, marcel.ziswiler@toradex.com, qiangqing.zhang@nxp.com, robh+dt@kernel.org, s.hauer@pengutronix.de Subject: [PATCH 2/2] arm64: dts: imx8qm: Correct edma3 power-domains and interrupt numbers Date: Thu, 14 Dec 2023 14:46:55 -0500 Message-Id: <20231214194655.608902-2-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231214194655.608902-1-Frank.Li@nxp.com> References: <20231214194655.608902-1-Frank.Li@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: BYAPR07CA0024.namprd07.prod.outlook.com (2603:10b6:a02:bc::37) To AM6PR04MB4838.eurprd04.prod.outlook.com (2603:10a6:20b:4::16) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM6PR04MB4838:EE_|AS8PR04MB7688:EE_ X-MS-Office365-Filtering-Correlation-Id: f956f697-ff2c-4ced-ac22-08dbfcdd7a3c X-LD-Processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ARt0NuIfW6FqkSEEaIWZDt2KRoqC7EFmWojnO71CoTAYI1+EERrwh7rurflcNFmASlpy+95DuirTcBWcPwIwTDtpzGqkyXjUiL173NhkdmWw5nai0LYaAVqMIkU4sdl9NRzCRLb3hTYZpzU/LH0gzSJgALAq/hGHUXsQgxy04ORylBm3DpWY7nQ/2UZJa3N+mi0JnM2MqYGVqqZY8x2lgnD/vtLpMpsGqpqhRyaBFgWSY9Er366KEJY+NNiPPA0KBij4Y2UfTvDbFlS1A+cb85rzwoOUYGIKIjcoQAvkvxzujDELLmlsaG97FMcodfSMPeo9CcKuQg8RcLalZc8Yw1zBImZw/COQar7efSBD+eVfE7F5/TaSvuhSSsr4A0CW0HoXQnCwSWyQY+mn+iZVXI3yS/VO63dnJWTJuVE9wCPRmqel9Ruab8AU4IgH26Y59e0O7UjTIq1E1mvKnIzSek4DQBTfUmyBYIlTVOmmDRy6gv4BBo7mItI6ThSMr3fRWCswl5N2oFceBqQjoiLr5YJbfGCLsNTYvbyDuGcWZMXiAi97z1iQ4qsJCQKyqqFa18bsS4eXJmMcetXXHg6am9B7qfLDYgO5pZMGglkFmuXjWwA41OnHYYM/7uJxK6X8L9MwE6EH/PLOE4X57tSMuA== 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)(346002)(39860400002)(376002)(136003)(396003)(366004)(230922051799003)(451199024)(1800799012)(64100799003)(186009)(83380400001)(316002)(4326008)(8676002)(8936002)(6512007)(52116002)(6506007)(66946007)(478600001)(66556008)(86362001)(5660300002)(7416002)(6486002)(66476007)(6666004)(41300700001)(36756003)(2906002)(38100700002)(26005)(2616005)(1076003)(38350700005)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam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m69xwrkr2c/AiElXacHvEAKM3MTz/jCQVES9?= =?us-ascii?Q?+dVl70B3o9gS2v/SZK07ZtZtUV5MV6m17E1f0aHgLTsHVql7DrtM1wvFfFX5?= =?us-ascii?Q?L3WiXF4/wdCGG4YOXaPSCVMk3IHUliyctRUlwhohZPW60hPHc4bXDTXvsVL2?= =?us-ascii?Q?wuNFW6be3d0MOG63BviCWVuJ6hlqrUCKlrx65mNDQq+o5MiH2Qd2UySTVkHZ?= =?us-ascii?Q?L/hWJft3oyRste6KcV3MdHjoMKr5cSZ9COPuF1yN4VbD4wVfF4B5Ya4+t+9r?= =?us-ascii?Q?o0EjA72z383Tboh/a8LxvE+Xzl/P5cBUgCeQFUNJen0A8pxjMPomaEp2qCCY?= =?us-ascii?Q?HPz655ct2XZbz+0PgYL/TqPzmgKD5nvmBQfpgv/rz6RjozpWSP/F8ca96m4e?= =?us-ascii?Q?VOzCBQrmYIzVn5WZxjrkmBS9A0v5gWAyEF8BwZnUXNTrMBhsYwCjTTeaKp89?= =?us-ascii?Q?KNhWeLtBNN6xu9zvsyZ+y7NisCnkCdeNMTJW2an5hAcpCg5aI9elPH4zKe6S?= =?us-ascii?Q?L2tzJmKMp8MezQERvFvj/dxhYrKlhoZB5yv1xktuyQJ6rhCnvwUlBTmWexiW?= =?us-ascii?Q?Gwms/4JhcPAxg+CQ0sraBM6Y/ls5WOA1JDPfQJmr4bDSUIlETBIS5sgoNqzg?= =?us-ascii?Q?jI8nw7B+E6PcYQrkmWop2kkIykinS/qpeRhc7u8jaES6xSsiDP5plUvMWmxj?= =?us-ascii?Q?qfYg7QVItt+co8WLvy0=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: f956f697-ff2c-4ced-ac22-08dbfcdd7a3c X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB4838.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Dec 2023 19:47:17.3888 (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: ebsMaeKNky7qONs2xd+SE1B47EdoKrib7vN5jIK34eMG6a7Mbw9bI5blmp98bjWpAwcOUGjF3BQpL1uZn81OPA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7688 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 --- .../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.34.1