From patchwork Wed Nov 22 10:19:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chancel Liu X-Patchwork-Id: 746049 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 2DF29C61D97 for ; Wed, 22 Nov 2023 10:43:24 +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 D2AE8DF0; Wed, 22 Nov 2023 11:43:11 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz D2AE8DF0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1700649801; 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=WzB4S7a0owGMY3PC9/QUaUtliVNdW0pgPeY2NQsieYhzOfsjzlwNRF5P9t/WrvFjB 3sRYOVamSOa2Duk9V13doMgFV5X17YxcKMAoPZZyvaL8OLw7AxF1Y2d6cUmlPvg5jj E51styf5PPAnD2ZmORnsKcUKnsNVP73DwmtCckpc= Received: by alsa1.perex.cz (Postfix, from userid 50401) id B44CAF805B0; Wed, 22 Nov 2023 11:42:35 +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 BD352F805D6; Wed, 22 Nov 2023 11:42:34 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 515C0F8057D; Wed, 22 Nov 2023 11:42:30 +0100 (CET) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on0604.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0e::604]) (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 06460F80254 for ; Wed, 22 Nov 2023 11:42:20 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 06460F80254 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=ngzVueGo ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MlV8hHxNVQFfgOTx2pZULvWnwSKOMTXAed0EmrvDHX9FUAmrHq10BM7vh4IYUOJ2c35TY9wEje3dCYJvTRef1MmUw7bkuAaaCjscXtwtrv8iSMYq9OSv40rVk4dUehpQHg6RUHWBdx+V+xcQwwgUk9zSed8URr2fXSfK71ibvpFZJgezBUC//bUPTbSq/cammyUNpClZJKgrWGYjI164nQ1hU95w9Ts094zJt2quwgVwFMA8wYA1hFWU+hk+ct9oJQvb8uKJvwce2v02314yCpOmjY3xQ6S5ec66X3JEwR59mR6W71dlUKlgpmQ8aNO5sq3TBM62lrx7KkVTGhPbPQ== 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=lh6zzf11aS8L24y9uSyB+pdMe4laFRPw6ucl9fOfSfVoEfqFZmJ2NUZCRYj+tMbORBpGYJgeqL/IqRObkYgDCg63VhR7okTaJnlb0zPQCmkTHIRqf4NQ3/xwHZ7nzEFMr5E8YyugnQflIPqYiM2aWH9I+bEJ+WI5N1VuxUHGCxlW31DQIXtnt9J5KLphPjwACbkecsoK3ZaCB7kg4uwOVV0SA4vHj/PmRYe13HsJlxMkJ66lU9T8Vp4MlNvyvB7MMQWd7d5sAQg1LoSULAV7+pKiq61pYgfAcySCvEyF+c8ZAt/LAToLXlFxu5e6nACOhXmyheh1MvNzgJdSok89WA== 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=ngzVueGo22pPez3bgn0MczcWCnYNBL2i58eBgYm/QFO2uo/hU5ZH0/7DtbActQJ6EuMMS68s6PUGB2aOfqbM5Bc2Oh4DAULdz9Z2pebkauNXCAVyyO219QVy4PF/M5ATDhscv64gVOiHsqzIFGbZ+xITCu0Mp/9BIUCQo1Q9Bls= 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 PAXPR04MB9328.eurprd04.prod.outlook.com (2603:10a6:102:2b6::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7025.17; Wed, 22 Nov 2023 10:42:17 +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.019; Wed, 22 Nov 2023 10:42:17 +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: [PATCH v3 1/3] arm64: dts: imx93: Add audio device nodes Date: Wed, 22 Nov 2023 18:19:57 +0800 Message-Id: <20231122101959.30264-2-chancel.liu@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20231122101959.30264-1-chancel.liu@nxp.com> References: <20231122101959.30264-1-chancel.liu@nxp.com> X-ClientProxiedBy: AM0PR03CA0074.eurprd03.prod.outlook.com (2603:10a6:208:69::15) To DB9PR04MB9498.eurprd04.prod.outlook.com (2603:10a6:10:360::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB9PR04MB9498:EE_|PAXPR04MB9328:EE_ X-MS-Office365-Filtering-Correlation-Id: 93a56f35-fb1f-4cb3-f051-08dbeb47b268 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: zl03NYezsQf3qhu8+3Wr24Oxdjb1DdlRoyDpjHQzoUUs2Gt9ZAajAcfGLRak3uWDVHtOp+InzwRkT+QpuKshSFrPKzNougfOXBuPNEWX2ggX+gOuIgaLUbTfvoB596tFFQkhfVhQBAGOGdiaDqG+iph14nAjmjO27y4xw2AmV7wnXG0OQl22YiMWyOwgvsMsmuHAb7oHSakzEH+egG+CDc4kKaQ3iGiRc2tei4uOGSD1x8ncdt4b8WWnjjeGp2Ji5dn5LQZDpw5dgI865og1s1W6tK/n5tJVRowjcFr97EPcKv70eRwHtWp4UakIrqxijSQb39Jj/rZL6xsND4+Ogya3ilCzfI2CqJiLhkq8leBXeUprwD7ilt4/+YDeVC4wPp+7AmR2tU8Wito5JfNpwYB6AZDD0snyG6fZYlsNQA4JsQDjRCKoj1u05MdOxU1HrcMsGTDeQvvEvmyEQ00n96pvW0lEyLLhDyy4/R2TYxmjIil9gdOKnQFIey5x/2wYlXAx05SPDdIlDeaP6bf1e0CWuVVBEcPEbznkPSsh/RvTqu0wuACgwBmapcs0YXc07sBcIzKb4bnxwnQYmgisSicr4GHkiYy9WU/TXGftBcEwrLToLrgsesD+aRwar1j6gSOXhZosTmTx1SczoevfDLXE7K3diGVbLLmSFFLoN1c= 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)(376002)(136003)(346002)(396003)(366004)(39860400002)(230922051799003)(64100799003)(451199024)(1800799012)(186009)(83380400001)(6486002)(6506007)(478600001)(6512007)(26005)(6666004)(1076003)(52116002)(2616005)(38100700002)(66946007)(66476007)(316002)(66556008)(44832011)(86362001)(5660300002)(7416002)(2906002)(2013699003)(921008)(38350700005)(41300700001)(8936002)(4326008)(8676002)(36756003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: GG9HbfG1sxEbQPSPh+U+/9lkLcjDu86FwqzxRGv0Nzr91pPkemXs9rxQtzhaitiVx0OsE44Ve5EV/RsTCteLHcRyJeIGm6MOD9TN/3mLib6mSsKflHxoGv5XMynt6b0E8d0+LPZmkBI4AncBtprHfUPKMaxvsquBXgBqMawJkEbuluaYXIDef53GvBMicVucRgZBf2hNiLrp5tp7reWRZczU2bDpk0J2wz+IaxtGkJB8rHmCcuLcgq9VBnU5V7qwJ6G2zw69ZPMDp4CzsjSOlWcawRsQVDEZmQG1sWEk1JR/DK1jzOTLz2KEh/rDSVUKhwV9qOceXPCyuO0ntslmfRwW8RSR22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DAS3f3R1qWfuP0RVCc2fbBOPnRsjZoMVsXVrsOdKyBlL7DvOtHlS21Gg7/zRhGmcRd+aHYFvOapJx7mYSLUVPiPPVpTTrPOyC1Hc2cQLzWTX+BH54gxA5eAfyJweaEkBX4MkYjNOSg2zqIeYPHzvOfRNg2xlcKihk+RD5mjacfa3LUbv/gt0cp5zwu X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 93a56f35-fb1f-4cb3-f051-08dbeb47b268 X-MS-Exchange-CrossTenant-AuthSource: DB9PR04MB9498.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Nov 2023 10:42:17.4880 (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: aQvb4TRtEgzUF1sWTzokWK2bv2UDeQoqGLfyJZpzsCemtGJ4ULP1imaXaVYMbTBbxIfV1q4Qw40btoEQNceFlg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9328 Message-ID-Hash: GW6OSS7ZKYOI4DIFO2VKYLXI5BZ2DE2C X-Message-ID-Hash: GW6OSS7ZKYOI4DIFO2VKYLXI5BZ2DE2C 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.9 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 Wed Nov 22 10:19:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chancel Liu X-Patchwork-Id: 746523 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 99A53C61D9B for ; Wed, 22 Nov 2023 10:43:40 +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 A5246E11; Wed, 22 Nov 2023 11:43:28 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz A5246E11 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1700649818; 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=VCJKL7mifZK4xN9y/8kzB4nUpStyj3FVEDow8NUTrMS/D1kyjrcXJnDE0oKCdiahi avcd2s/gkObvVy1vpHM7vDNDyQlJBjpyrErpeTOFkY36jQR5Q7Dv6qJCDqt9pRMNcp P0cBrZwgmDI9hK2zWjk6lSwMCspNTkcE89uupse0= Received: by alsa1.perex.cz (Postfix, from userid 50401) id C6F85F805F4; Wed, 22 Nov 2023 11:42:37 +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 C1BEDF805FE; Wed, 22 Nov 2023 11:42:36 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 7C39DF805A8; Wed, 22 Nov 2023 11:42:31 +0100 (CET) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on0618.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0e::618]) (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 275D1F80246 for ; Wed, 22 Nov 2023 11:42:24 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 275D1F80246 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=jOqNy5HT ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=A+2Pi0/8lUTKP5mfSjrCAC8cRtAeupzWuWmg6J81D79ORtpLRamuwtVt2m6TOoerLwfNCurKwollZ8cj+i/7tVoaxhnxPLvcwxBsj4begXWGx3+mcVY5uH2PSy2PVy5MPG6kvEdjp/ulL8Rm3iHKOeP10ggGmDSr9lHLp15eSYXXlCOQ5/yTO3oSgsanNZH8z3NMk4LUtODSFGk872QGVhX4vpgYM2F0gypY4EkqyjFKwufXA6Sq3lzbSKRrpSDzI/FLioJwO45D93BnOIgzH4VlNBjTCaKa+rCYdI2hiYpSJH/1woi2v279lJso7fc2ECJJPWfhRsl0zTMjtLqRpg== 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=cxKYNDem4Y/bHiPda552HT43EVOBBUGr1V6pbFEcTCImRn0J1nNxbd59I8pF+hmnMzBwabin+fbbqmLO4moJMstf9kjHDtO2K6EP6+5eG7jsNj/jeoHfVZOhnIrmdxNhqTTtQ+wkOvfh2zjnwtlbV2V8eAPQaQQ106H1RJoM3QmApdj7zCnb3eYyhuzZ94NULFBouIeIvVLMQ1HdXsto4YGIH4HfQXXqTVwUu/FN0gjUHUZP8lVyV0cYsuV1Z7bPuMJR0GZVPII/uSdpy2aXP4uub8Xpx7WSH/gHbKqzXT5VGw8kV8AMnALGkoWE3CzmJhU8UR6F9Afx+0Fs8PIWjw== 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=jOqNy5HTqRt9esKl9tmEYAK46xY6tUf5C7EAZAjfg8cwX96V0n8OwHvUYzl0TFSH5C2Bwpqn12SzfBOjQFzHdwwPwVduuvmmFCmBJ8a5+bKZy6jpQwBVUg5SVmUw5WAhrke910WHRk5DFs6Zhd9JO1Fve+EzrUMsQHi2hN8i9aY= 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 PAXPR04MB9328.eurprd04.prod.outlook.com (2603:10a6:102:2b6::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7025.17; Wed, 22 Nov 2023 10:42:22 +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.019; Wed, 22 Nov 2023 10:42:22 +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: [PATCH v3 2/3] arm64: dts: imx93: Configure clock rate for audio PLL Date: Wed, 22 Nov 2023 18:19:58 +0800 Message-Id: <20231122101959.30264-3-chancel.liu@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20231122101959.30264-1-chancel.liu@nxp.com> References: <20231122101959.30264-1-chancel.liu@nxp.com> X-ClientProxiedBy: AM0PR03CA0074.eurprd03.prod.outlook.com (2603:10a6:208:69::15) To DB9PR04MB9498.eurprd04.prod.outlook.com (2603:10a6:10:360::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB9PR04MB9498:EE_|PAXPR04MB9328:EE_ X-MS-Office365-Filtering-Correlation-Id: 0fb8372c-0d25-429d-cf96-08dbeb47b58e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: tv+7P8fG3XU9+9xpnqdV3CmDfuS1k61Ffuv4TiywMQEMbLeN15b0JMLsUw2mRsi1+JFoenybFH/Mz0BQJ8ilUwNkWCSTRqVqwqG9qeE6Rw6L+10heSlhQNLHDTb0A+9RlTZgWjOy+bS3rmYChDzU1M7BoCSdISmgNNZpolJ98/F19CvbVzCraRPtMYVbp79dxRFcbG6CkH49pSoQbKqtPBxfz/Q4aHflbbvYPvY01QBR/grGpQKxxjXXORhjkzb72e73txndXsV0nYUM98594gXo6xrbGY48G2qb3DZrLM35huYoGQxdp5pMc72rdYCxiEhiEn3pQmbI5wXORdFpRnyssT38Zkn5TY3BCe9Ivv3zUjHlvXSk47JWNnKjgyCltSGKRnUPNU11C/0HVE9kSPRO+9JpjSkG0fEiYrZjcRDsK9qsdoP2nBQChBzl7EeEskVvDlx2dT9xHu47k/Dnn9ZfsvpaKPpXBM8ioYi+kedJQUbmBUOBvx1yFSn1lkS1QW45p8/drDxwqBHHtZeK9gk8GDwzahd70htKFPzL2JjwBwCzIpB7Yn1HRpBunXoyxJn8Tuxa66rDS7C3MaTLUlwK8XXwGPeftGRKTuSqajUjh4TqfafFZyu6r2vOvqou5KgU8vbS2ua1Pqp7XOnp14ba0aX1Q/3hQ2X2+Id/XXo= 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)(376002)(136003)(346002)(396003)(366004)(39860400002)(230922051799003)(64100799003)(451199024)(1800799012)(186009)(83380400001)(6486002)(6506007)(478600001)(6512007)(26005)(6666004)(1076003)(52116002)(2616005)(38100700002)(66946007)(66476007)(316002)(66556008)(44832011)(86362001)(5660300002)(7416002)(2906002)(4744005)(2013699003)(921008)(38350700005)(41300700001)(8936002)(4326008)(8676002)(36756003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: U1JvJONG1UeHZMRA1ETMYMSmttFoKHJ7Qw1y4bu6iqBEIJ6EFUp63ufPlRjKcMiWbKDygEiRiFwfwExd9/kuJoLI5gccSc3gv9Yx4HkMoc3cezkfVvv14Pho7KC9Gz1wa2shd26G5lPKxROT8V9liVC1otfqbGq8nUXHBi3ZE8HKow4FHVPqOR7LsS+tQWokwRhcWdz4JDYwxP2fE768qoam/cXuDkdJqQwN92aYHZRzuGPlVumKcRXBlHsFPeWm8TISerfRZGNwdI69v2d686tQ1dOuRpvkc0pmslxAYpKzdf/MImC115s1Febf59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AxrW3Y34r9crXFvu5VzXNwLuKKQHUGto+Jsfg2STxAXWrimaSTCazqCtV5rOlua6Y1TVS7WNGrs9rmEhZER4ngYkKKGTYRUZm5WDeKW/UWXmOf/+otr97FTzinNKAVYvj6EzlVyMEiUa20ogbkvXWi/fta84AHWOxm2HKWfkmUfcJqbfuLFKOZ3gNHI5KLW1mrg8kf2E3zsV7MeyS X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0fb8372c-0d25-429d-cf96-08dbeb47b58e X-MS-Exchange-CrossTenant-AuthSource: DB9PR04MB9498.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Nov 2023 10:42:22.7925 (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: F/Mwj6SDHvC4XHTV7QQwKUvlebhtdGbfhgW3qgDJHLBvxoFqq0wmGgV16V3uLdyTb8+tfaLHyoWoUAb9itsozA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9328 Message-ID-Hash: 22PY5PDSFNQRZB4LGMU7M2Y4TQ46IEBE X-Message-ID-Hash: 22PY5PDSFNQRZB4LGMU7M2Y4TQ46IEBE 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.9 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 Wed Nov 22 10:19:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chancel Liu X-Patchwork-Id: 746048 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 289DEC61D9B for ; Wed, 22 Nov 2023 10:43:55 +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 10F08DEF; Wed, 22 Nov 2023 11:43:43 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 10F08DEF DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1700649833; bh=3zJRgY6sNtzDRSuEdvzIi+q1Zv5efL5+j0oQWe0KuBM=; 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=oWZXpy13Jw8vmhYaoWBYnBXBswfJ1r1+mwBVgJd5b37rka3ysABRDh+kQ/3NciaXr R9VpMM6G3ZNNS+w5lBjOwVgX6lumz2EaJiG5sAEmf7EWorILGGlzLI1fiAJrWR7y0J Rn9IK89J+e/3kLEr/qW9VdCub9+X1XVsJQtkpXjs= Received: by alsa1.perex.cz (Postfix, from userid 50401) id A8464F80616; Wed, 22 Nov 2023 11:42:45 +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 D68D8F80614; Wed, 22 Nov 2023 11:42:44 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id F079EF8055C; Wed, 22 Nov 2023 11:42:40 +0100 (CET) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on0605.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0d::605]) (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 D9C51F805AC for ; Wed, 22 Nov 2023 11:42:30 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz D9C51F805AC 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=KcGVyZQu ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=K3AR7lwBs5WbKm5onKP1zMUs/1vVy+xbeqxF54zj2dfel2Gh4fMq6Sh7XxnLPKTkTvM1uD/Eh352528P0NdEJ+aoIf1pBEUAU0obfP74woehXMXUla6Lg4FuygkG6EGcTA/ioWsE2MTuFTHV7HONeRbTNuJEqTsLkipmaYtOh73PN1GGsOF7CdHcFXelBZruhvTHHu6oxiEMcEYgZCtc+E2tZ0dJBHCqjBCBCqLModgNMbgtXH8ZGQUyfSAUF+afCJosJczEuC8ZsOr2CQemqJkTFC4wYWtJ0zSHtGUFll6ey3Z9oQB65BDr81zf7/gY2nO80Vr4cFvt6eIXuYCNlQ== 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=gKO81IDu5hS4rxZyDV+Z+W/4AfsALN9cBXBa0q56iwI=; b=jfoSG6iB0nfAt1TFWU/rEJk3tK6x3CBuDftZmexTR5cmvhAmqRsMCIIeV7kq77ButPY8qmJRRLnFwLuD9Xro0Vab3KDht1hlaw9EiPwX0NeV4e+CI15kpnjRzkfiArf1L1U5DQX0Z1pxlyOsGHomwcnbirkJxrllK+xCmcu/DTcpGwhVolv/QvYk63fYEV73Wkbs1wCqChtd9JVN20mZA9Er8GT0/I0vEuTzMaMyUF3cEDYxL+OTKvQQAWmcOh3Nj+Ucfu14bBVV29Jcb6iw0BKj5Sz0o2uMWpiOWhoX2NLgUSlf9xuru/Rl8NiY1ygbd4DW4LdkE0seSnCqRW4hSQ== 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=gKO81IDu5hS4rxZyDV+Z+W/4AfsALN9cBXBa0q56iwI=; b=KcGVyZQu/FVNk6CEckB9lfSbD5x7MBS5FrmVfXgSUItXmFyVdsp86XBO3fTMM7BreJEnbddj2zjFEddBB91JrSELUGFbMrno4RtgbhzLq+Yd5+uouJH6nF3P2vnFIxSrDB2bO7mbUxHWHILtKOKE+qNirMvd1G4SCTo5SpioGHg= 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 DBBPR04MB7577.eurprd04.prod.outlook.com (2603:10a6:10:206::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7025.18; Wed, 22 Nov 2023 10:42:28 +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.019; Wed, 22 Nov 2023 10:42:28 +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: [PATCH v3 3/3] ASoC: dt-bindings: fsl,mqs: Convert format to json-schema Date: Wed, 22 Nov 2023 18:19:59 +0800 Message-Id: <20231122101959.30264-4-chancel.liu@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20231122101959.30264-1-chancel.liu@nxp.com> References: <20231122101959.30264-1-chancel.liu@nxp.com> X-ClientProxiedBy: AM0PR03CA0074.eurprd03.prod.outlook.com (2603:10a6:208:69::15) To DB9PR04MB9498.eurprd04.prod.outlook.com (2603:10a6:10:360::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB9PR04MB9498:EE_|DBBPR04MB7577:EE_ X-MS-Office365-Filtering-Correlation-Id: c5e93007-0548-4cfc-af04-08dbeb47b8b4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: HuskfYUGlWYm57+dG6wOO6AgmNo0UEaDqGL9wY7Zcku+Jy3YDc6IxrGHfP4x3K+GrN9Vrw2xV1MnNKaAmc6c58np48hEYd9wJ4vGCZk7fQIDW/8nN8GeXCHzwp/Ex0stzdWJlPrf0yzmKBH8KrE35+wgaHAeRx1n2Eg0IJDVckeMr4uFIzeZBdYtd0aE3HL7uCnqJVFDAaK/sb3VXay98ce5KgxKX3a0mgt15VuU3SWf/C4n0XcvsS3yYRDmGfhiIRTFI6iJFo44Y1IZt3CMvJPiWddAtDqggCK47mZQuub/mGNatdJqJgWV6+4U4fPLolE0/kNCrd89cFUpa11IC6bG6NccmEGiVRFxao/mxf7/0vkpFq42q9dnfpDuFZ1UOAcoROBMl0ULx7aO+lvQYw/p2tPTvN+vmtLIFh7TnLEKPtfh/rpBTWqH1uIPzezFz7sIHak2c+FbHFGuj2wnyd6gEgOrgP2YHWAgL1b1oado5gsBzXu+TKSh+dqMFiymjI/+wgQXcPxvgsqGHYZMujA4I9HiH6G1UFJGBUYh7ua3MBSL277zDUfruVvBvsIa8EFFz4aRIijtatO/SMkpuqHXaiJPvwbEyPWlOrbNXXYHbBchpDTh718eaSLKk5WV 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)(366004)(136003)(39860400002)(376002)(346002)(396003)(230922051799003)(451199024)(186009)(64100799003)(1800799012)(8676002)(66476007)(1076003)(8936002)(966005)(6486002)(38100700002)(4326008)(52116002)(6506007)(478600001)(66946007)(6666004)(66556008)(83380400001)(6512007)(316002)(44832011)(26005)(5660300002)(2616005)(2906002)(36756003)(41300700001)(7416002)(86362001)(38350700005)(921008); DIR:OUT; SFP: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Q4+I5RyBJUJBDj6isayTaAw9hXo7Gly8ysmdBMOTxgsk0u8qY1P/mjHu9fOWg0GHBB2qJzX9RERHdWEqBQwqwQ39lhC8yrJghYoqASl5R0PK3tvjZHqukLHTbFim4o4mR1tr7Ilu/aAlZV5qhusBcuY2OklIZebmH1aG5LReKJT6jjfwULlh511gSdOwCDMTuNnGExb94NvG43rIF8R1TpZkUD2IVbT2Mm/f2AvCN/z8sghlImeDtTHjaYVZdRYHN1P1zrq/RisYlHAjzi37uZ6jMpLMpDAc3rvA0qm0kwO6yHGTkU0uKntBSBenhXUaVWlyjxBKcxJ/0XU8Qdi6l8n2rHTo/iTAAB35erRd8DQTQxrFIGlSNmQxTYOSb/vaXieZ0seWkAeDwFMWCCyBcuw0JS6P8Jnd4PGJ0EgrnqccPvP+bQB35IPZyLdFiqOWjGV9t5Aqq0brrp26+DMZGnEBQCMqcOVmL9M7Sqh0DziiM//xiSGmQlwp0kfsaC9I2jQ2F80ysa3KCL0dDkyRCO3dHxUfsWs5tLxRG6DeaFfoB7oNY7cvMdLQYpYrvOY X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c5e93007-0548-4cfc-af04-08dbeb47b8b4 X-MS-Exchange-CrossTenant-AuthSource: DB9PR04MB9498.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Nov 2023 10:42:28.0597 (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: seKb4RU+pR1jsYekqynPSv+yj8KegFl/LN2A3eGOE7VUf/FHg6CULGOGBEa82E5zelMU2EsV4suLbllGoF3kVg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7577 Message-ID-Hash: 3VQAEDREIQOZRYDDFHWK4V63ZDVGPC4U X-Message-ID-Hash: 3VQAEDREIQOZRYDDFHWK4V63ZDVGPC4U 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.9 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 | 105 ++++++++++++++++++ 2 files changed, 105 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..8b33353a80ca --- /dev/null +++ b/Documentation/devicetree/bindings/sound/fsl,mqs.yaml @@ -0,0 +1,105 @@ +# 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,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: + enum: + - fsl,imx8qm-mqs + - fsl,imx8qxp-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 + 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>; + };