From patchwork Mon Apr 22 18:44:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13638814 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2061.outbound.protection.outlook.com [40.107.21.61]) (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 D659715530C for ; Mon, 22 Apr 2024 18:45:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.21.61 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713811528; cv=fail; b=Vp6YxM6Bc6gzQuH35lgWR2Cils5xsy+wlK798ToMFGuERgn6sDN0G4mKXzjh9xEWWp62NLI7/cFnWSam2ZUl0YUTjAatPayUOAghMkPNRAn8CTnkE9iNyM6t0GD2iEhJ1D1Mo6T2NksoIqo0szIbd8wBcpIuWIjQHZ3xPc/Y4JU= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713811528; c=relaxed/simple; bh=p8vdcvIu/jGl9YElNP5C9gcehzRlZvEtdSYDpJQ4uhw=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=kAYrvqv7depWdcnrmmsVKYwP+JVAxEkiqreK76VvYNU/Cn1nTfoKX0VBd/6Peo8JIZQy07dygKZtGoe20Y8vUkPeJNrPwaJmo58YzAEZJZL8XoMZOhqg8pIxRXf2yGb4PItU5IubC3INdsu/iGQqjEIFYZcyRv/nkId2WOKOLEs= 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=ihqsTpDX; arc=fail smtp.client-ip=40.107.21.61 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="ihqsTpDX" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dZBEbka0NOQHutnayo1kvqpiykiuggHNr/4oP2fxLBUTuyXzJZnHw5gW8Ekg0bvu+0vVAngUmXw7TZ+tcaV9r5Yi0rGedcsUdNLV4KfMl+HLtjGoOkS/gXTc2oBxie9Mco31MQN0F2rHtuo6bcFPRONbKyjFRWE72M2AX54AbFuRK8fQzgfObxXHOFaWcKbniRxEGR2n4euMBqPfr/A5MLp9DNWm1RltRLrtjkZ5B01JyXdI4adABPUS9n+L2mzuyUPKroJ4biZOTGBaynMqUi6DL7AE9hPuT27gEGIq7VhxTHg9hXyWedeoYX7MKayYOpw3oYhNzGDWDzVPZOEIrw== 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=YlOWXQRZKIHKNqRYNU5No7Z3URl2U6bOdeReow6bxxsb7DBOokqgzJSwCvBktiQH3wPF7v/5l0BZSdMJC0f3vl4rqObJf6BbmteCcP2gdEWXI515AmNFZ0kmdY3y9xq6Z+Jlj9j4++evCKjLkUug92/rnlOMrUFu+1JqZd8TMtGh2HsAa6+ryieqPlU/RaLP1jLPsMHZWxGPFnynSwglTMiHqNbY5Z8+WRju5GbyiM0o0zHh2O3BOZ+AUicHiBe2mIJoDOpY7QzF5nYKI2rD+oq5n5rS+AL8Lpqx9g6+jCz5ygi8adyIROH8GyyYTPKkgwVy1Xs+Xzp6akHNSyJxbw== 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=ihqsTpDXO6ILeLweU/aivCYJAkkdxVn23BPvi7W+LUWRpVJXMLeB0bN7hfVqHcS8DlSK62OtbDKwuhkRyhajxxE9fd1MuySl7KLRYOJjvv+CdhbD1Zjz8BWf18hgTWxFOociLTCe6DV3rPy0zTYyU+7dGsIopa4f2aq50Bu0Nrc= 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 DU2PR04MB8853.eurprd04.prod.outlook.com (2603:10a6:10:2e0::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.44; Mon, 22 Apr 2024 18:45:25 +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; Mon, 22 Apr 2024 18:45:25 +0000 From: Frank Li Date: Mon, 22 Apr 2024 14:44:53 -0400 Subject: [PATCH v3 2/3] arm64: dts: imx8dxl-ss-adma: update audio node power domains and IRQ number Message-Id: <20240422-b4-dts_dxl_audio-v3-2-5017511f399e@nxp.com> References: <20240422-b4-dts_dxl_audio-v3-0-5017511f399e@nxp.com> In-Reply-To: <20240422-b4-dts_dxl_audio-v3-0-5017511f399e@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=1713811515; l=2570; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=p8vdcvIu/jGl9YElNP5C9gcehzRlZvEtdSYDpJQ4uhw=; b=KnLTZCHcPzTCp+SfEuzk9uFGVb3Tg8zPnczCBFefEBRXqP/emQPuBBy6VgsiT5JhK6q2V0fp7 tw+ySoV5Y1eB+oLkBJCsNAH9lrhTfAWk1+G3FGXSZYB4zl3BoaGeZc4 X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR13CA0126.namprd13.prod.outlook.com (2603:10b6:a03:2c6::11) 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_|DU2PR04MB8853:EE_ X-MS-Office365-Filtering-Correlation-Id: 39568e14-02e3-43fa-f8b4-08dc62fc5f41 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: =?utf-8?q?TOGBiAl1/ResQ4lzpAAi9lfCznASIE5?= =?utf-8?q?ACJIKt5Efic3QrUPgwO193Z/8NPlQiTK+bb5qsVFPOJhIVVpfzks9+bB4Cwpuyp7y?= =?utf-8?q?+uevCgIMcxm+Bwwaoc5YRj3YzuZdk4o1hNTOlokWdCc6PGNricFP2wH2GRMCf5ff8?= =?utf-8?q?hXD8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nCNkfMQSRiTuIBqp9F/oQ+G2HriHHTKj0iEXDShp+TG+uEpILFwPcenzli?= =?utf-8?q?i7EJANdo/P3Z7usQCgvShSZx2S+4CSnrc4vDsCvE5S4TA2vARNvFbbIbwswc5kPwy?= =?utf-8?q?6rLBRNnulnN7wxoxbkWiyY0+yo3IP0Tz0CqGTkheM//dt9HBe047GEzy18NWg/SIq?= =?utf-8?q?A8Ze5NGCjmLwkvuD48EXHfc+1P3BPBL/bFokUlabhKvRFndj7rBCRQ8mIWZZLx7Of?= =?utf-8?q?aBCVkFMIuoFKNtG7aTb8dxKsPG3Tq+U53HQ=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)(52116005)(376005)(7416005)(1800799015)(366007)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?c5f+dfOKb0PO/VbrNrhZaNhEEh2p?= =?utf-8?q?mEq5SRW/8TfVOlOHoI9NeA8l1r2JsJdDsxYgdC5pgoeWjFtRuKf6mEIen+c+zwmzf?= =?utf-8?q?wFwj2jjMfiqwWp4yFnjK08uMcYZcda4eUvaMWoMDxLAFKTboJlpcnR/TxEL6NpQpf?= =?utf-8?q?/QS6GPVXm7VPKai56hLjrCqFP2/K7Ab7cfoQ/Vq+X43/8uU89XO5Faq6E2ONEc/TM?= =?utf-8?q?TzJKedAtSsZTolDnJCUEgWRYdLvOsB7+HVi8VrQCwp62DLBmD4KJKtkPb8favy138?= =?utf-8?q?4WPQWZkeKurBxy8Q1uRNOJFsO0iO2U1jGoVBTYT7jQbXJ997eTD80r3gB+TKHaBFs?= =?utf-8?q?15ZlxkKldAaJJ1hdO8MRr0J70U3qEmb6ROfH8UzQ1QK2otsQ/1iOOiZ1kp1VQPQmN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wBdVeGvOxx6a5WUofyOJD+lT4uSxsdwKaCc+Mp0c+ir1Mzhi+XIqAh0pNNQ9T/?= =?utf-8?q?iYUbdssh1RhGohzqF0ep5jaTnbZv7T+Cgv9/CQMPoimi3gNAxOr84N+JBmGrN35hh?= =?utf-8?q?ZyUogzoubNPQSJvDrakoLfS4Ud0d773mTKYJuOIWjKpKXDbuSNeiQRQfaq1vVtPqa?= =?utf-8?q?Oo/lHqIv4npDAT+LIUg2IH/miTmrkXOZQg4uiC64NorK0ryfN/69/aDNwXh7b+abo?= =?utf-8?q?SPmKPROfyZ3f?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 39568e14-02e3-43fa-f8b4-08dc62fc5f41 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Apr 2024 18:45:24.9885 (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: DmWxkOBk36+1Dzu3rY5d9RiBLSHht4BJHsnUVn+nYIfBS2vUdQwK+Eh2wlX68vPiJSrxyrk5t9P+YJ48At8/wA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8853 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 */ +};