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+G1nNa6l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kMgX4KQZPg7jdThKV9fZoFvi02ITSNb3IHphjSzgrsVs+XE+U7EZcfKIaST?= =?utf-8?q?qV3eLUxN4o3SP53mYPdiNyanyVe3TE4x8BgXkOzq6bNYnMYPw93D8h/DFLxe+UNFg?= =?utf-8?q?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: