From patchwork Tue Apr 23 14:11:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13640154 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2088.outbound.protection.outlook.com [40.107.20.88]) (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 C098B13B583 for ; Tue, 23 Apr 2024 14:11:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.20.88 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713881493; cv=fail; b=bYZSQoiQajC5dE31FWTrhYppEtqUAjjlXtR76rf2Lma6yJbI/aHhqYoXsJpaw22ohfxI3lXEOMaWdV5rC7UQaPOvhMwHMOwh1exhdv4r3q+43kOUBbq/rh+6xJWesDk7+AV8e6y2wfte7GMLD6JuMbLCKEcXFvdD6Ny4kS0b1es= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713881493; c=relaxed/simple; bh=p8vdcvIu/jGl9YElNP5C9gcehzRlZvEtdSYDpJQ4uhw=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=fjKBXpztGdN6iwTiXYnTVwBiSSW1forHxGuy74YE9kt0h1rVa0eMN6lEvg+zGortIFy6GPJk1KFYdlb6rkjqxtNryNy6dAt0BqApBJLeim2Svdkb0S/HX3A8APgm457Ihz3uc5FNNVEIUAHmvysV6mU2MwGVoHflRKU0vlNWlbY= 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=Mq6/IY7z; arc=fail smtp.client-ip=40.107.20.88 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="Mq6/IY7z" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=i5CJawN1dHHRXiOyk1CBScbqzsKyEarzqZCKVQ/H6xBkk9OOdm9anNDpMTrmQaCcAgAjWCIN66P8LE3GTl0QqzuaXQVf4iBex2UG4hRgm5HJYbCF6faH9sk8AcDIaFb2cDeTM+mDAbkK9h1UJGYfYcyFg9RuhpUR6SG6EIhCG8Ee5uBlR+iDNtCQ4pJTmxyG1cBY+vy0zGoSAJQZq8/EDWCl0xmRAxO4cH/dY3pfZclzZux1ybGCgIfElb6rw7B46mhLcQ8ldrrL52NQwCmpXvyZR6Ir+NYdkNHYAwmRm6yfZD+gETaeieD1wtRvQa/01tKOloEj2/fuS/YxlOO3KA== 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=AdpkpCiFXv8m/TouoFXOLCzIQjSr5tI4XlB5tia/9yny6Y+EoW2aXHbiISVTsZDVbGxDPxtC6TMNDPB1N+fz2CDy63jgoqvvODmJT69m573Jjm19iM+XG15AGbsZmkLNMD5Jn8pRAgJoWAtrIwYb2Ob8Y3kd6xMfty/x68HtoLz5jN0x3IeN7vcp3iOyTwEajgUVQUKIxZ24Sb4sfo3zzp+U/HkEXsnJkfU79ReiRG8sA8RC3oBP9K9TFZyLZVx04dHp3gslvWzGgnMxoHVmsKlXaQYHjNqFpB/LuYUN+nhmycMUnkN65L7zAAzniz6bEnndUPPjFGVcJBDCeartLg== 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=Mq6/IY7zWQAEq4ycBBT1hyG57wdoPOwE1lVRwMPBiG3wfUsMOqHoTKws1r7aqkOSIZSPEPJSypvIFn1ZPkeoEUCpI0kW3oI2fwa5l9/9AMFmGnQvESHfVGji/ANDr+LTNtB2cnLoSNGBRtKGGiaMOhWDtvNIfrM9z9v65POQrvk= 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 DU2PR04MB9018.eurprd04.prod.outlook.com (2603:10a6:10:2d9::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7519.22; Tue, 23 Apr 2024 14:11:27 +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.044; Tue, 23 Apr 2024 14:11:27 +0000 From: Frank Li Date: Tue, 23 Apr 2024 10:11:14 -0400 Subject: [PATCH v4 2/3] arm64: dts: imx8dxl-ss-adma: update audio node power domains and IRQ number Message-Id: <20240423-b4-dts_dxl_audio-v4-2-0c57eb7399a7@nxp.com> References: <20240423-b4-dts_dxl_audio-v4-0-0c57eb7399a7@nxp.com> In-Reply-To: <20240423-b4-dts_dxl_audio-v4-0-0c57eb7399a7@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=1713881481; l=2570; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=p8vdcvIu/jGl9YElNP5C9gcehzRlZvEtdSYDpJQ4uhw=; b=HqbMZ/OnCpnNnjIbNk2mBiYEzyL3Y/yBw43Lr+SKf7yam6VIe2f3eEI2p1rtlnf1fQfEalFeL O+BwKJj4V9xAvpuzLZ21z5LjpxlP7bor6MxtPAb2TDlGDi5nVCR0qqp X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SA1PR03CA0006.namprd03.prod.outlook.com (2603:10b6:806:2d3::19) 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_|DU2PR04MB9018:EE_ X-MS-Office365-Filtering-Correlation-Id: cdaacdb2-bfa6-4400-e2b6-08dc639f43ff X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|376005|1800799015|7416005|52116005|366007|38350700005; X-Microsoft-Antispam-Message-Info: =?utf-8?q?LQ6nKcuACPNcgH3H/2s8ccKJxYxmbq/?= =?utf-8?q?JzWZLtjvFZmBRJHU3Fj7jQAh+gudLtqAWpcoDfHtGZWGkPEM4p9taYrgN5uzR1OAb?= =?utf-8?q?9iVkJRanBTa4ixm6d/ApFKalgR5N+FHY8bX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rCfywNe90?= =?utf-8?q?HnGsfs4gGuMHEfv6EceGLrbeUt03u9AwFNbHIBHuYT1aSFQAPPx/eNQN9tQMvyWDC?= =?utf-8?q?F2ESmeLoGf5nWK8eFjCzn3r8vQpkYd5LvWYmen04o1gkibdnyvJHcWpfJw0d6kKI5?= =?utf-8?q?un9eciRE8/qiH36pHRyPMFZI42NF5oSgAX6Qr4TPgHLJfOtcSjAMFNR0G/MqViZTi?= =?utf-8?q?MaLqknrQgnq0KPsKpCCS2fwxP2AYzDV3aALxE3879/nnyjcvqvVoo/N1S64gFoau9?= =?utf-8?q?yE6BP8kPixnHpV6sCDx9KQzKX1ijgInqu+A=3D=3D?= 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)(376005)(1800799015)(7416005)(52116005)(366007)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?/77OA8m86OqAd80NuMeV3m4cT/0p?= =?utf-8?q?yN3Z4LetasPzok0sVnS6NO5r37zu6pWrA1kryMvnMEZj2CKeqn+TY/g3pCUHEV1R8?= =?utf-8?q?Pv74zW+rHOaUBVbDAgzD5Z/CVMGp2EjrJ/AqNQDJx5isdT1xpOG/DBgmLuQISHtnC?= =?utf-8?q?4OkSnM/XWT1KKJifMphKdNXZi8vTLz0iJqMkYqoUEVvqPNqt9RxdmcXydGpioP3YX?= =?utf-8?q?wq5WQxUgFOQGLlzI57VLRUIQJt7M2Ou/I3HkKlNvvtuPZUEuLUk85vYDrwJgOxqak?= =?utf-8?q?eS00NYULUJb+VvI3iRzwwE834fo/wHNoSJ3x/MYY21sZJhao85AktDWPEHwMV93jC?= =?utf-8?q?HvhRh4olaz5/jaLNUROhZpBuJ/xFg6nebkOQUME4JVS8s69omJ1p1py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lhQ+rDl0vyy?= =?utf-8?q?SF+4swmucODsbkb5d76aZzDd3wp3B/+I8e6R/pQk7aeTaR+hDIl70NzwNSG3Fd7do?= =?utf-8?q?OTiKiXThje2MgTx/6XQF7JkG9lBFBxdp7TAgaFPZn/lseQ27MNSrmeLQal/clx57H?= =?utf-8?q?O/xEeLsnRUdjuAebbntZnXgF4DgRZFeUDdBiGNkUk0rEo3WfFdX9Mm3pihj+UlbB7?= =?utf-8?q?Vu31oo7VCBCkYH0HzHSlmCBGw5k74Jps4WPl1pP6OWHt+sujI6APMQhKUVPKSLaa6?= =?utf-8?q?i7t0Nr1U9uBM?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: cdaacdb2-bfa6-4400-e2b6-08dc639f43ff X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Apr 2024 14:11:27.2647 (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: 3vJLeutfSV2QBmDx68semhOV3wI4O6cieEykOBki7rdFE6nVKBWrDQiOJhD/XAl0Gg6bUF0x/0xcEyrlLiBs0Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB9018 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 */ +};