From patchwork Mon Nov 20 08:49:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chancel Liu X-Patchwork-Id: 13460980 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 597E7C5AD4C for ; Mon, 20 Nov 2023 09:12:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=3ikojlFVgu0Md4Q4nBO+Wody21B8GyyR5UmeopnYIHE=; b=IymKQRX8uzD4cE G0ot05peHrDMidYkRE+NOnzBPtbXjmS4VWFjBCzVxQ/VY+5fsdKQoME0MtG42cCh82L/EJgeSkcL5 tGekepNFV7KQgvjSy62iY2pKzXHqL7wx79kbeMkOtlpDQPJHaLTs7tYtBfyj8S7BQEh8FCndmGM6w UchDnNeup0B8wN1dyFXNFxI64QGGM7gDfnT6LqW0lhi+NLHkliNiIyFex1Dhigw2juUD0Fe9Vxu3Z RIcSP0cfs8J8Q3Sdddbjczv/wNXl8MEqN7+mhnYlcU+vDxfzXlpMf1cmqj35r7dCrhBhljCKC3SVO /LqvcBVhAAr1+pHp+0Kg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r50K7-00Bbej-26; Mon, 20 Nov 2023 09:12:07 +0000 Received: from mail-vi1eur05on20612.outbound.protection.outlook.com ([2a01:111:f400:7d00::612] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r50K0-00Bbay-27 for linux-arm-kernel@lists.infradead.org; Mon, 20 Nov 2023 09:12:02 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ant3OvfpWhuxlxILatK4g1ODKupBb2gvt0jHBei5JH9njnNv2rVbTs0y+IK5OvkeKx0HnQBJBqhMHA3XcI+8KE910hfG1z1+sR/5E4N3bvh0fThpFYseGTiBEm7hI3ogqMw/bO0YkReLMhGV914PX7a+WWg2WN2WhooNPeWTbpkJDX2bdwRfBZJJ+PPJiF5v5/UcyW3eYTH3uS/+wEXJklEIVFTvynPWaZMqoqq4RvETyqbXvnwwd1P8253lG0GBB3q14LMtOxGJ1TLKlfVgKSGUzTDOoshRJqBchhy+CMc4IVe/BhUrih9AaalDAdfHRYCBH16qWqYN6SNN7m1rxw== 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=wjJQMqMV5aGZi33hJTV0HP4lkIVFV1wV9mkNDyQS85M=; b=lUCIIQJVSGaWjRpWG4vrhGqP5C0eF3bgmC0vmtDoqG8VRZh3lLkyxuZ3UXjyiTgeKS8J0KtOdXsA/jObvPWbfgLlIAI4yz8T715ddsST/DoMoFVKgC/4HJHKo80tndXvhTanBT9/mIdSwfxp/E4VpCw8RvP8b4exF9/SZHy29frTGyRb/iSQbGPLNAsmkoKlC20SOKoZrUlXlDgUvEoT8z0qG9bHtJsSUoRgPtuzhOVui09vANQffZUlYI6DTFkhXY5k2NDoTv4JO+XUIZdXXx0bG7rWf5M8hYX6oJ9DTPPxZ7OqrvCugqK4jjyzuhNNZlu7zqFD5y+j/gyC+F8CpA== 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=wjJQMqMV5aGZi33hJTV0HP4lkIVFV1wV9mkNDyQS85M=; b=Q6AdERwyAvWhW3KfXAaJ0IOWe3VO+MYr6g6NDM9IjuW2IkRdnUP3JDGrc72zwQZV/PMwxwGUTsxxKKJjkmKqmnNCBRy976aAe1S3kc5Gh3Ytije75vy38BO7SxwcWQdYgTsfhFNAr5ng1Fe6FcCTH4qCUlK+q/J/L6Arq484SMs= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DB9PR04MB9498.eurprd04.prod.outlook.com (2603:10a6:10:360::21) by PAXPR04MB9399.eurprd04.prod.outlook.com (2603:10a6:102:2b3::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7025.16; Mon, 20 Nov 2023 09:11:55 +0000 Received: from DB9PR04MB9498.eurprd04.prod.outlook.com ([fe80::dffc:1d:4398:7768]) by DB9PR04MB9498.eurprd04.prod.outlook.com ([fe80::dffc:1d:4398:7768%6]) with mapi id 15.20.7025.015; Mon, 20 Nov 2023 09:11:55 +0000 From: Chancel Liu To: lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org Cc: Chancel Liu Subject: [RESEND v2 1/3] arm64: dts: imx93: Add audio device nodes Date: Mon, 20 Nov 2023 16:49:03 +0800 Message-Id: <20231120084905.664-2-chancel.liu@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20231120084905.664-1-chancel.liu@nxp.com> References: <20231120084905.664-1-chancel.liu@nxp.com> X-ClientProxiedBy: AS4P190CA0052.EURP190.PROD.OUTLOOK.COM (2603:10a6:20b:656::24) To DB9PR04MB9498.eurprd04.prod.outlook.com (2603:10a6:10:360::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB9PR04MB9498:EE_|PAXPR04MB9399:EE_ X-MS-Office365-Filtering-Correlation-Id: 34fc6aa3-14d1-4266-993d-08dbe9a8bd6f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: wMSmPsRFkcme06luzzGJ4gi5LloT2Wa2oQzF3FVKrgcbalMonQqLaQAcqIDRfxGtpxYAdVeLV24GoPJQUGwJ3CAZaHJx5NLAyVTpmBMwFVYPS2dGtxVle+0RcyqrHfOA/rrw4hYziNkZsKmUWbnR5SLLCz7kc6C1CQpme+cnxRUokPcYQ6Is+fKG8yWf3Ru31/n8dbFjUSBEVF+Cl8qKPipTaykUb+Jri2Jz8abQwxq8s3kqW8mgTyiUJzThTIT5PuTcbt0sOKZC4w1FTuBthptYZI1V6rmJQcRWkrf/YKKuOYk2TlAk/9SLmoP3OMnsM5y4itQcVoZQqQ91wWAXGpU2DIhgCyDtu6Ab+I2u1ubLWUZx0k+pHStl9mI1utuhL5aEO8Zmp5skir4eJpyBS+ZW2UoNWAwbjdQ7YL/YIEOmAyxraoVhd7uftaHLW6xxVvMWTYm/cOgu3tTLfJAoWbG98NcA//G1iBk3vw9BQlk1j8kM8FsEJTh2iwtONqlwPG2Dg+jwJuQhQuSOoQ+bhb6WDgQSC0xNLsmUPXiZyGgxhgDVxzmi220cgyQ1k4eKC2AERR6NzOrepbxCAze3A9wvB7ibbVeK656y+SHV9mTP7c+73d1AK8a3giGUTH5h8TkondfwXUPQThBmCKSSjQ7coNMN19vvzbs1PBzBjTI= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB9PR04MB9498.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(346002)(366004)(396003)(376002)(39860400002)(136003)(230922051799003)(451199024)(1800799012)(186009)(64100799003)(41300700001)(36756003)(5660300002)(86362001)(7416002)(44832011)(2013699003)(2906002)(38350700005)(921008)(6512007)(6506007)(52116002)(2616005)(1076003)(26005)(83380400001)(6486002)(478600001)(6666004)(4326008)(8676002)(8936002)(38100700002)(316002)(66946007)(66556008)(66476007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: X0SK+0DaMPZSox81fqxS8bv/tNROy1GyBWi1gkPaQrTNFqx3QGXEpJoKkPJi6XpROZAgBfXLhRurs27XLiWw9trmcjtTVcFGpOFEc8xCga94qmbgEeZTIkAMsI8XqqBq9L/b714TN1dEbqsaQk68R7f0stTY3YTG0HhZLiIT2/q9ZPrVeJ6pPWZR8Doify6NqOuql/vV9lj3blAhSv/TUQIRtUM7SLWwpotr6AfR7zWeBxKxyJ02eCp8f0AyBNFpKXmfbBg550Q8KuCEwTICs+U+z7wgY8n6e2eyAFId/UWwpx5e7EL1S+DXCOkAKRzp+536H20YHigK9gs9vOmUOm+iPPuWdRuyYIXshYL4k63YALzDFj1MtR8LTZCxE/HWvq6AJc0sN+LSzKPCQIRk9bguGGB1DudcpZ075K4RMnZIVqQtc2GzKiqzbDgXhi3mIa1Z7YFO8St9buvADVjdrcF3YOM1a/rWKLEPgU0HX7iGaLzNB2p/atR3TBymkdQc24W1eathPTY2QBvfMtc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0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 34fc6aa3-14d1-4266-993d-08dbe9a8bd6f X-MS-Exchange-CrossTenant-AuthSource: DB9PR04MB9498.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Nov 2023 09:11:54.9854 (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: 2GENSf206SdYk4RptSWkfW/wrdabMx/I97vZRyOjg/mJ3axLJfnSmqH9m2osU81GyiJ48eh+Az/LB6ULrSOFOg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9399 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231120_011200_789485_AB276B71 X-CRM114-Status: UNSURE ( 9.31 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add audio devices nodes including SAI, MICFIL, XCVR and MQS. Signed-off-by: Chancel Liu --- arch/arm64/boot/dts/freescale/imx93.dtsi | 87 ++++++++++++++++++++++++ 1 file changed, 87 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi b/arch/arm64/boot/dts/freescale/imx93.dtsi index ceccf4766440..9a7bff39519c 100644 --- a/arch/arm64/boot/dts/freescale/imx93.dtsi +++ b/arch/arm64/boot/dts/freescale/imx93.dtsi @@ -171,6 +171,18 @@ cm33: remoteproc-cm33 { status = "disabled"; }; + mqs1: mqs1 { + compatible = "fsl,imx93-mqs"; + gpr = <&aonmix_ns_gpr>; + status = "disabled"; + }; + + mqs2: mqs2 { + compatible = "fsl,imx93-mqs"; + gpr = <&wakeupmix_gpr>; + status = "disabled"; + }; + soc@0 { compatible = "simple-bus"; #address-cells = <1>; @@ -367,6 +379,19 @@ flexcan1: can@443a0000 { status = "disabled"; }; + sai1: sai@443b0000 { + compatible = "fsl,imx93-sai"; + reg = <0x443b0000 0x10000>; + interrupts = ; + clocks = <&clk IMX93_CLK_SAI1_IPG>, <&clk IMX93_CLK_DUMMY>, + <&clk IMX93_CLK_SAI1_GATE>, <&clk IMX93_CLK_DUMMY>, + <&clk IMX93_CLK_DUMMY>; + clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3"; + dmas = <&edma1 22 0 1>, <&edma1 21 0 0>; + dma-names = "rx", "tx"; + status = "disabled"; + }; + iomuxc: pinctrl@443c0000 { compatible = "fsl,imx93-iomuxc"; reg = <0x443c0000 0x10000>; @@ -447,6 +472,23 @@ tmu: tmu@44482000 { #thermal-sensor-cells = <1>; }; + micfil: micfil@44520000 { + compatible = "fsl,imx93-micfil"; + reg = <0x44520000 0x10000>; + interrupts = , + , + , + ; + clocks = <&clk IMX93_CLK_PDM_IPG>, + <&clk IMX93_CLK_PDM_GATE>, + <&clk IMX93_CLK_AUDIO_PLL>, + <&clk IMX93_CLK_DUMMY>; + clock-names = "ipg_clk", "ipg_clk_app", + "pll8k", "clkext3"; + dmas = <&edma1 29 0 5>; + dma-names = "rx"; + status = "disabled"; + }; adc1: adc@44530000 { compatible = "nxp,imx93-adc"; @@ -738,6 +780,51 @@ flexspi1: spi@425e0000 { status = "disabled"; }; + sai2: sai@42650000 { + compatible = "fsl,imx93-sai"; + reg = <0x42650000 0x10000>; + interrupts = ; + clocks = <&clk IMX93_CLK_SAI2_IPG>, <&clk IMX93_CLK_DUMMY>, + <&clk IMX93_CLK_SAI2_GATE>, <&clk IMX93_CLK_DUMMY>, + <&clk IMX93_CLK_DUMMY>; + clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3"; + dmas = <&edma2 59 0 1>, <&edma2 58 0 0>; + dma-names = "rx", "tx"; + status = "disabled"; + }; + + sai3: sai@42660000 { + compatible = "fsl,imx93-sai"; + reg = <0x42660000 0x10000>; + interrupts = ; + clocks = <&clk IMX93_CLK_SAI3_IPG>, <&clk IMX93_CLK_DUMMY>, + <&clk IMX93_CLK_SAI3_GATE>, <&clk IMX93_CLK_DUMMY>, + <&clk IMX93_CLK_DUMMY>; + clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3"; + dmas = <&edma2 61 0 1>, <&edma2 60 0 0>; + dma-names = "rx", "tx"; + status = "disabled"; + }; + + xcvr: xcvr@42680000 { + compatible = "fsl,imx93-xcvr"; + reg = <0x42680000 0x800>, + <0x42680800 0x400>, + <0x42680c00 0x080>, + <0x42680e00 0x080>; + reg-names = "ram", "regs", "rxfifo", "txfifo"; + interrupts = , + ; + clocks = <&clk IMX93_CLK_BUS_WAKEUP>, + <&clk IMX93_CLK_SPDIF_GATE>, + <&clk IMX93_CLK_DUMMY>, + <&clk IMX93_CLK_AUD_XCVR_GATE>; + clock-names = "ipg", "phy", "spba", "pll_ipg"; + dmas = <&edma2 65 0 1>, <&edma2 66 0 0>; + dma-names = "rx", "tx"; + status = "disabled"; + }; + lpuart7: serial@42690000 { compatible = "fsl,imx93-lpuart", "fsl,imx8ulp-lpuart", "fsl,imx7ulp-lpuart"; reg = <0x42690000 0x1000>;