From patchwork Thu Mar 7 19:19:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13586166 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2065.outbound.protection.outlook.com [40.107.22.65]) (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 8CF621332B3; Thu, 7 Mar 2024 19:19:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.22.65 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709839179; cv=fail; b=DIV+Majz2+Szo4ibCLTtIaDkxizFk7o57PeXjPBtyvIW5aBJjXybHzUdrnXBZXSXo3dfLmQKA2ifwbVWl7UhXZIlsFugizkpBXaNv2GR9nPtvyvTC6I2Tm2r5s7XLFmjUX/yuKaOStaLkQkjbrJHss59QOhAJbv+GTWmR27BWcI= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709839179; c=relaxed/simple; bh=1syz/aUeJNCMRuMdqZfLAmwttcSh8oLFScKSrTznruE=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=e7f/xdr+oeg3mkFH/xnbqcF2nJ607qAvrKHKv7edf0oy++XsCbVa3mIwta0IPNJafNHm5z2W1JhkKvs/7QJFy0DggDs0gk67PTtmw0fLRpU1SfjqDcSmXS44OBlglBc0t0DkZIt6BKpCDHrLGUuU5Wrve9AqONSGb6f2FohjknM= 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=PUwUcVsB; arc=fail smtp.client-ip=40.107.22.65 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="PUwUcVsB" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oBZ6j1GjY7AyK/RsLNAcQvD8ZLwj7qtYWksyX9c4ly/xbdyZcgaQ5RuI0XC0iPGCVmNLLEQkgoFJQly72Ipax3YSuBVXyrRpIKk+z8pHhH30P+PfJRDwjmBkgiJYKU8K+mn4NOm4Yw5R5XqNqZzFksyLpssPTpVRP3cQweeOa/Sdg94yarHRNQfCnLfCa2cAnSYVfSmYhyxFNDX3hvAvNdy3Nfx/PB3qz3LOiD4qct4NMLlKOtkF+IXG/AWirHEnA4TuxNsv3m4gZlt4y/MC6M46bqw9Ts15iB02Y9Oihy+zzidcCULoua6zZeVhRkrhJGLcA8NBoHvlTyLl8CWfQw== 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=R56U2xuxf5QQa0uctMl0IQA6jMpHs5EJEPqLLJv9rfVb+FgR/U+RJU6febiTHYSrzvNX5mVfUncxocBp3htpQCDrzIrtJuMD4hYk+2rwt2zYpu7AGsKvmPAM0A/MnbHRDEaW7L2KgK5ckAOlS4Eh5G2/pkV452kZyTM797MJ5BsMS3x12fkbenKSx0dUpgIBAeTsb1Clzk63/fOHA1Q1JVTvUbSKbnodc8gLRp0/rFasskPdZ0ve+2aw8aSFBSbiUnBPIkE1c4LnoS56eYKmfd3VzWgpXVH2h4YP2Sr7rOjMyo8PfKLPTTVpUgskSEIZtSS2A8w7aBJP01jzv30OoQ== 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=PUwUcVsB8xF7Vmul9yQntakOno0q3Or6clPF47PSgLH5Y5ANF4jVlDyttB+aFZ1WGlFr1iNbELAswl49AJjjiw7J2+7/+ky4zYMFpd7nI6kNiMLcomOosrOLQt04moDW0gY5VCPmARp1hgYVle1fSzIpvSck+OMdbRUHBTmQCHk= 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 VI1PR04MB6992.eurprd04.prod.outlook.com (2603:10a6:803:139::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.24; Thu, 7 Mar 2024 19:19: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.7362.024; Thu, 7 Mar 2024 19:19:33 +0000 From: Frank Li Date: Thu, 07 Mar 2024 14:19:08 -0500 Subject: [PATCH v5 1/4] ASoC: dt-bindings: fsl,imx-asrc/spdif: Add power-domains property Message-Id: <20240307-asrc_8qxp-v5-1-db363740368d@nxp.com> References: <20240307-asrc_8qxp-v5-0-db363740368d@nxp.com> In-Reply-To: <20240307-asrc_8qxp-v5-0-db363740368d@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=1709839165; l=2330; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=1syz/aUeJNCMRuMdqZfLAmwttcSh8oLFScKSrTznruE=; b=K2sJ+YTmrQbd2VdOvbCf/fL9e1mH+eauhSmSxuWInYuVzv59D+XnmXwsO9L8UmGiLvuVrHZi4 zX7JoX+Fa/0AWsJwdSMRi0TVtyRLDIN9SAqqGJSgJZNKTHabYq8j0+Y X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR05CA0001.namprd05.prod.outlook.com (2603:10b6:a03:33b::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_|VI1PR04MB6992:EE_ X-MS-Office365-Filtering-Correlation-Id: f7a561bd-e629-4591-428d-08dc3edb8522 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 8knDGiCcaQY2EJTRMUZMyTFXJflMyNiywQ1tDzc9ahHJlmTmQvUXEGL7C2EHGT9k0nBpL1maDC+0ZKyWuW8FxpgByRB+hsxfdfxCfX7pHb3lUNznXd8L7krUv2393Y4P/GUCm9ixxtMJVKl9BgHwSzdaOFwj3r7C9XkmFPbfXCMvjyjlasRSuDvSCApoOuUgGD6K9+7DuPeAPQhsY7xeMkXRF5bK2vGrsszbtl8YxqrXnSZSNS8ppplSfMr1vFtvXv8luIB9NsZ93JUKwwpnKdguts9jjf8EExkFxdk3VlsovaMi9R0YlEiSscB1ZAvZCT81I6/RS9ry9OnkfpjmNs2oRX8kRDjV2ToqC3sH3g4dDnx3kmWDGDZhS0VVi7198eSZVIYB5O3VRYyt2ZZaal2cXfg6CL3byJG0yrA32DpaYMsWTJbuchCBnGwbmgjIwQTphNJBtIy0zqQxC0lMJjihHnLhOeG5h9NIfYv3WoTl3oF66ppMP3WebAoL/mO65u830917iOWnGnk+Xrk5A3bNbEmJzzedmAZPXzr4tsV2pKT0MEqRCiGAhTvso2A4miq5pqJ1T/FXPXFD+wmftQ7KyvEXnJw5vlzOoNyZj4Jm2iEs7ubSzJWSdSoX0GqtaJ+MnIWB7oeErK7J8nmZdZvigqHIqwVjBp3iYs9mWxPGF6AOdUQZjWaQIW3eDhzxUdXsRfc1HMndtIBsSTdBzIyMGX32Uw9byxVvxjwdQuI= 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?u2X+O9wY3NbSoayZPvoPO/i/jFhJ?= =?utf-8?q?pY84q9ahXsEPT/ucCxndUFhvx39fbsWBnWR2IGEkpoF8DnmaiDIRIgwfGyhrhI6kc?= =?utf-8?q?wirAM8J9+0czNhYZnj2pIju8UVrBXIydBphGPE7EoHfbD2xGGkxl0QRRxN83+V2jd?= =?utf-8?q?bE8THHttxaYO/bOctURQPczWFks+GxDwDRvQp3QvXbkgzT0OqpaSVu4DeL5+LB9JK?= =?utf-8?q?kuXwmylpQHkivHPbM/8qql6L66fRorXip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QCsFXj5u25/znp1O6IgG1e2ihi?= =?utf-8?q?hOby0WoDKLN8XFQxTexK7l64vciBu448Jv4dZ/VAHYRbtIZCdBney4WhxjfzuEc9q?= =?utf-8?q?JwQ7/T6UHz5DLV6XxqqYZS34xB0Gy0C3gjWj9oYoHA+eQjXoVAO7Do3SFWD1p2iv7?= =?utf-8?q?/rhsUiWpybZMcBZ6F0TGw0w1bHxZi8BjZNMyTbvTFf8X6eMIkkE/Cf9XnNgAeoiOm?= =?utf-8?q?l4+vlleI2/1TxS78DdkI2KRJFy0m/q/QiVoev9bh8yy2S7SSH3V4YhXIV0e8UJ3nK?= =?utf-8?q?6BcYu4Wzl6B4j1oQYosnx7mdzrC4cWbtVrvU0XL3ag7GRDhnK1ouwE8IU4nwOac2s?= =?utf-8?q?XlVE88fw0o4SThNnE2hLiwN32AzzI7abg3FprDQSBrk35ElQCNPX/U8+M2BsmqfCO?= =?utf-8?q?+jyfb9BENUtV?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: f7a561bd-e629-4591-428d-08dc3edb8522 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Mar 2024 19:19:33.3070 (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: IGbqUsWhbndkSNNCJ1H4VsFVPf2Hx7zt8+xCyBUWnoT6wK2AOH1ws/1sf8XUIZ30SQwq3LOIzltmffvOQ7l9Jg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB6992 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 Thu Mar 7 19:19:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13586167 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2065.outbound.protection.outlook.com [40.107.22.65]) (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 C4EA013667A; Thu, 7 Mar 2024 19:19:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.22.65 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709839181; cv=fail; b=rK3wcFAoKpyVE2wlnJQS8BScMJyD6tpcwMk6FGmNMdyvWRkhDXdvyy8IurbZLPnsx9k9HdiNyVo/gWgGdtqcQ/YYr/Lmu7gv9HUBJ4DyJ5cMfYR/c5PVlAeVBILX+y8vaq64e/koUS9yEJaS0ygAp3Yh5Y+8ph3mBX2a+sL1xe8= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709839181; c=relaxed/simple; bh=tNx5SX1FqYkCqIsK6BPCs9eWHLMa54vHs5s/kd+qzQg=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=G82/xlcr2o49ySSVfpBui9Va+1FTUDvMgZGwVlS3Zmucy0NI4CkIHHEdG7mP1Ir2xrYgrSgp/QFthLJQILJi41+DJHs7i/6XViN+yaKNURawOEc16/dF9BDp33ebaWWBG1Ot0rRilbK/8gFOdj9vJJGWbdPa08stqImYzmSr7Zc= 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=nzeEgos4; arc=fail smtp.client-ip=40.107.22.65 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="nzeEgos4" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MOpEy5sDseJ1XvXXYekaOMidQHs+r8B0F3UwfCAvcirna4fpTiolQ90nLjCTxpMKhVW5wAma5LR5X+NmLsBaGV4sQjzpRb8W+p0J1mnMYbg80HH40NVL2RDRpZWq2Sds9qWtIKu0eeLreiSRyl+cITJRWmzekKrQQadHTimgrAz1YX1BuZVJGKpZxqLgC2OYLm+/gTd9ndOQQy4KU/U1oTJLPGIfYaTBoKM28cOTxc5aqiJEddZud7ic9eijYLZBb4pOIZPZdEPo1CuBHnAcIPrujcp6W5I2QDP8zRG0mdDt2MZxu+/USziUpAov2r83ajpompFkmohbKnOE0WuA2A== 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=AG/xU5NW8MHcIRMSa0nbCb0NKxEYZ4HCA5IDZ0p/Rxc=; b=JmckIV+DKQScKsb9KWEHnswrYEAZyMGyao4HGt6KGE2joU5pOwpT8BZVVg6YjXQTEJEuaAfCZEWQ77NL4hCv/JNFI9ZR772hHnDtYT4xVUbCXmEiiTfBjPMJu+o0fWY7rGE197RCjrjUAOw8aGN0zFVZsEs3TNTjClAeOcbtZrhCq/0WTYD7VVPL+3ly4ZwuKmDhZsi52AgQsJfAwB4/3/O95+EuZTq6USgGVRD7ti2+o7mBTK/9TZWFCniC1gjcNtcY5HraMltbtpzEYCvJFAlwr7vdsNQGGAPT4J92O8g6NLuelrvAWHpUiZHC/Rh9UGqMYvg7KsOXB+nFQhTayw== 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=AG/xU5NW8MHcIRMSa0nbCb0NKxEYZ4HCA5IDZ0p/Rxc=; b=nzeEgos4zfxDUfpjsAdQbEN18s1MwlNppxlrcRYWuD7ZwUBxGDq+eYcpSBNTeVGhlowpGNAQ3TSq6f09Ms85lIEBy5n4gE3fNXN3eIHGWUv0PA05bMuv9W3yBd5hUR68BnRfp67nEeo++ZFlKdrc06dvnObP21gndNQ94fLk+jM= 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 VI1PR04MB6992.eurprd04.prod.outlook.com (2603:10a6:803:139::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.24; Thu, 7 Mar 2024 19:19: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.7362.024; Thu, 7 Mar 2024 19:19:37 +0000 From: Frank Li Date: Thu, 07 Mar 2024 14:19:09 -0500 Subject: [PATCH v5 2/4] ASoC: dt-bindings: fsl,imx-asrc: update max interrupt numbers Message-Id: <20240307-asrc_8qxp-v5-2-db363740368d@nxp.com> References: <20240307-asrc_8qxp-v5-0-db363740368d@nxp.com> In-Reply-To: <20240307-asrc_8qxp-v5-0-db363740368d@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=1709839165; l=1311; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=tNx5SX1FqYkCqIsK6BPCs9eWHLMa54vHs5s/kd+qzQg=; b=uHbZN9AG/pYVDPmrP736QtOmSaWRiaSBBHsBsi4b9T4gOk0PaW6oTyk8PR7W/KiYdJVuh47P4 fa7iPaZRHauBtNrxyV5FgBJNChndCFbiidw6N/0rbH1BfeM8S4JjSIH X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR05CA0001.namprd05.prod.outlook.com (2603:10b6:a03:33b::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_|VI1PR04MB6992:EE_ X-MS-Office365-Filtering-Correlation-Id: b6d3f249-e139-40f3-db52-08dc3edb8782 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: W4/ApDtDvH3lD691kLmvADZgSLEWpymD+x2cbfSshWPdXnTh5aacBNLpKFeT4EZKQ6fWt0hq2vJrVfusC5TGdK1/XHtVgtZ+iQroP8AMtnomQyQD0D/4LE0g8L9yMCZvcjUO4EgacK2gjIFAnm620Df9pyfcNkhd+hgxetZCFNGtNte65SDE5eB7NjVFg6yU9sTVdHNBsyGv+NY75dDkZWZHwNm56WTdxjiMcT3S8o17W1mGZKQAPcRlAB5h6kqIGR8NUC6Zl43+PHjAV6ZBYtbdhGEHn6rs9+0REFYOcVm4LzpsFsQdf2s/1xng+GVCD1yBrZop8y3FwOl+Ca7ouxFm1q0Jjv3FlsccIuKJKt5/AVBMpuaWSzt+K+mWrtypegW+sf+eqYT0FXFvGbRyC0XHAhoDqXful6Onv4N0HEB+L2jdp8VAYCqQrO+do65Wy6k+NzZ17rgVbw9ePJSuE+Or9BW+FziwsTiOIe02eKxgeuG8JqF4uBshM1ICMudKk7qSehv9gBc76yCnKa+05mBBLKr6VnfFYiw1pUfUumrDCksitkzf6IfLXUrDYTJShSjVFB/E+BUNQ1LpsF5ANLasLhXPv+IEkAlh72I24+3uV7kliTnqBiPmqEZ2y+1uSAl0XTYdQ3gY6O6TKSY8R7/wl0Oqjoovnd5iKmvojw+8GnmLF+Wmh9kAXUvTW3j9K2f9pkzktdmim/Exdq3CJ8a4eqCRyhDvNR+pdxIdp1o= 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?mgMRnwizHqc/LtQgYUunrS89BquV?= =?utf-8?q?OcSPMjMYzig0zsCj4GhXL6fhIHntiXdqTf5RpMw63qeoYh5w3lCkXxq8CYw4Sa9Ld?= =?utf-8?q?BPWdwpZjX1QSuS153ozKdkZ5M49hXjPal3Dc8X7VbZK1CmML0Kh3Wo2Ya1APmLs+A?= =?utf-8?q?VLxRssjU9vGSuRGYbGwVLcy/6JgbCGkkhcpHXEAEcFfTSMIke5pa69iITpLm8dPtJ?= =?utf-8?q?4+AaZ9bt4plFUIt+G1nNa6lshepb+Yk4YrW9ktva4AmH8roNnAk0ogx7mvyuxISEj?= =?utf-8?q?tKD/5xz5b1ktjsZRDPycYta/fbMaqEJ6t+irSL97+oihgYU8ZlPHEfygZVcI8w6Rm?= =?utf-8?q?8uAUWEr4Ond0NwkPE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c/JXLi4tc27iHQFI2y77HU/sQdPMtHVOogPSFYbri3hcmcrJbworPYw2V63h7l5lB?= =?utf-8?q?xqIUWKkPjic3gNtAzLliNxzeTIeW9sUQfEQ6jBRYN206QuDTIFV3I0erD2fqFGllJ?= =?utf-8?q?M7FpiLKaAEZ0Ko6gbffDsm8aU13Uq6EVgffC/i0KysO/dK4yFTY0j30QcRgumArRD?= =?utf-8?q?OkxaRH2p7Sn5uh14scTnF4WfVIjg5iF+ZtSnH0LJsQ9cGc3FjFAEnzielyfDqZ3UX?= =?utf-8?q?vICqMY3SF6E6ddyjEr/1rNK5TWyomZROkxq4LijMaRNxqmaecDgn0dXzSEG7Gyw7+?= =?utf-8?q?HwDChSQaoN3d?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: b6d3f249-e139-40f3-db52-08dc3edb8782 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Mar 2024 19:19:37.3398 (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: oHsseyS9DDUsQ0kT4CVeLWDoICIlBp+A+WNaGHcMgd5NsnokkCwgCKEJjvBxyC0B5eQ6qEGgwBUxHfkBSZNRkw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB6992 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 --- 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 Thu Mar 7 19:19:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13586168 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2064.outbound.protection.outlook.com [40.107.22.64]) (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 D03DA135A5A; Thu, 7 Mar 2024 19:19:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.22.64 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709839185; cv=fail; b=QkIs9aWAgJQpn48dYgynz4XWrnu5hFtT8XHfeH7L/uSRGEx+qDw0HeE1/yZiuA5pvqJ3VbaZi3wA+UduEMOSLAw0T7VfbRwTvD7s0dhcsr4eFKyHO6QyAp8JeNU5WJ+ZU/xGxYvJdKd+ToW+hGtbnukrc8aeAtKCqZXD1F3BC10= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709839185; c=relaxed/simple; bh=ty5f4I1ceJv/bmgzC4ekvcaYJmsOaQVPeFLA9ZTjxrI=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=TLFLaZUBgYDWY2j2HVFwZLffLY8JcPTBHSR6Ne1BLBT6jLdLmzKWP2AxPPprOSGvqLZZEyK59LeHOILR06bDKUOYyh7p2odX4g/3YO+9QpaDQ7FRsT6V3mZwi/ovcvZMp96LseIdSgJwqtTqSma/599mTc7LL+lDT1EDJom1Z/U= 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=bDENe2OB; arc=fail smtp.client-ip=40.107.22.64 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="bDENe2OB" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=n9b+5e8X9DtdNLEBzQ1o8Tcu/sttJLZ9B8jLzKAu4VWBHrPlqPC8S57fOIV2u9vME6jg2WAE3YyXgEvHePETOheRnxQ6tWb+0Kbb6K3jVnJRKdoh7s1+se5rkhOo6IpUDXTPNUMkEtyggCDtHBEXDcheCOPq9xsxPA4KKeIlNEvbBZ/Xg163+s0bLgj1NvUNHXcK1OSFjP8lY8U6GJFi496xuGhNQIveYlScSnNH0SV7TJwc7RdndOzynrb/07sMDDenDc5ySbwJwtjfdcH2hhBeFz1OQB43+VDtBjyk2/pwC2irBa39/Pp/HLd8FIUHIV1WkOXEB7WukMb3g0/CFA== 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=WGE4A2xmsbuviWOKTvkSjD+lns571UFwgWKSD3UwXfszKi3Oh84m3YliEDl65athb1AVUb1tdwcJYNDBQpPRc10K3fKSO1a5Bs97UpEGIz9sl4x9Qy38tSa49Y2MQ29fCQMCrp8ou5yVFhfzHlMYhhoWOrWyrqqUGggtIIC2mQO/Ac0IHX2SE5ViC1JLNLilRW9bX3vyyr5SBeeykfoeidkP1H3ydz0r9DK13Zl4r6/AB1VDXa9rdFm4tLv5B8qbSBKNQbchY5yTsMFx4puNlmSrzo7KMmfO9+ZBAhNzeE23UPRCDOdTHKdfEd1TCCSSI6dtLYvYq35ts0vRhxXaPQ== 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=bDENe2OBLp0Ad+KH1OGBbmycr/nXU5yO5pzE+Y0gtcmAr2JR1S3fNum1/JVdrz55qe59tT1ogP12ZaEN2V7RabSiQU0XyqSp7GvdThwW+NAVcrTa46yreYOP8z6YJdfP3GeY7J574r78w2VF76ZF0ubXjCPalxhbE7qdDKrdr/I= 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 VI1PR04MB6992.eurprd04.prod.outlook.com (2603:10a6:803:139::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.24; Thu, 7 Mar 2024 19:19:41 +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; Thu, 7 Mar 2024 19:19:41 +0000 From: Frank Li Date: Thu, 07 Mar 2024 14:19:10 -0500 Subject: [PATCH v5 3/4] ASoC: dt-bindings: fsl-sai: allow only one dma-names Message-Id: <20240307-asrc_8qxp-v5-3-db363740368d@nxp.com> References: <20240307-asrc_8qxp-v5-0-db363740368d@nxp.com> In-Reply-To: <20240307-asrc_8qxp-v5-0-db363740368d@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=1709839165; l=1255; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=ty5f4I1ceJv/bmgzC4ekvcaYJmsOaQVPeFLA9ZTjxrI=; b=MeNd/bLGApQZX6DTf1g62Y/JLcakYhK67/Efo4R9Kf4mBRFH3PnDe5JZjXI/yxKI8aCbbcCp1 cgtsD/60BYbAtVM96AegNJlTzRxJECBZzW636uZ6ZD5uL8O2849iVbu X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR05CA0001.namprd05.prod.outlook.com (2603:10b6:a03:33b::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_|VI1PR04MB6992:EE_ X-MS-Office365-Filtering-Correlation-Id: ff60cf2d-7097-45c0-cda1-08dc3edb89e9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: KGKnkdsx8uID31tD8sE33nHCH6qSgaF6NGJGb3r5T9DZm1zB+IyCl7+kGAgTJ1KDms6oaeDYgmdZlpBAZU6oPbJ6a83JDjc1mlNqinYubv4FZ7HZkePyJ2yA2E/k9ROfhkXIVvjSIuWVwqtNfEsRCpXZinegKaB5JJQkal8kvaTdsUOHIDZQTzhyjJfj2NmAn9409iYrl+SH7fGSIB1+7VOfpBa/Wg6N6PQRpz8lhtFDmHgtM+Y8jLXfivUW0CHfx3UKfcYe5n5STCufFdj+5M942R4urE0msH6xgkdJ5nQVCyJJFjPMQO4xvsYa3eaX9I2JSturNkDX6lj6s4y6vBFd9oPOHhw7zgLrcFcvvApts8CWL836sen3ofA9URY3h8sioAU3O6hc3fQVUMq6Bp6o+J4fLN1ugtBpxvR4b11F+n6JYe2R5e7OiIjNlqlrRx/DPtiXqPUZ/r2zLf3bKANs0fRMUsdmGtHwHp2W296TsaNGI4rk8NVjrCeck+1UOOuTeJ+9dW6SHjw/1VjN9gpDZLT2vhRbyi3w2pkttTz33HZdThpaO3zgNhrYfcps3+hZI0miITVwXLX84D5+eUEil0UTP80WpGMoREaItnghh+a+ALYhnXNuOeZFhsQaMWErr0FSD/T1pLC8+TXD8GUJRo7IZT4NMKa8kIwI3kn0odkiCrgzAbttYoIjzqYYiGDB0cyqdC5YXkhwyP2qVhybQyFzBj/p8hk/79tuRN0= 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-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vs+aPPw4DbNSS?= =?utf-8?q?ysw0HbV7aGBVsSfh74CmfV7NXsgwnXzbY8k/7g+0mtwiLlBWmiiSsgI/mIWXME2T8?= =?utf-8?q?CRVgbpThM3EPOqE1qfNP/IgsRyqJn3iAJIk9zPrGVuZifQbczV3LyoY1N52whqaQA?= =?utf-8?q?fgjwWtH/EIqi+delHmEJPNLHLapsIJrksEBGQ0YJN6aWW894JmgX9cbsB8ryB8lTo?= =?utf-8?q?YL48LvmLTaOxX+6Uw0iTqnklB/zZHf5MX5bkGLrgKJzefp6nZhhAtRYqeZG9xgNGi?= =?utf-8?q?Jh00DiHJeJALuXGOFZMQszfiTo5P+KUgdmmGlQRb/0tVsndhGK6xiAl0VIavl2dbJ?= =?utf-8?q?XtsEXqYPx3BnSPeGv7zuTK925t0JPHeyPgiw4sJMiJXXonD1OpyE6qOlKN1tZrx0h?= =?utf-8?q?rvyWQDWYwGLWn8EqMloSzLto9t4q+edek6Yhobv7JlGuJEnslIfeUY3cE1X+xdFt4?= =?utf-8?q?5OfBuNKhn9ZIzIsiVl6JA225Wz0/DN9m0nC+bd0sUZyxeXHxWxD+uc1+STcvGdl0u?= =?utf-8?q?wjdIcl7RVu3XJ7ilDuKKf5OLtuQrMKIuRpDiwlf4wKPDI8IJGidYeMWGVtdLJyeXX?= =?utf-8?q?3xpBr03YjEm8hL/8rqPeP2AGgUYkqzgl5MG4sm/wcArLRW8SXZ55RBA3uWck4AN70?= =?utf-8?q?5SSjJ1aRlkfmnQzgAo2860AxGjz7j+YMaJ0Rjt2+TnvWndyGaoKQ/I8qDxsaYYuWU?= =?utf-8?q?/LcR002iGsy0?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ff60cf2d-7097-45c0-cda1-08dc3edb89e9 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Mar 2024 19:19:41.3346 (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: bgQxTJit+VdqzfTvT+hMRCU/T2zLCr6Doar72w3lqpO9Nbp8V/CPFSaN2Bfj8eFFsTKzEnW2KeQCj5jNhjkfig== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB6992 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 Thu Mar 7 19:19:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13586169 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2042.outbound.protection.outlook.com [40.107.22.42]) (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 92CFD137C48; Thu, 7 Mar 2024 19:19:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.22.42 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709839190; cv=fail; b=OYRMmo1LBJ1qgWePtdfKffQPi7BlU6QEd6Oh5HrGHYJTPj/uabeQ6L96iWyD9aM+YjWgPzwWzdXv8cRWPkFwo+c46HBS5bZXJaMAYaEWJT8XvJVaET8JlQXkD1LQUs7/u35tqOZ9D08vpU2flX/7Ps2RJu4CU8qT+kUkUSIUL+o= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709839190; c=relaxed/simple; bh=D/R5xpB7nUStCi7qPZ8KjfQq8oLcfigi288bYzejh2I=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=GFpmU1M/fBKxtSD9+gKJW1REtZFvL9DXv2iIwYwe17mYL+FJ3y9yFQhY5C0uDuXqCdGnxify5epZTzBBhiHKl4r1Cd59s8xe7TR5ZOx2h2oNUmjSq4UTAUJFWLgga3DS/IuigpNiZxV94sHiP3udpICO1io2Q45tNSStIcFESfI= 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=SOxfApRv; arc=fail smtp.client-ip=40.107.22.42 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="SOxfApRv" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HUM582QD911clXxWnkyc7ywxOq2YXFqvips0qfqZlUeSwsC4WfHgXldZOblbxuH6epywH7aYbzUmynJtyMsx2m4CUOci94vR43mGmS+2Vt3ITM5DUsEMxcDgy+D6Bz9O61Zr2jmTwPPe7ubE1GEujdlLIf6b1k/R0FKd2hXJnI9xXaHmOsPi/uij1GcP/z02ofemuCLSAw2/PNShdOi0T+xHMfXB0/hjbKyKbqKc19/CuTuB+L0UaF8D13y1+CIL1xqg+xO2RU8GC1xod8MFHen8//xHlI6+MQjysOQnRcE//O264F6SBI6qvX/PRghrM7YUIiX7Gjj0Qh4DakURVw== 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=UxawuWZ/yqkZd6WNRTOl7FtyUBGmPOBahhCu+B/mkxQpZBlMYXyG6k6dNKc/XEIPe3eCQoVqz68s/Ylf3PJx1Tu3+UhIHw9oMVc88cM9K6PchVWQwnen5uZqkgFAdp18h3bW98472hpwZdwwbhMzhMlgrcCZOlA16EKve1ftK7/84NAfPGekrmQah1l2NpKnHFB/b4ERd2J2feu7QBXxkBUJAdT9H/AnKkH2nEJnEDLYpWk+PelKhlMYnFbc7s7BsDLFs6p23Q7yZ4hnKgsKC+QVnshVOHEKHQioB1KqVuKrFr+io1Cr7E8794C6W9UkSxUvh0/24O5hxhg1mwe02g== 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=SOxfApRvScIKz8J/bL9HBt5aavlO+XeZRDGuHWKClo9dDyqneUaOdQk6jaxk6IYu3tm6vH74NGl/W9TnRdBmJIZc+l3pUizTrld3Q8b0PxgVyulNXHJTraS4HoYk1KhvM9JFcucZNKWaACpl977qV0CsJ794XB0yfo5M8EOWO4Q= 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 VI1PR04MB6992.eurprd04.prod.outlook.com (2603:10a6:803:139::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.24; Thu, 7 Mar 2024 19:19:45 +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; Thu, 7 Mar 2024 19:19:45 +0000 From: Frank Li Date: Thu, 07 Mar 2024 14:19:11 -0500 Subject: [PATCH v5 4/4] arm64: dts: imx8qxp: add asrc[0,1], esai0, spdif0 and sai[4,5] Message-Id: <20240307-asrc_8qxp-v5-4-db363740368d@nxp.com> References: <20240307-asrc_8qxp-v5-0-db363740368d@nxp.com> In-Reply-To: <20240307-asrc_8qxp-v5-0-db363740368d@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=1709839165; l=9815; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=D/R5xpB7nUStCi7qPZ8KjfQq8oLcfigi288bYzejh2I=; b=y6bsmqCjCs5a7NPnWr2/cpeO2TPXP6F4lpU+a8ZGU4HY1ta1FdM2P0b7exTaBGAdT8y/RAs4O MEv/rpqRcD+AQF9EwdYdDoZVUwpPceSeEGdOvs3tfd0L8z56LduRB1b X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR05CA0001.namprd05.prod.outlook.com (2603:10b6:a03:33b::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_|VI1PR04MB6992:EE_ X-MS-Office365-Filtering-Correlation-Id: 95afe52e-9a15-4f6e-e698-08dc3edb8c80 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: bL7XQ6JIsRG9uKeWWJWBPLTwZtNkZB98z/sO1nG7g2dkbsCBblWB7T1itEBEdIVFrGOVjBJcyWEUIcNVz+xXCzjZ0je0ibmqV1wpCIEDSHrNOpabGB6KWflwxBrTtm/p0UBUeFAgwSO8NcF8Q33+6S068TR3tkC4EuZFxwcxCg1mUZ0s3fAOKGt+S8075QGxc8IdtMY4ga3YMWV6pz4vZvZzniBF+0Pzle9rQ+uBEHOQTT7bOEwX7DxP1DuASUik/EKAeizX/WxA53oyVfk87znFLwcQt9gpl/2857R0DSIJhkC36N+xjGoM6f5eD8VIDmGIuMHCnWAmUuanXr77t+iE6TirxPK8Y3nlKxDMwchnsUYJrJoi/RJQCly4WMXVRA1tB8NSvNl0HVH6tdB1N6gORy3AjZu1QRoJxfOYL0zfnPiRTOnZvF4KRoyvOTpn101BsD8o8YngUKwvn8XTtOJUtH9nDdaO13MuyHzNJ37htxHaW3cAxDk4CxTYeAzKVMV3I80D5F/QtbWcrDk/uEix/WqWWC5goDW3s2TfOW/JVESZrczJga6xJdhs+adx9r5AFI9Y8icZmKD2m7EdGkT2HDl55ZX06/mulj2dtbJRSX6Sfc8zWkhr8z8CQ9aJZ32P3l16Cd1qnhbPdeijvN7HxrTahyVmZ+XAi5Zntt2PTSPSP2eO4npy5CAkWbVUHox9xQ4DQw9DbBe0IXx1ACbm2Livwk33EvxGLlHn2+c= 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?IM3VfhNdSt/70I63Et1nxLKbHZ9y?= =?utf-8?q?bCF9EQf/z2uIM5+z8LmMWNX40abbaT1cs4R4gvzY4T4hQ3jGxuoquNTrZdwNrKLGn?= =?utf-8?q?boWQLp1FS39YNVkIIQWGOlrMG4QU3jFDSrPuTNhriQasoqtrK1MY/bytpvK1IBTZo?= =?utf-8?q?q17nIwVf5JB/gLzbOpk96rEF1jovVWmLKhjQDLkQ5OMRHCyIS3Uu1TeBCsSVsBhFb?= =?utf-8?q?0TuTLIIPP+GU1GaI7CZEoocyGBPw7oYfmgHcmNRJOjreEvl8K9oHGprV4KVU+bSNp?= =?utf-8?q?x5pSk4HXWgSR3/7zdjWU0k2qRCM989Dvt3b9rEjW1JiycR0S5L63unXmS3i5rbjWA?= =?utf-8?q?kydwTcqCYNqe452unfVm0epomWjeXapcNzYqm2vd5G2TUWQRuRaPx5z7oajBnGcdo?= =?utf-8?q?MnwRU9nMolOSPe04eZnHK6lr0Hk1zuNDLqDx1saM3D5GigAqN8YdggQMktfeP/vut?= =?utf-8?q?tueRXIQcYPBeK6qXeqemtZcjMYEUl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G+w4EvTkzVjoRKFEwsaZ6T0XYZsZrbnBw3cp?= =?utf-8?q?cG1POl18h47CXZHLHSe2naGMCIsjnpUfRMKtzUucZ/yU8axoTV6kTCcXfFhxDI1Qw?= =?utf-8?q?fT3dkajZQvILBDBTnEKZJa+Oi8bV31kvTPIJoSvYwRg0aoeroGmSKJl60rDluJnvp?= =?utf-8?q?ol7SsajGTCAA?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 95afe52e-9a15-4f6e-e698-08dc3edb8c80 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Mar 2024 19:19:45.6937 (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: MPkJF1veJRxZCBAgWnxXs2jy1gDcpa5FtktdvG+qqwbO5IV6Ir97m4xFgnkBIE6mIMFOnIzSrrA0FIzyclVSGQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB6992 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>; + }; };