From patchwork Tue Mar 5 17:33:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13582808 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 66A85C54E41 for ; Tue, 5 Mar 2024 17:33:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Cc:To:In-Reply-To: References:Message-Id:Subject:Date:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=BMyxdcVwUeulu98Vgp7APeed6OQtvjJ59vyC5xoSfhc=; b=s5N7/2fq7+xPwFkNDxvsfv4Fdk xDREFM2R/HziJX3p8ze/MsX2/ghvi4B0xBdOMXIZbGQEm7gVNhDL2NTDVYqG8wqazuGO0o+Kua3v4 LWLAkp3X7Tg1GXuvI/aghqZxF2ZQGvUfeJGF5TTtnsoHNKSGSvwKuCNp87VY1XNn+FyszEzt27uBS 3Rx+iLNFEdu+zaLbkAtMLlxMfQyae/+YakcRoxFk7/g+dSO/cMZnEgmLCx9OLloaTzGLNvbp6nhPp SYJHAXZiYrBCNNtCTMegPPBo1ln8R7OQsrvAsYNPvcOzTyQM61Zo7R4iItQa6N3/Hwu0Z+9vF9+LQ B8ceOrvQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rhYfd-0000000Ehg5-0YYv; Tue, 05 Mar 2024 17:33:41 +0000 Received: from mail-db8eur05on2061d.outbound.protection.outlook.com ([2a01:111:f400:7e1a::61d] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rhYfY-0000000EhaN-3C5h for linux-arm-kernel@lists.infradead.org; Tue, 05 Mar 2024 17:33:38 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=B9o1OU+XjPmAxVsgc38IxUyL83onJxqJL2zFaU/xOmMSuO5zKKjKbqMer611M6aVAC98nCkSeQF1RvzyXKNvstTlsjG5DySgR0TXu8A6l9gCJzcTvQSDsUunJ6WvP+WrqrqYpkDuOx3gTNYm/qpCXEIBvLv6mMl1URqM9q3kuqx0bH5FjvuCN9w3gOo319v4rb+duWhdm72iGRA1T2YX+T0F2vC3Ch7BahDr4VsiSxQFRASk8PRFFDrbEtjZjpwojVLw8A5V3rqChGfvGbSx8AQONVPWSsdyClMJqbu5E+2uNNzw5cnfXv3BkomNRfGIcEfq/t1w7S5XcGEHJsh9xg== 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=W/KHtMUPtsyENuHOeToNttq4guUrlqWCDtHLM1euBe4=; b=lC6vzNiXJAvX5LRPwNkfInJ+7ek/iPvJHwk3AZ+9uXa21qUQla6AR7z/h7HQFRTMaSS1nNq4FI00KswA7fSybUDvnAfwLejfcl98GLrGyfUdUgQbpTDTHpayZVO4nglw3G/PeTg/PdtupbJFIBHy1/APy1eUryfNKCv0WnAylirYnjPRf2ftSpyVfVr5Rctkq+tanVT/cfD14vAesmkJRDadv1oWOlrx1Z9czojWNdVBsp8hMz/sCl4rhStUy8ZFrtOX9R5x9eqh0pt4N9MNdGOGbCC3qlLjZKpIlcnnsHX/M8KA5t9aw+YBnB6lHe0JkGLQiDl/MfHI8UkJ3z2Qcw== 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=W/KHtMUPtsyENuHOeToNttq4guUrlqWCDtHLM1euBe4=; b=FeEiC1ZgeQGpmiqF/SoXQJIyu4vgNS5EaqnlHCFFb98OKFge0PhtZ3cNHXkb5nJIyScRBXyKoJz41dE3Z5hZObhroYy9t8VIAAWihKEizNQ9UvkLAlN0R8Oj0MbDdOmwHhfBfESR6rzhXZtRCosAM+xywY0PtkbmzAmUw2N7Sac= 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 PA4PR04MB7856.eurprd04.prod.outlook.com (2603:10a6:102:cc::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7339.39; Tue, 5 Mar 2024 17:33:25 +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.7339.035; Tue, 5 Mar 2024 17:33:25 +0000 From: Frank Li Date: Tue, 05 Mar 2024 12:33:02 -0500 Subject: [PATCH v4 1/4] ASoC: dt-bindings: fsl,imx-asrc/spdif: Add power-domains property Message-Id: <20240305-asrc_8qxp-v4-1-c61b98046591@nxp.com> References: <20240305-asrc_8qxp-v4-0-c61b98046591@nxp.com> In-Reply-To: <20240305-asrc_8qxp-v4-0-c61b98046591@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=1709659997; l=2277; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=/2HWkq3Mm1iUSRkJDy7WMODf+P4negKVy28NKaq5Zj4=; b=Fy/xb3ldFP8wnnjK3P66I7BXsJCCFV9StqD8U6YzXXThNa4w6qfUgK6nEWN7hXcgnc4GXPN7O IHblCcc1q89AocjGYhXlnnKfXZSn0LIbu3+07mQBtf0BHmAPe3B8bXh X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR05CA0159.namprd05.prod.outlook.com (2603:10b6:a03:339::14) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|PA4PR04MB7856:EE_ X-MS-Office365-Filtering-Correlation-Id: 6876ee05-d78a-4397-eb63-08dc3d3a5cc8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ajHuv0FGaYu3siQUOIf3JSE/Q1Fq+ENepyEjo513OLAEqPVbheJyoEHzKLypHDNxoQyeyTsmjbYazaaR6pbyN9sGdv9wL4ObwqQr1YuteNDFdrSeUy7pG8+h9IfoSRFAEqUTkQ8zfUHiljpbrpp2ql4xHZqtDFyefQ/zAGWNq9qoVMLGI9jrm/k84+XdjXMN+AcjQ1EK/TcFKg5lLwOlSgnq9L/3xDwDcTMCtIxq/28CEQ0LacWxh83Ap73yVex3hDgt0BLOAUXLLTKQRdqndZXwK2XMkZ9aGS7eO/w3RtmlTTa6uZMMpWN7XrCbt5erlS2qPjSPVOVkzFK594VN8D9vmM+DbRKX1O5ACvMseB/n11xioDeKX5pWERqumUs+e+U60gSylhew/GTEeikqQSPe6HXdc4bXk02uhRQacCW6nKNUbOIOnwnrtXqxQBhLdYd9ua/CbYjGfGVxhMAScabfYXaGYLIyKskYbCjRdAhCSDBE9/Mz1ZQkDo6OmCb8O464ufBC38+ZXCI/6+ydtkcbX8YFMqYaWUybJYLAqlveK5EVBeggZDaThCl5D3nIfzZUS0R47ai7IivUs9a3H3muM0QgAEryTxUg1tZ3CTYYxlb2V9BNJB2d53DsfXMEUuUbUTT1ECbRPCj0Y8NnBXspIhzXMaSolJfPLU9bHnlCRp03RYV3oGd6eNHr1SIMRygZzA3Zwo8jZqA3tKwQ0H5ntm6Jcil7uKEc5mD+gKY= 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)(376005)(921011)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?axhkHe1fT/mYTbpeY9zfpqT8uaBI?= =?utf-8?q?w7p7o4L2E8XvrNiZh5K+QIKPLnAxQxPco5Ev5YxVwMGYMP6jVNv1s85YpJBv/hk2v?= =?utf-8?q?dyo2aWa/Z8s8sZEA4Z611tOeZbDUUUoQPLjGSKhqn6n7S0XFhLcQ+zh5jmErMxLGV?= =?utf-8?q?iQCWfLPyJhNnm/DpNDBVRHWFWYrg8K8QHwi6JWVCBkoi3hVmaXFuPh2ixDoekwQ3V?= =?utf-8?q?T6AeC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WLEVdio0jW6KO+HO25ftF3eKIS5W4sXCWk9BkT0bsxALociGQUNiPSDIg?= =?utf-8?q?hL1IdMbpXj2+q3Kp21wJKHIv9BTONOLnTjHOE1TCRSzBDxRAyANPqS/yAeL+AI0KM?= =?utf-8?q?c0T/1EHV2JmSRq48wP92hemgwJYVBDZZMcGunMR5DxzMLIxnjrdTArHcYwJQE0q4Y?= =?utf-8?q?rXJS/uMk8DQg3zErScf2JE5VpdUFPfMHF89FcNKXy6sSqovAUIDRlID5aJzkl/G6S?= =?utf-8?q?YaXUAj9eD8+kiCQJKEPNUwyVgd8zoodVxuMyicCQF+w+g8uoVJMpxxqBS5KIqQP6e?= =?utf-8?q?9hugnF3xDRmq7MrIPvAXxTr+MrKcHNXcITx8NqBF/4cLNicOd1pJeiJSLz0MmCFgm?= =?utf-8?q?MoFu44NQdvZQhznAbJbk5Y2RNhBWm+4a73MSKhigKTUkNQHyyzkFBA21DwffpA2k8?= =?utf-8?q?ow5etN73mHPT?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6876ee05-d78a-4397-eb63-08dc3d3a5cc8 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Mar 2024 17:33:25.4739 (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: vJ5g4NWLeWMZ0FXXyMzGigFBh5ROjnqXe1rDfYJ3junU6KluYaNwN8Lin6Yyf04qJ0MET9JqOHmGi1gp7reRBw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR04MB7856 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240305_093336_844066_994AF9E8 X-CRM114-Status: UNSURE ( 9.27 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add 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. Signed-off-by: Frank Li Acked-by: Conor Dooley --- 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 Tue Mar 5 17:33:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13582809 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E6207C54798 for ; Tue, 5 Mar 2024 17:33:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Cc:To:In-Reply-To: References:Message-Id:Subject:Date:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=AjOBuMHhKBbgWjtPeSVTtqhkKZM0nlLYkMG9cGlcS4g=; b=3i0R05PuOrmJfE2R8b5shUVD4s 7VmcRWYCyzDyZTHTYiInCCegBncP39IGqXwgfTGzksRn6NawEqM+m2c5VKURlM+nyw5tbMkL5R/Vd Ry5HcuXQPkwTtB5n1LFRCM3J0Bp2N/lfqB85zq8XJ9nWtARSpNCEJXYwHlFha8se1+NUL/vQPmRBP feJF6td9pJ4XAg5F8ZBJbskFf9YFmKBpVHZxLU778DTmOxwD645VOq4g4Pnfh1W2pW7ivLWKg9XCg rbnoLoArmnNHu+a3LEoW/HRIfOlpOV3F9m/METBiAMGU7KnFoB92q7CpJa8PYbaWTZeCT5QRuRjx2 0nnFCTNw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rhYff-0000000Ehhn-45Bi; Tue, 05 Mar 2024 17:33:43 +0000 Received: from mail-db8eur05on2061d.outbound.protection.outlook.com ([2a01:111:f400:7e1a::61d] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rhYfa-0000000EhaN-1qVX for linux-arm-kernel@lists.infradead.org; Tue, 05 Mar 2024 17:33:40 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=m+B2NncYAGCJyQekeYmaR8rfmu+RPdHKpMHGWT4tYUvguk/6UFIhSVbn3Wa/lrRx8+zAXoA8AjDDkMMXNpVGfMGDCMZEU6fvu/tuKUco+Q6TlGrSWp6QSlgxxTTczcn/64sBthTiU+NdsloAn7GXAzW2ANot8EAzhXFp1aOT4TK2H9kVOtARxkYc8qGG7vLMY9X1JLxnUQNOHQkEdOvQ5wfPeHEI7UOqgMRNu/S+3LXqWJZ4oK8xM01rW/SxJ/AIQKJ6r4fvlWzIVn8VCzWu0bYdQGZllpxXoSv6ZQM/9/Q8EXm3rgpJwfVvw6VUnVef9Dah28piw05cPdHVDppJBQ== 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=wSno13IQ91MOG9lwdozbe3n7b5C2f7s+b2x2aTJGPMA=; b=iFFAgxhXddiqmRV9hpj83NaPgqkI6fp4fyOdS1LzkxCcDLzvgpfojc9RVoLaxfSx6cVo3k/HTiSaKKYyrVCsK6a+hQjIJFsXm7FNEdrUt9M4Z20M4+vDtzJ2lAOLi8MmoNtXfxEaaLBQRREFdZBk2MpfKSTxBmdslmts+yAzDvOXZml4PJEoIOhXQiODnVvRVp25CBU/w5H45PguuMYkg8+V4wZZqCmN6dtaP5gS8H/LUMq/DkKVLaZ1XRWdIi/AvcsiZsulu0DgwAiQsRjUchsXGOh8Oz6RqDMmSKiDjgpvegyWm0XHjzz1mq6GnOAQQDJMlh+f0EQsYuPgFo46+A== 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=wSno13IQ91MOG9lwdozbe3n7b5C2f7s+b2x2aTJGPMA=; b=Gdyk9Kafw9Rn7DS8idotuJGTwYsFSPZ7HfEXQNACJpJ6ZRYf3IIzc1NTGt0Oxd6e9A6n+y6vK3qp22XrhLXipuWSpXQ5dBQLB076ctdNnhRVTc3o07cxwtmy/kEcuGR/4Ww/7+APlk3pNGwvX5gGjethOPGnXK7eCduP4LwPK/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 PA4PR04MB7856.eurprd04.prod.outlook.com (2603:10a6:102:cc::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7339.39; Tue, 5 Mar 2024 17:33:29 +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.7339.035; Tue, 5 Mar 2024 17:33:29 +0000 From: Frank Li Date: Tue, 05 Mar 2024 12:33:03 -0500 Subject: [PATCH v4 2/4] ASoC: dt-bindings: fsl,imx-asrc: update max interrupt numbers Message-Id: <20240305-asrc_8qxp-v4-2-c61b98046591@nxp.com> References: <20240305-asrc_8qxp-v4-0-c61b98046591@nxp.com> In-Reply-To: <20240305-asrc_8qxp-v4-0-c61b98046591@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=1709659997; l=1258; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=zkGE4oEsHjiRRUFC7IVGVciehf/DeQc/SiSZUFb3MIw=; b=wjr/zg9qJjx/rAa/tviIiG/Oapnsc0PPUPXY3CJeZHVdAtRrG41bhEzxpt/vPdpaIk1VM3Ou6 sPjxj5N84gwD9/sfvj4s8CcgpOkaS+xrQm2BAkeFtkhXr0pLrSleTqI X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR05CA0159.namprd05.prod.outlook.com (2603:10b6:a03:339::14) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|PA4PR04MB7856:EE_ X-MS-Office365-Filtering-Correlation-Id: a6dc1b79-cdfb-4dbd-7813-08dc3d3a5f14 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: pTB1fJBBjAt5R0/+FulemTY5gJ9MeKZCEJDG5ZtUFtCPvpSMcSYDpnPJ5NAStgPql9BGYLSsVTQNS7gk+dJmMch8SzT3W4MX5XfqlIqMiNW8WV9w0LeN9DnAha8AWjhrMBK7VaUrYBJ92V+KFIX64AW4zcCZCwj9jM1nlV1R7S07Q83eCv0eKMuV0OHEuc9d5e+cYdbXNAUhpq7xESvgRMPgqfu2gx4HqTo6FN8DayJWXB1xSxFsh6WZDy/kLBLwPW+TGHM3A9NjwavQxclf6e+L9T5K2xYndGwBwcYKoM2T3T0zVRpAn2l5ObUBSEQm5fv3s6lr7ERmk0z/z0MuFMJXRZcOxeJ3UO/Uztvlv1mzAUicvk7rt6Pu/gNlRNvmGeoMPjfhsci057MrO/hc+rsGs8vzz3Jv8ES1l7llLR7tqxdQPU1rRWxY6crXt4Vw8XtqVKLMedk/mVTXTGwl+sEzvmObCfxmW9TqtiBMPrH8XH9PRQRC+6KNF3rVvIriwmQb9dzEZXQC0ky9hM8JWA3Ex0e6fpiYjiPDvu7MiJsXypURtfgrE+bi9ZhXS+wsi7G2UYGrwvxBotkZNRINpBUaQUOGNyD9s4vz28mqdXIeHfnixYZucbGwRRp+isUHZiV+nyMwLXS07iMMua8CPRsmJcNAysIZdUsQtI5j33hk4W1MkVrhEYuNVWhk2OD3rCT2WnYjKSbqttem2/URIAr43OqcRe+0ziVtwW/RI1o= 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)(376005)(921011)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?/mIECqc5cKXfdYyL8+toIr3kS4tW?= =?utf-8?q?EJn0+ijbUcpyDIKg2NHXHyTSquDbmrUNcLlposwpjcSjpeCI1lruowQFXURcUl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Tx+ydIPFW?= =?utf-8?q?3rkXljiqUWsWuSnsYUdVtUPuAk7ABhFOyZtAEgowS0GuksR9udC5mEXTIfJRDGRMJ?= =?utf-8?q?XzCCGzZr/wxt3dGyevqTKKJiFuStgih7rqUB7YeDwa58yE6iCDOg/ARqLXvPy3c+A?= =?utf-8?q?4XKyWJEF4O7cHHr+rFNszLa9qnq3AdH02Y5Uk6C1FS3mIHeooVBLMxbO3BWX+msCc?= =?utf-8?q?rMBxxciwKY5qOLdudJdD2xR8b/yE8EBsd3fx25braRAt/pCTZSdHoQIhkndlseE9K?= =?utf-8?q?JT29y4hcwC7UiBuQV4arySn6RfhF16H2MmMCX9I5PCsyUZR6KAxyv7n+IWpR6ICGl?= =?utf-8?q?whD6fLl7ML0+Ya3eusgmQY4lIUnVx06nlf62vMyJYUNXWPy3ZZd85EPvF0TFA1Yow?= =?utf-8?q?9Nbhb4cAmSBFdxwS4H1KzsXsVcA2RYGarUIu/iRr07NC3+bZqwMS0NPPMEZc9IOSv?= =?utf-8?q?r+8fDajsnaXBKe+3k3F8KWe93ApYlSANmaWy/qqTdT5+gFIpQBitbxpNehlKx/3VA?= =?utf-8?q?wVBIdaezFpntb9t1DV3tFf6Kv6ossSC2YA3idBdkvG9kpUke5qTARVlxIggL17Vq3?= =?utf-8?q?sLW8qeSBIux4?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a6dc1b79-cdfb-4dbd-7813-08dc3d3a5f14 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Mar 2024 17:33:29.3237 (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: o7Jb2/TFZa/WRYF2znqcglFzyWPMrXki3NZyruWRh3BxQ+TIe0vY1kfK+Hz3GaYOVlPkThwxkj3Pafva7a3pZQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR04MB7856 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240305_093338_599362_662F1F35 X-CRM114-Status: UNSURE ( 9.78 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 Acked-by: Conor Dooley --- Documentation/devicetree/bindings/sound/fsl,spdif.yaml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/sound/fsl,spdif.yaml b/Documentation/devicetree/bindings/sound/fsl,spdif.yaml index 56f8c0c8afdea..7f6590708e1ec 100644 --- a/Documentation/devicetree/bindings/sound/fsl,spdif.yaml +++ b/Documentation/devicetree/bindings/sound/fsl,spdif.yaml @@ -31,7 +31,8 @@ properties: maxItems: 1 interrupts: - maxItems: 1 + minItems: 1 + maxItems: 2 dmas: items: @@ -101,6 +102,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 Tue Mar 5 17:33:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13582810 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 73A5CC54E41 for ; Tue, 5 Mar 2024 17:33:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Cc:To:In-Reply-To: References:Message-Id:Subject:Date:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=qVhDmV1R3XKzMaqnWGgyauhpaK947IJeh2ljklNUJsA=; b=PdTNEyjDA3EWSt89kp2Pz5k5Gn KstaH090smUygKzQOMr2/0a0UQFxFXUUzKbwsUAjw2yQSbE4yb8QsXxc4q/uouRJhbKnAX0umG6vg fBnRXck+qLfOFPSxN6Mltgfxv6IrZYp1xmPzbR2LeAo9toVNs1JEsSIG4faSTBdMa6KhdKWNig+r+ Fs97RfBPw0rPPWPexkH+jkJ63ytsfGMv0ZsatQwjAppfkijAqvtssLfXh1UeN0DjQGfpr95tXFij/ 22hN/kDEy0+/xfhFFIi5pv0rsCgTzPvsy36E8Ii0Iv745hOsT5VNdSncRrQvS/FJ5n6a8hNXZwANg vTIPFPfA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rhYfi-0000000EhkS-3yMw; Tue, 05 Mar 2024 17:33:46 +0000 Received: from mail-db8eur05on2061b.outbound.protection.outlook.com ([2a01:111:f400:7e1a::61b] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rhYff-0000000Ehe7-2G6d for linux-arm-kernel@lists.infradead.org; Tue, 05 Mar 2024 17:33:45 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NO3laGbCQ+vOckce1quAUqBAWi4oOXeE7g1V4VEHD/OkwTn1J+Gnwn7fNYlfF8HmBOsv5unFkY2if+YXIO+Bw5Q3C6KBQ7NXQOKz0D2KRZPugptm2K5ya63TszOn2lSs4QnBulgFB6DFprMTp1IeGepdnyrBE6q9JxYiwuHO+VZ2u0qAlmD2qkyjBp5AZ5M0tBDhCIULqvVNt9Psdd6lGG7AldX1cqVhKd4zH11o9mLBDG59vhkEvw2Qu1oheIXOXuhKfh690yl+Cv+vQPGjQNIHr/i/SpJPSvDbn1fCN7VXpFvjHkTCYB4/z3FMQUHqoHnKjy6bLQHEYT66YD+yIg== 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=52cZjio8ouiskuvTgFyXFyDw5dtyl3FaSq1t3asy42Y=; b=dMYi3RVbaMHPeZGU1z3m6hgrq3gUI2+Mv9ZvbdltQioQhBEbNpaglmjB0oDR5jmjtL+xY7JqX8I7GIGmhdlyt9MeMetN6mv2BKf2ogIjxIUg9W3gdt81PgJJxp0BDKOVrmHARh2NAR3cc8+q3weo78FBDTlQmlgbX8FwUy+p57LfgV35ENh1M+vJkjNN9CoJWewWjy7zO8D3hgYJzyGs/wnx8kw1n3xR2LmAOWo8zuImyBxzsioKQw/Njw3owaKhB7XlGJS/H6LsnjtcKD1mDkU08Gcv/0ltVGojjR3AKw5Vv6c2rjIfIdWhEM4t4mrtYdsgEL+9MsOsVREbdVF1og== 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=52cZjio8ouiskuvTgFyXFyDw5dtyl3FaSq1t3asy42Y=; b=JndEjCoXd4va68rnUIh6zbv2eJy5wVlWPrCXjgbf6VI7msgN+HsCq37pHmsp1K+8ABxnINsPRULBXrhZRJiqxJbLF4CV+uaS/Gi+Zkd05A6D4QDvH1kjqdd2oo16qsoEfWIvi8/qfGkuyrZ3Gx9czNwYKI1048+CpA6aSDgARTg= 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 PAXPR04MB9280.eurprd04.prod.outlook.com (2603:10a6:102:2b6::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7339.37; Tue, 5 Mar 2024 17:33:33 +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.7339.035; Tue, 5 Mar 2024 17:33:33 +0000 From: Frank Li Date: Tue, 05 Mar 2024 12:33:04 -0500 Subject: [PATCH v4 3/4] ASoC: dt-bindings: fsl-sai: allow only one dma-names Message-Id: <20240305-asrc_8qxp-v4-3-c61b98046591@nxp.com> References: <20240305-asrc_8qxp-v4-0-c61b98046591@nxp.com> In-Reply-To: <20240305-asrc_8qxp-v4-0-c61b98046591@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=1709659997; l=1270; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=yjXouEe9GejMOBTUStSt91sQSE1J9SrHWPb4cvvLO90=; b=wOKUgAlbFL2QcLra8v27pLVY4QAf+HvqWu3QLW18Y/nitXAMlPj00qZOhzR6L11Fo96JJ5WTO cGCbPQurMi0DlzxsshJpmwD8uuWL2x3ushos0O5mZswDzxkHgmi+7+6 X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR05CA0159.namprd05.prod.outlook.com (2603:10b6:a03:339::14) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|PAXPR04MB9280:EE_ X-MS-Office365-Filtering-Correlation-Id: d41ec39f-7fd9-44fa-71c2-08dc3d3a6166 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: gis6bWmbwpLkvo6W8ztFARWMyDoWsINBQ3MdHg+22N2hn2YXl4mcmuuYY8TdzNvYtSrn2ZQ/fIRgZU50S/zWsna8E4wALD/KlebLku8PlAo85AcsMg2ZtfMPmTSVy+qpcETyJUGpeHbzx213/bGfpBrbOjpZtUJ71wyIRkh9H7KnoauZVlqRTNRg9jBP9g3KogLzvw5jff3zC1HTf2DBQ7k+z3gVZqpcDWRcae3qrZgQUUeh3b3ysndSMQ7+Mr8a1PeDUelZuYvOQXTssU28UCV7sN8K+75HIMjOxarKuJf9yvqUD1wITr+RNA9y7l66R+LSkcBDAY8jah+DvGX5e23QS3s5vngWMBPl4Uo0FSsVsCk2kqhzCBRuesFVVzpBqRiAqiA5IVvLaPReZSgMeiDEefZa71Nhu/nMXHlcTHpEOE4jtMXofNfDTEKO9qFiaBsqIZUJCCmLWBFPQta2czeETypEuk6PAMfO2AEl03AmLcQr2kP0vmkFpo4s8+qrU5/SAq6cS/CFxp8Z63tX3AD52gmiIOZWo3sxDi/EZQobxKTmf+4ja7KZPjrWJ/6aUjWqsHFWmPYiYiy/gsITt/hR7HGrgu5+cc9ypbTH3LlM534Ozhj3ZW2Du3Zue+14D7jnIQjF4u6DMpxX5xgxY6jMzlqGdDe7GWpjpwdXJW9BT6fEhogEbAZ03wXYTBxGx/sxHRgNtXjztWSuwmZecBAltYS9GTym6LVyTLsB/Zs= 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)(376005)(921011)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?cc5RfCVlcyyosVJL/13FTywQ5vcd?= =?utf-8?q?144I9QWWB310xc3QPxokmHe6AMAYPeUjVDqDbnJi2AqQFcWIn17DzrswQhHdnQ7ib?= =?utf-8?q?vkmRtL10p2I3MEondMlBFviDQYm7L58jowLYRb1YBv46Z559VnuD/H+N57PBlaVTT?= =?utf-8?q?Xv8Mi5GheZK9t/odbEv3dEvkzKj204qPVtNCSTEjl+kCRsG/rifO7MAryB28ZGm9u?= =?utf-8?q?DPaeFeElgYg+DU0PYWsKGQKZbkT84vch6LCfW/NXeurKmUxzp1Ab3Dhsgyc5N/E6j?= =?utf-8?q?5mRpW5Pd0Hcse7Kyvs+A0X/fxKUxtCBEhvpSfPzDN/Nm4QJo9umqjmP9aZp+fos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-8?q?2tpnWJ7TOCZ2G82jx5sP7Dv+W2HoOEV45XqtmKvyrsdyWu9DsUsAnhoHg8u1pcVmo?= =?utf-8?q?Gty/+bo5gok5c+f2pUO/vUFTRC2/UaahwRuBvajqqIl8UZv3nUMM/gRtOCoFIpPV+?= =?utf-8?q?cLKWmes4Cv1ghCPT2XV29z+skzvAJXxZi3ScRtpVd7jYVE9DvdzMAcUVriJh6hItp?= =?utf-8?q?WeZKefEUu3TjssYDf8NgH118JeOsLTStpNykCtmmtykIjU/cV9BoeZ2vARTyKe0hW?= =?utf-8?q?RxdxiLjqJ0+P6y0GfslHpF40UqSKCJ+wEEVzK2eyHKYff4c1Jl2x1hC7mb1AOQrcI?= =?utf-8?q?+ljSWP8VCRuu?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d41ec39f-7fd9-44fa-71c2-08dc3d3a6166 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Mar 2024 17:33:33.2114 (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: LS5F1LpA7EPwNGWM0A7Ty/CpGfl+ZclW8NBk239Z8Sf2/yMHIK6MsFtKSVoKBpZUE/zJxCIoYRyjSkKHlssL+Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9280 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240305_093343_642341_1B36FF3B X-CRM114-Status: UNSURE ( 9.72 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 Acked-by: Conor Dooley --- Documentation/devicetree/bindings/sound/fsl,sai.yaml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/fsl,sai.yaml b/Documentation/devicetree/bindings/sound/fsl,sai.yaml index 2456d958adeef..6f551c68d33db 100644 --- a/Documentation/devicetree/bindings/sound/fsl,sai.yaml +++ b/Documentation/devicetree/bindings/sound/fsl,sai.yaml @@ -81,15 +81,14 @@ 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 - - const: tx + oneOf: + - items: + - const: rx + - const: tx + - enum: [ rx, tx ] interrupts: items: From patchwork Tue Mar 5 17:33:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13582811 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7A18AC54E41 for ; Tue, 5 Mar 2024 17:34:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Cc:To:In-Reply-To: References:Message-Id:Subject:Date:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=zgUQYN9rcxDrRN8tyTWabUPenjX5lNUTR9zrGgN8Vjo=; b=nZh0WQXNkTF84D57jGJ1ahX/F2 WVKbAYn6JYixz6rIe0HgEYhHw0tG/F3lEKdMOhqUIuirSF51270uxzAmOaOMuJ7A+v7il3S8iHd67 GIM74UYxeWevRdbfUXaYx2CdBrrPmv/nJezKFKS1Vdm5dr82s6tqgYVLQwDx8djQnbT+adfS4o3ZL fVF87tERK4uxEVRGR3irePJc+pUOEqYIu7P8yilKz0cIGRZ/Kt8vc/Xy5Y5W8mdXcTya3bEt/uYzh AgS36J1l2MGPG9K0GmAEVdNANSa4ZfbUrm+cUiqRFLHzy5ByiywdA6Xx+IKibieJHgQrpo8TYV/NE UqHvvOjw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rhYfq-0000000Ehpy-48Ae; Tue, 05 Mar 2024 17:33:55 +0000 Received: from mail-db8eur05on2061b.outbound.protection.outlook.com ([2a01:111:f400:7e1a::61b] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rhYfi-0000000Ehe7-114z for linux-arm-kernel@lists.infradead.org; Tue, 05 Mar 2024 17:33:50 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=npIFK6cjjqUS7Q+2u5K72TiYLnZY3lgQ8fKRnkkjacWUWaDSu3eZeUE2F+fGR453HKRzE/DP+HGQ8Vru534GK3x8xyHtV8PMEdfZcH+IMQOmcG0BIjtojTenQQNXJluWWLrLv5MIZbUmuO1tcNttc+RjEb6poa0OCfuoqPMM324N4LSp958Yb+O4C2e9TJzXHnjmyUcqw/YVSnLZoSywaBlgyFbtwmUNTW04gbK/eRF3MmNp8ESuAC2sU/x83dosYUb8Gz+gHIPzwRJZq/G7q+WdwMIE0W2fwXeWDeV2KoBPN6wwVEeZiXxHcm3KFLDPU4EKwy7MQNeXfsKql/8+oQ== 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=/PZ5N9gHK+DW2QnqzPlUHbIbh+Ah3oD1V2TcxCSFXQE=; b=cknMgitn+MXoLHYSgQLaIgpgstPeIMPWesDMVObK2vEfzZKQWyehAxbc3sszDKwkmWl8GkCkxBQN1jXdpEB2pLvPoMKNUwM/8EbZxZ/fjtV9U7vOMNd0Qgj86mgY3Qpo6tW0+1Y/lQKkV9atmcOjopw7UjDdp9JJxbYVhhD0minbSvt53sS6YXZMD18/RVz16D0ry/GcJvBRLGfgMLL8yzoqNsNESRjuZtdfpjW7Ac0RP5naannga9qjYeE0n7fYF5dzqbKDPbd2q89yTvgHjyeFgl6RQ2dyaI+F1e2JWcLxW8uFW4o/RZ29NY5SxZ5egKsvLFzoVnjMhNX7zcMIWQ== 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=/PZ5N9gHK+DW2QnqzPlUHbIbh+Ah3oD1V2TcxCSFXQE=; b=ZGIeWcC4+hjj3R/Y0MDEfQ5AAHObBitzroETyeAN0agvDT69+wHIYfKifwXBLc3VZ/8HX/Ngyi+fqF4Q9jU1kSXfVBTyYCmq24DYPsp72iFf5h7G1xkUI1PxVLHsLW624sNa7ZfNpas8u14YfB8cjMn0T6FDFPholJQs7hQ+nVk= 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 PAXPR04MB9280.eurprd04.prod.outlook.com (2603:10a6:102:2b6::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7339.37; Tue, 5 Mar 2024 17:33:37 +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.7339.035; Tue, 5 Mar 2024 17:33:37 +0000 From: Frank Li Date: Tue, 05 Mar 2024 12:33:05 -0500 Subject: [PATCH v4 4/4] arm64: dts: imx8qxp: add asrc[0,1], esai0, spdif[0,1] and sai[4,5] Message-Id: <20240305-asrc_8qxp-v4-4-c61b98046591@nxp.com> References: <20240305-asrc_8qxp-v4-0-c61b98046591@nxp.com> In-Reply-To: <20240305-asrc_8qxp-v4-0-c61b98046591@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=1709659997; l=10528; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=scx2tJGGMPCuV31oHuIscaL9iO3JoVAe7DIQfQq/hnM=; b=chMUJ7/XT0uXG86bVjfTRkPeJ8jj6HQXKQdDUNHBoCNlKTGaBtHfJIf/01fGrJO08pw2JZ30p 8eWnX0LvG1CAgwLrHRREHGyo0UzK8QxMiMUz++bsU+GnyGE15IPe85/ X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR05CA0159.namprd05.prod.outlook.com (2603:10b6:a03:339::14) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|PAXPR04MB9280:EE_ X-MS-Office365-Filtering-Correlation-Id: 14d3754c-fd88-4178-fb15-08dc3d3a63ac X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: FvP1mygq/vc1Ilq5QJ13MLIDFSkNsO4uayvr7mMv+/AyIO5i+8ktfL15bXaKtfeMwWHEez0ZRVsxMeA5fQY5NOSg+dHN/c9767gt/Ft/BQwHfWI5MJyhB6EOH55UjmbEYhXGxT5xg4Jqgd5Y0m7RRjV1+WIBVyxZVNbhjnoX9orHqDtA7QOGytIBGVpfrUUBKJdFUXc6HJtqHURlz1Rs8lrXVAaz+sEZO8YlipZPn8YtoRrZxi73kdiONhMHqRfPevvolpB02i9b5GcOxKp8TSji0f/Dbvn07mE7lQdkUO5TJKzYeXJZjCPR8oxDdKPFeR/QIXdNnseRVtEPoxn0ZfA1ZUrbw+kW0cyEh08hpwHABX3UdfnYtvuwEmHUUunxrNVnmtXJCWuXL8e1BENi+T4p8bACNS0B0jsteIDnANw8gq/4UGrs1rH44msi4rQmj6+QCpBgdszO+ELYzzJw+vPB28p4ZjmNxUSVW+FC+6rWSXO4WL3rzzVdrhKENycA7f0A6uxHJ548+zVnHRzJ/4FfDEji6n6grge9Li5s904TUIBEJrb7nypuceIKXoYUAh0nNKAZv//VtcO/SxpMX19e1SeNJuEsI0q/54o/vKUN9xQi9a0Mj6FeDUcmJbjqmYdMQq/pFZ48srcBikm9e4nfKJmPyrX/1z1aaHnOf2A5Y16aqbaILGwkAxiJ78FpMZEgRiO3TRgZZvSMbmMTJaEHcT0ApPsREEY91MNVd80= 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)(376005)(921011)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?J9aqGSGANWt2iZ7I/6eTV7aGsdcv?= =?utf-8?q?qRPY9RSNc16iVHCPqJt/w6zDTjgxgOWhMgZAvCVCci0uw8tTbjR5NiLkiit2kNVa+?= =?utf-8?q?JtQAEwWOY5A7tr4X1sDQn8FnQm1uz6vOIye6XurybJiExyOQLAdEWCKvwBbGQrhHd?= =?utf-8?q?VYGbnqiZrEuEEryav4Briq0I70mWREpYinslOOeLWTBWNmbq2uhag1sOJ1Ler3Clb?= =?utf-8?q?YpK1zQO4d0wuv7hQA+405YsX3FYn95l8y92EWsg2raQczo6cCigrtKAxeEQi7ZoGF?= =?utf-8?q?4LFUhhnClfRbg8ywQ2H4eJ1MfyC/sboTgndeauxY5J18p75VVV8An8U5TflDbGfJA?= =?utf-8?q?6HoKK+59FOVNhq5LQzPqQCH3z7Ecpdcw7lPTjwqHoINU6P7GvAXyZ2blJB51iSDxM?= =?utf-8?q?XKuPF4751vEe9tIJPAtztVZsLFWETRiqgI+4lvtPUYzDa8hhr4OgIZAt08igkzCG6?= =?utf-8?q?OhmXmjo2EPoBy8QDOs3oMUPa3ONDyMX3c967GTeztRncjSo5PBHqxyrEmbFASsXnX?= =?utf-8?q?Au+1HCmyvw83Uc5mWVHamTuQ2nOlNLmDdLKu9A7rU+zqknD0z4NjmcNaaLa9DyTxX?= =?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lW3Ov6cDjVj0Lwdda27Oots4o/wV9rNumIyGzoKF+2si1V33SYUC4lVIWyCcx3WBc?= =?utf-8?q?i1W9XyKOG+bb?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 14d3754c-fd88-4178-fb15-08dc3d3a63ac X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Mar 2024 17:33:37.0214 (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: v1M1+doEbl786LSCEm8555yhKSVmmfdkjhV1fgT8/p/vJJ67wN59Qc2M/G2fg60PnYZK9fn4cBLUsrhTl+pdTg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9280 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240305_093346_500746_1A463459 X-CRM114-Status: GOOD ( 11.64 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add asrc[0,1], esai0, spdif[0,1], 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 | 304 +++++++++++++++++++++++ 1 file changed, 304 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..78305559f15c9 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 { @@ -481,4 +482,307 @@ acm: acm@59e00000 { "sai3_rx_bclk", "sai4_rx_bclk"; }; + + 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", "fsl,imx6ull-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"; + }; + + spdif1: spdif@59030000 { + compatible = "fsl,imx8qm-spdif"; + reg = <0x59030000 0x10000>; + interrupts = , /* rx */ + ; /* tx */ + clocks = <&spdif1_lpcg 1>, /* core */ + <&clk_dummy>, /* rxtx0 */ + <&spdif1_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 10 0 (FSL_EDMA_MULTI_FIFO | FSL_EDMA_RX)>, + <&edma0 11 0 FSL_EDMA_MULTI_FIFO>; + dma-names = "rx", "tx"; + power-domains = <&pd IMX_SC_R_SPDIF_1>; + 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"; + }; + + 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>; + }; + + spdif1_lpcg: clock-controller@59430000 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x59430000 0x10000>; + #clock-cells = <1>; + clocks = <&acm IMX_ADMA_ACM_SPDIF1_TX_CLK_SEL>, + <&audio_ipg_clk>; + clock-indices = , ; + clock-output-names = "spdif1_lpcg_tx_clk", + "spdif1_lpcg_gclkw"; + power-domains = <&pd IMX_SC_R_SPDIF_1>; + status = "disabled"; + }; + + 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>; + }; };