From patchwork Tue Oct 10 13:38:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chancel Liu X-Patchwork-Id: 732880 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (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 CE6FA1DFD0 for ; Tue, 10 Oct 2023 13:39:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="mKeiOiPs" Received: from EUR02-DB5-obe.outbound.protection.outlook.com (mail-db5eur02on2042.outbound.protection.outlook.com [40.107.249.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 14823D4D; Tue, 10 Oct 2023 06:39:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=h3DlCGM+zm6bnDn+9U3qf4TVR8kAjOU/rl26i3iDJV+FllSqz1+YEgTMsOFUklYRU3DA04rcL/jsK3ak4AhSjloykWMfenHSTDi5MS7JdNP/dd9wu8TXFCORN+0qUr74rgtqzVEmXkbjAlL/GqdXqn96T4MNJf3ccLkmq+g+9c8z60xbnTLwKOvr9oixMM9q1R0mHAbwfrgvLrxZXUV5SK40km1HtwyawlB9vOkKc0DLTz+k5yhM8R/6L/SMZok6t/zzEKmwChpp7Vpyl1a1haTiqCKs+ryQs9usMBtOfvil4Wwsnk28nq9Sbv64uE7IT11hPiDUWCmUx0U+cfDVCQ== 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=kWFgDR4XULeGsuvmgvI/uv22/Oc4M9BPQPVNwLll7DQ=; b=FOnO7F3nVyi4Hn63BUp9Ib0Sdw1qdqntzFdo0lRtouYx/3QpFiRE0l7GXzHWMJpWykwiB8bkwjuzrpm/hDQtmExmXJCEdDGdM0dzMG4FkX29Ef1F3iosCN00o4I1M6Pm8ZVKnbfkkLVV82vd3StMb4ZkJ1EGsb+RbC+ZGAX4QHehUgH7giFhNu3pRNYCLUhrviOXcBcE08RZK/79HF3yCwWsoQaM4Wd+r3n6I3gpWZd47dLvsOyvgy2h58AZReeT4WGS2M7nTSGCNJPhwnhtoFlNs0YmNcRiiz8RSryzNcQhM+BNxbx7Ab0momjynjPIS7Ka8/KUrUvOA6Uy9NTZyA== 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=kWFgDR4XULeGsuvmgvI/uv22/Oc4M9BPQPVNwLll7DQ=; b=mKeiOiPsT7HMYWQuB+gxJj1khK3lRUqtL/j5Lr6yuo+BYgWJSDCxA+k1JnE8iODCNFCZDOJCWiWYawfGdSrNxzZi/VRzgzt7niIA1ld6dF81JhyifRYZ6z7tPmLXqsvyjhlBGtEil4TeIj1S5yziM/qoxkztp+clCbKn9rZ3HR4= 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 GVXPR04MB9831.eurprd04.prod.outlook.com (2603:10a6:150:11c::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6863.36; Tue, 10 Oct 2023 13:39:11 +0000 Received: from DB9PR04MB9498.eurprd04.prod.outlook.com ([fe80::51f9:b8d2:7ddd:c74f]) by DB9PR04MB9498.eurprd04.prod.outlook.com ([fe80::51f9:b8d2:7ddd:c74f%6]) with mapi id 15.20.6863.032; Tue, 10 Oct 2023 13:39:11 +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 v2 1/3] arm64: dts: imx93: Add audio device nodes Date: Tue, 10 Oct 2023 21:38:36 +0800 Message-Id: <20231010133838.799714-2-chancel.liu@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231010133838.799714-1-chancel.liu@nxp.com> References: <20231010133838.799714-1-chancel.liu@nxp.com> X-ClientProxiedBy: SI2PR02CA0019.apcprd02.prod.outlook.com (2603:1096:4:195::13) To DB9PR04MB9498.eurprd04.prod.outlook.com (2603:10a6:10:360::21) Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB9PR04MB9498:EE_|GVXPR04MB9831:EE_ X-MS-Office365-Filtering-Correlation-Id: 5c577109-d742-4dae-9c18-08dbc99648e0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: BxWQakRzHgk5TekYgwxVx4euBKEI/tEe2ycZzYqqtxZCwmcfSWrwPGqvQOgNwS1FoLnkkAcf80TcwqbM0Ea9DuAJrPkWRg/8INQRCIfF2ldP2P2cEjb18lR3kRfYLxgCiM5Z3rIO6qAaEOAmMfpxOq8AzX2X4xzSfIZh1mpsPbx+7TRoQaQCgFMk9NNJmvZxYsgOcJMyRXrultZrOmb+U4dx8jSbjCWLyS8tpD/RTEvZOtEIPZnAc+HTgU6fisDLiAblVInLSbKuEbhR+zuoQMpb3SaMwaHQANXGWdY/jVqHK5/c04qmQfosgG1No3ONbbbd9KZ6UHcDv/arlYqyr2d5lc0Fj1NbOezILNIkWYMhDm6ucde7iM3kYARSEkq1H7JB38gKD+jNSkmHP4pQtioNalRMExcfrQ/nCoOlZCRKSNuw2kucZNRtDtFraF0P+DGmYD5YGFR1eDhpWnzpFLe375Vkw8LYDAXe0oFlGoUUwnxXX2l4phL4umnAC/P+/sykcMVAvBVEvSNhoDSvbpKlqyVGbaHvrSvIx4OBBVIPLfgMuqHC7JPC0bIdGYtwsLlRFA/GHUh+QrHqOr4Ec+m3//O4DYx8y+mhPm8/9wixDt3aTSr+dcUVQRShb9RmfXLxDYbSrMp2wPk7NdDK/1EbDEzBJlVA7nftAfBralU= 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)(396003)(366004)(346002)(39860400002)(136003)(230922051799003)(451199024)(64100799003)(186009)(1800799009)(86362001)(38350700002)(38100700002)(921005)(36756003)(2013699003)(2906002)(6512007)(52116002)(478600001)(6486002)(41300700001)(4326008)(8676002)(5660300002)(44832011)(6506007)(8936002)(6666004)(2616005)(1076003)(83380400001)(316002)(66476007)(66556008)(66946007)(7416002)(26005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 7vrAqF+g91/goqUfCDGcZvNEXagIWMA4rxiIcnpA/zGtgXWKhnya/KZboUFkJVXsmY/BzIjSfgusf3j/IHW3UB2foXkGOoLj+KW57fUitYXv9XWFGU1doAWDHvY8NbAnHRPbXI6Z3WX9qb35OcHu7K0z7hsA3x1EFYCBciQW/6tOMPFwTwGM1kyTULChQzRn4qL9iceZDDOF9zdnl27BmElxLTi+mmD8Mw/Po1FQxEqFP8ZE+HrtUWJ1888Ch7F4mT5mw1oX7vMZimfHAxBKh+vidpuzwZRc+dCuLjQY1VdnUvFY5vxC+7/6+jfJ+INokmvzfyrmiSrDFfbjYTj/maxHR0w6BnxPtQBBGLzp8aB0shJ61PMI8Rf9Pa2x5fFYQL0GDxwlwvFmI2X7qjFlZl/xAO54nZg9JQH1PKFO2RKpzXFWnvsmPSJM7EK1yLCKQzI4Z4/Es1egJ/L8EyZ3L1j4FRn5Ogzm9gkiUQdh02AhqfK1RiOeznsm5bG3uwp5Q7ZZIFzlhGLFgeO8i0gSdRp8MwyIH6YuVayaCarPTyhLOFFknnnNSpdKCMnIndhFYSgu2rSiSVpoh7XMyDCNG8E8ZZlsNAs1sS0ZyKG+j8xs8vb29Wm615+dVgjlDRdA6Vha6m09+vbSn+Qgk64DFVBEW9Dma9jbUN7XDZtRF+eG8uMkqnZD1GvWVml5oJgoCF1yf9uCqoQdsDDc88XJoyg+vNNfnRljHPddmPzQhF7Zk6/w9cD1ntrlH3JPTew+2y8Bb38m1U61hGNuwUCM49QQbL+/J64NZArPlrjFPYefD9WyfWXpizvr2CboyFcUFoJZyEX4V5dtOwfEv3BzryPQBQ3baZq1oC2Dk7cC1IyDId8f3ZY+GBm5XK3h1QX57o3LTy1lYohWu6EOuemFnXPBKYK0AwUwbpTrmQEldvoVQLjpa9y8HVUCwez7c17xnAWuu1WReSR98UUpur1dSFGljiImwPkoBI1KezsoccjinlSvQUNXuuFjQBlJcH5BajQnGDBn3Rmf76t12LQjujmZYyQUaYO/v4jCIAMWKjH6ejwEIJ3Sv7N+iX4rvWo1gwfR7Rj7iqoeiF3NBAwYkFUVIqcGuVO4JEnQg9hOI9aPBkTpDiIRpp1r8M0F+0Il8dzwhvnB0dRY7GAJtaCBBgt4qed2MT2oI9Ehim5KWwF6mz6ibP9i33cyha3nRC3A0BuGrLen/n4ivw7n0NTO8TpTsQ6qanSTziwamSwaD/9UKmv1Y5tzHFoQoHUK+jJfBCMn98t+Kku23r6UizLo1rxXYgFsMrJd3wdqXgpwWpzcHiBTPBml661N7MnRulGGZqNluCB2q4/aN6fR3Fbfyryuyb916M5T6hv3dxclI45NH7r78tERR2S29AkLmlBqboBl3mTiUcIvkIoKUcXUJxxH+vit4KgZ1zVJm89FP6ohJw8wFR8eDn6Ac8KlUq9dHctxq/CTp7s3YyI5joHjs/gUPOldRRQddKgwJOEUmcfrkL5CmPp+Zy5VYOsY+Bcjg30Gzl/l0qWeeihkZd1z3gKM8h8oXUd3/+/rx3Qdf965+qET10ExF9VT99cG0yop X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5c577109-d742-4dae-9c18-08dbc99648e0 X-MS-Exchange-CrossTenant-AuthSource: DB9PR04MB9498.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Oct 2023 13:39:10.9563 (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: jl05N3L2cKVBGwjivQ35XO8uKS70DFFeHqU3LSXpu8uAtOYxlOqknOaKYVv6XPgTNfDe/mjF/vTHucUll5omuQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GVXPR04MB9831 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 f20dd18e0b65..a1310710080a 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 = <&anomix_ns_gpr>; + status = "disabled"; + }; + + mqs2: mqs2 { + compatible = "fsl,imx93-mqs"; + gpr = <&wakeupmix_gpr>; + status = "disabled"; + }; + soc@0 { compatible = "simple-bus"; #address-cells = <1>; @@ -366,6 +378,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>; @@ -446,6 +471,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"; @@ -736,6 +778,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 Tue Oct 10 13:38:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chancel Liu X-Patchwork-Id: 732877 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (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 24E6D1DFD9 for ; Tue, 10 Oct 2023 13:39:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="HEATQdHa" Received: from EUR02-DB5-obe.outbound.protection.outlook.com (mail-db5eur02on2042.outbound.protection.outlook.com [40.107.249.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 07E7B18F; Tue, 10 Oct 2023 06:39:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kvfYyWC+2Bros/sQ119sBbGLGUu7fZSG8WoLp3ogufz3wntxAXIngnvX/LM/hJ/X/BezqxYHTshJq4VachAFMkv0K84YHpLmi328jkhGjXV+ujij0ByxtAwYdXZbQJd/aFJESazl64OaPWpLrc8PjSBiw2aFy8JaLs6ItzAWFRh73IHCh5uuQCTeNUXsjTpB21jexuV/gK9nCVjkgoPGTM7inoGQBtcZSr/27ihtKBOAHb67DSByrHjkc4Uu2zQiebgbj7S1OG0Ds15fygDnVwr7IWywtTNN0CiJK5EH/pu7wYlsDsDGv8lnl36G26I1Ab14hJDSUizLfUvHwuFiOQ== 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=0+HEe2ZCNukE0Oe6BDKCQjlEEpyHyJQQ+G5EjDYXwiw=; b=TfBdUA/HbjWv3rPz4mwl55ILab6UmTMxxpLtcSsLjuCi69azINUwhd7MBISzsr54UE4CTvl5EvD/ivcUHRKzP+ze/o6WpCFKKRU/4DL2TIOZUO+b+vGBok62zVKHJXdY//qAw819n3YjbSjVDC0xNyDNk7A5wEtQc9tMB/UozXObOdbMVt/kmahRGK4OjvymQMsSwbBmhcdckv2yle9WmjjbHZI8XqXgcQYDNLi3ZTfgRrU6BJH++CVMKjGAQiokepAfDUfAnwgmO+6Bi+qWDNI+9MoWhIbhcYdGqLYVy0AhoQyv1u2IWNXXx2XOtqcC6kEe/rFz70TiTHPIgO0ENA== 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=0+HEe2ZCNukE0Oe6BDKCQjlEEpyHyJQQ+G5EjDYXwiw=; b=HEATQdHaplpzd0PsOsyZZWkctb340DZlE7xGai7BZI+4SGd4595Zqw4v4ONS/V0WetEcdbVoQH6suGvK3jgU/yrQmQ9q8Gz8cCV4KQKjF2G9k0lWrjbMZT5NJoXGLv00xwBSu9T5xu9Yy8LPg10sglCXEXoGbYdKtsjIB0S69xk= 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 GVXPR04MB9831.eurprd04.prod.outlook.com (2603:10a6:150:11c::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6863.36; Tue, 10 Oct 2023 13:39:17 +0000 Received: from DB9PR04MB9498.eurprd04.prod.outlook.com ([fe80::51f9:b8d2:7ddd:c74f]) by DB9PR04MB9498.eurprd04.prod.outlook.com ([fe80::51f9:b8d2:7ddd:c74f%6]) with mapi id 15.20.6863.032; Tue, 10 Oct 2023 13:39:15 +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 v2 2/3] arm64: dts: imx93: Configure clock rate for audio PLL Date: Tue, 10 Oct 2023 21:38:37 +0800 Message-Id: <20231010133838.799714-3-chancel.liu@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231010133838.799714-1-chancel.liu@nxp.com> References: <20231010133838.799714-1-chancel.liu@nxp.com> X-ClientProxiedBy: SI2PR02CA0019.apcprd02.prod.outlook.com (2603:1096:4:195::13) To DB9PR04MB9498.eurprd04.prod.outlook.com (2603:10a6:10:360::21) Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB9PR04MB9498:EE_|GVXPR04MB9831:EE_ X-MS-Office365-Filtering-Correlation-Id: 82d032e1-a47b-4610-6bc1-08dbc9964bbc X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: pQO+y4fx80CoTG9QT3Df9+KUQF3eN9H/mWLo/vRxKQDdQ0uXmKFculGllq3JdP0F0eyOUm6b8vda0s3wUuPAsK+n0n08W4jaiI2FDa77PGo97cyEY36FrqHy+srslKgbjxceVfnm+ICZIzlO9H1KWwFvQR4/O4ZqUslOXvyhz2NtLC23IXcygc2zCvJ0Yei7Wc3J1eSFS41tGNvRwoWy52onsGWlPHInvrCchZOvXB4kdH7P0dEsdo1Wjh2M5wRp5qQ2rKntl0gsD17FXSNUIInr7l4phUZKN6MNTnigcbg0xJZPBXS6iR+lxoJKwxBR1+agky2yNGDNgWpkBwIqW47xxbQwgwW/camrkTyUJy4s2EJMygzdgF0dyJ+yXrO9/cnf79hW1+SGv3DMzoNtc8cOpGcUkNjInYr/yayF9XZxQPEsc/IsNJzNzlUM56UYrcQJGk47cTFJDESfDYi1zyq7C/5GBPeObRxgn6PqL2mcY9fkbwAlOZeFP+8nIEpV1IuinzsU1zTputclkX8VjCqStSJPhMTbZgMjvah6XYMHnhSVERO+AGH8BWhtPojk1Guzye5wNVaOdawlUFNTih6lWyg0Xc9vZIFxaW93Ogq+yK3YxX3+TzsWOa2o9GfasmGHlokzM5XUDLwKtu22Wy+utogvQes6NsZgnQEibWM= 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)(396003)(366004)(346002)(39860400002)(136003)(230922051799003)(451199024)(64100799003)(186009)(1800799009)(86362001)(38350700002)(38100700002)(921005)(36756003)(2013699003)(2906002)(6512007)(52116002)(4744005)(478600001)(6486002)(41300700001)(4326008)(8676002)(5660300002)(44832011)(6506007)(8936002)(6666004)(2616005)(1076003)(83380400001)(316002)(66476007)(66556008)(66946007)(7416002)(26005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: gSPIgFnsj94ymV6WjGarB2DEKngYFsYyiPgGWJj+94/PlQY5gQC9iyfS+dQu3nN61tQ68JoghMEEX/pAumhe0rlvtzXnygC5ZKlYz34dVZLw5oT6INwQvuIF0q35nmYons6MhtrxHd83VYw0QR6SJtc9ZzI/yisPB6OOcZv7M3FOVY8YA2Ly1L7zJoq+66BgNl4Qu7YoumPVBWL1gFjnZBf2XMFSskROVZAi4CWWNMnMC90/d6IJyMxcIpfa1ZUBnb5msKUZRNpFtqaeh8lGsMZOQBMuBvc3nEFAoJVyErKwyptz/ywuMchq1QMh+podAekC3gxDz0vlBdnVdisvA/FtaOh1hs5jceHEMxTrGWeJ73lAi0Ged1LxUeISOQCm93u+yVPdx4ipvzG8bTEu+fyKOO4Xd2o1H+mb8KwhOOJWqyaLTNR1Uc36dODG/DP3qQe9tR/7qK4vh2Um48YqjJknQ2Od9x4MUz972kuZQde4LB9TeXfXQVNuq8o/knuSNeK9CxMPvF8/l7emnc8z0zie/dgMnkymDb+nKI/pEfcZW8OtjoxypjvGsDyQZwkWPcKjCNzduV/cAk5fHUy5m5qwKzTDC32wP8XETgIKFEuWaKvFOHQAJk09vJPBBycq4J/BN6JtIfpFwwFHw10HOC5m7HmEbtSJZ12EXMsvU2eJHbZ6kpl8ztb160orakWllWzhZ5RemzPWQtJfk7a9XGloj9gEjyPVha/EjX0ZpTY9+szKl8mEUlNPGtSq0BT/QK2aj2Gx+t+beKN8XjdDNvN+StUAo3UTyQuMrosw/vwmzpLgrmFjusR1QCmcfC5A+EKEy5QhY5oJqcwohlMwSNzr2I/S0BWAUH+4HFFxe7OD2kVrY8w7nFTNx9AySjpDuYqGmqV+DoGbZSGCly/skqSHoudtbbE/1kKOR8F4Ktr56XP8U+sDGpW9Cgn4b/6Bi+b86Etgzr4vx8j/x4K6WofMULR6q31nypawMCU3ppB2DUv7OhZLKJhQIz3utaknwGLz4mcJEqzaPixeHJDsTx/BUvM+UvBX9tiJJxeV/5pnQkD42PIe2Myj/oPhiwpKBklY3Ix2gtD0OCmh6UXtDfLWHdocaREg1R5PO12kOQyMtvB1CQhijiwWEzcourwpzS2st9bxUjUQWGss6fUbGseKEyHuwN20UDYh7Rs+4iBkYXHT/saCj2jrJjq94QQUZ263aEWh90DHfrYkLSjfpdj0rAFfgkvgSdsEaLXbvE7QYLMCWK/8qMR6TKhQrQzBfwCLh6IakjBJznpuLT5jeyclSDg/9WWhpYrJIARbrobPyNlzhaRa9t0LTF/XI+jWHSgWzkU9T8BQ69rsIg2GdWC3D0VUhHW0D9AEokgFY6WGwFu/W05atIU+T7ZlVIV5+HOG2Nxt28LZX7vb6cTGhi9vg96jLTJ9ze3jpY/UZfYu1SSm9u7QNfVJ8GDDzMaZjgDyCEMmHMEJqczU1safy2qSlYkl9phBW4sKB2W36X4Xj2PKnCkcXQ/wZSl7NcxEHG7sjL9DK1XikUJEOnw5omAmsyvuPWSTwOOkWkwtfKW7sq2lI/Dpm+XqkuGKKVsQ X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 82d032e1-a47b-4610-6bc1-08dbc9964bbc X-MS-Exchange-CrossTenant-AuthSource: DB9PR04MB9498.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Oct 2023 13:39:15.9114 (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: VwP7xeimMOSScMCcB+0y3Fg/qpo1r/7I7OqE8njRkiHpZxdud77zOZ49K+eKcAFenQ7c5iIFfrr6xPar/TjJiw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GVXPR04MB9831 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 a1310710080a..1438074f3bd9 100644 --- a/arch/arm64/boot/dts/freescale/imx93.dtsi +++ b/arch/arm64/boot/dts/freescale/imx93.dtsi @@ -419,6 +419,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 Tue Oct 10 13:38:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chancel Liu X-Patchwork-Id: 732876 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (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 DE0291DFDA for ; Tue, 10 Oct 2023 13:40:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="SRWUh6Iq" Received: from EUR02-DB5-obe.outbound.protection.outlook.com (mail-db5eur02on2042.outbound.protection.outlook.com [40.107.249.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 070471721; Tue, 10 Oct 2023 06:39:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WDd5vx5E5yxFStCfohqG77tDtvVzqXpvduhXnLkW+UlxLcoeHJVqRNQnMG+Gz4uplgw2FLs6LAspbmWIcZLUIKCuZcpHJlk63msldILB8ga+d65uoazG8WigWrl9RwJ7svTq0UM9Rki5UmtlZP7M7OZDHovd+X8nGXgLG4+dWCeGy9U3ISLY0ClKhvrxaysuRb553hLV1uLe0w8IWoyqxd4P2Rl2AAoYsm07oPkbFpxqU4lMopuJL19dn5LrGbkdyElTOOZ0QpSkmL/ZS69PrbQyrwwH8gNSJ+sn7eyesnqTdWBDey/BHYUNl64t75Cf/L9qEf3gTW/tSmiH/gt0hw== 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=CgD7xtr+AlJt7OTxlu0cjJdSBqzJFWnEsLHX7bDNbL4=; b=ZHty0I/Rx5LjjXnDYIRs+ropt6MA4gqaR7l2pZ0yrKhZzTe0NJjwXbRl9NQWEapvH+7KSzVrVwEKhyz8zRlFOn6/W6ZNC4jPpmbExQc6ZiocJSDki3q4x/ZppmuNdNHeA9i+LcRsd1alfkl5nG/U3TiHC02bV0GyMOZfwmdXgMTDpZT/jtfGl9vk3ClPT56G1NEJwYGewtfx3FXrjO3V1NEofWR0uIW5Xyikik7AgYTOgp6yoZeaQfqbgaYBqCXZhRnDDhHMDhCu6FmBI5454RveM0qivFGx8TSMSnxqAJoJqGTvM9X76IGkMMsQCAlrEdOfCzksnKAwMYiEVfEPhQ== 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=CgD7xtr+AlJt7OTxlu0cjJdSBqzJFWnEsLHX7bDNbL4=; b=SRWUh6IqU4ZPuJu1wROAyUD/RS0/wiyzon9zhfNv0R+JwqwowAdXGnxECD6/tQ0KpO2wrdD4hPBFaNfxx2qmUdmGyADBcKwIDkfXGi5UEfJdK4UNsPeBjlcMe5zbjtIy8YNcPRoEV3aizeEDAyigVzixS2Gs7HOSJHSFWjuZl3w= 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 GVXPR04MB9831.eurprd04.prod.outlook.com (2603:10a6:150:11c::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6863.36; Tue, 10 Oct 2023 13:39:20 +0000 Received: from DB9PR04MB9498.eurprd04.prod.outlook.com ([fe80::51f9:b8d2:7ddd:c74f]) by DB9PR04MB9498.eurprd04.prod.outlook.com ([fe80::51f9:b8d2:7ddd:c74f%6]) with mapi id 15.20.6863.032; Tue, 10 Oct 2023 13:39:20 +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 v2 3/3] ASoC: dt-bindings: fsl,mqs: Convert format to json-schema Date: Tue, 10 Oct 2023 21:38:38 +0800 Message-Id: <20231010133838.799714-4-chancel.liu@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231010133838.799714-1-chancel.liu@nxp.com> References: <20231010133838.799714-1-chancel.liu@nxp.com> X-ClientProxiedBy: SI2PR02CA0019.apcprd02.prod.outlook.com (2603:1096:4:195::13) To DB9PR04MB9498.eurprd04.prod.outlook.com (2603:10a6:10:360::21) Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB9PR04MB9498:EE_|GVXPR04MB9831:EE_ X-MS-Office365-Filtering-Correlation-Id: 13b6ae65-6c5c-4f96-11cc-08dbc9964eb0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 4DLeDKsX+1TZBSSHl5hCIS+G9G4hp70zIR/waP8+jgkuSHRTXpvfUlTklK2QbJhLGniHgVNURoVtVTMuDhLgPPLBBD8C2FczHLd9kCuel8tHukXT6RkBnuvc2gTN+0n+ZeALxRqcS5AjUtOqmPRb7pYgL7foGC1JkmQBN8xcDin5/ElY2yWRNY6v/LCoIl+WlejmpZUgH/jl6P3VEX0lxq2vtl0s1eLZ4hN7Kf689pSejRxcP7LwhN05SwyReQjRH8h5qlOCzxSoEyMhIMDfiqyjQV8b2sCTkT7vcjmlANEuFllkpCu40F77ntvsu0S9JzWdV+bQxTkRD+sEJg6fxQeMk5B5UAyYj4COXzFM3atkYt/LSPvB1RM+XXAXmGGdxaz0keKgLdfbwmKENGSgeBxnsx1oiAEC41/wf8nOpMWV50b/bKviKfnRs5rLr1HWHS0tZ/GGDUWLUEkVIjup8K/o2t69YFd+22FSu8DrOfaQbttEv54TlxGC/rZA47VqAKq+JaR9DOdgkr1v6OYdVBSIddhl+Sp3hQpGeFyoUm+yKJHb5U9QWhRz9A0rrXlxAB42aeE9VvnizDFAUWsILSNn8opKsTLh6MOxkqoXUa5GG7KXemi/Eccdx4D41ndM 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)(396003)(366004)(346002)(39860400002)(136003)(230922051799003)(451199024)(64100799003)(186009)(1800799009)(86362001)(38350700002)(38100700002)(921005)(36756003)(2906002)(6512007)(52116002)(478600001)(966005)(6486002)(41300700001)(4326008)(8676002)(5660300002)(44832011)(6506007)(8936002)(6666004)(2616005)(1076003)(83380400001)(316002)(66476007)(66556008)(66946007)(7416002)(26005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 84QAUXvUdIoWIlF6p1iJfI1GWDvxh8QrQKH9BzNkxaPNOoqskMjTNW9aF7xEccFbqFo+KMtZqkX9cjoQBBtZHdSWn6WkKkExNGydj88EryUX2etDrway8kKNwUdABIhoSebq1nAzXEyFtSmB5iUVH+aeITpkOVdA14w0CF5k5fYu+Z4Y41mXdnrYeiG2FqvnXtDYI+OMDtC5uh2d9lzJA3f9tes3Q1Pu6PXGbk0QbjUwXm4Vv4UvVn4gBA1gmm8CNBlvdTxbgj1Bo4n/OCfoCga7rTpndjL+orM4DvjA4ye3wJ5VL97OQQA+cXquoaUO0po0YWVaEjpk1lIGWrmfswDzNbfz4wl15GJDacINiN5qIAegAtNhLC4tnkwOSryI50IM91k+aBNoG01WvUB87zMRhpmj4XGk2Sp3WxUDDEdebbzVuJZwHGdLurEja/bUktaO5LCFDSxq7OXANnkIHt7BTfLuDnIlf8i1NVfgwOr5WgqXp3Iyn+qAz5V+nrthskfBwddcj6rw1wsHrSa8+6Hz1/TPdKlznBgAuWmpLAtsqGb4vooEjaslm6vfL0/4kTS/GsXydyzh0mrO04RjV7+a2OKNzVosJG8z7KfRQjdyDP84BKYEQQw9EcmCKuUU1+jDpfBdW/mn3fDsFdCnruv4zenqpEVlCp5l+AxWFu0HglVwX0YCO2ZDS32fW62xMNFY/P1CyquaGd+SmyL8eXltut74TRUdpjO4Iye7i5N11WHiA4qAXb4LVaV+GNamNGl+Fl62Bo8UiA8ARRnNNmHrBOwAhLnQ1AytQAYHCrSX/w7+ZkIRCHQhNROfGuFs0WzSjlOUD2f0MGvjwxkQsNB+VCc/ujRS2KKwmi7A72+YEdh1zkKlTCoyrw+vh2HkeQHUX8urN84Dbn4hQQ30OQjsZznnNaaLfUkeVwpw699trhwP4VNzotNfkKvggwvbN0jgYSUFsL/0OHgahe4NHfuiuZrz/azrRYp4aPt2RL3VAz6cB8dwoIJ94FSns78PNEHoWMM00X7MaqtofF/3TMaN/FeyYx2dkLCNwxizLH822NizNX+on/PSHgxOSgZUiHYTzXK9kRpFdT057Ni2LqSGCL7x5WqDft1SS8SYFWydKvkT1RHQU8pDAg/SM4lSGU5SQMJ1h44Q0sx4i5AG3yU453QBqjnrq+g1DksuxwTqp7K+ktgEisomVw173kqlTyrIwMMvkqrivZ7eKsxM030eDzJrwd/gt6Dixbyiu8vUpo+FjKPD3jC/cikcUwS1G6QQ+Za2amol/HuHTfCTL5kjDPP1iq7mt05nmMO+uHUa9ElFCZbOQ4jMSP1jb5/t/W9e8kVtysBFYh7T/h3A85ou+w/qBXqfKqiSzwIQCGG+I9MpMPqPcfaZv3m6/6e/8KG8v5BwYdtbOP/n27xr3252hyG+xsTvhsnlJxNL8pkiJEwQkolI337TwBOe4A9xczbFr9eEKa3WnBMgl/ZTK8yDwKCeQBITk424qL9HBhtdFZVNP9x3MYhpOcxGfhk+9T9YZGslTcbx8+4jIkH6FBgKSYTAfkZoD2BS+Rv/GV+CPc0CVMfmnUI2OIqw//6Q X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 13b6ae65-6c5c-4f96-11cc-08dbc9964eb0 X-MS-Exchange-CrossTenant-AuthSource: DB9PR04MB9498.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Oct 2023 13:39:20.7007 (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: Wdh87vkZqCKvKbb4/17S8M6Nz86yjOLxztbeJvxydduU4RnyzdKYXbk5Jn3jV8Ni33h24TfxTbvj5JxvBih6Eg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GVXPR04MB9831 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Convert NXP medium quality sound (MQS) device tree binding documentation to json-schema. Signed-off-by: Chancel Liu --- .../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>; + };