From patchwork Tue Feb 27 20:54: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: 207422 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp2959426dyb; Tue, 27 Feb 2024 12:55:31 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUlOuvJp0ejAxCftBq/36stayvhwahEvNKoHGpAOkFlyjljzDlEv5ahJ261RF2VALfDsxpbNJMbn1hV8SLy//mOJ1H9jw== X-Google-Smtp-Source: AGHT+IHS/KNe3ROC14szC/oZ+H0+KLpKduaCm0Z2tvuPoWvCm3Zna4FovBy8s7k+GzUQDxhdLfHF X-Received: by 2002:a17:906:560a:b0:a43:b032:21dd with SMTP id f10-20020a170906560a00b00a43b03221ddmr1798539ejq.62.1709067331448; Tue, 27 Feb 2024 12:55:31 -0800 (PST) Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id t22-20020a1709060c5600b00a3ec891fe7esi997883ejf.262.2024.02.27.12.55.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 12:55:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-83999-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=VNLZAZ0Q; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-83999-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83999-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id E255F1F23DA7 for ; Tue, 27 Feb 2024 20:55:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8546514F99E; Tue, 27 Feb 2024 20:54:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="VNLZAZ0Q" Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on2052.outbound.protection.outlook.com [40.107.7.52]) (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 127B914EFDF; Tue, 27 Feb 2024 20:54:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.7.52 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709067288; cv=fail; b=AVwySl7QA4TdVIhsY83ECGzvZ36kUnrYaDqQTbrf4ktHhDOGNo8IQGMeF3oHUQUQ8XSRNKkDO/4xuErq0woWwquGQRDHg2/Z9OFzrHtTtJ6EINSDGiPwQZV8ypFQcK/EdfvFGTB8qI1P+I1fkvgTVWHxGgNyJEcM3qC2Vlw/PYk= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709067288; c=relaxed/simple; bh=s4HI8Ojwzn52qIyPEPjb/4Z6X7sx1GRcAmXZBXZtRgk=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=h5KPjm0yMf9itforfJB+aWdxjb1jQk5YgPxU325jIGBtDikklo8iOcTG6R0PkvxwnkXVwG352RYo1L13CMDBRytfJO+JOX8sJc0kxppuYgnELSorOgyn4vgOkQAMcYRvTsbIhnsU6AP9f0dPVbyuetYRDPV2rQKNQquoYpv2nZk= 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=VNLZAZ0Q; arc=fail smtp.client-ip=40.107.7.52 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 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=deaC96hbpz4rmOZ/CblmafD++mw81d+EZrz2XJtRsjv0eA6vNzly/PEny4P6B3KQf9yPmdMKci3Py3mQYg/spjWFLPxhJPBj0XVgVcGiEitdNQINxhqzd8s9w8mL4fBaQ3rYOIk1wsZNNvFM+kWVgvX5XphPlcN3lasqLV8sq+zInaAWOignv2Q1ddNb2uyGcQjEpV4r5IF73FlTrTbwulMyFYG2i9DBCHhGx3gfn56XK41M6j/gHCGkiG46a6GZ2XyuMded0uKXwYjfh8SEW9Dq51hcSjYnP0XE2k95nBw7AbW5jC0f4cKJj9jWcWMEuPmIJJ9XkHKX+MDWs8K1lw== 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=AR4Ijr6u0JBCrc65UMDTrB7v8I/4+cDx6GnC09iiTMA=; b=i9DZSrt8XO1zC79NHN5UkuyY7jKX7k2NtFnFXB7A0ieGI6/HMcpgfDdEGE3G/mSUta+aEENna4A0fKCw/usFlrv6hhwGi5B1nfIL8Kil5QGx3IxmPdVUE6fpXsVWM9+QT58XT8stULIptLaKWXzBWX/dLGoFOHfxeXSI+veJDyhG1wF4UoH7+3i+gDPjDYV3vD0fTUcpj7YxBZRlPmzVj0xfB/chmBTCjAGhb/DLMuGbE9hCyQJ2iJxu2zPYx1ARm7jutkR47ewGwfubfYsKy5xxWhHctDpdDjtUQFyypJ+iw6Ddq/3jNrhtA+6/HQCpxP3kJwZUuZtSPo9njSYbIA== 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=AR4Ijr6u0JBCrc65UMDTrB7v8I/4+cDx6GnC09iiTMA=; b=VNLZAZ0QI4puhGf8yQ5+XAdSP7L/kY9E+bJkD1F0MLBwTk4XMa701fG/gabe014NHr7I3zCEiSBN0Z6/OEslHX4OrlZtjAW+z/baMYJbEuZbcotRCNuCaMdAc6sWKJZCX6AFEqA/2qq4Z0jaK42sMY+NjJJo+hJgWRT6Ob1HlPY= 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 GV1PR04MB9200.eurprd04.prod.outlook.com (2603:10a6:150:2b::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7316.36; Tue, 27 Feb 2024 20:54:42 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9af4:87e:d74:94aa]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9af4:87e:d74:94aa%7]) with mapi id 15.20.7316.035; Tue, 27 Feb 2024 20:54:41 +0000 From: Frank Li Date: Tue, 27 Feb 2024 15:54:09 -0500 Subject: [PATCH v2 1/4] ASoC: dt-bindings: fsl,imx-asrc/spdif: Add power-domains requirement Message-Id: <20240227-asrc_8qxp-v2-1-521bcc7eb1c0@nxp.com> References: <20240227-asrc_8qxp-v2-0-521bcc7eb1c0@nxp.com> In-Reply-To: <20240227-asrc_8qxp-v2-0-521bcc7eb1c0@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=1709067274; l=1359; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=s4HI8Ojwzn52qIyPEPjb/4Z6X7sx1GRcAmXZBXZtRgk=; b=5nKd8NwXkRdyZRyyj+LDIuJ0d8xJNhhygzkqkzbSMDUzL/aL08z0KBtWx3z0MsUeZ5zP5Ffde k0m7WwbA9DKAD8V6lKA65GADc7kYq+ko2otNPDkexobMDbFmwJ5glee X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ2PR07CA0001.namprd07.prod.outlook.com (2603:10b6:a03:505::11) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|GV1PR04MB9200:EE_ X-MS-Office365-Filtering-Correlation-Id: 927b9f15-7d95-4838-d22f-08dc37d651df X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: tgmtbLHevvRI8Al2Nwzq34WXjU1TTzi/AYy6ujCPUBl3BHz8h08wE3b1G3VACNaMZNNresp4oGew3WgB76UNTYI7Vx1u1iJnsogbCQnmnTsRxyhHvUneK8kK+k5fxhz0DADCbyrDMc9a8X7dfZhpV7w3zMOobf2KpyfPDJtT7CHfLYUeSlDDMDLquH18GHRumoBCGu6HJ3Ao/E3YqrtqE/BTx87vhcL1QMaBcoGq9oLdGE7josqvnpDQ0w9w2kyHUBwdNzDh4iMHeBO97iv3F/Rhv7Ijd7aQGRs18bc6XaSqqXoUB9yOqS1NRO7RuCsXqsj4dMMa391APvDYQFY4u5iFeNzn8FiQmpHpXY/r/yLdTYuDhlPjiL97RyxVcaDEQYSlcsGpeyU7CE3NO3N5jt5DpWovgXmBElwlwmfUnM1cVotP0rAm/RI9O8myzowy+iS7HeYBgH9B2eT6ddCsDe/9qYAAsrXsQhvn+MN+pWL7zgdz8HKylD92vltyeVP90MzTdjIyj9JEVKwbcZL5wUAIurrARkCwuMps4igevokaeHUet59TxBU31e6y1k3iBVl8cExu2DB/cKuxmdd8kvHVhSvmSLiEcidLBusjJAyQEpMK/QeFKTtoO/s3BXJBbtVvLD+TAzgi2qHPflBbT/MPBcHP+6GUQgqmdT6KL/G34nUd59MT1FcxL4a//mSUOsESYtIum66yV7oiH7P3t64Lw3VFKJ8zVWwZsqyHB5g= 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)(38350700005)(921011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?OYjNdn1p4SMDrScNoqTE2beVbRTD?= =?utf-8?q?aGU+NfoEAvwjg6v1bvpp1KiFltLivIyCk0QRHeEpuRq0qd0O9rs02H+t4kUtUqdNO?= =?utf-8?q?37tb6JyW0fdsiWNG0evmhBfdesvqnA2o05Qr2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XcEdTiENxodAhZ3tvyeHJP?= =?utf-8?q?Ax8CcYIgJzF5be6ekegZv3owM9gd4bP4SvCd7dmhK4WquFBAwiJG6dFncUnl9shAg?= =?utf-8?q?/8U4KBH9B2KefEDHH3P+fFwbstFipL6iUvuWCE1+S6SN1oZ4TImmbZ711L2IBg69u?= =?utf-8?q?Ds82Q7jqbFCHYJ3pKCHzoDczCOwwNHCP4gWf8cmpLUqxKXPXUMByNMOLdJ6M6BAEg?= =?utf-8?q?AKAajKQ0QxSB8g7LTYwbYJdxfv3liF5PJTaaJoKCPS9Kzqxq8ofNXme1AjQMW6G+9?= =?utf-8?q?1Ie6AZ9APHVjbtU3BzRQd2FDvqUIslluK4R7laUQi39PZRaGAZBFV+mQb+Za6AXE0?= =?utf-8?q?ORJEUYYQuNLR2oWYCLn7KAW/px0YMKemXZVSNNqzrEggUv9VQwNk/i/0P1/MXS/lp?= =?utf-8?q?o/9U69rcG/COZieestwFhojn8lw0LR5iQCqbejNd+Zk2lgCD3AdO9Ifp/XVNAR1WJ?= =?utf-8?q?NVsEhOYF9S+QeKlN58VCRKWnDcw25WO7pOjOtp45ksqdBdrb5AwPre6Z5TCvHFWyx?= =?utf-8?q?1wA+5EA59gxF?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 927b9f15-7d95-4838-d22f-08dc37d651df X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Feb 2024 20:54:41.6609 (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: YC3XBBh9frCgnXDtoYKiri+dr4Uhvr1j73cQc921Q77W4Vunkoap/OrYsKqeeH1qnjvAJ+ZPQ8e+A5GRmCdjHQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR04MB9200 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792086985908796238 X-GMAIL-MSGID: 1792086985908796238 Add power-domains property for asrc and spdif. Signed-off-by: Frank Li --- Documentation/devicetree/bindings/sound/fsl,imx-asrc.yaml | 3 +++ Documentation/devicetree/bindings/sound/fsl,spdif.yaml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/fsl,imx-asrc.yaml b/Documentation/devicetree/bindings/sound/fsl,imx-asrc.yaml index bfef2fcb75b14..98616507e3c10 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 diff --git a/Documentation/devicetree/bindings/sound/fsl,spdif.yaml b/Documentation/devicetree/bindings/sound/fsl,spdif.yaml index 1d64e8337aa4b..82430f1d5e5a2 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 From patchwork Tue Feb 27 20:54: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: 207423 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp2959548dyb; Tue, 27 Feb 2024 12:55:51 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUVM/Eojwi0m7uepyhIWJUV4vLeZUEL/XBNKgstd+Q/M+gio95GmaQ2UUYU1M/uz7Ud6wEDKZARl6/lfsrDYTspxSxINg== X-Google-Smtp-Source: AGHT+IHBUVUcQ+d8AMHsponHz97ir+9L/5ciye3dZn6YVC56dlZjQ7lPV7hrkjqMyZVitPb1cdu/ X-Received: by 2002:a05:6512:3f06:b0:512:dab0:836d with SMTP id y6-20020a0565123f0600b00512dab0836dmr9428829lfa.43.1709067351300; Tue, 27 Feb 2024 12:55:51 -0800 (PST) Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id p9-20020a1709060dc900b00a43f0cf4774si25805eji.47.2024.02.27.12.55.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 12:55:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-84000-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=nMEUTxWu; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-84000-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-84000-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id BA2831F24731 for ; Tue, 27 Feb 2024 20:55:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A060F14E2C8; Tue, 27 Feb 2024 20:54:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="nMEUTxWu" Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on2052.outbound.protection.outlook.com [40.107.7.52]) (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 3F51114F967; Tue, 27 Feb 2024 20:54:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.7.52 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709067291; cv=fail; b=UcKHcNXtIxJwM0ySTpzgKKhM5q8TS1+seXEq9Glq7q9e+iUceTISJKWTHxNUj3DrY4IuvVZF27h8a2dNCsWNtl5K0dhSU0p6RAIy6n8Q9P1ewYWFHDD5CQ5ucVBzWXngF6FkICldv99dOOutRkuVO7i/ZTFOsIXCGBYwpseokNc= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709067291; c=relaxed/simple; bh=z8N/GMm8YNPYDEX5aXs4dbUBMiBqUfzDoGwhl8BUv+Y=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=UjibsFpsw+t75cytHXcyyTh9Bz/5loGqVLAOpb62qH9/ZXp51j7uZQbmYjRmyoIlXF61cfWGxPv6WNSoq6tqk7bKVdc3Ct554Cq+CT9YhwID0zk1WU1L5ZwZaf5JjVkrIXNfjwdEjox1nnSL7p44B/dR1KfGJ0S8e4Y6M0dUMYU= 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=nMEUTxWu; arc=fail smtp.client-ip=40.107.7.52 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 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Xo4HQVhQXY2K/ALg+tC9ODeIZUny1SaKgTPtPt1EjVOGPpO2WHrnxP3dEeG7e4gQfdBnvs0CLlgmIdz0f/F5fvWADPEKW8TjyMw3ThqV5SBRAKj5KjUZw8zyLRkBFMKDui/Q5JDzo+poaTq4EBPtuNFVMc42aTXOfsXTChNYNdJcTkeBlm5OtTWfOzpYhYRf0GKAQd/KeunkfLwC3rimdEjVO8nwR10Gcf86svXnCEINkuP68h+vwy8gEDEC9If96NqSZMkFR+hNfhnm6haigHDS9q1D/1q2Phlidb+DSZOSfeXIxczbNWDRl3qVkRYlFdK38eYNXLp83SoFVbahog== 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=HgGHKoGD09SsdkSHsTQ0ZzVK5YH8cGI5ZeQMnqlKKPI=; b=kRpqs5z1GyL+DBm4v7yvjqJSOFVYyLCTvDIwo8ls4IH7IBhsFtFn+inkORo7TXNQ829hDhWlMmCskA/uzEpo9hOHxnlUuIkyCCiefr1B8SUcTZs158FrE49GGsfZKUGiDoMjsYOIuibZ/sjtxpzTtDtCmpn+TsuYB31sX8NtqIEet5BIL28LfGCH4PGE+PcqWiYofJ/HsZNXkrzI2mBiQv926OhCA2jByoVP7kk8ozTflkaibgbdVsp+sq7iOH7vaEs8uO0lRWrY22l96BVWm29x61PTK1+kQ5bgSF2mEdWtT1W2xnCrgtQrGdzEZYwlBovY/lRsROmJ+S88iHEaHA== 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=HgGHKoGD09SsdkSHsTQ0ZzVK5YH8cGI5ZeQMnqlKKPI=; b=nMEUTxWujK+3ep5D4kFOERDeEXNxjhelwTatLGE4Ahi4kSzwGjGqF94bRFdgI9wYTGlyQ3BSsJZDjJn9GK8J+5g8gJlp17GvTeVuHwxikO2ozWjXlJZRC0GHffEYPOMIbxvZCeJXlU7uS3YavymZ8foqjFDg5GQw3bmNvNlIIFw= 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 GV1PR04MB9200.eurprd04.prod.outlook.com (2603:10a6:150:2b::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7316.36; Tue, 27 Feb 2024 20:54:45 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9af4:87e:d74:94aa]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9af4:87e:d74:94aa%7]) with mapi id 15.20.7316.035; Tue, 27 Feb 2024 20:54:45 +0000 From: Frank Li Date: Tue, 27 Feb 2024 15:54:10 -0500 Subject: [PATCH v2 2/4] ASoC: dt-bindings: fsl,imx-asrc: update max interrupt numbers Message-Id: <20240227-asrc_8qxp-v2-2-521bcc7eb1c0@nxp.com> References: <20240227-asrc_8qxp-v2-0-521bcc7eb1c0@nxp.com> In-Reply-To: <20240227-asrc_8qxp-v2-0-521bcc7eb1c0@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=1709067274; l=1318; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=z8N/GMm8YNPYDEX5aXs4dbUBMiBqUfzDoGwhl8BUv+Y=; b=HTRgNxjqU3GitI+LV0x2lS0517atR0UgOVzYcAeJa4EXF4N1VNt693RjsW95upm7+F+pUU93C w3a/daNyQfwAwRqPjWBnqWuw+gRs29v7dDsaZZlLgMPI6or2sfu1OmG X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ2PR07CA0001.namprd07.prod.outlook.com (2603:10b6:a03:505::11) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|GV1PR04MB9200:EE_ X-MS-Office365-Filtering-Correlation-Id: cb286a4f-834c-44f6-3aca-08dc37d6541f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: d+mlGTUQekfTyv3BgwFoOss46ibcLOCu9D4mgeMWvm2FLxQ4SG6NzqjQqH4vzadnuijIjqYQUBmWgOQv0PVg2QiAnG4f1c/0BHOC37pm1LZHmHvcRBtvuneVAsnvTZJ4HOT9g2SRVH3A4VoS8A9aNdbTWfik8htXvyZzGRwv9EDuUZXwESa0M7XHQ9vUPnr/b7d1yNXy6yTqLyq6yqVzTo6JjcMb9g3XrKGHMbrhU3uHJOMNZuJs7d89UyAyqtFasYI7T9X0rc9fCA0KvEocQ6sDWowUHxgvovoGH+z+PlMuWn107LPiwe447WBNW2eoSYyZtV0i9JtRcRS0XDMtzb/FE5oEFo39Gv+Bdv6Bvy7YSiFiouE3uikucXRVVCnkwYlMgczkg+3IdTEsgPrOn5B/eeY8QHXbtfWJy3IMFleBZG6T/KTnQXiFFIBK9tg1e57QIRtjF+hXcZHFg8TyfJy0F855NtZlegksYQd9MIst39yKucl895NukysEamSeubtmh3h1O7PTCH4wo2Y8PrayxgLTfxEWXH0fLSKlJ2iOVj3BQvb22yFyBtqlykTfASiD4bXci/TowQ5kjdZr3/R4/yxn7jssAQwAchJnK9AFDRLg+kZk/W96NZd/C6+BxzDctIa0UlESoAr5b3dw3MRRc/6vZVNIdGK/oZYOK5R/BsB5dbKXIagS77bt2fHEsu41h+sz6b9OCtDhq9pTcdLbdVbrcmJTQB9bFgVdzU8= 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)(38350700005)(921011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?+ihYY4WUs0W39BH+JL80wOsJhk+a?= =?utf-8?q?cMqFAHXwNrjd80py706cxjY3LavbL4swy22JrC3ATz9qDnXDF51T2AV7m3WYwI0Qd?= =?utf-8?q?IY9ycgU+UuptON5l6HLjIjNvUb/K3nQcyUX18bfjiVP/rEBNNVmQ5fCiaB51ph+0c?= =?utf-8?q?ioSar8REwxxIWcyxeWSNtelvh9ZBOBF/dn7GBbZRg0tWnVQVk7ELfipY5hguzcdkp?= =?utf-8?q?9yoOfpJHtzkwTEa2/9+mEDr2N0QeudygOIzOVFCQujNLdGEBGy/ukSG+Nji9aK8Be?= =?utf-8?q?vFItP1DASAmDIwK/VeuZ6DLdo/oj0nKY6AM/UTl+qW8I5jLoTW/ass8xq1HEh4wYH?= =?utf-8?q?gUrRZNR1Y6SiIpvz54zX8u7o0aJ+HppffxoeQ1svp+Au8j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bum5rPmR66xPt/EvnZccG7j/aGTUQI6CB3?= =?utf-8?q?OnDRvpUPAr5De166Q7WLL938JSKRxt2avGIURRqcmczHLZVqmE9zYOpA27uAwPs/W?= =?utf-8?q?Gf8vmgIh/GjZYmI4z5fzT2Y4yc4Vy2NvMzbR8z5XSFjc4od8x/DgHNgZjNELtnr6l?= =?utf-8?q?MuoK3m5/xk4V4KeCOl8Jf4rGnZVmboHze+QhcAJL60j63kUQ3e1kxiScbMjIWI5id?= =?utf-8?q?dboCr+3GRtHutGcjmNYaxZuzuAZlJ5e0mqR99YmjdBCsqPNKjvCFu+HFhZy7amdME?= =?utf-8?q?WADK5FdGd3V+?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: cb286a4f-834c-44f6-3aca-08dc37d6541f X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Feb 2024 20:54:45.4628 (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: qDdPgBstiDzYOf3jE7ozLgp+E1SFBjyf7DKrgwQ6MawKikVDhseJF8JwvVSRfiGAPYxjw2fejrskBMDo/UZVOA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR04MB9200 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792087007161207481 X-GMAIL-MSGID: 1792087007161207481 fsl,imx8qxp-spdif and fsl,imx8qm-spdif have 2 interrupts. Other platforms have 1 interrupt. Increase max interrupt number to 2 and add restriction for platforms except i.MX8QXP and i.MX8QM. Signed-off-by: Frank Li --- .../devicetree/bindings/sound/fsl,spdif.yaml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/sound/fsl,spdif.yaml b/Documentation/devicetree/bindings/sound/fsl,spdif.yaml index 82430f1d5e5a2..debf0da759924 100644 --- a/Documentation/devicetree/bindings/sound/fsl,spdif.yaml +++ b/Documentation/devicetree/bindings/sound/fsl,spdif.yaml @@ -31,7 +31,7 @@ properties: maxItems: 1 interrupts: - maxItems: 1 + maxItems: 2 dmas: items: @@ -100,6 +100,23 @@ required: additionalProperties: false +allOf: + - if: + properties: + compatible: + enum: + - fsl,imx35-spdif + - fsl,vf610-spdif + - fsl,imx6sx-spdif + - fsl,imx8mq-spdif + - fsl,imx8mm-spdif + - fsl,imx8mn-spdif + - fsl,imx8ulp-spdif + then: + properties: + interrupts: + maxItems: 1 + examples: - | spdif@2004000 { From patchwork Tue Feb 27 20:54: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: 207424 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp2959644dyb; Tue, 27 Feb 2024 12:56:04 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXA7OO3E9oXQvmf0MVZPS8zCs9CN5EOHYLNl1jJshqg34dzF1sf8sKSEThW5B6xnjl1toPjvi4VgrAZMrt23azF336k/g== X-Google-Smtp-Source: AGHT+IFbpCzIHZ3QQjew67zuURMlAsN7QopkeQCMfYh5xEEniXUL7Oi2rHTbZHQMs8nRXhM05N5p X-Received: by 2002:ac8:5dcc:0:b0:42e:7f27:16fc with SMTP id e12-20020ac85dcc000000b0042e7f2716fcmr9460385qtx.62.1709067364058; Tue, 27 Feb 2024 12:56:04 -0800 (PST) Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id l11-20020ac8724b000000b0042dfd627880si7947478qtp.16.2024.02.27.12.56.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 12:56:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-84001-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=CtNVoj2L; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-84001-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-84001-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id B89641C2528F for ; Tue, 27 Feb 2024 20:56:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EB91714E2CD; Tue, 27 Feb 2024 20:54:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="CtNVoj2L" Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on2052.outbound.protection.outlook.com [40.107.7.52]) (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 65E8E14F987; Tue, 27 Feb 2024 20:54:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.7.52 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709067293; cv=fail; b=Wxmh1GJosXB5/ICaPDktR7zyWOkStTJDSy+YrQJR1kKrqbQyFjG9z3bkWPEOWCff616ga6yKFOeM22i52y9XXXHP+nogwYKga4nevC+vBEIIKC/e5V4dyvfH27Hscj0xiLUHhb/ia9luF8gfH3uDYXLD5MlB12U2PJ8lxcL9zs4= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709067293; c=relaxed/simple; bh=Zr5TShgZiJta89p9a8K0vtH/7bUq8E+U8vmOaScyf2Y=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=YphTQEIf+69NJ8JBkmkGGZMU05DYXb5IGOVy8qJ9S7i6CZvZNYAFjUvriuj3ie+N0oQelaz4td6ZH5u49OJy+9EDgRqucNSk55T9aFZ/Zxph27wYbb6HNuJgxRHkiF18dupv9eqoT6JSI+dwGLStFhr6BjX0pKokmmT0okQRkpg= 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=CtNVoj2L; arc=fail smtp.client-ip=40.107.7.52 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 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CijGUOuSLBQMHcrutdLp+zZ3FgrJ3GO5wmsA6A6qC3YqAJHscqQghjRNAfCWXdHZ5UuWCwEUJmBe8zFMaICiRMTtvGr/GBEhNw8SkDVipWDZawp/Ps0XInmnzRYDWxDHvvTELqcwNTFuBoLS4sLO3+PJydAjRhh9Kz82+fzzvNneNn4cgtWSUuTFcONj4Vc5M0teipUbjWBZe5pX9tAWcJJfEVv8WCdWbeXLxS/P1xc2a5jzA3wj5/cgWV0tJqQyvAFAEPxsVbR5v+s3EkcViwMSclJvvYrMRvyxnehNk/iNXQWnoVCB5GVGMUVVk+RPBrWkEgH739MQWbIfTG46/A== 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=Skl6lRl14Qap8DvLKPAl02WhkmMYsRwEI7aKW/j1Zs0=; b=CkU51d83z+fjJK1AYSGgzHsmFzk0pQ7gHd0pqdv7mgwuXXKmHduBHo4aELahyKbURpOC4O04iauO0LkvPV/v4MYTOH2OJdwmNAEhW81SgAxbyx9VhgA9hkMK11bSlHdAEQWGnaonFg6naWM7vZmBqBxqip+M3R2Nw/YstGpLaILokmg8aXvAs+wjXLN3B/VlmlQekfGKlsqcqqyv5hP2AP/lieK0+iL1nN/mH19c0TLJj6FG+mANanZGFrC+9FPCZoK04TBV0u8/76tGt8NmLlSYi90CGTXk3J1mOFMhIlr8t72Mrjqw+QdHgVWsmatG24xWmeLDl/7/t/X01wW/dQ== 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=Skl6lRl14Qap8DvLKPAl02WhkmMYsRwEI7aKW/j1Zs0=; b=CtNVoj2L5i1jswdph1PxBcKz2jl0l4bCq9jlob5f/5ZzDEvMyibwplS4lV+7bAhGNuCFZ1uKiB2uj6TnofoJyErkL4cwltI7BDI6xoNRYqUXPEgQZmIcwYJIZ/MY4LjZACUc4JYC0aDa8c+bDiyzVdajTlEZT3qxgDY8Ov/he0M= 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 GV1PR04MB9200.eurprd04.prod.outlook.com (2603:10a6:150:2b::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7316.36; Tue, 27 Feb 2024 20:54:49 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9af4:87e:d74:94aa]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9af4:87e:d74:94aa%7]) with mapi id 15.20.7316.035; Tue, 27 Feb 2024 20:54:49 +0000 From: Frank Li Date: Tue, 27 Feb 2024 15:54:11 -0500 Subject: [PATCH v2 3/4] ASoC: dt-bindings: fsl-sai: allow only one dma-names Message-Id: <20240227-asrc_8qxp-v2-3-521bcc7eb1c0@nxp.com> References: <20240227-asrc_8qxp-v2-0-521bcc7eb1c0@nxp.com> In-Reply-To: <20240227-asrc_8qxp-v2-0-521bcc7eb1c0@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=1709067274; l=938; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=Zr5TShgZiJta89p9a8K0vtH/7bUq8E+U8vmOaScyf2Y=; b=qIXIkvEEJLjFUSIph/s/46TFmrsyD/KLjyWjM4PJmRf2Vyl289vaOgNzHPiuBHbmfTg0qGcDj e7H9niyHM6BD09znC+9Uh4hdkE57zYwDhJAjntmyg3Zh5CGA4K5kf0B X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ2PR07CA0001.namprd07.prod.outlook.com (2603:10b6:a03:505::11) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|GV1PR04MB9200:EE_ X-MS-Office365-Filtering-Correlation-Id: f33a30f6-16a2-47b1-61d6-08dc37d65661 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: OzGT6JBfV9yAgaExqBQdvC4JtoRJqOsKKEPC+/tdXgeTjGOk6A5Ekf8o9zmVtosdF9Md0qvZArnWMiIenD7yjyae2MbDysCKRWI5R14xNhqZXhLfHHcR98YOufmYj3+HqOqGrY0vLg5L0GovQiwz8L+TGqJDE2QIFwjWcabMKqe/lOqd9HDx9ZbDsf1rQ+vPpSrle3t+4TSwpfAtbFIhAakEjniqkPjJQpWSN/tC59jzydtJORkTObYGSnL66H/+LioH7wfGiQB0UpJFy+N3U/PEFPEXDKjwt0utn+WbgUkDjxxuuBr05kmPkxEpxdRai0S7VCueXvxJt/qFIvADpcTlOqh5AsAQmSJI6Ct8XxPjgoJtaqVbI098/y7CRRnEB+hiJdvW6sKqqdCZIDrF7D1xSNjDXbytma4wTzqf3efT9ki5UTWEjWQtl5i+pR6+VlvYn4gBYKyUDGhNFeTXNpImuKwCrofaVt1tUbueGR270n7GRaB9lTVURaOnlYEp8LqYGmAxtFL6mW7KQjerOA3s0TAwCrBNCv6Bka5GazXmd3b+eFBOFA1KhwJNrEJ7NB6ym+JeGOaNun5s4haVVWdyXrY95kSt/322a7FVeMLAfnJuiTdjSutnWF80zectENq2x4uEtBWb6mHvIlgb2GTXFapJ6Nuz/flG2/8ALKBYBWsvKpma/axw6JICzOyQpQ2H2nOMGMbasp8spYfr+l4urIWMfZkk2e1SirFp3ec= 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)(38350700005)(921011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?MDxovEglcsPanPSJREMtydjD3Osw?= =?utf-8?q?dB1OHedopP4kekQTKAHFHGz22wmul3LCbz0hJ+/qQzhDHKNMO2MU5xMSqKG7eIEt0?= =?utf-8?q?cmgQsIiBnOsU8cNZatK8bsLYC6iUb08xxmPjK5K3EnzlM3ltQn6RD3o9VamqNt19+?= =?utf-8?q?hOrqME88Q0Bfm/4jsds69sgFdhhb2txOIg3SYh/j36lJk+8c3EoLkreax7qb9F31y?= =?utf-8?q?J7mKzS4xCVZ0pQL/rZHSjDX+C03C/ZIL/gCsfC/T5Ubd4AguFiKaqMGAo0QHPN3fA?= =?utf-8?q?XPu4UiB14eQa0L4Oypch7WeVVuQRO80x5fOEun49aR8jGeODGQ9IP4CDLQRlEwSj4?= =?utf-8?q?kmoq/HT/jztK4WX2gsRh+wVC2RdG939wv4127bP1flut4LIEExnnx1u9LkzwQqpfp?= =?utf-8?q?PKV0AQYdNdbRGvmm63mUZ/WU2MzAei9WGDOQVfU7/Vvf1nt1eE8cFJjNQ+m9FNwPY?= =?utf-8?q?rcDZ6WF8F+9Pb+MyGAvOIHuxVVvwofy9RuowP7c1ic1u1neDZSN/2tOJbNQeSKhMT?= =?utf-8?q?vBMy9CuNfFuiepPvN2NlOHWZi1+m9nG3UbNs4rS+uOsjyyqdcpmNt5fhFHcgDpLYm?= =?utf-8?q?9T64GkGb6Jbr7qN/dz4JRrjrh1lzw10qS4K2je4fQ2Pbh6bNrxtMm4U6bZB2dX7VA?= =?utf-8?q?VBI2rgFfe7184IuM2Rr9QuJQH2KY0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OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: f33a30f6-16a2-47b1-61d6-08dc37d65661 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Feb 2024 20:54:49.2450 (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: gpAZjjRLW1LUMRYnRNQ4BhRDIQWhJbmBJhENQg8DWaThtX0ErGJjMKUTLSVx7fJVQOqeuX5EurhbvvpOrzztMQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR04MB9200 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792087020326949228 X-GMAIL-MSGID: 1792087020326949228 Some sai only connect one direction. So allow only "rx" or "tx" for dma-names. Signed-off-by: Frank Li --- Documentation/devicetree/bindings/sound/fsl,sai.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/fsl,sai.yaml b/Documentation/devicetree/bindings/sound/fsl,sai.yaml index 2456d958adeef..0302752d58a2b 100644 --- a/Documentation/devicetree/bindings/sound/fsl,sai.yaml +++ b/Documentation/devicetree/bindings/sound/fsl,sai.yaml @@ -86,10 +86,14 @@ properties: - description: DMA controller phandle and request line for TX dma-names: - minItems: 1 - items: - - const: rx - - const: tx + oneOf: + - items: + - const: rx + - const: tx + - items: + - enum: + - rx + - tx interrupts: items: From patchwork Tue Feb 27 20:54:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 207425 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp2959801dyb; Tue, 27 Feb 2024 12:56:24 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVxfVcySQIWHJxHYyuz8gqRVj1UIixdaJG4FSur6+x1UuHfMZrxMRt9BVMhk1ms/MmXNogeBJ6yhqjN7ylwTAkzitcRQw== X-Google-Smtp-Source: AGHT+IG+GjR5s4PITAqLPt/irxmanZX88zWFQdWhbtx/JOWKJDNMka/WyqP1r9QGZ8Bj57egNlr0 X-Received: by 2002:a17:90b:298:b0:29a:7efc:4720 with SMTP id az24-20020a17090b029800b0029a7efc4720mr8334612pjb.31.1709067384377; Tue, 27 Feb 2024 12:56:24 -0800 (PST) Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id ca18-20020a17090af31200b002993602c9c8si7809520pjb.68.2024.02.27.12.56.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 12:56:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-84002-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b="KCQ/vgHF"; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-84002-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-84002-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 172B5282C81 for ; Tue, 27 Feb 2024 20:56:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AE6641534F4; Tue, 27 Feb 2024 20:55:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="KCQ/vgHF" Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2075.outbound.protection.outlook.com [40.107.22.75]) (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 E2B0614EFCB; Tue, 27 Feb 2024 20:54:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.22.75 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709067301; cv=fail; b=fKpYZFrWSBcjhGmZH0OFmKyMUrVfvY0SnK4Bg2JdtpZbLxO3QRlftHtgNM6srHiCOSWOLHRFEktVHuqK1EeTuFe0ZD1egUEka2Xn20wjcvIwqS/VLo6Nak7uiwvYC2uQ9RZd+NPZs0aWf4Qt8VTPtWoYq5+YA8MMRqAIGybhelk= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709067301; c=relaxed/simple; bh=scx2tJGGMPCuV31oHuIscaL9iO3JoVAe7DIQfQq/hnM=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=FYkbdNDP9yoQEGtptQhUfQfAl9othxHAmVoKVIXPwz4/20oQWQdf13tD7bmYfH59iXjKqFx50YPalpmWwcElrEs3EI//ysv70/3An3GXGf4gazB3NVrMdae41jAk3c0qdUtZp+SB/h7kHDNACyd8fvat8DSW2OK1D2JDomqJ2kY= 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=KCQ/vgHF; arc=fail smtp.client-ip=40.107.22.75 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 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fIvozbuwNW+PkKc0rkcHuWiRfxx26rMzUCmOQgXBJitD9Nv7Emdim3U7/9p3kiCb/LWpmoQn9bIARi3tz0Z3XWRyFEcL/RV54I8i6OB2alMDI9TI5BencDk68nZIkDwp6XwP1jnV8Zgtq5Uv4hoUu7+PYAU/d3Da/kG847GowhK5iOdhEHwP6qt8ZvjuFW0rXjjgExilOTDGNE2dZBNEcDMSri3YqXXArJejf9wr7rmCmJWAeKYi6sNdoT/yv+7DQxk6/6wE73wZq6FpNn5eHSd7VD2MSWGfveUmo1IcVQjOSMsKr2sfSz4depPHXt2/NGkWrHuga7bh3v8F+oAMOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=/PZ5N9gHK+DW2QnqzPlUHbIbh+Ah3oD1V2TcxCSFXQE=; b=f7LiiRNPuWywhGG9zRf0BkF3rkel0K+/m7IZ3Ly0qqRnnFn2IQaMArwdzfRXidQxJ+5bPnntu29AZaXGUARW5kmLJInxiwYnaBmDC9eNbjqPliCHh4n/1wv3tW+vO0e/E61nssw5dATLaTJkpsAW9GSLAaq2A41c9NBZXCVSb9pMjDFo7TAv4jfsmgKPDDvugK/7IMWzmeGuyGVgahM8gjDVc88CKP3PCqNUpj3yMHJe+7gFv5h3ns6GjWmThlfs9AAOC8Iz4mZyybrY/oghgy4pCX8+sYmcprPi1SMtGwrYUBhEBuzn7J8ObQUXrgjic2NH04+yAI7xnzyApWftIA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/PZ5N9gHK+DW2QnqzPlUHbIbh+Ah3oD1V2TcxCSFXQE=; b=KCQ/vgHFLTcPIfuqD1ocBKNHScYUWvSWl81u3ApKvvi5EWzQnYvAvCR8wrLXwiCk9MWbArsxDhemwzYKwiTLpn+HZgEerzYiC3S+3Q0hJ0S/OZ4A2Bzo7gFPcZbuUyrtr47MZF7mHsP7LYEgRl1r8YhRMA83P/vhTQrp5CM1Bzo= 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 GV1PR04MB9200.eurprd04.prod.outlook.com (2603:10a6:150:2b::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7316.36; Tue, 27 Feb 2024 20:54:53 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9af4:87e:d74:94aa]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9af4:87e:d74:94aa%7]) with mapi id 15.20.7316.035; Tue, 27 Feb 2024 20:54:53 +0000 From: Frank Li Date: Tue, 27 Feb 2024 15:54:12 -0500 Subject: [PATCH v2 4/4] arm64: dts: imx8qxp: add asrc[0,1], esai0, spdif[0,1] and sai[4,5] Message-Id: <20240227-asrc_8qxp-v2-4-521bcc7eb1c0@nxp.com> References: <20240227-asrc_8qxp-v2-0-521bcc7eb1c0@nxp.com> In-Reply-To: <20240227-asrc_8qxp-v2-0-521bcc7eb1c0@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=1709067274; l=10528; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=scx2tJGGMPCuV31oHuIscaL9iO3JoVAe7DIQfQq/hnM=; b=9k+5gKVlaSZ0RLwuEAuOiVi+2p1COfUip0J7bOStCIkkAGWN2xgS4WHxosnN/PPP83HjHxU5B 4en9mNAwoeQBHrucFFrN59gXepJRF/DtpgkgQ4dW0ErUuFiJEi33Hvb X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ2PR07CA0001.namprd07.prod.outlook.com (2603:10b6:a03:505::11) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|GV1PR04MB9200:EE_ X-MS-Office365-Filtering-Correlation-Id: ffc973b8-f0fa-4a98-f069-08dc37d658a0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ACQnMaZxZPcCA50rFr+D+zLJ33nr1hMSsHES15WAmYbJAJcAb9WyvrMfVep0Xi3ahVJKnIdjBHc4tY7wOsECY4V/qgQWXSc3fDC+n3vPik+DBcAwHpWfWbjoxJm4u4YbOygZxExv2Imhw09M6qfVydUZhiasA/1Q5rm4ocWtrCNdsz0bFkTRgXyc9NF2+FPkU1i6bQr0fU4DaXSxUr4b/rnu67oUM65Mvvr2Pb0HAPMpA1Rbk82NWXAqCR9FXCX1YT1h8XLz5C2Zumv3ogfe/dfTkTzddDhmDvCZgbZrj3OAY6XbRumgg+fE7038klopvaMGbbWnSM8mRV2L5RjaVOb4WRFS5V/ehBpDpiME5Vxe8wtYOzkOBTljKtJhTXwKLtPyY1rZqGw7Qota+wjdJC94It5N78OeiJWX/fwE1rJKaWiKixajSFwRUqSE24L8/8ytmWKmwPnyv51wpc52rfCOTz/0ZE+cD6fxagbHeFWiNJ0C5X8RaEcOqeku33QPGN1TvfX1p5pPjpzJmxBDrae5a/QNh1qcI1Y5fKVXgoUgswJLlqh29acRbIed9GzvJka45CYCaoQSQYdFvBszgPXEGuYB9FnkwDT2JJxLynWW1laf3k3GBodgNLT3vcOs8//pOhEiBngmlP37bL5s8onn+QDmvdUYqxJGlz0b3h4/9xUT7MhxyskcuW5ATgeSW0EHa2bBDS0BYr2JxD3OhU8cbWUrcL+kIjDP8rI1txw= 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)(38350700005)(921011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?QUId59Dad7AIGg1/bSAo04GtFcPV?= =?utf-8?q?C3VOdRArvOyfSashEOFi9DZd4ZmdmEcNJH3fwWSS41gsmsqM37qFtvpryKui5iRPN?= =?utf-8?q?nBt5mKh2Fvm4905zzL2LWAkih1j/BvuGwhnFf1y6cEYsXAutcCgAJpT/bMl6+LWRD?= =?utf-8?q?bQzqM76rgLZWTgJGIWGNYRiSCiw+wbNlRT5n8yUEEGhdgx9kPL1VCa7dg6PBb6W1Z?= =?utf-8?q?GQMfEK5fvk235aWDjguFL5iAJI0N7RsAc1HfWkvDopUcWMorGLjPe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yIOWXPAC?= =?utf-8?q?IB/cY4se0tZ+Y4fOtWO5aWIi/7J2kZiw5SMiMjPAuFeay509X6A/HVVgEwXamQ+v7?= =?utf-8?q?S9ZjHO/KRb0rhazvQh6wz4o+ReaGqB2f7OnPS7E2T2faTh2SH77sSfsAlBLfYnH/7?= =?utf-8?q?o3OqcIPmfD6JdqGUywftNMMlc4vXJAmFq5uHPsFyeGKwBKifxSEWKfcCNFoqJUb7F?= =?utf-8?q?1FJPdLqKDeF/ZAqE09d0goMjcOfdsMt+ahxIbuP7E3q8cOUMFIlJNZ6aWzmfroRD2?= =?utf-8?q?oP4QrnE6SIFHrB8gf1RTodnpI27IoKPCUgGc0XCZ068Ctgv+nbpauL3H2X728IYtD?= =?utf-8?q?T6nWq2L4nJ2GI9CmLhkbO4Y+T9aJV6bSOIX9eqmZuLyGIbvVTOcOum9lsYHN/sqt1?= =?utf-8?q?KKmdyacQ3FQ+?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ffc973b8-f0fa-4a98-f069-08dc37d658a0 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Feb 2024 20:54:52.9938 (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: hYgSKMzyrk1ZsQW+DKKP1eR3XW83+hliZYRDQGMdJp7ac2dEyBPAJKiDxFvgQiZ5WpVgYpStkz9AFIAa00FAPg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR04MB9200 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792087041810238907 X-GMAIL-MSGID: 1792087041810238907 Add asrc[0,1], esai0, spdif[0,1], sai[4,5] and related lpcg node for imx8 audio subsystem. Signed-off-by: Frank Li --- arch/arm64/boot/dts/freescale/imx8-ss-audio.dtsi | 304 +++++++++++++++++++++++ 1 file changed, 304 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8-ss-audio.dtsi b/arch/arm64/boot/dts/freescale/imx8-ss-audio.dtsi index 07afeb78ed564..78305559f15c9 100644 --- a/arch/arm64/boot/dts/freescale/imx8-ss-audio.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8-ss-audio.dtsi @@ -6,6 +6,7 @@ #include #include +#include #include audio_ipg_clk: clock-audio-ipg { @@ -481,4 +482,307 @@ acm: acm@59e00000 { "sai3_rx_bclk", "sai4_rx_bclk"; }; + + asrc0: asrc@59000000 { + compatible = "fsl,imx8qm-asrc"; + reg = <0x59000000 0x10000>; + interrupts = ; + clocks = <&asrc0_lpcg 0>, + <&asrc0_lpcg 0>, + <&aud_pll_div0_lpcg 0>, + <&aud_pll_div1_lpcg 0>, + <&acm IMX_ADMA_ACM_AUD_CLK0_SEL>, + <&acm IMX_ADMA_ACM_AUD_CLK1_SEL>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>; + clock-names = "mem", "ipg", + "asrck_0", "asrck_1", "asrck_2", "asrck_3", + "asrck_4", "asrck_5", "asrck_6", "asrck_7", + "asrck_8", "asrck_9", "asrck_a", "asrck_b", + "asrck_c", "asrck_d", "asrck_e", "asrck_f", + "spba"; + dmas = <&edma0 0 0 0>, + <&edma0 1 0 0>, + <&edma0 2 0 0>, + <&edma0 3 0 FSL_EDMA_RX>, + <&edma0 4 0 FSL_EDMA_RX>, + <&edma0 5 0 FSL_EDMA_RX>; + /* tx* is output channel of asrc, it is rx channel for eDMA */ + dma-names = "rxa", "rxb", "rxc", "txa", "txb", "txc"; + fsl,asrc-rate = <8000>; + fsl,asrc-width = <16>; + fsl,asrc-clk-map = <0>; + power-domains = <&pd IMX_SC_R_ASRC_0>; + status = "disabled"; + }; + + esai0: esai@59010000 { + compatible = "fsl,imx8qm-esai", "fsl,imx6ull-esai"; + reg = <0x59010000 0x10000>; + interrupts = ; + clocks = <&esai0_lpcg 1>, <&esai0_lpcg 0>, <&esai0_lpcg 1>, <&clk_dummy>; + clock-names = "core", "extal", "fsys", "spba"; + dmas = <&edma0 6 0 FSL_EDMA_RX>, <&edma0 7 0 0>; + dma-names = "rx", "tx"; + power-domains = <&pd IMX_SC_R_ESAI_0>; + status = "disabled"; + }; + + spdif0: spdif@59020000 { + compatible = "fsl,imx8qm-spdif"; + reg = <0x59020000 0x10000>; + interrupts = , /* rx */ + ; /* tx */ + clocks = <&spdif0_lpcg 1>, /* core */ + <&clk_dummy>, /* rxtx0 */ + <&spdif0_lpcg 0>, /* rxtx1 */ + <&clk_dummy>, /* rxtx2 */ + <&clk_dummy>, /* rxtx3 */ + <&clk_dummy>, /* rxtx4 */ + <&audio_ipg_clk>, /* rxtx5 */ + <&clk_dummy>, /* rxtx6 */ + <&clk_dummy>, /* rxtx7 */ + <&clk_dummy>; /* spba */ + clock-names = "core", "rxtx0", "rxtx1", "rxtx2", "rxtx3", "rxtx4", + "rxtx5", "rxtx6", "rxtx7", "spba"; + dmas = <&edma0 8 0 (FSL_EDMA_MULTI_FIFO | FSL_EDMA_RX)>, + <&edma0 9 0 FSL_EDMA_MULTI_FIFO>; + dma-names = "rx", "tx"; + power-domains = <&pd IMX_SC_R_SPDIF_0>; + status = "disabled"; + }; + + spdif1: spdif@59030000 { + compatible = "fsl,imx8qm-spdif"; + reg = <0x59030000 0x10000>; + interrupts = , /* rx */ + ; /* tx */ + clocks = <&spdif1_lpcg 1>, /* core */ + <&clk_dummy>, /* rxtx0 */ + <&spdif1_lpcg 0>, /* rxtx1 */ + <&clk_dummy>, /* rxtx2 */ + <&clk_dummy>, /* rxtx3 */ + <&clk_dummy>, /* rxtx4 */ + <&audio_ipg_clk>, /* rxtx5 */ + <&clk_dummy>, /* rxtx6 */ + <&clk_dummy>, /* rxtx7 */ + <&clk_dummy>; /* spba */ + clock-names = "core", "rxtx0", "rxtx1", "rxtx2", "rxtx3", "rxtx4", + "rxtx5", "rxtx6", "rxtx7", "spba"; + dmas = <&edma0 10 0 (FSL_EDMA_MULTI_FIFO | FSL_EDMA_RX)>, + <&edma0 11 0 FSL_EDMA_MULTI_FIFO>; + dma-names = "rx", "tx"; + power-domains = <&pd IMX_SC_R_SPDIF_1>; + status = "disabled"; + }; + + asrc1: asrc@59800000 { + compatible = "fsl,imx8qm-asrc"; + reg = <0x59800000 0x10000>; + interrupts = ; + clocks = <&asrc1_lpcg 0>, + <&asrc1_lpcg 0>, + <&aud_pll_div0_lpcg 0>, + <&aud_pll_div1_lpcg 0>, + <&acm IMX_ADMA_ACM_AUD_CLK0_SEL>, + <&acm IMX_ADMA_ACM_AUD_CLK1_SEL>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>, + <&clk_dummy>; + clock-names = "mem", "ipg", + "asrck_0", "asrck_1", "asrck_2", "asrck_3", + "asrck_4", "asrck_5", "asrck_6", "asrck_7", + "asrck_8", "asrck_9", "asrck_a", "asrck_b", + "asrck_c", "asrck_d", "asrck_e", "asrck_f", + "spba"; + dmas = <&edma1 0 0 0>, + <&edma1 1 0 0>, + <&edma1 2 0 0>, + <&edma1 3 0 FSL_EDMA_RX>, + <&edma1 4 0 FSL_EDMA_RX>, + <&edma1 5 0 FSL_EDMA_RX>; + /* tx* is output channel of asrc, it is rx channel for eDMA */ + dma-names = "rxa", "rxb", "rxc", "txa", "txb", "txc"; + fsl,asrc-rate = <8000>; + fsl,asrc-width = <16>; + fsl,asrc-clk-map = <1>; + power-domains = <&pd IMX_SC_R_ASRC_1>; + status = "disabled"; + }; + + sai4: sai@59820000 { + compatible = "fsl,imx8qm-sai"; + reg = <0x59820000 0x10000>; + interrupts = ; + clocks = <&sai4_lpcg 1>, + <&clk_dummy>, + <&sai4_lpcg 0>, + <&clk_dummy>, + <&clk_dummy>; + clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3"; + dmas = <&edma1 8 0 FSL_EDMA_RX>, <&edma1 9 0 0>; + dma-names = "rx", "tx"; + power-domains = <&pd IMX_SC_R_SAI_4>; + status = "disabled"; + }; + + sai5: sai@59830000 { + compatible = "fsl,imx8qm-sai"; + reg = <0x59830000 0x10000>; + interrupts = ; + clocks = <&sai5_lpcg 1>, + <&clk_dummy>, + <&sai5_lpcg 0>, + <&clk_dummy>, + <&clk_dummy>; + clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3"; + dmas = <&edma1 10 0 0>; + dma-names = "tx"; + power-domains = <&pd IMX_SC_R_SAI_5>; + status = "disabled"; + }; + + amix: amix@59840000 { + compatible = "fsl,imx8qm-audmix"; + reg = <0x59840000 0x10000>; + clocks = <&amix_lpcg 0>; + clock-names = "ipg"; + power-domains = <&pd IMX_SC_R_AMIX>; + dais = <&sai4>, <&sai5>; + status = "disabled"; + }; + + mqs: mqs@59850000 { + compatible = "fsl,imx8qm-mqs"; + reg = <0x59850000 0x10000>; + clocks = <&mqs0_lpcg 0>, + <&mqs0_lpcg 1>; + clock-names = "mclk", "core"; + power-domains = <&pd IMX_SC_R_MQS_0>; + status = "disabled"; + }; + + asrc0_lpcg: clock-controller@59400000 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x59400000 0x10000>; + #clock-cells = <1>; + clocks = <&audio_ipg_clk>; + clock-indices = ; + clock-output-names = "asrc0_lpcg_ipg_clk"; + power-domains = <&pd IMX_SC_R_ASRC_0>; + }; + + esai0_lpcg: clock-controller@59410000 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x59410000 0x10000>; + #clock-cells = <1>; + clocks = <&acm IMX_ADMA_ACM_ESAI0_MCLK_SEL>, + <&audio_ipg_clk>; + clock-indices = , ; + clock-output-names = "esai0_lpcg_extal_clk", + "esai0_lpcg_ipg_clk"; + power-domains = <&pd IMX_SC_R_ESAI_0>; + }; + + spdif0_lpcg: clock-controller@59420000 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x59420000 0x10000>; + #clock-cells = <1>; + clocks = <&acm IMX_ADMA_ACM_SPDIF0_TX_CLK_SEL>, + <&audio_ipg_clk>; + clock-indices = , ; + clock-output-names = "spdif0_lpcg_tx_clk", + "spdif0_lpcg_gclkw"; + power-domains = <&pd IMX_SC_R_SPDIF_0>; + }; + + spdif1_lpcg: clock-controller@59430000 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x59430000 0x10000>; + #clock-cells = <1>; + clocks = <&acm IMX_ADMA_ACM_SPDIF1_TX_CLK_SEL>, + <&audio_ipg_clk>; + clock-indices = , ; + clock-output-names = "spdif1_lpcg_tx_clk", + "spdif1_lpcg_gclkw"; + power-domains = <&pd IMX_SC_R_SPDIF_1>; + status = "disabled"; + }; + + asrc1_lpcg: clock-controller@59c00000 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x59c00000 0x10000>; + #clock-cells = <1>; + clocks = <&audio_ipg_clk>; + clock-indices = ; + clock-output-names = "asrc1_lpcg_ipg_clk"; + power-domains = <&pd IMX_SC_R_ASRC_1>; + }; + + sai4_lpcg: clock-controller@59c20000 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x59c20000 0x10000>; + #clock-cells = <1>; + clocks = <&acm IMX_ADMA_ACM_SAI4_MCLK_SEL>, + <&audio_ipg_clk>; + clock-indices = , ; + clock-output-names = "sai4_lpcg_mclk", + "sai4_lpcg_ipg_clk"; + power-domains = <&pd IMX_SC_R_SAI_4>; + }; + + sai5_lpcg: clock-controller@59c30000 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x59c30000 0x10000>; + #clock-cells = <1>; + clocks = <&acm IMX_ADMA_ACM_SAI5_MCLK_SEL>, + <&audio_ipg_clk>; + clock-indices = , ; + clock-output-names = "sai5_lpcg_mclk", + "sai5_lpcg_ipg_clk"; + power-domains = <&pd IMX_SC_R_SAI_5>; + }; + + amix_lpcg: clock-controller@59c40000 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x59c40000 0x10000>; + #clock-cells = <1>; + clocks = <&audio_ipg_clk>; + clock-indices = ; + clock-output-names = "amix_lpcg_ipg_clk"; + power-domains = <&pd IMX_SC_R_AMIX>; + }; + + mqs0_lpcg: clock-controller@59c50000 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x59c50000 0x10000>; + #clock-cells = <1>; + clocks = <&acm IMX_ADMA_ACM_MQS_TX_CLK_SEL>, + <&audio_ipg_clk>; + clock-indices = , ; + clock-output-names = "mqs0_lpcg_mclk", + "mqs0_lpcg_ipg_clk"; + power-domains = <&pd IMX_SC_R_MQS_0>; + }; };