From patchwork Fri Mar 8 15:30:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13586946 Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on2089.outbound.protection.outlook.com [40.107.13.89]) (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 841881EEF8; Fri, 8 Mar 2024 15:31:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.13.89 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709911878; cv=fail; b=ncV0WMQfGhX3pLaKLTdOPsWpY9LPVuegdtKghdE3uZQ2UG6ViJWkfdssDIj8PW3qfFYxTfyEv4880iA+dSrK2MjMHAplsranbnIyCzHqPrAFwujj4LUbsLN14BJ9s5HFSEa49nGbIZs+263pZHJvRwG76541JmjaqCahhs2d6YQ= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709911878; c=relaxed/simple; bh=1syz/aUeJNCMRuMdqZfLAmwttcSh8oLFScKSrTznruE=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=ZUPey3RzgEM2PWV3yWwwd4+4HhB4XeOXj4A8vIWmpm5h9YEre3koNyJ/HJ8367z8BLMF36UGxTmGiKhm+08LYFQoX0q+k5WYqKd3bI0/dFE/d2d8JlWsgJCOJ9c1P2HWVplrVMtodX5vybaWH8w4Hke2LgAa3O+2e++xmADlR5A= 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=L3FKXNfy; arc=fail smtp.client-ip=40.107.13.89 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="L3FKXNfy" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=neNRnHjg/4a4TLZbdyOd7LrZl5bO2CxwJLtSqUSnQCuo0999kkxQ1FGmXLbfuCCoixsur79pbr34U37auIksQpk9F9TF45w492lFoDe/5xNYkNTDRelknlyRTwX2voN1crnM4/IVkOhnFlzvEg0+On7byrhnA3otxZXcTNRh/Ep9gff/UJ0YCIhn+KMHqomBNRR306BxTw2LOPNcl/aRfphJmjaStcKeTp0zkAqqgJNv6CXqM5QCeAdJ0qJlsJYw+RDxk0/pe6kgHCizdziCq8Xds9jBHu+WiFgU0TmZqPaEhyJsPkVDzQkTitIStxbL2TJ6+m+3IMyyX+Sgc4n4ig== 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=fjFw6dOSWQ250O7p2F/FbDCVD7qupQGbTbmBMdpCBhh7p6JlBQh4z2xHEJJ/F/TJlxhiV5AK//uu41W8fK8XYpRJmQeSZVZRMeDLYpRl1aY938W+5iDy7bgKBwLM/2/oARcdlkdV6kVyiN+cYxeAQpUAq2XF/XHwAwdBjlavQ7omErWqCRe0M8Oo2l8i4Vb9D/Jd8LEkf7pinuApSisu9WmWGgi0orOp1S+6n8521TcAq4PU41khQ/jHY3/NUiveHj7Cbe9I/HnumcJQhrqVwLUcoluoRoAgQ1Qa3Sk1szkkqnv7kAvDIYU/v3cD8L4sjNCxnXAAMFMbV8UjDPN0ug== 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=L3FKXNfyc3blx+orlCyKRhQ1vOykZRyUoTLE6F0jek8E3C7+vnZ/M8qCtjR2w6GMj8xCkO8oF1Vug9QKc1keOofnFizD7z/9xvACQsnA3wMSJVSJ1UPPqhi9xmyUfRXvzJttjwgDIrPqQ0xQJCASIujeAo+ai0rU7KhNZ9Ny5CU= 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 AM9PR04MB8116.eurprd04.prod.outlook.com (2603:10a6:20b:3e7::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.29; Fri, 8 Mar 2024 15:31:15 +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.7362.024; Fri, 8 Mar 2024 15:31:15 +0000 From: Frank Li Date: Fri, 08 Mar 2024 10:30:50 -0500 Subject: [PATCH v6 1/4] ASoC: dt-bindings: fsl,imx-asrc/spdif: Add power-domains property Message-Id: <20240308-asrc_8qxp-v6-1-e08f6d030e09@nxp.com> References: <20240308-asrc_8qxp-v6-0-e08f6d030e09@nxp.com> In-Reply-To: <20240308-asrc_8qxp-v6-0-e08f6d030e09@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=1709911866; l=2330; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=1syz/aUeJNCMRuMdqZfLAmwttcSh8oLFScKSrTznruE=; b=4Gdozk6s812gUZ7B9+kOzH7asdjjzQc15SPHqAwXofsXpYSLxyUIATldM5WvxGxKcsLh533v0 X/iUSB8EagiD5MogbS/6oBQc2Sa+7KRImPTtLFQGB1PyvZCI8AXhVcf X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR05CA0151.namprd05.prod.outlook.com (2603:10b6:a03:339::6) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) 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_|AM9PR04MB8116:EE_ X-MS-Office365-Filtering-Correlation-Id: 34dea3be-65a7-49fa-ee57-08dc3f84cab6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 50scybt/cjZ+tCVVWuvgyOhZF4OFzjFd0kzG6XTyMBhlvmB74XFQFSvEqtqBrK45cQipx2IL8N+AA6/KbgnCYsKjM+zOTrIpSGmkVGXApnWnY/BJ3ZzK4+9O4MLwn9yym1tWara6ye3Nj0rDDvvViecolhUwGVo6I8Xm81XY6GLvxqGVO6Kh6qpzQdq3LWO9HGquTp0cR7QNd2T2aQfWDeFyQDaeInMfI2gn4FMJLNBTX5QXy2a1Rt3txzYFiyG7j6Nx5964DYedLoPMTo8LDCx7e8fWsBf4tpIlF7PtCUo6zq/pyuPlVB/++m6+1B45YwyzcLjYTJNhVSH5747eKq80ZmrqB4fDykSPsh0dXJxkEQCM62h9Xw+VgcntyhjvRXMA23fdf6y2PwxZPwUC7BEdIrLi1FoGtSGj23yiHUkWFHQ6ui8sOcmisdahNuOp7nLY8Vwx0M8Ifzd0nnKFNYAQ9ZWziAQMWMEzmLhsZDMEH/DuUijmYgC6WrfRG8Bptf6llzR5qiINqAJbysvFjgp3h+6hCV64LLw7rkJUbrkXD8napROsai1/XviQ6GTPy6JBe5I76sz/RFB5hBS2BPHwVYky8hlTlCotsDeTzqwq2z4/wdZG2xs+Gch2ffZUPIx/lz4013oqoKDQa1UHRP//4XZpYQHQhTRuvVnlpxRJXSqwUo868JewpZCOtuDk/x8bLSw6wrpVSCEXOYBK0AyFeTFDDtLQllLXJkOsmr4= 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)(52116005)(1800799015)(7416005)(38350700005)(921011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?V90BpsY2BjwR8KxRmicN0UJHyKED?= =?utf-8?q?88X0eq7lluuoPDrssUxD5m6dgdIEz5p/pUq00Fo8iB0phLE+Wi/dV8deNWKKwDON4?= =?utf-8?q?s96db9eWVya06LQFvr8oG0qUHzm49qRVSHl5GetjdBGneuZQLE2/slYOpWpVXhLoA?= =?utf-8?q?iXY/XyTtb28GnND9HD47y8BdHJ64nkEHiZ8vrbwgnumCwBEUgU1vEJgVEut1McHAb?= =?utf-8?q?4/sB5zjSY/21lcZLiosPumH0aHKnI2rIZBweeqsdITYD0i26PeC0BSg8sTABi9t5u?= =?utf-8?q?E+N3Z+JoCLOTqiuZ0YUBZdYnAm2Gjp311YJyVGx4Ga0Wt6PHVr2Y8lcxkOSDvMqyU?= =?utf-8?q?UKSlPbQRQwT7Ep+0CQjTrc0t8kDZ3FkNsG+E2lxg6eewViNJkCbTawNuStZ8BNw2R?= =?utf-8?q?8uXEOGrSchOStQXtbmWYTwzn+6viD/0OXA9Dn/u485wmvP5RoFa1F1zc8gbGbzzw8?= =?utf-8?q?G5QiWLzB/bTygvvNzFS9+qWm6C0e+L//e+akoS5ADtfgkoFn4wFMXUy3dlonjIAVU?= =?utf-8?q?d+SEOYc6Xbc2vJW9W5R/gU5jyJVyN0d5Bu5bEKhyDRqmqxdZgjMsxjLCZZGlsrXWZ?= =?utf-8?q?UX9NbOqfz2tkJbIzLSqqd0fOSOMuXeVNElhUR1t+ikC3YbVXAl8EJbtwNbcfWUVL3?= =?utf-8?q?QQuqeIw8XKt9C35Tj4c5jJ2LrX+NTBAPcn3To6mq5s3n+bF6NG6JnInH24SXLdWl+?= =?utf-8?q?DOq3KEbEM9Hqaj/ptyAOSkkRHRBJPfm+nbxVD65jLBN2N2daI1S2tYcSdmyN3dCZ8?= =?utf-8?q?dRhwBq4ljpdfKXY9+F44NVUNSS9ilaTsCgxI2rqq9ChkQS/bysHQId965PmB1jtns?= =?utf-8?q?WVWvX83GrjvNVbV+IW4q3WS6ceQPux1Z8Bwi2+WxNrUVuOmuoZx8jtRVLcUsncVgI?= =?utf-8?q?v02+dcLN554IFTCOqLM6rDEIqmFh3M3q0Hbl6bYPN+dngjzCqzPgZlX4dl2uLne5q?= =?utf-8?q?ikdF071JL8WLYwC0UC9+uF9msok8iP/w1KY11v5xyJFRqvYJMwCIzdZZwTHfryWat?= =?utf-8?q?YGNCGctUzXcaajBnxSeCfJUlqG/MGqviKmJiWEwVWmxjWYj9Uq/NFwpkoOedjSXmx?= =?utf-8?q?6tZc5t5R/Z5Sf6bQniP5r+07eSL4E/hU5wHK8DIpbbklyJbbrDq2znxy0EfGO8gPY?= =?utf-8?q?drNjhCBB9KakKh3QSLNd+Mznn1lAu9aMgRbkv+Oo2UEnv51KAFkbVL3iGNGXaIGhy?= =?utf-8?q?PZ0FEHpbumMV5Ukqg7Tq2b3YHjLqoS42yx3MYPHBMVp4GGDnK2Zj4eAgus2Gq9bfQ?= =?utf-8?q?1hDJc8A1yTlOEbgZxWetBDTqkqTmrYg57OzGp7V2Vqx+bX8bgbxJcKzbtY8+UgfQn?= =?utf-8?q?rymiHGQwMSc7HI4590lJYt0YrRf3ivRHvPSAvH5uNxhHS6yyzaEJocuiouWtXpy7i?= =?utf-8?q?Dpqto1QSBi+wnQWSlsWL/qtOmYxhHt8xJxeYvbDS/jvqMTq1sjlgLg5LEKHyHX18T?= =?utf-8?q?M9wBgL2BASwEKe4vzQjj475IMSMjKXmdnWhWnBudOIdYwUKgwaxu1WQ2ivLiLLILm?= =?utf-8?q?Mlr7m4KmfHOu?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 34dea3be-65a7-49fa-ee57-08dc3f84cab6 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Mar 2024 15:31:15.0038 (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: EsMPNUmzfA2gtjk0u5oxQgrD/MPKvCN1NQ8kmQS9wXrEgRgvfVS/qbKRyqtdEPWvm8Am6IWY23mq/S/R3JNLPg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8116 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 Fri Mar 8 15:30:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13586947 Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on2072.outbound.protection.outlook.com [40.107.13.72]) (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 E97182C69D; Fri, 8 Mar 2024 15:31:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.13.72 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709911883; cv=fail; b=MvrKC4u7O0IjYEnAcP5gavpjWmNcpu6Vf4TMiNII+mU70vZmnJgrhKM78EQGCHN/e0C5Ajjafy6sSHAtIAq8aTTm5Pc27JMQfVfjIuPjS/bG17dYHduEzeDyf2PEWr3evDmjG+gILEPXhavDMlnl7J8FHjnisdJXBwc0TRqM2ag= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709911883; c=relaxed/simple; bh=vhxVnX5MWE/YYazAEq2DWjswf9ZVqHa5Xm9QHs88IVk=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=TWba0cVyYeZljCrUEp3h1dq5yACofZhd1FqbcFPbfWTcpppyLxcXPbszqT0P2cZsPU1SmPX+tEqHAjKr1+eD+UEFtSLw06zGSrbWDikQfaYQLmVs+8lASAnAYSAD9ReERgJtnXX/MQV8HUAjr1dEKZCzeaq6g9afzsQ8W43UX5M= 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=KMPVhICy; arc=fail smtp.client-ip=40.107.13.72 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="KMPVhICy" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TVMZzVa0GgXhooiXBarhQiewOaEHSdFZTqAPPSBpNXwWdw22RFRNCPGttlblPafV6fCx/oPn4/j+eSKysTB8MBPx3LIbcJzkZJWqfLY69KftjM2RUEy8lxx3h7T+Lysqkr8ookp9mCG0fSbwcM1QkL5N7PeMicYbuVHiYtFfP16MX0iYIDUzxuBgbhTz3XxCAkBfKXqTC8vlhvMqvTElIvmbUZQZmpXcrgfFkSFieUtnc1N3MJCZwAWDrbPhEcuaiA5LwAbiEFjN5bXHNs21PVBdVJ0uUmIPew3+tCsL3yq3BDseuhMrectparMCQt+OWNPqjWbSP0Sx9CoLYpgs0Q== 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=R0mcUIHdQoXpcrCDeMb93Qo9Kvs+iHjA9EaUDycGjYs=; b=BcOn1/WSfEcXWNsflTVBtEbCHA8IZXig2MHvp2litDE4ucOD6WYrcwCxO29XFHqLfynrgHJbvNhk/j9UUQJsxZGK4mJfsFmS86pTixBTRRHpQAYIGEf+Si9nuVlvnV/Nm9eJLZrnhv0WDHZGe1sNWChOu+nYF6Uvs/EpQVzj78ZWgaycVpRWWMst/Ng1g84WMghrriDgehVX07deu5ytMgrXPA4PD6AzmQDAwxeHzzqvMVE1LJSjpriraH09WaiUZGr7OdqngduNg7/nKVrdY69pmXjRpUrngDoZFHpRtHxXw+trwdQsiWJolwwQNyKznaNvZgqzbpFCV0SAmya+BA== 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=R0mcUIHdQoXpcrCDeMb93Qo9Kvs+iHjA9EaUDycGjYs=; b=KMPVhICyVlqBGKEPqo3XjndFVUxRxygfPqmUtVz109L/84ESiE+VXzhtqKFoNVHfaD6vRIeG/R1q802aHcmGnDMNcooZn2qML2TbG4eBdkXQ5NsBD6M9ePKH0eNVY21DKcNN6vBLyi7O9AUdSRw1oAPFWER58xTq+9r1vXWGvaM= 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 AM9PR04MB8116.eurprd04.prod.outlook.com (2603:10a6:20b:3e7::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.29; Fri, 8 Mar 2024 15:31:19 +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.7362.024; Fri, 8 Mar 2024 15:31:19 +0000 From: Frank Li Date: Fri, 08 Mar 2024 10:30:51 -0500 Subject: [PATCH v6 2/4] ASoC: dt-bindings: fsl,imx-asrc: update max interrupt numbers Message-Id: <20240308-asrc_8qxp-v6-2-e08f6d030e09@nxp.com> References: <20240308-asrc_8qxp-v6-0-e08f6d030e09@nxp.com> In-Reply-To: <20240308-asrc_8qxp-v6-0-e08f6d030e09@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=1709911866; l=1420; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=vhxVnX5MWE/YYazAEq2DWjswf9ZVqHa5Xm9QHs88IVk=; b=j//yU7UxfSNm9hv5ECG7EGDw0xz3geIa70tzHi8ybB1hprlOCvq9gLBlEseYqscZMiMiE2mNV IzdKzGT4firDqItAdcfuHohiyNL0eaib1vUai8Ij6w1r1eZTavgQiBb X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR05CA0151.namprd05.prod.outlook.com (2603:10b6:a03:339::6) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) 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_|AM9PR04MB8116:EE_ X-MS-Office365-Filtering-Correlation-Id: 317fea58-d6cd-4142-a24e-08dc3f84cd4b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: PDezQB3dCtIhWt2qpSgprEDK7b1WpFvRpvR2nGQemPrC7p86TT6S3l5j9zXBlAAGQ7fHkFe6lnCWWxMRcU7m4/vGT6A8ihaqKs+2zlAho5ttVe1fYUAGCXqEtvOfe+tOS1VI5ir0l0bwFBBwzzANohRfX2ntUn9uiwGNHJevV3WkZRsol2CHne190QJEuPt//9J5P0JrvpdnxaV24j3FQmZ0zK8hv5R+MvyiI+JfI0YZqcbOfQAHv11Je+BuwDI9QqkasZkk7VsEyLi1pYbgHIvwVAN17lX7yDs0ax5cpqhEaptAUc218MxVgK2L9s5gUpUa8ohMj6pxX98WXkRP+xhXrigwc3dkbyGfmC2Su8TUsRcmREbYRGmLZ+zW/qPGPAU6nyGInM5y/WPHvai241/PqR0vIgxrMBL+gCC1EM2XEfAZVxtemKYVSITolWPQdyBY+OmVLvLlehecXcwrUycz7rB8fdnrg7hhg2eQ7MEj47jknFrCN+PPd2VE/39AZyAj6wTctmZABmnFeiM8OSDf4gzW/1hbmYI3G8EsFszmiDZkX+whSQzGOrYETEJAtPTFLUfv80VjxfKjUk3yEOwOZw0r0NX6t49lg3hugrGDfJSyoSBCF9Ji1fhs7cD3ep7DPEDNRetGfDq7t8VuVGqn7eEgjT4Fn3186UVXIhJJJeXJt90L0iqlyC8a154mah6M4tzZRUzizYHIWNJ7E1D4E41lTn2fiJHjTj9VEXk= 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)(52116005)(1800799015)(7416005)(38350700005)(921011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?1IZGASNbuaacI+LJOsa2rNtLofg5?= =?utf-8?q?B3VK4z/CqkFxoUqQ4zXzUlmLd/o2bMjYbJCef1jr6mkklqUh9Q3sByh3CTKlzLvWc?= =?utf-8?q?LfbqibitqH1hxVFxu2DB0yWGz8W+8iyd6PImezakn8ChpZcwoSxjQAJZIHRVr9dh3?= =?utf-8?q?QvAuEcFVf8pfY47El2OCli9BmbgBGJLOTY1t5ufzRBfVy2vRYimiP61QUrrcj4aos?= =?utf-8?q?MXhSVvnUWgwY4Cp+/iHH54+8EjDJ4cdt4QjjGhC9OrjpyM/It3F9zvtTtdS1IcOAa?= =?utf-8?q?kp0f0FOyJiMqVjmqXveZK98vCj3t8O+Dkb5mJIT2aNGSO+svCKUH5qvXRCNs8nYHI?= =?utf-8?q?5B71cjDl65dAoGBDD8M4JYQ/fRFUNdZ6KPQnjtVK+Ua9lYfxp9Ns0mK7tfjcGLAtF?= =?utf-8?q?jAxEVGRkDnJbZ613b5GEhMxeWu30hqY2O6g3NLdzC4FTOsy8exq3c8CfTvYznzSVW?= =?utf-8?q?eU/EVPu1E5zIxpRdOSSKN8LxAIAni48d8kaF6WwN9vHdmqzkygKNclfkiIY9ZXpHQ?= =?utf-8?q?B1ZYDWIbEl/c4RWUhaTHyJNFMHVrBmQbRwNP0ohtx/UzD1uY1rZAzEvnlthElWfPe?= =?utf-8?q?3iHI5rXUGNUSoN+u1LbBzbkQ8NmtTFNmugmBqvjRMQCWmbVf0U1aAySE30XLP6ZRu?= =?utf-8?q?5rSw83OFiUehDw1GdPOEZM2MA8GffrKuCi2itFbdGS4ktfiv87znY5/C3OVor6Tc0?= =?utf-8?q?12em43Ppdvf2RNLA+WnZwK2MmN/rTNip7aZCuHG2N1eU94IPyajL7jtvNvtvV9oow?= =?utf-8?q?Lbn0+RvR422+gNfw2lbJjg14DTI4FIx2ja6c2Thnr90/lAsa0E35I6g+nX6BrKPYy?= =?utf-8?q?FXCmNGeLXi02jLAF51DZqImwIQH62rwM9rTfegtRv6W2dsLNRLFoDaeov5hwLBCdN?= =?utf-8?q?uXVnuOPpfdZODJMyJ0IPkdvvhZnfO1rVjQ/0+6BqMrbPKSw1HFTsQFWMhKeJPb2Cl?= =?utf-8?q?yyIR/9nT8rkZ0PJL/jnPzftbzyBE5x4FX89O5JX9KYep8YdL/ggMbKqArN2eXlv8J?= =?utf-8?q?VVnnWsVoVReGC91WRhAeuXgGCNjoe191yjlmyC8BuxenCfbE7XeqyKf347JnlvXt5?= =?utf-8?q?9oTowDoCzSL64P354FQ+Cts4sCSDZlJ9XOXxDBp46xpUUxw9pcSObeiLp1z6XuM0I?= =?utf-8?q?biT2KwmBJxJclZ3NWsG2XyqulP5ZJJ0ECo5inMZOX0BEz3/TITPrvfewVzeLYn/Qj?= =?utf-8?q?IdCooEGYbHUePNhWbb6Ekcs9z7iKJasTjF0psXAeI2DGrzUIxX58/Ml5If0H6W/FL?= =?utf-8?q?mD0aNIAWu9o8+n3TOqDX6wrSu6HqL9zgC2qBZt8GBASvbdsgBxzTYM2WkIAEJ0j1a?= =?utf-8?q?yL+94zDc8HZC9PQ3XXHgRA+DI4xjx+B+ARrwsB1i6I2IVrjqv++x8shKfXuCxfwEY?= =?utf-8?q?w3XWvWEDnxJ8nneiPhFm1wntOA1jMEUtEdFa84NpGqtnBAW/IljsJIaZr+mAgbV4M?= =?utf-8?q?cnWDvXM6pShGXoyvnICYIh/2/Y/nzaQFgHOPq4CjBzStGOnxWWZk10mQZQUFfcyYe?= =?utf-8?q?x8MF9Nrj2jiq?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 317fea58-d6cd-4142-a24e-08dc3f84cd4b X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Mar 2024 15:31:19.3954 (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: sehKEGasz/1Vs8gw3XO1fojEMENc66GgRmxm3/ySkSO3cY6HLujz6kj5Fc+4rTw4tn8ddz+JMB2rZb7+Be7dyQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8116 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. Acked-by: Conor Dooley Signed-off-by: Frank Li --- .../devicetree/bindings/sound/fsl,spdif.yaml | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/sound/fsl,spdif.yaml b/Documentation/devicetree/bindings/sound/fsl,spdif.yaml index 56f8c0c8afdea..a242f68f99f18 100644 --- a/Documentation/devicetree/bindings/sound/fsl,spdif.yaml +++ b/Documentation/devicetree/bindings/sound/fsl,spdif.yaml @@ -31,7 +31,11 @@ properties: maxItems: 1 interrupts: - maxItems: 1 + minItems: 1 + maxItems: 2 + items: + - description: Combined or receive interrupt + - description: Transmit interrupt dmas: items: @@ -101,6 +105,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 Fri Mar 8 15:30:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13586948 Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on2041.outbound.protection.outlook.com [40.107.13.41]) (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 20D8F2D78A; Fri, 8 Mar 2024 15:31:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.13.41 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709911887; cv=fail; b=JUJAcqUKWr2PfIVXY4i6WUvI6EoayYNrRAvHjuPr3qJemcf9TSuaiOPDVQWXd+gjGJo5k9wFGXrQv2aXrI9noOsRTC8n3DlnWzOLoMwEo5n5npeIewqTMvqdGk5DFJ0b/P3f7BxzJENRayZQ7PIKRO4NGwLRHwqchBOXicakzao= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709911887; c=relaxed/simple; bh=ty5f4I1ceJv/bmgzC4ekvcaYJmsOaQVPeFLA9ZTjxrI=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=GEyNbSHig7mmxPdT4iq/F1h1rTrOCpFsmb1qwQF/cTVvfLY4tYw/u9QKE3Lby+VtLs+vDfxIrgE5mbWJUV/Z58Yx3BR6Tl9KCwVlRcys35x/+FiD1yNc+IDgM/Dus1WDrcqzLmz2G5gzbc1PeDFgiGpttoj4y7EWVtgJWW9zTtk= 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=C7u2dCBK; arc=fail smtp.client-ip=40.107.13.41 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="C7u2dCBK" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=O33ZbBOL67O4eDOgeL6vE1Qg7S160LRLW/xqjg2L02ZuMw1lMxRnC5GPtYWos84XjG7rw4y0FeFtjE13au4X+IZJbtuHCcutUBPhpekrCu/sWxCuPWkSf2zCB+3/PFpEXWvxd9e9/mWzT5Fb/tX/69UZ0FBDHdsp9gqJujj4ZBbJ+Yr+o8Ff3CPcjO6pcvemx1P6zvez8VCyJcPAjNGbFlbu/q9gdUJRHMf6jixO82uRoKxFfEagi5cvcD1igiYG2Sm2CNjky9onK7mLQFdPvt9suGyFZQgIxofjmyzUZ7CDu7vvQEVtLUT7Y8lXsLf5F7foRidTdU+WB4ztJ0cLaA== 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=Ry9d1O8ri36OnOsr//vKZPxLW9rq4AUGvF6G/VAl8Ic=; b=CVk3XHt3czf3HQdWIjFZ7cUvWlOztdQ2BOf8fvzIU3UQtIMpoTte34S1LQLGgprcxmkcv7IMOhLkqhLDyQW/2uFksBsOgVbhD7pDx5R8zFM7JDUZobGHw1q9eSgT0uPgG0xZ7+7M0w6whbvVV7GLZCkRvte6iApkVnTf5D6aWB30w9vsIoExhaiDP+czo6E5zZege42azbo7htWJADGkBdtovrDk8MjI9U/skrcPqr7SIyFHHxjV/ogdZen5JrjJXBilBwKevb8R+Wx1MVKRG4Sd+0hOGKwsdV12fp2rAIF9zOFTHDhoTtc/NCcyYGMlpJSEPhlSGRw/p8ej9WuGbw== 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=Ry9d1O8ri36OnOsr//vKZPxLW9rq4AUGvF6G/VAl8Ic=; b=C7u2dCBKCsZPf8cq5g5Fli+X6rEuOyfb/q4TH7/honr7YnJPa/X78aD6w9s0UN2ozT5A46C9KoWtnHMomJYXMtUng8wUKymrzuImhs4m+88U4z+Z77LT0LH8UYb+ObRmg5iUWs9ACx9sN8kuLdCZbUmnASBsELGohYige5tBYlg= 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 AM9PR04MB8116.eurprd04.prod.outlook.com (2603:10a6:20b:3e7::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.29; Fri, 8 Mar 2024 15:31:23 +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.7362.024; Fri, 8 Mar 2024 15:31:23 +0000 From: Frank Li Date: Fri, 08 Mar 2024 10:30:52 -0500 Subject: [PATCH v6 3/4] ASoC: dt-bindings: fsl-sai: allow only one dma-names Message-Id: <20240308-asrc_8qxp-v6-3-e08f6d030e09@nxp.com> References: <20240308-asrc_8qxp-v6-0-e08f6d030e09@nxp.com> In-Reply-To: <20240308-asrc_8qxp-v6-0-e08f6d030e09@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=1709911866; l=1255; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=ty5f4I1ceJv/bmgzC4ekvcaYJmsOaQVPeFLA9ZTjxrI=; b=6W8mAOAo4PSbsV23QKNmA6mss9ebhqq+84S+DUZxqDR3U2XCnfUXtxxKrdIlpES2W6laYjki8 p3tefBVHozQCmcVLvjRgv+LX0uI0Ks0p6nd/am+l82zT3IK5XT3R5Qb X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR05CA0151.namprd05.prod.outlook.com (2603:10b6:a03:339::6) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) 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_|AM9PR04MB8116:EE_ X-MS-Office365-Filtering-Correlation-Id: 089e35c7-0a8c-4f3e-904a-08dc3f84cfc5 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: vIVm2r72eVYNP3lX6pvvYSrkJiTMyLtH0/tSljXN5WvDRR6nOe0Wf4mi5fFvZauFQbJ2nLng3KiUFW8A7kIP6/8m/pY6yHh/08zbee48yLmmGVVQ8Zj8/GCxTUuIbpZiaCMcruz4a3bhASOeJCMpvWw2PuoG4apgYBxatdadl+UlmJJWlxVroLjvethwD4xLauMKT1kuRaJ0xx5XXBs89YqxmH7Ooj4b/WcoZBXDrNVw6dUTUKDbCPZc2FnQhLfD93eRH09ewzkOjRD5SnU4xzL5hjSVSXCtG2Y3Qszd1AnEEWuh+UJp1VDtXQejIlstUyiqJKlcMkUP40az1yc94TR9CZHyaKMkPl6yJijpn+/Fc47rtPyxTZBTc8rA94DM6WtOPLeYHTolX0OXLNaSDx1JQ7aOQP/Hb6YX15grUi62/eiqPYMyTDb5aHsYpAEd3VgvknlYiFhNH8qV8F/e+hfXNCayNzNKj5jOMjREnq+ED5KZFJBzxDVUo/jUVccZLkR9ssOUyVZ4RpFuOuBUMuxPibXR66x3ZlzDlVxLVcF05ncgmPvA1Fj3UFXzKixaVlI3RAIse+2VYl2Sx0D7BXeJ9KS8Mk3lN4817grItTKVgk1HHzWmnYd5+/EWlf2yCbEvoy2pxUv3wsDWyYKadFLZIaUvzxk63WtFFu3EYbbxoGWS5ss36WQN/Eyhml+eHiamrZ6AMtruWyVXY4EAWuK3Gfqs85mXxS3q1DGfvMk= 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)(52116005)(1800799015)(7416005)(38350700005)(921011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?CKSl/90ULc76Ia8FW+Bb8FVPZe+Z?= =?utf-8?q?SxrKKCsLe9R91UbYUrKRRLaS6sDz2JLtxjVfYC+LjB/65Q4EC7BzOUCMrIdU24hCO?= =?utf-8?q?TDQfZF7JpogJfcE+ixJWb8oftMB1NGIuEZVgUzwLQ15L9avY78tRPMa2CQ9EqAhdx?= =?utf-8?q?ldHHkVX+Ifq0UuCPJ5KiSqOQfXBS7NYvjEEVQ8CMrWCDT0uBQLk4uJzSIXhmcKTLP?= =?utf-8?q?WxgeUZTiGpz+4cmNruKtGBdz7dHD81cTs2xYY1SxKFv/xFSXb9Ar5h1clCsDLOem8?= =?utf-8?q?y6e047gMu+ImQMudcx07GL7dmMcKlxGA20IkqiBvCQU74cdRZl4Io/JGQs8VQCSnu?= =?utf-8?q?skA+GFmgnUcj/LkYZTQ59Ysn1TGtMWfFpVIIzgBB6Wsi8Alze4EjTu1ashF9Aj2Rr?= =?utf-8?q?/GBd5sbXFZ7p77gWNwHsQxyTMwZn5t9j28Ea/ktk43oUqGGm3TdXtm2zGo7hdojKV?= =?utf-8?q?mBroQhjledT5gFvNRd0nyhPgdbhxyS626Bc6I7oklEfRy+a6GLZjsLxxkb0yalqIH?= =?utf-8?q?P1Mz9Qn782dBKScIAfqS9oZZPugbI/FKw6z9iGYIg5/+vj5UzShVIOEL0KsBHtptH?= =?utf-8?q?+MLKxIacTaXA8vMZsZD1VIPF+TS8VjkMaHSqwZh8C1J1KxIa6WBYXm8wEx56oGu6R?= =?utf-8?q?Nuc1QjzbUFM7EgTkLM8GY3zjkdRs8TgNFiwb6aCs60UkQ/q1nq9mu+gNxsALZS7IN?= =?utf-8?q?1KzpJtunTS4K9aNT3DdSbFLt1S9F3UuV4Syr/daayLTnssvADR+ByRPtcX/TKE1r9?= =?utf-8?q?igRUKqxtamgQDi/ysE9kHDgbNQm3eQ3Nqo+aNTG0tG6Zu7Su33qZo0id48X/CtNav?= =?utf-8?q?tYa1uiD7SMrYbjd3Uj11D0AL+36mnh4SHGmLKZtoM/m01HtCacB8FVsJXuVemZTXs?= =?utf-8?q?mDlYoUIt8kORA6YsvruvQiy5QIaXOxWiF7C3n2VzxxjM4GI+gfKOeTEVyRbKkSotT?= =?utf-8?q?K9LpQ9EyWy18UYFP7DSQ1wOZjv3MziCG/r998JyIRYKd7ugw8Rg9BjmyoGBFE4bNk?= =?utf-8?q?ogf7nAOUoR6lBe7MEVgfSW+EIriaJUYMbjkmOz/NUkgrCrHYfBrcv9k89vUvQblUF?= =?utf-8?q?jkTX1x9A58T8MQR/ce64UwqLQ5Lc0eK0itSB2NSt3Si4/NQUOTvrnGksFveO/Nw76?= =?utf-8?q?yChyY3AcR1NYVyyDF/k5xNmFW6DuwjG/VhM4HSb/7QDPPV8heAp+PYXu+ccLA3Ajy?= =?utf-8?q?WMPpbA5ob7swBPayyWUN4jdMje3a8aQMNYOcTe7PZJsUxUYGQA8lisRIw8jjjEEEw?= =?utf-8?q?ydDux0cBbZgxn+8BGGq/B/G3SUP6P8ThSq3uE4wmJG4DbTLXgVP3xzde2dHvKC9wx?= =?utf-8?q?SyPuZT+ytnN2kxk2GEuiG5USwKwoPZjACaSHnamlw4h3dk/kMzuwO7xiQbR74IFY6?= =?utf-8?q?oRAQSl+nxvM++IQoEdj5gRBzU6r9YkMy/iGDul7Xy2ziS9Sk3K7QCOB99K+C2lkRR?= =?utf-8?q?pEbmzGyXF6mEXtQf+OnGYX9j7fRPVTw7woEq7NK+iC+rjNyHfIWh925ICknPU8FbN?= =?utf-8?q?VgUu8iHMhlGD?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 089e35c7-0a8c-4f3e-904a-08dc3f84cfc5 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Mar 2024 15:31:23.5506 (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: B+lql3OkqdioZaLl6CfAiamlXlzXVRvk5rIRrQ42RsK/gJFnWp/cvyvvDGrRRa3oM8BdP0xofiFlDic+q3LOyQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8116 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. Acked-by: Conor Dooley Signed-off-by: Frank Li --- Documentation/devicetree/bindings/sound/fsl,sai.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/fsl,sai.yaml b/Documentation/devicetree/bindings/sound/fsl,sai.yaml index 2456d958adeef..93e7737a49a7b 100644 --- a/Documentation/devicetree/bindings/sound/fsl,sai.yaml +++ b/Documentation/devicetree/bindings/sound/fsl,sai.yaml @@ -81,15 +81,13 @@ 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 + maxItems: 2 items: - - const: rx - - const: tx + enum: [ rx, tx ] interrupts: items: From patchwork Fri Mar 8 15:30:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13586949 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2087.outbound.protection.outlook.com [40.107.22.87]) (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 6550D524CA; Fri, 8 Mar 2024 15:31:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.22.87 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709911894; cv=fail; b=Fs5+NqAXWWS4YuO2/59u35CQmEU95FF/bZbq4ahN76bbjLE9RBCOv9Qni2sLP9i4acVR2w80SJ3JHe4oHPKS6C/e24oQoeExYpsdw4Xk6mHQNdHviEPhh4IcSVe6VPTpHrDzRoRaIy9jtXzC4g7eybfVJiIXXxv+pB7s7/b6iic= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709911894; c=relaxed/simple; bh=D/R5xpB7nUStCi7qPZ8KjfQq8oLcfigi288bYzejh2I=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=DDWEAQzN6cQWsF77sEoyDXFDOBYsTGQTiVhBogcJNxLjnoSNuz0iUUNHvBm8h2ob1TCeOSC0jaKUw9NBd2cAW4ZaaDSif6dh/ULAM1Dd1BtjqakcMuGybDI61AxiCTPbkOlY2SSTJ0FJXKHDLSCcmLrx9BP3utJ1r3tmFTEaeOg= 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=skytGKec; arc=fail smtp.client-ip=40.107.22.87 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="skytGKec" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZHmmKfs++tOFXhfL+zHq1NFZZKsl19n+oEMFL0eJbvg9Q08v9W2AKU6pTFVmTNAWoy0UoV0gh4+CWHAUKhepNfHhI/gEHnZY+Oo3wUgSvR10ORwITxykTgfkSCuOttAHIykdHXR/gyWtT9Ya2DZDtzLhQtIJ1W8za6BpseHldGb2QbjaiHINWl4dKN/8UjuceEMU6HVEoe3fMtW8hUoBR+Iyc/JH/jbRyoek37pcCjlAGXu4yfD2856gK3iUQqtFEo99BAKIYM+WQMiOJrC/+lVl+aHdB261McTY3saNgvcZi6iFXKWX6kUk+0Dg5gS2a5gtMqLvHow+GB9pl1Jziw== 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=huR+ZJYUKZikB9kNtJDK+f8LbcOyOe0sZHlOK8cmly4=; b=BjgPO52oEvWfes0RrGmgTHkFNDH4cCTnSVEXpXvmW8IX9GoLpeZZyO3n5eKDXqfAJoT7Wl+txNnIloyuqFJi4K3rDeDIlu1w0rsAgjIAORQnwBpfzJhj4sF/ZxaLuT4TTuozdE3TYGomwZ+IF/a/eXIBMTmm/aZ7q/O1KpFujekQ+lomqZ2i5ERpFwc4wL/bU7D7RExf6kY2f0Kt2pJhG3J9ZzymsjUaGvoVt9I267UvN5sZrOiB7ZuQbM46844wmL+2xRVQJ0dU7V4Qw1Y2+pbjVkwabABdQQKz5SB4aI+DMbM6RireHBmtmJyBrZCVREB3yVcZsaPhGCWrnnzQOQ== 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=huR+ZJYUKZikB9kNtJDK+f8LbcOyOe0sZHlOK8cmly4=; b=skytGKeckAgcxC9TyPuPWBR/ugNuIxxNXyddo+o53dZL4363bwZXoCWneecmKgOzEg5Tb9PVp0bNpPzPisf0dM3ubu8MuQupN9zJ20Of1833z7A4GnckULo9jzaPpPsI0EeyIJtoQ9H4NcH/PZgiuW1w6HWuQaIiwnpRSzbzOc8= 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 DB9PR04MB8393.eurprd04.prod.outlook.com (2603:10a6:10:25f::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.27; Fri, 8 Mar 2024 15:31:28 +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.7362.024; Fri, 8 Mar 2024 15:31:27 +0000 From: Frank Li Date: Fri, 08 Mar 2024 10:30:53 -0500 Subject: [PATCH v6 4/4] arm64: dts: imx8qxp: add asrc[0,1], esai0, spdif0 and sai[4,5] Message-Id: <20240308-asrc_8qxp-v6-4-e08f6d030e09@nxp.com> References: <20240308-asrc_8qxp-v6-0-e08f6d030e09@nxp.com> In-Reply-To: <20240308-asrc_8qxp-v6-0-e08f6d030e09@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=1709911866; l=9815; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=D/R5xpB7nUStCi7qPZ8KjfQq8oLcfigi288bYzejh2I=; b=QLkd08p225I9lhBgOIsU40d0OJPqQraMCnLM62TP4KPlZVTQImNRSzGWNEt+zCN8HZ3gVQWg6 vL/DphLxuDcDliAfugy8dQcnHsnuaDNrLCKHpqG2C3qVP/XWtP9fhDZ X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR05CA0151.namprd05.prod.outlook.com (2603:10b6:a03:339::6) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) 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_|DB9PR04MB8393:EE_ X-MS-Office365-Filtering-Correlation-Id: 5ecee955-ca56-4548-0991-08dc3f84d222 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: EAqxBZG7cUDDCr552WqhsPSv34/dFDA8UOOz9t6xJa9s/RJxbQU6d4veJFDLBm+uvnivjBA7O6JItvlW31DjqNujRaLwutP7xC7SF/lUIIDG8/AmXSnnC20BKEz0VKQ9IGu6psRq4GN3eOuJb+i0NAZgneG+y+jASpphFIVCSq/ydRRl3eloedjWbuboTvwXtHqo8GleTpGrXI4UF4O1Z3RlUadbUoDyizPMfkPdIMIXgwLxU0htzQaUxg/lLPWO9Cs8hPBSeb8Oi/mXpphFkCbcp2WmOLdznpgBgsEEjhEujlITXl+OuEjrRZ31+OJHGU/3cCxdni/1eSLCx/4NeTR2XmKcdxYGTSEC9PMSmwdx+q89iWpoEkPFhE5HQ7CwiSBzeAUE0cKahSyaoikZliCE99eMIRGONpChBp/oGJMi5IUnLpRjlU/QicfKoTIl4q6PmzQTP/jhTeDc3e5GCAc4+HDq1DdrsYrROtc4nrDHhPnFlLAvbl3eoxvChgaG6DdPJxvVRpf3qRIj0SCiadhv+dLSrnQy7w8os7kX4+cOxhexgsUqIAq49aXzhZoTQbnmi+y3dvLB1e+EDukAOyicaHzSGNVTt1SmBXzuaecmKhYPr6yM7n3CEcOYxlITI97qkYnzIGNZKbTBQuC9vFkc2Bb1pnga309O9bHInEFReDOxMtEbWTZWo5HsKuh5ugBiA9LfPJBH3SGgjHMEtrCaT2WmmgWfCAEWvzYENdc= 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)(376005)(52116005)(7416005)(921011)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?JBXnPyi7gRrONKA3fSYHcWLk7RBO?= =?utf-8?q?umaXR35ppQx68knC3aQ3ptFbJJrTGqXICoxsulrmVtjZ5V56dtf/UdRSckfSdr2gi?= =?utf-8?q?LSl5Hg7bQ8qKLTUOQokRcZuHoEjuoZQI6VWNWW30KknWBukqetEkoHnHZevtPD5zf?= =?utf-8?q?9o+AejGYi7Km7+yNVetRtPIngfa14wnTGUsydMu2H+YFN0nfxWGGbFE5rnxPfRBh7?= =?utf-8?q?1132BbpqmVoTlz05ePR8KkYm2lpOnm+IFS08SNByM4uMzZ8AMDAiK2nphq3BTUk7w?= =?utf-8?q?vT45gjR6wz10xDy/YLNg+HjmwAI2Oywy/pI1CSG849rGGhcUjGA004YYMNGev0I6i?= =?utf-8?q?vv6fVSV7I/sU0lciKGGBfPX+cH0AUsu29SZHOtipovMDX1vldBoe2rObw1/r6r9w0?= =?utf-8?q?q8BCK5UQIqOR8aWC805G+7q3YJkZrH4Iqq7HjCUs4N3HFjwjtR/Dv0GzCxtAEUO5n?= =?utf-8?q?7ZcgvjvtGPJugVW36df1jTLG9meBrcyPXTyaZgwN6HfGfJOQ5pWio5dL4a0wk98mi?= =?utf-8?q?hYRkWufOtxZF2mdPyopPEHcQ558/Bjw+fu+udX5PD3nvMhCnH22TvVIgHOqP++ZL5?= =?utf-8?q?jtpOk82Jx/WUCfxTGxnZGm5x27tCspCZj/OlgZeRSJaPc5n8rRlVnimMX3SY2NuXx?= =?utf-8?q?Cka8VUUdERXCXvM2NgSXusWvTYzF4wSE2qocwxYqeQOS3ZAZbUIA25Eigy6E36MVy?= =?utf-8?q?7rGb8UAQPK1DyiWreWr2CLko9elBunIdWzn+cW3dOxlDVuuxKI96eazwznFBePrg3?= =?utf-8?q?1fBfbMykrTQ863UWBKGnrRMfVicynbqT2wBhLN8sq6CArEijeI9sQNiRAJmPVHT1s?= =?utf-8?q?MZ8AjgTQuVgn+NGx4qP5JtBdTWn27YdfwOJUlUHukczFJPSRarcnGtRdGOyBDeaV4?= =?utf-8?q?wWpfE/siW03OlPonIgH9NUelxnQgUyQhYXYB6gdbVMZLpqbuFXza1OGjXmpw46PZ9?= =?utf-8?q?GuQ0aFB3QHsYpa0QEBw8rvkjwU56J0HZAZgvBH4jr1X4PKJHlL2vklGnWXBENaVgx?= =?utf-8?q?yz/Sv6TcbgB8ldNPrOz6FZNHsgzsNWblFnV8g6hCDScj5/DCgVh8wHCUbK6LPXv50?= =?utf-8?q?a06nCfqquP6UdRCJhRqJTfyzZ8bNUaJaoDeRyrcMKG2jV2Fw6DUYyi9NSjKK7Zfob?= =?utf-8?q?3YDGgQHx7/Y+/eUWqNi8ZRUgW1AkiBc8nZMX4J3cNwXBSoaawibIouBsQyhnha4sf?= =?utf-8?q?xTk0xO5HzEZzfxXr+7nxSDANCfiE1QTO4mCEax0akLSThz7I7RABDW8c/PuMQGuGR?= =?utf-8?q?GphqXM4p/i4VCFCgrM0r/0uYxfZ2AEGC6ocrokxvI6kJAbd8jRE/ncZLRtGx0WW47?= =?utf-8?q?RGjZAZrx3ijAB5gyQrVsZKv5KIuKDspzcfovdzIOneBCIb0UvHAUqbgGP3GZmh+//?= =?utf-8?q?9rSYtVqznkIYswuowwHQHptiYEEQneJ/V/WA6p8UOqIv6GdQVK3ldm/P7d4g8EJAw?= =?utf-8?q?iF7fFeuYabj6WMXK/d2y1+zTTrD4zYQY3xK1AKsxRmHPdvOkBaBOD0JnCU9jU9bP0?= =?utf-8?q?KIjuqCYwzhd5?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5ecee955-ca56-4548-0991-08dc3f84d222 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Mar 2024 15:31:27.4524 (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: 6dobCOPJ5YMqo2ez7M1I1h/Vln2e6P1GL2MbYSv7IbcC9aVmCYGLvfVSZgbB24Cor2pDCYs/MChMY6NZNC//Ug== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB8393 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..3c57593687f81 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", "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"; + }; + 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>; + }; };