From patchwork Thu Apr 18 18:09:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13635213 Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2044.outbound.protection.outlook.com [40.107.105.44]) (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 E9E1C17AD71 for ; Thu, 18 Apr 2024 18:09:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.105.44 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713463788; cv=fail; b=OEAopmdvHzRy84iv3V0Wi+KcdF3Co4KDPSryz0Oqwrj6eo42uyUxxCGzCeu9digzZWcxAsVDP3+eabMxksi6lWyzKBf9cXy9ZX8MsFbvCxa3txttLX8Ejp+KS25UBMwXnI7qtRsznNfIuC/VQy+7QkZkXBxW8ho9wIDfZLPd2EE= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713463788; c=relaxed/simple; bh=p8vdcvIu/jGl9YElNP5C9gcehzRlZvEtdSYDpJQ4uhw=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=N8qUuti/d3PPKR8AtCzF9GylLwyEe4hNaMokYml6DrQR/5SUesNsCs4FbtCWMyzNKg9KYMCCmW6RUwUGhWnOpWoytk0eCExUPdQve2J67WYfORanQ9YLWMD+tUViaWxnX7gLEEsgcqWyefKZNDaTJR7Hf56VYBZRlt5dSBbSMFc= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=VNmOvC1C; arc=fail smtp.client-ip=40.107.105.44 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="VNmOvC1C" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZLuirgfDLPF8N+tZ7hs+A3e08YfXScuwJppBYUHafnIcami9XSxUI/Q2UmbnxUwFH+qhx65jRSxqwczjJjefXZo9QZE3NjCl2QKXITTTh0U+6K911bOqjlKIIfQa0b/W+kUfDg+j/FOVxbuUT5ggKIH5qc2uossDyojlD+xQ8frmlXqnO2m+0SRFuq9os+cjhNfg58BHb8syhrhmUAiuOnqBFCun8A1fVWveVrBHjpUFIlbVqK6bjAOQVex0uc2w+sb1+OjGXyb/rYcEea5reFdgRRKv5bZfus+Rb9c+yj+jKAi03vh0fapOmSeAtXDOk3m+IG73c6ScYOM4C9BZkg== 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=85hNXh4LDMGO9JJQxkOWEdPyQphnyUFJYav2LP26zIY=; b=QdWVQ9EQ1CHgTTz0PL/w325jZKRYDAdU0iJfO3oPabfky6bvHg+C80h92j3l7QSdTZLgRx2D1jY82AVHgyyCr3hzEmaPXG4Rn78iFOdK9s9ADw7yrKuTj6IS6dhUFNzgx0TEAkBzTAVeRizBbB8gs8caZ6FT9BcLjoUDAgtk7NhQ5SYlpwfYgViTCmpGQlObKBA6qEEif2iYJ39Iz5YFzov8zAaYgPeWJiZhzW/xsQ8m6aGjMRqUmXQI4bu8ZPtRxOQaGXVLKd6orcbfbzKXTzFrVBC4opbhzfeXBQtQPNn1DSsjOd0zjwYoqQ6K+8O/KqAu4WQHpTTcWTGq7WekBA== 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=85hNXh4LDMGO9JJQxkOWEdPyQphnyUFJYav2LP26zIY=; b=VNmOvC1Cx/TOqYMO/Mv5OMFR9X9aC2QUSSNBJ52fZ6Mfn+CTXd1NPnVbo0tfvRl6najvyIaPYFlSiSA2oDsnHuHQayXDl+ssQ9b+KOAJ6XcDn0P2GxR9tHZKh/h7RKDVV0vePklDgOgzpsT2KjMe61r4U0RqU9fRa+blAds2Sa8= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by DBAPR04MB7270.eurprd04.prod.outlook.com (2603:10a6:10:1af::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.42; Thu, 18 Apr 2024 18:09:45 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::1e67:dfc9:d0c1:fe58]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::1e67:dfc9:d0c1:fe58%7]) with mapi id 15.20.7472.037; Thu, 18 Apr 2024 18:09:45 +0000 From: Frank Li Date: Thu, 18 Apr 2024 14:09:29 -0400 Subject: [PATCH v2 2/3] arm64: dts: imx8dxl-ss-adma: update audio node power domains and IRQ number Message-Id: <20240418-b4-dts_dxl_audio-v2-2-e4e2747b3a49@nxp.com> References: <20240418-b4-dts_dxl_audio-v2-0-e4e2747b3a49@nxp.com> In-Reply-To: <20240418-b4-dts_dxl_audio-v2-0-e4e2747b3a49@nxp.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Frank Li X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1713463776; l=2570; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=p8vdcvIu/jGl9YElNP5C9gcehzRlZvEtdSYDpJQ4uhw=; b=8i/fVYZ38VphStFGXN0OHPMaiwTJIEC+F25xW4LHXtzTeS+m+PLyDHia1zmLyUOp+kMuhjQmO e07N886rf/CBvv1QYY3f4W518JcHcPo7tHwhr4qdM7vciSxTz7ubqnP X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BYAPR08CA0024.namprd08.prod.outlook.com (2603:10b6:a03:100::37) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|DBAPR04MB7270:EE_ X-MS-Office365-Filtering-Correlation-Id: 75f9f3eb-bb49-4a76-e400-08dc5fd2ba6c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: hkT97tClxBzbIDGqxMWLJjUZYomO5mf1KkhIQjo7sbgOYBZmwESMq6XFPe3TOKITwPv2j3RK/8qYdKCSO/0nDZUd0KKqwtiLcd/nbGsVoH8Xn54CgjfzLMKq2LV73rkBjpU3J19p8yGVCsLRsUPdbYfDA5v36YBKSFGYqpFl5FBw1yeVmp/PBapRUGepMUhUGXJ/kffgWYOZpZHbhGxn0maTMQ8YSnWJjTRC5b4Du5kJXqQMUhEQOlsKqUbXGPsRUUltvo5po+WprpblJvweOKe6kYm+UwZdLBMhJWnNSnov3kILD8ZjSVb0I4qKiTq4KJVyeuzoOOdFHhrMg8a4EORzRHk1yJFq0nUjC4F+IxNhnYE/BDQ7sOT7YxUu5CI/rlHMSD+8XKEIC5Fr7E6g4sDi6rxb783Gh+2rweY/lFCkMsMVXhIn0HoiQBMyX7XLZApYZvBMQITd7B0rbyaOV1scTMBoLbLb7xtj+2OiDDatRtBE+CL5bk1VyQVa2TdcH0vOzH9eWrrg4337g53wb4F3H9FjXNH4wnrxVECiLtOVf7iLPXy27Pyltscv0lrJ74EBY8Jq5jxAntx67BJifJFN5RLnOFauJO8u/JIreTdzRiHgn5M+DEPeBSrtp8w2dasogVIz3K1b0m6cpIclu79EaPxRZksJwD9TeoI+b0+Jx5WMGxZiitwRAKljPIBUngCTgQ1zvrbm0WJFDLVVxA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(7416005)(1800799015)(376005)(52116005)(366007)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?mBgtqPsK3YlmgYlUXYs6DxA4We8j?= =?utf-8?q?Ypn+pUjQhwbD3NEY32w/VqeyD2b0nNEx9bBDcVKManux8cSzM0WdYJX5h52lvOgRk?= =?utf-8?q?lWj2e8C5gKAcQkhDtFe9UtiFkXME6IXZANemzq/vLFGo+7fuZNIWjG4Wwty8dG9IE?= =?utf-8?q?5VULK8f7gQc1pbai6jNh3ieItccvakVAZilbGdUAaLqHCl5nVuEVvFrtRNXrOPIDM?= =?utf-8?q?b9Fh+Fu3UHEojypf80/Qtht+dsU3ZCGkIHx1roUQawJsJ2pe0hPb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SbZUv?= =?utf-8?q?Ahdq0aVRyP3KF/0a8wlD2puZml0tylJV6RVDn2UUbJXuNXu0XHwudL5l7qA57m/oF?= =?utf-8?q?7VxJZYuUKnqHCCNRbHUJrc+KUn9vl3S/oubaRTioNOuUrrNmGmqCT1h0FBcqBk1gW?= =?utf-8?q?QGk4nmT4l1o6uH1OkpA7B4VEbtSP/VvvyBdS0QAQfYlOaNzjl2R+3fBqICRxg19Z3?= =?utf-8?q?5ulHmOpCYZbQtW1FUdm5rmWTqLAOV/4hbIeAQe+yuRSP/ydWBY+ODiRLYr3cq6MYk?= =?utf-8?q?kgDnZ09N2D5HfZ5/o4UwGsuWU562hsZnuzXc0EV70vKcoJRk/BOYyo04oN/miXzoc?= =?utf-8?q?9NkgUQc3Ob8veVZiGFha8JfYQo5qCQP8mDO68PFvaI11zZX2nh2qiIbvzOWsXduRq?= =?utf-8?q?9SB0+z/tATMa?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 75f9f3eb-bb49-4a76-e400-08dc5fd2ba6c X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Apr 2024 18:09:45.6387 (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: yNJb7C8+zvIRFsBE3etd8B64zyrf5l2m4Fl26c5raQv3ue6kputx+5fByeUUQx8iBEBSAT7J88+zaDL3Un51Kw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR04MB7270 The power domains of i.MX8DXL's acm is difference i.MX8QXP. IRQ number of sai[0..3] and spdif0 are also difference. Update power domains information for i.MX8DXL. Update sai[0..3] and spdif0's IRQ number for i.MX8DXL. Signed-off-by: Frank Li --- arch/arm64/boot/dts/freescale/imx8dxl-ss-adma.dtsi | 64 ++++++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8dxl-ss-adma.dtsi b/arch/arm64/boot/dts/freescale/imx8dxl-ss-adma.dtsi index f5dcdd9405928..72434529f78e6 100644 --- a/arch/arm64/boot/dts/freescale/imx8dxl-ss-adma.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8dxl-ss-adma.dtsi @@ -17,6 +17,49 @@ /delete-node/ &sai5; /delete-node/ &sai5_lpcg; +&acm { + compatible = "fsl,imx8dxl-acm"; + power-domains = <&pd IMX_SC_R_AUDIO_CLK_0>, + <&pd IMX_SC_R_AUDIO_CLK_1>, + <&pd IMX_SC_R_MCLK_OUT_0>, + <&pd IMX_SC_R_MCLK_OUT_1>, + <&pd IMX_SC_R_AUDIO_PLL_0>, + <&pd IMX_SC_R_AUDIO_PLL_1>, + <&pd IMX_SC_R_ASRC_0>, + <&pd IMX_SC_R_SAI_0>, + <&pd IMX_SC_R_SAI_1>, + <&pd IMX_SC_R_SAI_2>, + <&pd IMX_SC_R_SAI_3>, + <&pd IMX_SC_R_SPDIF_0>, + <&pd IMX_SC_R_MQS_0>; + clocks = <&aud_rec0_lpcg IMX_LPCG_CLK_0>, + <&aud_rec1_lpcg IMX_LPCG_CLK_0>, + <&aud_pll_div0_lpcg IMX_LPCG_CLK_0>, + <&aud_pll_div1_lpcg IMX_LPCG_CLK_0>, + <&clk_ext_aud_mclk0>, + <&clk_ext_aud_mclk1>, + <&clk_spdif0_rx>, + <&clk_sai0_rx_bclk>, + <&clk_sai0_tx_bclk>, + <&clk_sai1_rx_bclk>, + <&clk_sai1_tx_bclk>, + <&clk_sai2_rx_bclk>, + <&clk_sai3_rx_bclk>; + clock-names = "aud_rec_clk0_lpcg_clk", + "aud_rec_clk1_lpcg_clk", + "aud_pll_div_clk0_lpcg_clk", + "aud_pll_div_clk1_lpcg_clk", + "ext_aud_mclk0", + "ext_aud_mclk1", + "spdif0_rx", + "sai0_rx_bclk", + "sai0_tx_bclk", + "sai1_rx_bclk", + "sai1_tx_bclk", + "sai2_rx_bclk", + "sai3_rx_bclk"; +}; + &audio_ipg_clk { clock-frequency = <160000000>; }; @@ -191,3 +234,24 @@ &lpspi2 { &lpspi3 { interrupts = ; }; + +&sai0 { + interrupts = ; +}; + +&sai1 { + interrupts = ; +}; + +&sai2 { + interrupts = ; +}; + +&sai3 { + interrupts = ; +}; + +&spdif0 { + interrupts = , /* rx */ + ; /* tx */ +};