From patchwork Mon Mar 18 19:00:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13595724 Received: from EUR02-VI1-obe.outbound.protection.outlook.com (mail-vi1eur02on2051.outbound.protection.outlook.com [40.107.241.51]) (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 74D205646B; Mon, 18 Mar 2024 19:00:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.241.51 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710788454; cv=fail; b=QJ5Nol51Lk8EzuMRW4UCxRe0qEnJYYOoRuTWBnneNy/xERuoK6wmq7YnBnEbEe19xOpr8z39Ln6mD9X1xs7tzrkqejRrdprI3A62dEt2scEtd5nYASFIKsCBgdbKC9XLo9G2YfWlA5K62js94T1HufFaRVL28Y5glmzAT98+Ryc= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710788454; c=relaxed/simple; bh=1syz/aUeJNCMRuMdqZfLAmwttcSh8oLFScKSrTznruE=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=bkv5fv7JepZ76Hw4rmxN0NAtShnRbnJE3YflV0SDiYJbstwieucjcwYKlZM03aSoffuN+sM/W7o6HDN4T51w130rbk0bJQTJsrV1US3t58vXx+CScLAAHxNTliEGR9p4V7IEccq/Uncas1emkhY3KUuwjN1/dmODKkMmpveix5k= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=IZPY9GQ+; arc=fail smtp.client-ip=40.107.241.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="IZPY9GQ+" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TivXBqXBA6v+Q/GexWClbYJJlKjLHamfxkfzCZUuxTfyg2YSVD3jg8QW9rHQ1seODi4vrpoDwu89U5CrdWOeWZJLguJS5DtLxEa8ciofZjXHPcft9qgF+UBNxW8OGxLnTk43/gTYzOHGSt+bd5Tp7338cOZezh6jSio8Syb1W12syXK+lSLjmVdQA6Mcxh0VHGs33Nyj+AA3CsP2FzucZBPOgJLznR1zuDgCZIPb1QmD1qFvbcQh+fRWl2eVY0eCJ2bqVghPqYztShiT9wRV6dA3E6XzdjdLNaipOucC2c5jeWaenOhi8yBeUIiO3/MDLloU3BjTZtIjH8GXKUZe6Q== 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=Z+87M1nJCCt3nFThf9vTFK1j4y9JjuhQ/XCHl3Fycsc=; b=SS3lD5EI1Kh8dt4zKC7l8cnryWaHIymYQh68bJpSjn66WBea8NMQriF2ydMOVbB3edAvRZBOmGzJVgwFHWQVb4YLGsBnUkzYTEEzFLCHCsKc0Ymh39LdpIMI1TXFhdu6JB5otMkuJVASb5PP1DkQGRt+Dk0Voo8kY0yTIoUTn7HL3rlrvWoTp/jf+nSoPQJ0mKEynM2YhIaftyquJ3cgIvSiB4UC8RxAcvVysGxFg+lc4mAdAY0t0jefcPIb6Bde60t6fi2tnKH6fYSaFjh3m6CuW1Srv7Fjx0gFkSjSp9h8miEi5ypEt0D5LRWi2O9dpsSGa8lBvJuRaC5m9Ox7Cw== 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=Z+87M1nJCCt3nFThf9vTFK1j4y9JjuhQ/XCHl3Fycsc=; b=IZPY9GQ+8zQNf5mweEuhBnStXGZ7Mfgiekmp1aOcc+ZIJNQiCMC2/lNaPfkzyQsMkrmc93jc1JRqZeIgQ5hJ/cUdrgBAxQp//LzzzD9kY7JNXaWCOv1TF1yCl6p5It9T1Or2OFmgsNog6iJHkZVM6U3OuNSITMPO95Jb6ZgA3us= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by VI1PR04MB7119.eurprd04.prod.outlook.com (2603:10a6:800:12e::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.26; Mon, 18 Mar 2024 19:00:49 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::3168:91:27c6:edf6]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::3168:91:27c6:edf6%3]) with mapi id 15.20.7386.025; Mon, 18 Mar 2024 19:00:49 +0000 From: Frank Li Date: Mon, 18 Mar 2024 15:00:07 -0400 Subject: [PATCH v7 1/4] ASoC: dt-bindings: fsl,imx-asrc/spdif: Add power-domains property Message-Id: <20240318-asrc_8qxp-v7-1-01ce5264a761@nxp.com> References: <20240318-asrc_8qxp-v7-0-01ce5264a761@nxp.com> In-Reply-To: <20240318-asrc_8qxp-v7-0-01ce5264a761@nxp.com> To: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Shengjiu Wang Cc: linux-sound@vger.kernel.org, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Frank Li , Conor Dooley X-Mailer: b4 0.13-dev-c87ef X-Developer-Signature: v=1; a=ed25519-sha256; t=1710788441; l=2330; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=1syz/aUeJNCMRuMdqZfLAmwttcSh8oLFScKSrTznruE=; b=jCSnKr6kYbYvLTkeujBreoC3V6MfuKLmbvIBCBUm9M0O8f9nOCXcY0Z9O/ipicIwWqza43Wqm rBdKOJfYtBbARcXP31RqBGJQTtBYLoQhGSZ0upGZarseAuTYTy63Y3H X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BYAPR02CA0018.namprd02.prod.outlook.com (2603:10b6:a02:ee::31) To DB9PR04MB9626.eurprd04.prod.outlook.com (2603:10a6:10:309::18) Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|VI1PR04MB7119:EE_ X-MS-Office365-Filtering-Correlation-Id: 6ff5982f-2c56-4054-e6d7-08dc477db9bd X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 8i4jkdcsAfBuqRbkEJNAY8PSZuU2g5k1uKc3nSg6ZU/HtE//jyXtHFrxqQDqtPOAh42tOCBX+2pI2N2sqymdlvO8AJn6i5kuUI7Cc6ElxOh7hl7QUwv35rzt1ZnhGNog7LDRaJuzPllj1CFo90JoYUyFGXH/gHR6LLKBfGeEEUCGDeN5+rYyjVuM1lz0XMoMxN9LGYKJlJLra8SfkA28c7AHNlnWVKN2pl1h8KuP7q3j2/tpk3cPoHDCQP5s+5R5c36gFuMfSHswRS2va6SZRddG2IyTvhnMlOvaggPzgw+Q1myUSAHWxBIt0ErdWCtpxl9Bm0EmyHURsN8OdVV0VI273z6STUwHZ0It/y8dS0A2YsO1wQzQf0bGbJXKNuwatLlmraeQ+Kngq6Zvlv6z81YePX2KxgQjQsMkCyNm9SbfwGqdTEBehrpXeIRxTUvofScJ1w2SKwlUAfAe7qY1EPjjmbaJ+K5s25RS+Jr9Z5n69T6IqtIwRsGctL696+EVLiCq0uk3ykK+sX+bTzjQBPOkPlOatWZOuDhnDrMOxbbfVAYfceYyRKAeAcV9j3Ls0Oxyt//72bjAHGgcFIZO4//V7r5Ki8kIlD508AjXzGAm/zIq1Rz7xKIMYQk7CoVARFLKZoDiH1z06z26j6vViUOE1asPc8V/dV9VzjxwPEKo+V7pgf+brhJKaxPeYWigxyquvPIsedRsvT0aRGPiw4xCUORJ1YKY6sXdILfIXsM= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(1800799015)(52116005)(7416005)(366007)(376005)(38350700005)(921011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?TzYH0r3TLuCeJqEiYYP7sO4Vkeyc?= =?utf-8?q?Go5W/nRcyRzTAyPDGHWbjDa5RMLq3q5cq6bz1fp2iiPxPQL/KqFOUlpVaU6F2A6l/?= =?utf-8?q?acP4QxvE1ojf6PZ51tctVYItILh46LgJO63SK/vFdp6dSJva38NVkSW7eHpEWU6+e?= =?utf-8?q?chMXE2p/vijy16HKCjP+h3cX19TpHyZs+EPh0FPCctk5U/Lwzl/ZnranTew4gu0bk?= =?utf-8?q?QW0z3M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uXMM0zDyetMcpHtKiyjvfk8M5zxYAtq3D9yIK+0AFL?= =?utf-8?q?3UTppbmsACUTe/rGajCfTujoFwPdTXXTENqbe7YW8pO8QvryGSUf5zc1DU2rptFYn?= =?utf-8?q?0VSFcrvvKLuYra1loRElHN2sOuqrkPWo8Z4h/H7F4AU3HLNMyCUKbCOculYbCrDUM?= =?utf-8?q?vogi7TfDUQX8oA2FkcjIlpD92Jf7GPmRC3KLEDLxdu1BgKlslVgE/Tv6aHnhU3HBq?= =?utf-8?q?0/2nRqM4ot0iiRI7xii6vjp5qA7bP1NRns3cK48GKjusiwNhiZbMepPNbuoug8Wdp?= =?utf-8?q?WLrJAcj8xip0S48MmQ/WWOUaQzaGQM6zlx8sr6PLVBSNnEibTgPY8Dl0zwf5Uk5pi?= =?utf-8?q?dvOjb78RQ87+CoUsL59amXSqidnJ/KEd+y/QTuw2lZrI59x56xqgFNHA=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6ff5982f-2c56-4054-e6d7-08dc477db9bd X-MS-Exchange-CrossTenant-AuthSource: DB9PR04MB9626.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Mar 2024 19:00:49.4952 (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: GW388ECMpL+uv7mulgW1Jf0x0H5UII3xPd/3KTOuSX8RKQVo190X4xk9GQdgnqsJahmpRGWuIAeXrHc6CvIzHw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB7119 Add power-domains property for asrc and spdif since fsl,imx8qm-asrc/spdif and fsl,imx8qxp-asrc/spdif require 'power-domains'. Set 'power-domains' as required property for compatible string fsl,imx8qm-asrc/spdif and fsl,imx8qxp-asrc/spdif. Acked-by: Conor Dooley Signed-off-by: Frank Li --- Documentation/devicetree/bindings/sound/fsl,imx-asrc.yaml | 14 ++++++++++++++ Documentation/devicetree/bindings/sound/fsl,spdif.yaml | 15 +++++++++++++++ 2 files changed, 29 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/fsl,imx-asrc.yaml b/Documentation/devicetree/bindings/sound/fsl,imx-asrc.yaml index bfef2fcb75b14..76aa1f2484883 100644 --- a/Documentation/devicetree/bindings/sound/fsl,imx-asrc.yaml +++ b/Documentation/devicetree/bindings/sound/fsl,imx-asrc.yaml @@ -74,6 +74,9 @@ properties: - const: asrck_f - const: spba + power-domains: + maxItems: 1 + fsl,asrc-rate: $ref: /schemas/types.yaml#/definitions/uint32 description: The mutual sample rate used by DPCM Back Ends @@ -131,6 +134,17 @@ allOf: properties: fsl,asrc-clk-map: false + - if: + properties: + compatible: + contains: + enum: + - fsl,imx8qm-asrc + - fsl,imx8qxp-asrc + then: + required: + - power-domains + additionalProperties: false examples: diff --git a/Documentation/devicetree/bindings/sound/fsl,spdif.yaml b/Documentation/devicetree/bindings/sound/fsl,spdif.yaml index 1d64e8337aa4b..56f8c0c8afdea 100644 --- a/Documentation/devicetree/bindings/sound/fsl,spdif.yaml +++ b/Documentation/devicetree/bindings/sound/fsl,spdif.yaml @@ -86,6 +86,9 @@ properties: registers. Set this flag for HCDs with big endian descriptors and big endian registers. + power-domains: + maxItems: 1 + required: - compatible - reg @@ -97,6 +100,18 @@ required: additionalProperties: false +allOf: + - if: + properties: + compatible: + contains: + enum: + - fsl,imx8qm-spdif + - fsl,imx8qxp-spdif + then: + required: + - power-domains + examples: - | spdif@2004000 { From patchwork Mon Mar 18 19:00:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13595725 Received: from EUR02-VI1-obe.outbound.protection.outlook.com (mail-vi1eur02on2080.outbound.protection.outlook.com [40.107.241.80]) (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 69F0756B77; Mon, 18 Mar 2024 19:00:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.241.80 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710788458; cv=fail; b=W7j91lIHqfsR/Go+sT0Syelde1tmo3zukkX0kXR3P47KvLetZv3lG+vzo9JO0le+cf+ew0+0UBKYgWGzvHFv+8MdoxmVSweqg+uzPytIvA5o1YWQu0k2sL/YuX/XDLxm/m7/geVMVa7PtWbpKHxD+VGUVUmXeP+D0aViJh4QVYs= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710788458; c=relaxed/simple; bh=Cx+fgAZdcGrmwKufC+1dSp+tnHj6uqjwfSRMq+CCFMg=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=lhE/YH4O3P3mRgFjuOAZ87CLjFZO8jbSKjyirCyFboNYgCWHXnH1NtJb04iXvEmL6xIIjuZVQaBrAJnMUHW+CpbMf1LH3zov/jrhPjgWqRv0qt+Aw57RAbtkThGpXJzxLAJGjcWy+cpu5xR5W/xynad7yzdR3PG95icmJYy1jGg= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=Cr6J0V6E; arc=fail smtp.client-ip=40.107.241.80 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="Cr6J0V6E" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aQA5LyN1ePvSbeGzBVCUdCiwJNaZTx+I9t06+5UV4h3rSoKbAFC0okYZd9IuiFvtMhKBK/5pJacPg72igf/FiTc7TVA03VeJc88bBP/+8LX6R/Q+HUqeuozb/srF3olNsHcMPYjoCct9J1rnZbXYiaKPqmd4X+dQMXC5dtTigA8NM7ZXwfNl8J+7iz7dckvkFcGruIaiwDNwX5QMc1uz3gx5Ss/ly/1F/wW9n8Zr+wDP6pCStIFjCjq37MbZmAD5B3f1pG6j0DW7Y1UF4cZsUa57dvWrij8VxYR8hSWvfYDVyJUubWKbV/RCZsU1VkyfO6Mbr/kpfNgPGS3/0b4PWw== 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=sVfCUqBc3JRMpqobSR+Ca6P9QVTiYuggictDS+ChHR8=; b=Glr553fdl7PHzX23ljzjB6Kt9GrSk5UICe7jPEKNs14Uzytn73ZRvKlK1Y7RTsva1d+dnSTfB/S31W3axoq4+mgkqjtNZQ2sJrcSbDJu37kzlnWNWU3/GycdRcXvZdHAx4tQoIzLlolKCwhHs2s8xEPFAbBkAEoy6YIwuVfZ5lw1PCzcWCXVD8AbFEJapZuUauFdt1GrXPIgJaS+10+JaD9PJLLAUYs8ejARZ5qKuM5fiWfhP7E5EkUIIE/NlJs78Lq2SXlyXHYQAA4K+0//ygneq5lQbqpVwTOYIDnqE8bWTGV5t28OfZrjGWreKt6drGzrjhmMmPEEH7C+5MlpCg== 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=sVfCUqBc3JRMpqobSR+Ca6P9QVTiYuggictDS+ChHR8=; b=Cr6J0V6EGv7RjZRA2UnjRAsVSqPEHLbrA1oNj2bhq3OsOmfzKfnSZbyg1UHhv1SjqqgqdkPcNLH0nzZd3GfLxu0D4ulISgIChulSM10MFkc3c2SOM1Hx9o73mco25p6DaMKOQI5QE5v7W+5CkhZs1mA8KOjLJCzLlCKQ3ZtgSkE= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by VI1PR04MB7119.eurprd04.prod.outlook.com (2603:10a6:800:12e::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.26; Mon, 18 Mar 2024 19:00:53 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::3168:91:27c6:edf6]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::3168:91:27c6:edf6%3]) with mapi id 15.20.7386.025; Mon, 18 Mar 2024 19:00:53 +0000 From: Frank Li Date: Mon, 18 Mar 2024 15:00:08 -0400 Subject: [PATCH v7 2/4] ASoC: dt-bindings: fsl,imx-asrc: update max interrupt numbers Message-Id: <20240318-asrc_8qxp-v7-2-01ce5264a761@nxp.com> References: <20240318-asrc_8qxp-v7-0-01ce5264a761@nxp.com> In-Reply-To: <20240318-asrc_8qxp-v7-0-01ce5264a761@nxp.com> To: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Shengjiu Wang Cc: linux-sound@vger.kernel.org, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Frank Li X-Mailer: b4 0.13-dev-c87ef X-Developer-Signature: v=1; a=ed25519-sha256; t=1710788441; l=1349; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=Cx+fgAZdcGrmwKufC+1dSp+tnHj6uqjwfSRMq+CCFMg=; b=yLUwtZ/OjBsa6C9Ug32S83k68sTKya/iqjsxy3hlntrKB/Ycjhx31/Y3hv0TT0wCVZ2xrKp4+ EiVnJdgEmy7C2rZszcNeP7BpNbfZoID7CNzvWgMjCYnLTuKVaYVpoUA X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BYAPR02CA0018.namprd02.prod.outlook.com (2603:10b6:a02:ee::31) To DB9PR04MB9626.eurprd04.prod.outlook.com (2603:10a6:10:309::18) Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|VI1PR04MB7119:EE_ X-MS-Office365-Filtering-Correlation-Id: faaee3c8-39a5-43d1-dbf9-08dc477dbc30 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: OLk9NpeQfYRuQBtshoGwjf5FjmyVOEd3ls3f1C/aJ9N4+3iKBOz8GRJUIGqqHkaYgzzs8zC8lEbykysPf00ozzWz5p+w8GvbwYbmm7TQqtL56HYJqUUeC+YMqs6+3olQmgmzUXtwRlnGOI4C0xtu34o1ARHPVYVrGz7hkueT3r0H3AqoKj0m4lElB5hLpzDUTJLtBhs94YhIGeagRHyY8qZllaees6bITbIg7ZmH2+80UHk9UsxReZfmXtqq7/uFtuJGJt3SgTArWVkqnSPoygyQ8pvRfaVzTh2YZ7aUNuAtK6vYeqaaAvV5WdyzYQE850mSpJ8tsOY+Oh/7xGtPpVxm0Qhw8UZ14M1dzwWg4+ALsDLKHNhrXL1q76LattTH8tZzGP4NW1CqR2IpvX59HaFrJY6Ga4S2fk6NWVtHoYDaKxcB3v7cLhNOsHQDJTEzw3aDB0V/yB7m0vU/dTRch0EtCrqh6et0ekPJIg/elg7P4+U9HoRiiWbN+a/wJCHj2VcA7udrgbgtUP7aHd3eUfKuKIERDOdJ8ZSSUP1ekVOwM4aWbE/h7lAXxPsxxBF4kVmg0YvRWdQ+jyKXzzVjruSmfW4moFUZCp2fjSJjfLROhhVZ5WMAnPYTOW/cnBwh3vina83W71Jt6DafU3m9MesVZFrTaG8s/ahYVO+Ftia+Pdu56tq0wUH+5rBtXONIJOC2RaOqcQu15e/rDenlI2CizouOn+qTE5Bw3nS7ghU= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(1800799015)(52116005)(7416005)(366007)(376005)(38350700005)(921011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?Worv5jNT/aahn+QbbrsUpRQ7zs6Z?= =?utf-8?q?ZSkZPojB61YmU2Lsfg16Z4UGtxjMjWs+pYbGzr22wppoq23PU3RFjnh3UtexiQTf7?= =?utf-8?q?AO/0gsYeYXCx4t2Sk03AnZEmNWlQS+S7TT+27EwxdLqwOYoRLa/6UJ0TicOaoog7Q?= =?utf-8?q?dEv0ykcL4NT1bc4+ongHptYJc6l8GlQO1JfF4h0MSXJe8/Myhi5CyXcCZNhb5p+1h?= =?utf-8?q?jV5sb+jASssoBnaGCUV/2iGjUSTJX7/jVdH9RB5vKQK+mE1eSevy9Nk40CFkxleww?= =?utf-8?q?ahuiTcnohdyQWgQG6v05DMLB0c0SuTKYb1TBWJtdWmKUqDQENcpknAK1f2kxfsITP?= =?utf-8?q?WnnPUb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tEdbzFKH5kdGgAA4NDxuCA9N5pmc7jNc+Cy8CP7mh07?= =?utf-8?q?jcdgMpZ+ws03ZTt6BXktCAMTdMUotP3J0OIrBQeN/FGMOQS8LtEO7OBtj/NGJUiRO?= =?utf-8?q?Tv1paccXiWqUh7gQDQyo7Sb5tSauGCourNJ1jR2I5xzVO/Vcfdju471+prqwJTiN1?= =?utf-8?q?e7e4tZ/kdR4JeqyA9E501InkTDcXfZBzqrqfSBciWIgjIS9CW+YgBx8AcEHnUg7RY?= =?utf-8?q?VE52C2CO0Fj6DLgBMSyPY0b7n1Fk2V+ciHVgRcWjgqsOQqRf1/swkmPY=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: faaee3c8-39a5-43d1-dbf9-08dc477dbc30 X-MS-Exchange-CrossTenant-AuthSource: DB9PR04MB9626.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Mar 2024 19:00:53.6083 (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: Ac7nK+BKhfPucEZTpVJnfmP/L8V9knE2g/sfGQcfMZ/ttF5GZNe90KsMs6qpt2tX4ELNLZtLlgfVYfTiBtYKbw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB7119 fsl,imx8qxp-spdif and fsl,imx8qm-spdif have 2 interrupts. Other platforms have 1 interrupt. Increase max interrupt number to 2 and add restriction for platforms except i.MX8QXP and i.MX8QM. Signed-off-by: Frank Li Reviewed-by: Rob Herring --- .../devicetree/bindings/sound/fsl,spdif.yaml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/sound/fsl,spdif.yaml b/Documentation/devicetree/bindings/sound/fsl,spdif.yaml index 56f8c0c8afdea..204f361cea27a 100644 --- a/Documentation/devicetree/bindings/sound/fsl,spdif.yaml +++ b/Documentation/devicetree/bindings/sound/fsl,spdif.yaml @@ -31,7 +31,10 @@ properties: maxItems: 1 interrupts: - maxItems: 1 + minItems: 1 + items: + - description: Combined or receive interrupt + - description: Transmit interrupt dmas: items: @@ -101,6 +104,21 @@ required: additionalProperties: false allOf: + - if: + properties: + compatible: + enum: + - fsl,imx8qm-spdif + - fsl,imx8qxp-spdif + then: + properties: + interrupts: + minItems: 2 + else: + properties: + interrupts: + maxItems: 1 + - if: properties: compatible: From patchwork Mon Mar 18 19:00:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13595726 Received: from EUR02-VI1-obe.outbound.protection.outlook.com (mail-vi1eur02on2068.outbound.protection.outlook.com [40.107.241.68]) (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 4686F56460; Mon, 18 Mar 2024 19:01:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.241.68 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710788462; cv=fail; b=n90/ykJRqqaPTxa/MTr5UzAQY3BO588fL0+eHGSqwV3FyUGrd4Nv0XfDbQJ43EHtqVsIHtBvtn71gBJE9x78DS3ytrR19mrklZBUxNB2I4Gwf+Q6zkXzp4LqZYs4GzYJk0fgBNOca5rHkJada+m2SOcYcY4K0PqN13PQox8RONY= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710788462; c=relaxed/simple; bh=fm3dmQASVS7dADMDSVhVSWFwpxhdorpuXG2ia+uUfzI=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=fvcAlMrpPA3zkKSRTI43XRU5LjO/3zRoXAJN8OIGZBjDBPOhRCKGkb4vyLr9+p8pnET7J84TDfwYxK6vREAK0loER8+IB5MfHnvxRVfbbHUDnP/Tg/XwVNyPywbGv6BzB3T1vDi86xpirPGbihAkXFTKD4opcwpEWXwS6MBbgFw= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=a5K0xWXr; arc=fail smtp.client-ip=40.107.241.68 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="a5K0xWXr" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RHRIrRutkqTtQjs9j0RZ+vNL09QNFsTqtz/YFJyBP8QyNze85QMxyFAaOAc9WvA7X+CyJDiETWibuApEKy6tN64shBYA0bmbkFykL0t+/V2KzBQnrqa36xQHngoXsRKV2Bd1dEY54B/5qhcohOWfWkjOo//Oyf7XpiF3Kg3KcX3+GMixp240Mm9h3pPv4HHiGx+4PN1EuPkiPuviMF6t0AC2hhWFAp76AuxLYwZ4/SeTDYQFvws7WL5H2qklBVEY2McsALqX3cAW01KTNSkIDBmIBiUfb1ZpiI4Os8r+HhBkjfmH539EgnhJReEO+AB4D/ERcAvEr2txMjVABD3CfA== 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=Jcy9MfhtKZUWdIStJBpPxcppMP2LQsPyG/iYyluN14Q=; b=aWPc7yUndQNeOnnELfjBPE0SPkXp+0iMfxnnfIZ03G9gkiMElJm8Mp1HcTSvuteqKYjuXKDxVYzlBTNyjpys1KKgov3p38d9k2vQMGjkE4Q5UhGc2vKzxPfbZogsao5t4FXnoGhR641h8BB2f8HoCldKLFccc6v7zdZM7CT9Q0+CTVVD90E1aLmIxiACi37DsvxuHTvP9rITsqghNC3VdmRQIkc9zuiOTlE7ludXRATOgTxdocPfXTR3FYOGuFDScj/wU3UlU80Y/bToHRs22MxOCI8P76uhEZOvYfqTQMxNQDbknTjkJZoFZtCvYDPTj/Dx89GM6J899QVBee2sgA== 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=Jcy9MfhtKZUWdIStJBpPxcppMP2LQsPyG/iYyluN14Q=; b=a5K0xWXrUJMIcwKV6bEhrfP/wYqCF6njnhSkyFFTY3aKaEv8uO3/CMLW3b39UFSbE11iQ/42ReApTsSVZmy9DmnwC0ojHcKKi1DtBp4PQXICTmE5m2Jk2oBeT7NOz4m5dp4C+SS1vdd8GXjxr6orSj5/8KgOMi4IWrWMOYmM3/M= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by VI1PR04MB7119.eurprd04.prod.outlook.com (2603:10a6:800:12e::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.26; Mon, 18 Mar 2024 19:00:57 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::3168:91:27c6:edf6]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::3168:91:27c6:edf6%3]) with mapi id 15.20.7386.025; Mon, 18 Mar 2024 19:00:57 +0000 From: Frank Li Date: Mon, 18 Mar 2024 15:00:09 -0400 Subject: [PATCH v7 3/4] ASoC: dt-bindings: fsl-sai: allow only one dma-names Message-Id: <20240318-asrc_8qxp-v7-3-01ce5264a761@nxp.com> References: <20240318-asrc_8qxp-v7-0-01ce5264a761@nxp.com> In-Reply-To: <20240318-asrc_8qxp-v7-0-01ce5264a761@nxp.com> To: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Shengjiu Wang Cc: linux-sound@vger.kernel.org, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Frank Li X-Mailer: b4 0.13-dev-c87ef X-Developer-Signature: v=1; a=ed25519-sha256; t=1710788441; l=1171; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=fm3dmQASVS7dADMDSVhVSWFwpxhdorpuXG2ia+uUfzI=; b=yGPHpA5Ip6792M669/HdEtwiZprkLdYcHMynxBJsN8weHCZ2lBt1nEUPVmJCS2ZDn93MtuOYm o0Wqrs/bw6/AT8fp88zwwI0e5Wl2m3Y4xtmPL3uz01VoUoHMLUNvb2f X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BYAPR02CA0018.namprd02.prod.outlook.com (2603:10b6:a02:ee::31) To DB9PR04MB9626.eurprd04.prod.outlook.com (2603:10a6:10:309::18) Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|VI1PR04MB7119:EE_ X-MS-Office365-Filtering-Correlation-Id: 5662f9db-65fb-4b24-9fe6-08dc477dbea3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: rcbTpmZ3BI1TqQG3vyUzMt8VaWZarwixCHNlMwsnoOkC9AziJQIbpAcBcHPRDiXPyxlFOYsQDTfvcreCUYJFeIX3QEpHCAjcYq7AoSpeTkehBzOQGup80mLt3GQ51Nk5cLhQXzsw/IsT+9zKpZ1zU8Zws7sUhbVgFZyMOgT2UA2bOJ35ZqThqK0rhiJxlyY85dfiRJ9dupvDQvGdGaAhXP04qEFR1HSOJO3jMd0+dQZo/fD+9KABnPlHbFQFgdwCoUWN/AJW8KagIQwsArOPSqwaAxVCY9qWexk9VqepCNj73F/6KP0rsDdgCuwlcw9AQ3qIkDizMriCugOuemN87uU7NqZETTAshRIoeFmbvTafaq3cpI+Az/OpMhPerptW1+AdbBbobiBF8LGvOoEosok+dAsjZryMjdk/dq8YbkCoj231IBP5IdGI4UNWMzwnStVVvrHvt2yGE8VhunxUDU1IJl/W6E1d9nZu7ohTPlQp4pjqpe+kQgWDBOhyvWZ8KnXXXSSQC4f8R4XdcPWJ0YnemvdYbq5TL7/u4oFpHF7hHAyBOao4yHrefdrmqZkOISs26ShEs7SY8zbefODiRvJTCouN69QIiRXBhal+41/hI20B5fgLOzhzWjySvZr/XZgs2qXTiygr/bnNuUqUXflgv6pPnm8QRgXHBDkPLbj/bM7+1qCdF7x3CmiozQHcIdffozZg2s2Xv8ZJqUulEsxFLWmFoGSJIacAFz04QrI= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(1800799015)(52116005)(7416005)(366007)(376005)(38350700005)(921011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-A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DZeL3Ugw9Ae02MCD5NQCzHKjgx0nFErzCa0+xJ1udb4Dnxnlbv?= =?utf-8?q?tcEXIIPkJRQ8iy9Io8FteHOa6kcPg6HseFCYw8QuYjO5MGLv1NK+JYOA1GKmN3Pne?= =?utf-8?q?Uvkorm4nZX1Q2Ni+jCtjl1KheiX2mF4aVy5FtHWzPns8ZhNMu8XSynM9iHcU3B0On?= =?utf-8?q?ELlYufb+6sxi9esZLLUI719RX6rS+o1gPhJ2RwAI8eHrwLeAATPxzDHD063jdWcHe?= =?utf-8?q?aZS9ZypFMPlUtJofrVBSJQQwNXRItXRYLLv8KpUMx2+xEPrPQotUOaL7T7jVTAC4F?= =?utf-8?q?qZ8t9/OM/wmrauPh4D1SE2XeCTiDQ6Q11G0DIFjICKqkjPbiJVPKNFVv/AwGMebBX?= =?utf-8?q?luPYQt7rre86CiMkVurLTm07HeWFnGghYDqXLtFLGBFDMk5Ay4MHchAAVjQFo3e7U?= =?utf-8?q?ZFii3I8FtkS/5ZIozC3Wd4qRMguWbwXr0ccIeTOgexSpKS31YjiqM7o9uWojEf0AW?= =?utf-8?q?HpArTFnVOsv2iiR9TiEHCcBvKVB9hjmAaFcMis1O3UCByIQKCfmKmdA1IhOMRWFxq?= =?utf-8?q?mVdsdp8Cc4+rVaqSsx1NbJ/L4mj3hfgzEhEFnvkpodiRZN4EiJgX8NMjZMksiJIk8?= =?utf-8?q?m7qm/LIWfHUCEXLmonJLc4fs2lHiZRFH3b1og3N3ycpYKOW44Anvbl1s=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5662f9db-65fb-4b24-9fe6-08dc477dbea3 X-MS-Exchange-CrossTenant-AuthSource: DB9PR04MB9626.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Mar 2024 19:00:57.7423 (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: BXjBpt8KfLR3e1DbjnmW75p5wDoymlbe3msVtbey+VaDCHZ+2KQ0+g6Zzle7ovDXpm+7J+5c7Nc19kzN3XkmXw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB7119 Some sai only connect one direction dma (rx/tx) in SOC. For example: imx8qxp sai5 only connect tx dma channel. So allow only one "rx" or "tx" for dma-names. Remove description under dmas because no user use index to get dma channel. All user use 'dma-names' to get correct dma channel. dma-names already in 'required' list. Signed-off-by: Frank Li Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/sound/fsl,sai.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/fsl,sai.yaml b/Documentation/devicetree/bindings/sound/fsl,sai.yaml index 2456d958adeef..a5d9c246cc476 100644 --- a/Documentation/devicetree/bindings/sound/fsl,sai.yaml +++ b/Documentation/devicetree/bindings/sound/fsl,sai.yaml @@ -81,14 +81,12 @@ properties: dmas: minItems: 1 - items: - - description: DMA controller phandle and request line for RX - - description: DMA controller phandle and request line for TX + maxItems: 2 dma-names: minItems: 1 items: - - const: rx + - enum: [ rx, tx ] - const: tx interrupts: From patchwork Mon Mar 18 19:00:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13595727 Received: from EUR02-VI1-obe.outbound.protection.outlook.com (mail-vi1eur02on2061.outbound.protection.outlook.com [40.107.241.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CFF2D5813B; Mon, 18 Mar 2024 19:01:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.241.61 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710788467; cv=fail; b=JM7UoMnABjJRURe3JH23vg7XVltYzoirR3Ptev8cTgCfac600L7AOYvz9XCI51s2CSPuVBueUxY3qtShF7tO3WkBVWHF0Cg3NhN7nPLe0YwC9VZkFGpOU9lo3SOfLEAEpcUyoMrRaiwRUe9tS2NrGc1aL4U8v6QxUtQiAmgjNdg= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710788467; c=relaxed/simple; bh=qAfBYrkO08yGnKQGR6fjbQTnvzJDmfUQKuhObdOe3bE=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=ZTMd3vyJMD3cbc9tpZq2RcLlfxD6k+DEG/rZiAxuz0pBfXuJ03qySSP7WN+6LPxdCqsq5gkMD23R/kudomywADS2nU9XqWMcD3sVpVc+hA+nEsvTdDyFpkjnyakC5ACdlJvJqdTRZ0MKBlwgM8VFSssY0dWPW/qx9sgKvw+ZRZk= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=gq10Uf/7; arc=fail smtp.client-ip=40.107.241.61 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="gq10Uf/7" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OLigXHYEvvbS2dUEq5KkhWgJihGbGzLL7KL1ozDZuZ9qCiWk/MsMGGZdgKuDM7cZ6V1MY8KtXrkhr2gnuODhJvGKcdP35o8Y275cmQZbOvTIZrj6tvkg13CJ+IQVF/7MyJAYosi8/7tc48FgjBQ3XTNJ6zUW10qMR3PfvY+Hlk8TD1qkO9QG4dRVIK+fCquCgeozRugI1IoDRa0wZNtEutF7sFunoFNhQo8fzjxqwc2pvp2PyshRx8lYbzuxpktL1y37fAvVpwirFc+kUo26gpG5a/t4IdV9TUEC8jrHH8qx6xPDQleiT8ztaYl8/Xm1plhwMqie2Q4/SqmOsZwuAQ== 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=hkg2H7ddNwIZIQC1R8Zb0q6hwKirK7cL/YmbIpemUvg=; b=ZpR60Q4uNWgcfiEWgQHxy8GT4J9zONfUAeOBUPAlcZh+TgA2ZX2wX0BZxpYlkIdiDqGAnvTtwFpzOrdsS5cGLcYYDKQnw4tnsPKKeWYdKtlp9yLIv7kWExDgFKqG5gTjcgeIscpXq0GGbYX3kfDP14pB9CbNVLEyjdcUG71uaiejHn9SGSS5vmeEQutxEzxT4n2d1DdoyIu1XaTC4mt8Ebbtjh+OuSbeYvq8SwEo45rQV3HAsLWy785r4IGEcgFNIx74c6FyJoOL5Ii23c4Fu0RyJ+iarNoOXodbajv9SciGN6UiE5omzY6TMBNMgsz34zp3OSVBryOoRHAUMo6FFQ== 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=hkg2H7ddNwIZIQC1R8Zb0q6hwKirK7cL/YmbIpemUvg=; b=gq10Uf/7LKrQofMuiSYCvz9ReWhkjsTb94AlSNr+yUcKApXZmH/pmBTxBNaZdeuOF8uOaXUnhxcPYh93FbIxnadGZHazxtyfkYyLViB3zEDmwvekg2qUToj7CIppZ6d/aTXbx8FIbF/onnxtJ/2H11O0qIAhGkug9DB92lg3s1c= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by VI1PR04MB7119.eurprd04.prod.outlook.com (2603:10a6:800:12e::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.26; Mon, 18 Mar 2024 19:01:02 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::3168:91:27c6:edf6]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::3168:91:27c6:edf6%3]) with mapi id 15.20.7386.025; Mon, 18 Mar 2024 19:01:02 +0000 From: Frank Li Date: Mon, 18 Mar 2024 15:00:10 -0400 Subject: [PATCH v7 4/4] arm64: dts: imx8qxp: add asrc[0,1], esai0, spdif0 and sai[4,5] Message-Id: <20240318-asrc_8qxp-v7-4-01ce5264a761@nxp.com> References: <20240318-asrc_8qxp-v7-0-01ce5264a761@nxp.com> In-Reply-To: <20240318-asrc_8qxp-v7-0-01ce5264a761@nxp.com> To: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Shengjiu Wang Cc: linux-sound@vger.kernel.org, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Frank Li X-Mailer: b4 0.13-dev-c87ef X-Developer-Signature: v=1; a=ed25519-sha256; t=1710788441; l=9795; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=qAfBYrkO08yGnKQGR6fjbQTnvzJDmfUQKuhObdOe3bE=; b=NvWdQIrH2FgAj/Lm22MQbHmPvo7CbRZWdBCWKfIb3hwjSWQFt35zA1ATJ0sq6wjDOfka6CW6M 9cOXXuRZRG2AFgFqGZn00sL/F+5OzS/AyNbcjTCjRSRJzNdA4KxvaYM X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BYAPR02CA0018.namprd02.prod.outlook.com (2603:10b6:a02:ee::31) To DB9PR04MB9626.eurprd04.prod.outlook.com (2603:10a6:10:309::18) Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|VI1PR04MB7119:EE_ X-MS-Office365-Filtering-Correlation-Id: fa91049a-97b4-4da5-ad39-08dc477dc119 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: qmOJDEWQeXuuxJ0VThkZkWDT+m7mK0d2CmL7zdNiqfhxptq9gR/Gw50sX3uyaFhkBHwidYnxUg+UD664ByT83G60fbPD9+pFpmsW9Lbiq9EUsf7lg2PHlQW4FTVcqOqlz4rYJ88wEGaBY1Lg8jldjkDLY8YyFdVX93OoeNPD27ewXOTPhVtqr3OuYOWgSi+zJe/wq1qgzLLdnPasix8CGCS3J0Z0bvwx76Nx2HaQSXi5wIkc9qu+/m/J1ZDsXd6x64QakLBWmut7aQ/3YlYcGtlCIpUDRNi8+c3/lBqLi+FDzZt4gKnzcmjHWEEt/T5J3q4XJ8qzkAwc1EDrIDNzmWQ6ape2lJ3E4bSXAxj6QmZr1uUqdwEeUJjFm3Kr0F2msITAv7QU8RyYIZs1qS+4qrRKOU8N3IsxOUg6uo6sZRqSQoA6Vam66MDMZ4ZcndwIaJp1DAgsMT9GxyUkQTbX7oQAeWqvpNtJQv8lfumhgdXRGXb2UVWD2dNYmLk8L9RhOSMrtpzOh5a0ehNqIZU4ErWcFaoziNeDGDwN2axyYUP/VWzBr+kaUN/zOSqmCw1DqW5mW7LNDTS6H995Q9lxpaw2EM5qZkwDSobwNW7sENavHGM2Sw6RNhyLwUQKIMI2HcoBedtz0Onhdk1KH6gVLNmFOVmH0l1mPlc2bp64KEg8hitZsMXWbLDs+gbA+P8syJHgCGWyyTnWEnbxlJz4prOdm7e3GjBDVRGbgHvabLg= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(1800799015)(52116005)(7416005)(366007)(376005)(38350700005)(921011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?nbd7C2iDN6OycTR55QP0jh+5XZpO?= =?utf-8?q?oHcC99ifYDA4ZsMRkw3AVhHUkZliZT1QlesNQTQyVlnUNHP9MECteaTdpNSdULMt6?= =?utf-8?q?LL+7AC+CsH4Jh/VxeXoO6EFo+m/APJUgg2cIuttJTwduWiA/oHxJuj7Sjoqx1PCl7?= =?utf-8?q?79O1gLxCtITu4KXOUQmEAS2Z0EiyLMPYb8/4R/KFgv5WYCh8orZ120wTbjHXVELUm?= =?utf-8?q?j/QorUrcMKMkImbmkQGUmC9VXXyLSOviZTP6cRngkW3MiRhyimqf+zXe2RFg5gIJd?= =?utf-8?q?zkS4pNjjNkDuuZo9i04ITM5TikSvlkzr+CLN9aUPYMTfxbx5EHYPFZq7s0q/n9UOZ?= =?utf-8?q?s9MFeDDrKyI92/+dHkrGsOKDZMdFnTNRNcgmLpayCPGNf9Rf28eV1SNnt7yrXnJxV?= =?utf-8?q?CM5Nn3bBFlhcdYismefdHAruo+2ac2gSpAVgDHi6RG8vUemYUScFNTPzZeNfkBXzo?= =?utf-8?q?V5DI0al7Comd4jlSvFB5ztT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oX47E2MncMKj48yqm7+NNBSHVi00lWp/Uhb9gCibU0Fw7Lr7JVyY?= =?utf-8?q?bepVPWzDpRSUaQ4DYtn2JlrbuhkpDzPhMZF1e2MrTMkfFGgpsXAjzFeOKbtBBdqZk?= =?utf-8?q?TyKVLFBZt6aBMaEnf25DNRV2pwkLSdvOpe6KyVOV5xxQTsySE6zn/n0OSH9QGADIj?= =?utf-8?q?QE/eB7KK3xZg?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: fa91049a-97b4-4da5-ad39-08dc477dc119 X-MS-Exchange-CrossTenant-AuthSource: DB9PR04MB9626.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Mar 2024 19:01:01.9320 (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: czS+7Y4T+kD1GV8fsBk+Rf/5hU0X1ABM/8nwXl6zBdK9Qy4yZGxEYOp7URzMbRjsrLcqLmTCZDiQagAxI5QPmg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB7119 Add asrc[0,1], esai0, spdif0, sai[4,5] and related lpcg node for imx8 audio subsystem. Signed-off-by: Frank Li --- arch/arm64/boot/dts/freescale/imx8-ss-audio.dtsi | 267 +++++++++++++++++++++++ 1 file changed, 267 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8-ss-audio.dtsi b/arch/arm64/boot/dts/freescale/imx8-ss-audio.dtsi index 07afeb78ed564..d50457e745259 100644 --- a/arch/arm64/boot/dts/freescale/imx8-ss-audio.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8-ss-audio.dtsi @@ -6,6 +6,7 @@ #include #include +#include #include audio_ipg_clk: clock-audio-ipg { @@ -119,6 +120,86 @@ audio_subsys: bus@59000000 { #size-cells = <1>; ranges = <0x59000000 0x0 0x59000000 0x1000000>; + asrc0: asrc@59000000 { + compatible = "fsl,imx8qm-asrc"; + reg = <0x59000000 0x10000>; + interrupts = ; + clocks = <&asrc0_lpcg 0>, + <&asrc0_lpcg 0>, + <&aud_pll_div0_lpcg 0>, + <&aud_pll_div1_lpcg 0>, + <&acm IMX_ADMA_ACM_AUD_CLK0_SEL>, + <&acm IMX_ADMA_ACM_AUD_CLK1_SEL>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>; + clock-names = "mem", "ipg", + "asrck_0", "asrck_1", "asrck_2", "asrck_3", + "asrck_4", "asrck_5", "asrck_6", "asrck_7", + "asrck_8", "asrck_9", "asrck_a", "asrck_b", + "asrck_c", "asrck_d", "asrck_e", "asrck_f", + "spba"; + dmas = <&edma0 0 0 0>, + <&edma0 1 0 0>, + <&edma0 2 0 0>, + <&edma0 3 0 FSL_EDMA_RX>, + <&edma0 4 0 FSL_EDMA_RX>, + <&edma0 5 0 FSL_EDMA_RX>; + /* tx* is output channel of asrc, it is rx channel for eDMA */ + dma-names = "rxa", "rxb", "rxc", "txa", "txb", "txc"; + fsl,asrc-rate = <8000>; + fsl,asrc-width = <16>; + fsl,asrc-clk-map = <0>; + power-domains = <&pd IMX_SC_R_ASRC_0>; + status = "disabled"; + }; + + esai0: esai@59010000 { + compatible = "fsl,imx8qm-esai"; + reg = <0x59010000 0x10000>; + interrupts = ; + clocks = <&esai0_lpcg 1>, <&esai0_lpcg 0>, <&esai0_lpcg 1>, <&clk_dummy>; + clock-names = "core", "extal", "fsys", "spba"; + dmas = <&edma0 6 0 FSL_EDMA_RX>, <&edma0 7 0 0>; + dma-names = "rx", "tx"; + power-domains = <&pd IMX_SC_R_ESAI_0>; + status = "disabled"; + }; + + spdif0: spdif@59020000 { + compatible = "fsl,imx8qm-spdif"; + reg = <0x59020000 0x10000>; + interrupts = , /* rx */ + ; /* tx */ + clocks = <&spdif0_lpcg 1>, /* core */ + <&clk_dummy>, /* rxtx0 */ + <&spdif0_lpcg 0>, /* rxtx1 */ + <&clk_dummy>, /* rxtx2 */ + <&clk_dummy>, /* rxtx3 */ + <&clk_dummy>, /* rxtx4 */ + <&audio_ipg_clk>, /* rxtx5 */ + <&clk_dummy>, /* rxtx6 */ + <&clk_dummy>, /* rxtx7 */ + <&clk_dummy>; /* spba */ + clock-names = "core", "rxtx0", "rxtx1", "rxtx2", "rxtx3", "rxtx4", + "rxtx5", "rxtx6", "rxtx7", "spba"; + dmas = <&edma0 8 0 (FSL_EDMA_MULTI_FIFO | FSL_EDMA_RX)>, + <&edma0 9 0 FSL_EDMA_MULTI_FIFO>; + dma-names = "rx", "tx"; + power-domains = <&pd IMX_SC_R_SPDIF_0>; + status = "disabled"; + }; + sai0: sai@59040000 { compatible = "fsl,imx8qm-sai"; reg = <0x59040000 0x10000>; @@ -239,6 +320,40 @@ edma0: dma-controller@591f0000 { <&pd IMX_SC_R_DMA_0_CH23>; }; + asrc0_lpcg: clock-controller@59400000 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x59400000 0x10000>; + #clock-cells = <1>; + clocks = <&audio_ipg_clk>; + clock-indices = ; + clock-output-names = "asrc0_lpcg_ipg_clk"; + power-domains = <&pd IMX_SC_R_ASRC_0>; + }; + + esai0_lpcg: clock-controller@59410000 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x59410000 0x10000>; + #clock-cells = <1>; + clocks = <&acm IMX_ADMA_ACM_ESAI0_MCLK_SEL>, + <&audio_ipg_clk>; + clock-indices = , ; + clock-output-names = "esai0_lpcg_extal_clk", + "esai0_lpcg_ipg_clk"; + power-domains = <&pd IMX_SC_R_ESAI_0>; + }; + + spdif0_lpcg: clock-controller@59420000 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x59420000 0x10000>; + #clock-cells = <1>; + clocks = <&acm IMX_ADMA_ACM_SPDIF0_TX_CLK_SEL>, + <&audio_ipg_clk>; + clock-indices = , ; + clock-output-names = "spdif0_lpcg_tx_clk", + "spdif0_lpcg_gclkw"; + power-domains = <&pd IMX_SC_R_SPDIF_0>; + }; + sai0_lpcg: clock-controller@59440000 { compatible = "fsl,imx8qxp-lpcg"; reg = <0x59440000 0x10000>; @@ -333,6 +448,102 @@ dsp: dsp@596e8000 { status = "disabled"; }; + asrc1: asrc@59800000 { + compatible = "fsl,imx8qm-asrc"; + reg = <0x59800000 0x10000>; + interrupts = ; + clocks = <&asrc1_lpcg 0>, + <&asrc1_lpcg 0>, + <&aud_pll_div0_lpcg 0>, + <&aud_pll_div1_lpcg 0>, + <&acm IMX_ADMA_ACM_AUD_CLK0_SEL>, + <&acm IMX_ADMA_ACM_AUD_CLK1_SEL>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>; + clock-names = "mem", "ipg", + "asrck_0", "asrck_1", "asrck_2", "asrck_3", + "asrck_4", "asrck_5", "asrck_6", "asrck_7", + "asrck_8", "asrck_9", "asrck_a", "asrck_b", + "asrck_c", "asrck_d", "asrck_e", "asrck_f", + "spba"; + dmas = <&edma1 0 0 0>, + <&edma1 1 0 0>, + <&edma1 2 0 0>, + <&edma1 3 0 FSL_EDMA_RX>, + <&edma1 4 0 FSL_EDMA_RX>, + <&edma1 5 0 FSL_EDMA_RX>; + /* tx* is output channel of asrc, it is rx channel for eDMA */ + dma-names = "rxa", "rxb", "rxc", "txa", "txb", "txc"; + fsl,asrc-rate = <8000>; + fsl,asrc-width = <16>; + fsl,asrc-clk-map = <1>; + power-domains = <&pd IMX_SC_R_ASRC_1>; + status = "disabled"; + }; + + sai4: sai@59820000 { + compatible = "fsl,imx8qm-sai"; + reg = <0x59820000 0x10000>; + interrupts = ; + clocks = <&sai4_lpcg 1>, + <&clk_dummy>, + <&sai4_lpcg 0>, + <&clk_dummy>, + <&clk_dummy>; + clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3"; + dmas = <&edma1 8 0 FSL_EDMA_RX>, <&edma1 9 0 0>; + dma-names = "rx", "tx"; + power-domains = <&pd IMX_SC_R_SAI_4>; + status = "disabled"; + }; + + sai5: sai@59830000 { + compatible = "fsl,imx8qm-sai"; + reg = <0x59830000 0x10000>; + interrupts = ; + clocks = <&sai5_lpcg 1>, + <&clk_dummy>, + <&sai5_lpcg 0>, + <&clk_dummy>, + <&clk_dummy>; + clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3"; + dmas = <&edma1 10 0 0>; + dma-names = "tx"; + power-domains = <&pd IMX_SC_R_SAI_5>; + status = "disabled"; + }; + + amix: amix@59840000 { + compatible = "fsl,imx8qm-audmix"; + reg = <0x59840000 0x10000>; + clocks = <&amix_lpcg 0>; + clock-names = "ipg"; + power-domains = <&pd IMX_SC_R_AMIX>; + dais = <&sai4>, <&sai5>; + status = "disabled"; + }; + + mqs: 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>; + status = "disabled"; + }; + edma1: dma-controller@599f0000 { compatible = "fsl,imx8qm-edma"; reg = <0x599f0000 0xc0000>; @@ -481,4 +692,60 @@ acm: acm@59e00000 { "sai3_rx_bclk", "sai4_rx_bclk"; }; + + asrc1_lpcg: clock-controller@59c00000 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x59c00000 0x10000>; + #clock-cells = <1>; + clocks = <&audio_ipg_clk>; + clock-indices = ; + clock-output-names = "asrc1_lpcg_ipg_clk"; + power-domains = <&pd IMX_SC_R_ASRC_1>; + }; + + sai4_lpcg: clock-controller@59c20000 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x59c20000 0x10000>; + #clock-cells = <1>; + clocks = <&acm IMX_ADMA_ACM_SAI4_MCLK_SEL>, + <&audio_ipg_clk>; + clock-indices = , ; + clock-output-names = "sai4_lpcg_mclk", + "sai4_lpcg_ipg_clk"; + power-domains = <&pd IMX_SC_R_SAI_4>; + }; + + sai5_lpcg: clock-controller@59c30000 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x59c30000 0x10000>; + #clock-cells = <1>; + clocks = <&acm IMX_ADMA_ACM_SAI5_MCLK_SEL>, + <&audio_ipg_clk>; + clock-indices = , ; + clock-output-names = "sai5_lpcg_mclk", + "sai5_lpcg_ipg_clk"; + power-domains = <&pd IMX_SC_R_SAI_5>; + }; + + amix_lpcg: clock-controller@59c40000 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x59c40000 0x10000>; + #clock-cells = <1>; + clocks = <&audio_ipg_clk>; + clock-indices = ; + clock-output-names = "amix_lpcg_ipg_clk"; + power-domains = <&pd IMX_SC_R_AMIX>; + }; + + mqs0_lpcg: clock-controller@59c50000 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x59c50000 0x10000>; + #clock-cells = <1>; + clocks = <&acm IMX_ADMA_ACM_MQS_TX_CLK_SEL>, + <&audio_ipg_clk>; + clock-indices = , ; + clock-output-names = "mqs0_lpcg_mclk", + "mqs0_lpcg_ipg_clk"; + power-domains = <&pd IMX_SC_R_MQS_0>; + }; };