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: 13460984 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 alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (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 2C58AC197A0 for ; Mon, 20 Nov 2023 09:13:43 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id E030CBC0; Mon, 20 Nov 2023 10:12:50 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz E030CBC0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1700471621; bh=VUrUxuDvp0SFTqn36yWbBjszaO+r3FOHmJF0AlWkL54=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=npDQ4tSgwwy2yh0/HooE1EWydYJbD8JGOagyhOsyYqz/2HxXhC6qvFEkpd4CV3czv 0FgCydhGRePPgAwiRvP4hm/QS4ixcITehd4JZNX32rZAvUwPS+owRT6sCukhdaDZpA 8hQAN/if/wKcrJ6LC0MhOuOcaX21oz5JHMgf2wYo= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 41F39F8055B; Mon, 20 Nov 2023 10:12:13 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id D6DF3F8055C; Mon, 20 Nov 2023 10:12:12 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id C43DFF8055C; Mon, 20 Nov 2023 10:12:09 +0100 (CET) Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on20619.outbound.protection.outlook.com [IPv6:2a01:111:f400:7d00::619]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id D5182F80558 for ; Mon, 20 Nov 2023 10:11:57 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz D5182F80558 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key, unprotected) header.d=nxp.com header.i=@nxp.com header.a=rsa-sha256 header.s=selector2 header.b=Q6AdERwy 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/atR3TBymkdQc24W1eathPTY2QBvfMtcn/O312UO18WH+vohZ3tqHAIcF9YhS6WLBFhDg9Ci2l5To0UuvylbrQ0FDcRj6gerA/j8+xeY2XcwDOIDbkAYJ7S8sHxNLKgAa9bYFD4IzVVtEzCZ1gb2RcWGeFEXc0WlbcfQo83MoUeC6SOYo75r+SReO3mFG5lAIIODyQCMXoBiaMoDqgo7SgBnttUWy7qSeA65VPAJF5BJvQTvBiWTT+6mk8ewNkbCn1p56Qq2saoYSVWAqhk45pbQxAbvUM2J2JAhc7iAHODk/6cxkaDbwUxpx5tZbMXPlCbfxokUqHj7JVBhd0Gh+tCL8d58ny1OquCixQKCBAjCC+eHi2lHVnwAi5k/qq0SSYS0XfJbxUFpwx5Pi48zu/491HOzRH/wTv/gnLoaa3sc7Z2UnihPsUFbinK6DbpdVyQaoZ3Ir3ApESUXr3DL7Lih0wNHxh2YsyEfDyDWi2jQzN7SihlLXB/yA5Kwj8ZAmAKGlGf1T0ZMeFQpk74RAb59IdeUsUWj/Wl22SGYsD/3YcGhjpHZYqSRoVLUQYwzwsjVfZHgjgvQsHytis/Vg1J04utTQIA+R8qWW/3fqd2GPf2yw7FaH2rLqYunMq8muf6vox+8hxAL9c1WoZF/o2dOyjtai7v74t9g+DDF5h5O7PiX1nNcGVFTAogcy1Q0DbCy0mB6T/XlYY9CjN42VZF3hXqjQQS9gPNC5fZWIpq82E33do1H93X0x+gwfBj3DdBy8wWoNcd1Yu4Z8e52X2UUeNTaMoRxaTdnCKQoW7+iPntA+KH6ErwNCq3xwvit5DoU509+hYJsmpS425f0TPjkh9Qd5CJ1QAh77V0BP0FPNLbFKn6AnNab0dl04zk+xr1bmI3DYJ9HkQidxCnj4KvxDv1XnsVxNLTTzKuNxz/I6LBsXdWQpfzll4zGUN49uRrGCn49nzdo4V2NZAousENt3HCS95ne3+4yMcbEd8AQrkqnPdUWMUYhAKT0Fjo2lTYSKoTQl+j+tlWFwg/IpzAWvNzn32Lc6fxifBz9rTSTTRRehPVmxVef2S2+RUJQq4MHb/z/J3oS0 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 Message-ID-Hash: VDBB4HQGFPX3A3DEZIBTTSVP5KBJMAMZ X-Message-ID-Hash: VDBB4HQGFPX3A3DEZIBTTSVP5KBJMAMZ X-MailFrom: chancel.liu@nxp.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: <> List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: 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>; From patchwork Mon Nov 20 08:49:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chancel Liu X-Patchwork-Id: 13460985 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 alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (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 E0DCAC54E76 for ; Mon, 20 Nov 2023 09:13:47 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 22CEADF8; Mon, 20 Nov 2023 10:12:56 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 22CEADF8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1700471626; bh=z7JCud6svPNddad5+yYsCcg0vSxaAPs9fQcHBDElE0E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=M23XzVt1+8k1veqgerHhOLXjV8q2N7dJUXVSGuOuHBRgGU7tWfxNTngcZy3teclBF c+wunJjbH7QeMVQgKMnrxcV8Ukii4nEY4sttSNxOgLVP6Fp42lA7nq0z5AKQm608wH 0u4lp0ENKprlxVdYa8dFhG0JrX3qFN0yN5Ugf1XM= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 633CCF8058C; Mon, 20 Nov 2023 10:12:19 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id B1DBBF8057E; Mon, 20 Nov 2023 10:12:18 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 61913F80579; Mon, 20 Nov 2023 10:12:15 +0100 (CET) Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on20613.outbound.protection.outlook.com [IPv6:2a01:111:f400:7d00::613]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 9D84BF8055C for ; Mon, 20 Nov 2023 10:12:12 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 9D84BF8055C Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key, unprotected) header.d=nxp.com header.i=@nxp.com header.a=rsa-sha256 header.s=selector2 header.b=IR/2WM5m ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KZkOzOzeT2SOYOV2C2VpB+u4EYRb/v5zTyCg4fgWW1N8Iat4iqs9iDNEx4L5A9GMTnt6ltR9U0D7qJn6menS0JvuJVVHsqmmzyZKfYywCl6aOM6yoBHa3wFHxqEWmC+t7HwMN3KnOCkJBBHGZ1XZjV6LOwvMdpZuotpgFkbI/fhR9OOeiuUOfw/hysRBy0udqIui+tAU6gRTCqSEFRl+fQQAXu5tH16QIvyRmuGPtpLV0lbEa+yUqlW8CACIbd9mKtICcdiM+vFa6waHZKCvngC7OK+61IXiYo4UW+ND/nlzOeHtCgz5ASAx0ruZ1XhuXe14auAxWdC9ymXLqWy39A== 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=fv1lp8KFh/WzeG+M9inHOlXHZqAlVQy7rT3f0Uzw1yc=; b=Y1j8IH8Kh2A/cNLpJOLzKFpx8hCrdO6Nx6g0wIzJUeGxz7J6BzkWyfhKm45V438VvOVjSVdvaYxGy2YWiOSFNTjHJH0Rp99pmZC30kevI1opZwSBidOAv70g+CQeDAPXUt/s3lYy63LOUaZYZOOLJU+03bSDHJMTI1qCO3sxuqhyVDGKReil+RqmyKjx9YJyUqMUZ836SgMMM/91ijY2lX9DkRAe3XFrwl2+udH7YtXqHehQM05anAmSrGHL9Sm/PCZUbLIrSFJm1ZawW8hZ3j7m8KXOJSmkKzX/ZsV/KsfJDb6uTCA5FI4xavb/s8cbWtRUc63RlPCzb9SNA1MsBQ== 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=fv1lp8KFh/WzeG+M9inHOlXHZqAlVQy7rT3f0Uzw1yc=; b=IR/2WM5m3NLxxL766M/TbhG9va6Mvdi5Wa1k/7uCpakq382t74aIDyx4d1r0gu0PcXitgWGqDowgMuRBx8gXvaC1VzJVw6UbNjJ3IDnbEU61n+bkPbusvKp8v2SWbLXG7RB33aHTM8YlexJhZ45VhNZrx5tcH/n38pYNO0Uv3hw= 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:12:05 +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:12:05 +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 2/3] arm64: dts: imx93: Configure clock rate for audio PLL Date: Mon, 20 Nov 2023 16:49:04 +0800 Message-Id: <20231120084905.664-3-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: 305851b7-b3d2-4b77-9250-08dbe9a8c3b6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: MXr3M9CcexVobr1lCsqmpciFq56lqIMMBUqoji0nGlXB7zrn8PuU0ElYIu1njbfakGTguOHfYvuKtcm7ArYd/5UlpiImY3BfaUbjT4TVnl/f6/VSPONVmZbtLRFhcgQqhkQFJuyJRSldLUsmi3liyZ5lTwhl4v5PsddLApMfiGSm8Wu9DW6J4RttctQaPGRcx5xVXl8yDlfOLG6VpFTiBZ+IVlAxhys6oluyyIGGAK5xHYtFTlMJDAQ/HLn5y4QJTMkZwJWMZz+PNVxdTAsU7ecUqxOAIKOf4PMVB7lc2dwW/m4ojeNK/seHpcF3bb0dYuEdT4LRX2TUHglCcHJJbU3v+kp6EiY/XkC1qPR/EA1O2sAhtNmCNXrzjSsot8DrRDdo3yGGAinfwHiPNg9UvgPxxQI6sGXjOqCGFAxSprP4CMYxJz9SG5i1gjSk5kRAy6CkQHdkzoO/GEFHFwQOTle7jGP7l0bUMG2bCLB0JzLDkO2v1mf7kk7vKAV3lRX8C9d2q19C3nhwzib4kyHneZ/pA8yeUSviVjvTrnnMYCcXF+5P+eKhMzztERD2s2hTd/6ezzp70/1Q7C37gvMCNzsL7hXKKoTU2ihfJzmaUwvF+NZxqu32N7i0SYUOj9rdtWxKui/lTqwmWoz2VoSikTV3OLpCg9HlxkwnmbV0oFU= 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)(4744005)(2013699003)(2906002)(38350700005)(921008)(6512007)(6506007)(52116002)(2616005)(1076003)(26005)(83380400001)(6486002)(478600001)(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: UYxxIRzCjgpPTimOHWVZnC+d90C79zKRFoGIXJxN22BLhYBGCVeNrLAcrEx3uj41vyiAGrzXnPfb3yjmalrcJUa7w7cZGT2nMqeANqd/+UawmZDWfc+G4/bKHltoQ2Ph9HTwkBuWc5y3ZfH+ae3wpdNISjqhVzweXqu31eJ/0WvbIqI7ApV0HrxSt/vFi3QS5OxldvTd9hXnVvb6BDbEYZbmzu05b0CgugP5U8LyEbRzPFl4uu1RvqKWGchY6QMsBnrq+G15D1GlT/H7Dh7VLK8Esoi5qrs4UO6vIdBx/bpSSbQbV1fS/+JxahYxiNg808qr3pBrcAcKtJavqd+uFSJctOoSBPc2s+iczfYmrf4VhycOyxonkjF92Q+9mrmtuNorhPIJGSVT7qmilW3+Vs6Lbf9bTB00+6VYfV2NQ3PZMxbVJBVmMJtoV38VRGxLhnXzKh/pIMEtck9KCqdhgDmqorE2bPT66uD3QnUcgx2Aw6HD1pCtEk5L3pi1vPNsz+JPkiRoato1wlfsFqRM8o0Z0gcDK1Uxq2GcrZ5bEPsKmJYa1MmuSYV0zSbQhfaTc9vp5pqdDgc20bsWcoDgatxFqo4F/zEEO8yaDEA/pVvCE6SLO6PEOQqs7DqE6SSCJvdFUCvXv4HQ9vW23OfAHnAJ87rHdkmhHMOoACCfjWKx3xzo3VOJV5xNdjdqfc8N8kY6r/Yy1t1iRqhJbCXlwN0QG+N3gdPnk8kLFiBJUCLpMT0DpfDg+V9MFZA4G9y20gc1J7HDspXbv9DVY0Q966zl32K3afT/GY+CG3PhvJI6tnCY42aUN04RKMbIHXT93a/aGOZOWtw7390C723TIyQ9+j5+wEa/WyORlhhcTvzqgblM8OOkP3rUhow8FAUIRALjlNWlfZf9rhMpoPSD1U6vl2LIltEPyEfaq1BHWUMCp06hE8T7GsyJ86QZQxypUBl3verSlzY5D7LNSQY9QRr/De+B8DAi0oaWsPc2HOw7bStfMc+x1I5Bt8s9igoxsliUvR8a+b9mOqj4/azDICs8d3+zN6hWequLVAD0CqPMzeJZ71pwKnCTPdRoRQSqVB2fc4h73556796oS6tSlpSPlpE9QlsU7OlMENgEhLpO7Gn59le5m2mNuRdJ1y7QtgM0X+LwLS2aC89uz9Vd8YEGJ2QyLBQtRxX2Yc+NFNPw6j9dKfbG2v60Uwa5GUWN6JGbwXzqeutieS+pcnTwb0BCbd26WOXBVC8Upfc9jywSljecPN4BdxsYJUGXjcEOw77GVICjZqkZ92+VkpHI1N/t8gGAEYCursj5eGGuW1sn5HPOFKsg7bRUjBjk1X74uB9b1iMFJWPlkArIDFdJ8ReVtqKNjTmSQB9MEB1D+VBGhZTyBPlk7iqi8zLhnNSIU4Wrp5chHXlafXEU3xjSkPQ9w38Xus8Eb/+lkmJ6u0ksSj26S2r1JGu4+mYt+X/6+Q8C+zekdNZkLpFcF+2pvupVMFfE//+LisjUt6G6O91Czc7/Gp2i3jVihSknZfzTxpmFo+oslGOkdoEJIMJvfSOBsi+vEWC4Q59ZBiQLH0BcBf1rfCfRzsy4zQBvbZLa X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 305851b7-b3d2-4b77-9250-08dbe9a8c3b6 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:12:05.5017 (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: sgGiB35VcAEJFa6z7ToUs8/XPGAnFGXnORWPuHw1qZXYhkbAFXepTEcUZFZaly8sF5JCAcsd1/87NALod4pnwg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9399 Message-ID-Hash: DYURRVVTSUEWGRQX4CAUICY6ZUIMNRFV X-Message-ID-Hash: DYURRVVTSUEWGRQX4CAUICY6ZUIMNRFV X-MailFrom: chancel.liu@nxp.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Configure clock rate for audio PLL. There's one audio PLL on i.MX93. It is used as parent clock for clocks that are multiple of 8kHz. Signed-off-by: Chancel Liu --- arch/arm64/boot/dts/freescale/imx93.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi b/arch/arm64/boot/dts/freescale/imx93.dtsi index 9a7bff39519c..e6745801308e 100644 --- a/arch/arm64/boot/dts/freescale/imx93.dtsi +++ b/arch/arm64/boot/dts/freescale/imx93.dtsi @@ -420,6 +420,8 @@ clk: clock-controller@44450000 { #clock-cells = <1>; clocks = <&osc_32k>, <&osc_24m>, <&clk_ext1>; clock-names = "osc_32k", "osc_24m", "clk_ext1"; + assigned-clocks = <&clk IMX93_CLK_AUDIO_PLL>; + assigned-clock-rates = <393216000>; status = "okay"; }; From patchwork Mon Nov 20 08:49:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chancel Liu X-Patchwork-Id: 13460986 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 alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (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 7C68FC54E76 for ; Mon, 20 Nov 2023 09:14:02 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 9FB03DEE; Mon, 20 Nov 2023 10:13:10 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 9FB03DEE DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1700471640; bh=5NlhS/ORVPq4o+OkxufgZyPIzcE5Ie2k9zGrXetplFI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=eXtI4b4AogafVwwUM7f7an7SDkkSqHXQdZpf1JPziplzGMXyDGQPPUxTQrGbheM9n bX4PHDWLbrQYlOZuJ60pZX1nWsWfJ8xjuxh5HylctVJy/LXUH9kI+JCatn+mW/300b DbeOXa1UVYWvD+96X18RsqaexAsHVEOwcWFZkmdU= Received: by alsa1.perex.cz (Postfix, from userid 50401) id D3659F805AC; Mon, 20 Nov 2023 10:12:27 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 2FA28F805A1; Mon, 20 Nov 2023 10:12:27 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id C18BAF805A1; Mon, 20 Nov 2023 10:12:23 +0100 (CET) Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0631.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe1f::631]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 3BD70F8057C for ; Mon, 20 Nov 2023 10:12:17 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 3BD70F8057C Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key, unprotected) header.d=nxp.com header.i=@nxp.com header.a=rsa-sha256 header.s=selector2 header.b=qm7JjqlG ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cF0mE4ae0bzJhmsxUpVNo6CBy7OrDacxyQZobDhQBlQC7WmcdhIPnwL7QVl/CIjL57qnEGmumrS/fDl05zg1p23CdOcjeacdilrYWz2CYfx4bYQv2f8vWTNAMNX8Yi7VH83iQiwhiFI0yKJClJmf2pZ2H3RnXUdcTMIkdF9l1hUt7RPlBLuFjuHMcZipK1hIwkGwS5qy8YuR10EJfhIRGyc+/+EoDDk8dYvRpsefvTfKP7WtSrfgw0U33Bk4b5e1DsLn5jP9ceGqUqNJRsq8y0xy7H6FAux+BbqITbIZbRGEkMzXKLRyPxFQiIuvKkf0X3aemLTShgqxDd0tHBNwsA== 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=luGc91YIHm7PJu1Sq2eBjN9Ud/issUKfZURg3+bsFtU=; b=f6XSBH9BmM2mlRcQYv/cZL0M0cfAr6rU05JxQ8LycmNGmU/2ZhAnrsi0hhTPWQh9tko6DKwPz/wUTwELQ9QVNwF5dsD3NPiRSiCpnBVfqr5tmDfDYRyzvk05BpdHlKHuWMvCp6MGULL3ZoXuMsC3LkIjlY188AaX7Y/F3WvRGna0WWMUv0k32jZomuXN3ERMo7hYbysRyLGwmLmocxxLxv0hB8qNOyXJ9SOeB735wb17CYC60U82BnX3BYWuqeYVNSkMpOmXNtdj7EAJL95bfoY41Pwjc5z/QlHpmXlaK48WT40wYR9baksgllrEw3A9uklmy8ik4/pQ5klew4y5nw== 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=luGc91YIHm7PJu1Sq2eBjN9Ud/issUKfZURg3+bsFtU=; b=qm7JjqlGIGYskyWQMtrvBul9vw+uzPQZmYUyUzvA0XoKrLAQIHQNouXOT3+JS3UdE7K4J02r/ST8TrNo7ws2zJCfOSPzrPVOO0td9cQQjuvUrDR3iDlKk7iungAAKndG06MQTPshxEQpFMBWMELureFlJF6AQRUmyTJTTCMNirc= 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 DBBPR04MB7563.eurprd04.prod.outlook.com (2603:10a6:10:206::11) 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:12:14 +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:12:14 +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 3/3] ASoC: dt-bindings: fsl,mqs: Convert format to json-schema Date: Mon, 20 Nov 2023 16:49:05 +0800 Message-Id: <20231120084905.664-4-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_|DBBPR04MB7563:EE_ X-MS-Office365-Filtering-Correlation-Id: aa2d3cf2-bb1d-4f83-7ef8-08dbe9a8c94f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: VxpOcp3PnzCGwGBxCZL2v5/ElSjMoRtUHZiC9LfeAm5VkCZ2p71R9iAXWy/cwLtc2m1bqtXTQc+geMXAGuSjf5auxNJLuvPHD80r5MT//dUJDabbOFHXAmAbkj39jBcNs4ZS/QyWM6r73/uKqQ9GL+Sx6lXaxDeu9YIRk64QFH2r4nN76NKpQXFpS1yxX5BAXjbSf7B1GuuDYyrUPGyg2yzUsu9YiqyEEqYNPRyUnKtzzDmt5wx3TURBT8+j/y1jIv/v448JUVcs7TNSMdPnJ2eS1TdSkyXC7VsTLs98q5FcTPcmwyNZCFxQW04//g/cIMVp2Q78/hH4WUXbGwS7K6cghcLsf5ayuhGHVui3aZawBZ6e4/uAchOdB2DwGaRA4QlzcuNAN6j3NhfaKzOm7YnoTuD3HPAw29mRWTgmEANvMlIpe7bAtTSwHgNViPymmRlHOF7W3e1WBTKTyhWjgfxhmiHdIA2vsJMS7KYHYxmHU5AnUypoCaXmRwvbEg+1LxmBjW3et+dDU6bApsnT1DnCojCnqYDAKMaOPBvfASl0oRSsHcsQk4keC1ssgVcngB53DmOIMgN6EW4clsUTjJFLTTOpdUnLcah6rN+e/3VbBHFEjEOjeXh+V5nAwIy8 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)(136003)(346002)(39860400002)(366004)(396003)(376002)(230922051799003)(451199024)(64100799003)(186009)(1800799012)(7416002)(5660300002)(1076003)(2906002)(26005)(2616005)(4326008)(8676002)(8936002)(41300700001)(86362001)(44832011)(38350700005)(921008)(83380400001)(36756003)(66946007)(52116002)(66556008)(66476007)(6506007)(316002)(478600001)(966005)(6486002)(6512007)(38100700002)(6666004);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: /xB7TFDSLhrwawEQMw1LUTzfxiisCWIHhOf340Bv58ZtWUXDBIS88qHN+SH0Su0QzruPbK5VVd2MF3frDIUFGQM0+En4wYb00Epb6eNCRxODhQ+OhHUqEFoCX7l/JGjV8dFpxqt/iqumwZWTXKS5bnxont4fs/+MtseopSZDaJgOWC82Zl+H+5hQuQW5Wr95mB843+Prxct28RLwhHUy6YoYwEDf/wiGAizLw0FIWn8kX2jElvIyfCFXPAYz1wHImYPmAaZzN/6oyTVXrb+fhLiPj3rNHNkYONB6lFOusgnCjeFpukXCxz4IgqDWAwDPq1QPb60+UxNRw7+dhRLCrKqcf1wKbEfrFeHPiDcUfvJzqTlouAuNFtdFe4awPDKi+wgS0vLXcm94NZiOopkRNcoCm+jLOMEmqb9k2Q+HMra/d8U3nBscvhc4OymI4jdtz9ceG/Joyxgig/DHjPgUKDkaykMykh71toDENTUttCwDztFFe+Xp7AZXCmGXByOGpQqPHc31jbOyqQ9pn06yphEk8eRZKpLuxptCgcudbGs/j0GQ0qh1G0GIAIY1f3A288VqFxWcNUsIUWBXhkT6EpjXeAywzEe6jU2eRGsH3ilIb17nGdrVcPfEnMrAGAjD+2rNCjqvdHc4ohsVIO+lfkTaiLgRvLamiVtXb4xk1lajHV7MzaTu2CBVryeVCqzG1nfhOC4x4C90nbooDq6m4oL61y5Szn7LcF9s74fXB7FRIOzMDdwOeAXDjXp0cPrLqRLSveLAQVK7fV7ytptNpAhx1sGMhpTHsG7jYHzQC7YhwfxOQsDNyaEknHQlruTwdoBXMuin/X7t0O81BOfdEL63S0uSfe0Zi8FVoCgjAVcl9Cdrh+2X29RMcJbu9b7VNpXBYJmWeqSEfEadOOl7x7fN6D4HOEP8/Jtjih24aiFEodiJyxFrnW+itccc/J86EQ4/epPG6F053Ee/t3yigcyB3uAjXR89WnHt0nMq+zcjTs8DFt5/5wB0USp/ooVVWGUuCq8nlFrpJcsE60KZVMbu63eegKWDmPZ1wIbHXjS/w2viLp27aYqtwKm0xH4LYJftpnyl3j2NLv5GKq7j+7uU/phvo+9zpEReH6EHB9uVTcwcSgWp7pD4tfFj4V+Ay8CIpcL0hO9ul/m50oAbufRBVhnSarccTeu27eH0Q7hVT8Z3YdimM3wXRM5E19Z8CV11ecfWEERYBEnIoiw3pL0811OH6wMbhRt+ZoCdotjjAkWXMz0mXWgcT/rReTaLSM+J0FgMQ++bsSQqVY1nY8W7PhwCA4SyKdrfvNoxFlwmWTIdq0+QoZCcxpDJR28KX5UZW3/w0WvTDwJ7/MtGU43vgIgRyfs6KGyvIPnBddPqASOWNTkEyuqFI5t+0rhenDKfPGc6ByTn6I7H59exgQtBAbrUOKj9iTHPEYcKi67gKns9Oc7TJwEwYiufaXNpnY9uzikbEvC6WBP0BtuReaZipw823YffKyUIrXZe1YxfaH1Kkgi5etnb4Fx+lizsCK/KaDktos+cLyJK4cohYC+QAB5J7y4XGzuWmgURg1OhOcikchcM53HiEx38LJzY X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: aa2d3cf2-bb1d-4f83-7ef8-08dbe9a8c94f 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:12:14.8812 (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: lbuohfoKZ3rnPwhvsYgNiEyDgJuHciPCuZh7Fhy2wBk7P8iaYGqRnmGiXK7amz2uOqF4tsFeafnUNd6JGVwxlA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7563 Message-ID-Hash: HKFGHHLKKCVX6E4Z3UA7LDQGMUM6PFAM X-Message-ID-Hash: HKFGHHLKKCVX6E4Z3UA7LDQGMUM6PFAM X-MailFrom: chancel.liu@nxp.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Convert NXP medium quality sound (MQS) device tree binding documentation to json-schema. Signed-off-by: Chancel Liu Reviewed-by: Rob Herring --- .../devicetree/bindings/sound/fsl,mqs.txt | 36 ------ .../devicetree/bindings/sound/fsl,mqs.yaml | 113 ++++++++++++++++++ 2 files changed, 113 insertions(+), 36 deletions(-) delete mode 100644 Documentation/devicetree/bindings/sound/fsl,mqs.txt create mode 100644 Documentation/devicetree/bindings/sound/fsl,mqs.yaml diff --git a/Documentation/devicetree/bindings/sound/fsl,mqs.txt b/Documentation/devicetree/bindings/sound/fsl,mqs.txt deleted file mode 100644 index d66284b8bef2..000000000000 --- a/Documentation/devicetree/bindings/sound/fsl,mqs.txt +++ /dev/null @@ -1,36 +0,0 @@ -fsl,mqs audio CODEC - -Required properties: - - compatible : Must contain one of "fsl,imx6sx-mqs", "fsl,codec-mqs" - "fsl,imx8qm-mqs", "fsl,imx8qxp-mqs", "fsl,imx93-mqs". - - clocks : A list of phandles + clock-specifiers, one for each entry in - clock-names - - clock-names : "mclk" - must required. - "core" - required if compatible is "fsl,imx8qm-mqs", it - is for register access. - - gpr : A phandle of General Purpose Registers in IOMUX Controller. - Required if compatible is "fsl,imx6sx-mqs". - -Required if compatible is "fsl,imx8qm-mqs": - - power-domains: A phandle of PM domain provider node. - - reg: Offset and length of the register set for the device. - -Example: - -mqs: mqs { - compatible = "fsl,imx6sx-mqs"; - gpr = <&gpr>; - clocks = <&clks IMX6SX_CLK_SAI1>; - clock-names = "mclk"; - status = "disabled"; -}; - -mqs: mqs@59850000 { - compatible = "fsl,imx8qm-mqs"; - reg = <0x59850000 0x10000>; - clocks = <&clk IMX8QM_AUD_MQS_IPG>, - <&clk IMX8QM_AUD_MQS_HMCLK>; - clock-names = "core", "mclk"; - power-domains = <&pd_mqs0>; - status = "disabled"; -}; diff --git a/Documentation/devicetree/bindings/sound/fsl,mqs.yaml b/Documentation/devicetree/bindings/sound/fsl,mqs.yaml new file mode 100644 index 000000000000..c697b97f888e --- /dev/null +++ b/Documentation/devicetree/bindings/sound/fsl,mqs.yaml @@ -0,0 +1,113 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/fsl,mqs.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP Medium Quality Sound (MQS) + +maintainers: + - Shengjiu Wang + - Chancel Liu + +description: | + Medium quality sound (MQS) is used to generate medium quality audio + via a standard GPIO in the pinmux, allowing the user to connect + stereo speakers or headphones to a power amplifier without an + additional DAC chip. + +properties: + compatible: + enum: + - fsl,imx6sx-mqs + - fsl,codec-mqs + - fsl,imx8qm-mqs + - fsl,imx8qxp-mqs + - fsl,imx93-mqs + + clocks: + minItems: 1 + maxItems: 2 + + clock-names: + minItems: 1 + maxItems: 2 + + gpr: + $ref: /schemas/types.yaml#/definitions/phandle + description: The phandle to the General Purpose Register (GPR) node + + reg: + maxItems: 1 + + power-domains: + maxItems: 1 + + resets: + maxItems: 1 + +required: + - compatible + - clocks + - clock-names + +allOf: + - if: + properties: + compatible: + contains: + const: fsl,imx8qm-mqs + then: + properties: + clocks: + items: + - description: Master clock + - description: Clock for register access + clock-names: + items: + - const: mclk + - const: core + required: + - reg + - power-domains + else: + properties: + clocks: + items: + - description: Master clock + clock-names: + items: + - const: mclk + + - if: + properties: + compatible: + contains: + enum: + - fsl,imx6sx-mqs + - fsl,imx93-mqs + then: + required: + - gpr + +additionalProperties: false + +examples: + - | + #include + mqs0: mqs { + compatible = "fsl,imx6sx-mqs"; + gpr = <&gpr>; + clocks = <&clks IMX6SX_CLK_SAI1>; + clock-names = "mclk"; + }; + + - | + #include + mqs1: mqs@59850000 { + compatible = "fsl,imx8qm-mqs"; + reg = <0x59850000 0x10000>; + clocks = <&mqs0_lpcg 0>, <&mqs0_lpcg 1>; + clock-names = "mclk", "core"; + power-domains = <&pd IMX_SC_R_MQS_0>; + };