From patchwork Tue Mar 5 17:33:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13582799 Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on2083.outbound.protection.outlook.com [40.107.104.83]) (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 1A83217BCE; Tue, 5 Mar 2024 17:33:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.104.83 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709660015; cv=fail; b=pnRoWM2yvHQefHf0tAgE0BIeagjbJDIRcXRuucODREwwZ9ctVQ9TdrN96CyghLLKhJr6BBsl7SwXilMe3ZTETT32rVA9eZ8tuLZLp32ehgk3HOEnHL6bY94A2HIpINPcpooNVUAeXTWM9RjQGRI7eMobLrZFM0yek7Q6uGqmYGE= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709660015; c=relaxed/simple; bh=zkGE4oEsHjiRRUFC7IVGVciehf/DeQc/SiSZUFb3MIw=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=DAfcayFXpAPfgsvJmmh3LtbDQ1fVnUeQG+NhwbJNKaxiXafM01uRsWoHk3ioH+JmZn6IKBpZcwsvBoCXQDnPhu0O5bz5QIEMo27JRJZQ+k5mDTW8W5HJeXAJm4rXx3z92WR1mX7rPGoS4muufs91qZHua3ZgSxffecTsARvsiV8= 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=Gdyk9Kaf; arc=fail smtp.client-ip=40.107.104.83 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="Gdyk9Kaf" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=m+B2NncYAGCJyQekeYmaR8rfmu+RPdHKpMHGWT4tYUvguk/6UFIhSVbn3Wa/lrRx8+zAXoA8AjDDkMMXNpVGfMGDCMZEU6fvu/tuKUco+Q6TlGrSWp6QSlgxxTTczcn/64sBthTiU+NdsloAn7GXAzW2ANot8EAzhXFp1aOT4TK2H9kVOtARxkYc8qGG7vLMY9X1JLxnUQNOHQkEdOvQ5wfPeHEI7UOqgMRNu/S+3LXqWJZ4oK8xM01rW/SxJ/AIQKJ6r4fvlWzIVn8VCzWu0bYdQGZllpxXoSv6ZQM/9/Q8EXm3rgpJwfVvw6VUnVef9Dah28piw05cPdHVDppJBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=wSno13IQ91MOG9lwdozbe3n7b5C2f7s+b2x2aTJGPMA=; b=iFFAgxhXddiqmRV9hpj83NaPgqkI6fp4fyOdS1LzkxCcDLzvgpfojc9RVoLaxfSx6cVo3k/HTiSaKKYyrVCsK6a+hQjIJFsXm7FNEdrUt9M4Z20M4+vDtzJ2lAOLi8MmoNtXfxEaaLBQRREFdZBk2MpfKSTxBmdslmts+yAzDvOXZml4PJEoIOhXQiODnVvRVp25CBU/w5H45PguuMYkg8+V4wZZqCmN6dtaP5gS8H/LUMq/DkKVLaZ1XRWdIi/AvcsiZsulu0DgwAiQsRjUchsXGOh8Oz6RqDMmSKiDjgpvegyWm0XHjzz1mq6GnOAQQDJMlh+f0EQsYuPgFo46+A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wSno13IQ91MOG9lwdozbe3n7b5C2f7s+b2x2aTJGPMA=; b=Gdyk9Kafw9Rn7DS8idotuJGTwYsFSPZ7HfEXQNACJpJ6ZRYf3IIzc1NTGt0Oxd6e9A6n+y6vK3qp22XrhLXipuWSpXQ5dBQLB076ctdNnhRVTc3o07cxwtmy/kEcuGR/4Ww/7+APlk3pNGwvX5gGjethOPGnXK7eCduP4LwPK/M= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by PA4PR04MB7856.eurprd04.prod.outlook.com (2603:10a6:102:cc::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7339.39; Tue, 5 Mar 2024 17:33:29 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::3168:91:27c6:edf6]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::3168:91:27c6:edf6%3]) with mapi id 15.20.7339.035; Tue, 5 Mar 2024 17:33:29 +0000 From: Frank Li Date: Tue, 05 Mar 2024 12:33:03 -0500 Subject: [PATCH v4 2/4] ASoC: dt-bindings: fsl,imx-asrc: update max interrupt numbers Message-Id: <20240305-asrc_8qxp-v4-2-c61b98046591@nxp.com> References: <20240305-asrc_8qxp-v4-0-c61b98046591@nxp.com> In-Reply-To: <20240305-asrc_8qxp-v4-0-c61b98046591@nxp.com> To: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Shengjiu Wang Cc: linux-sound@vger.kernel.org, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Frank Li X-Mailer: b4 0.13-dev-c87ef X-Developer-Signature: v=1; a=ed25519-sha256; t=1709659997; l=1258; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=zkGE4oEsHjiRRUFC7IVGVciehf/DeQc/SiSZUFb3MIw=; b=wjr/zg9qJjx/rAa/tviIiG/Oapnsc0PPUPXY3CJeZHVdAtRrG41bhEzxpt/vPdpaIk1VM3Ou6 sPjxj5N84gwD9/sfvj4s8CcgpOkaS+xrQm2BAkeFtkhXr0pLrSleTqI X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR05CA0159.namprd05.prod.outlook.com (2603:10b6:a03:339::14) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) 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_|PA4PR04MB7856:EE_ X-MS-Office365-Filtering-Correlation-Id: a6dc1b79-cdfb-4dbd-7813-08dc3d3a5f14 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: pTB1fJBBjAt5R0/+FulemTY5gJ9MeKZCEJDG5ZtUFtCPvpSMcSYDpnPJ5NAStgPql9BGYLSsVTQNS7gk+dJmMch8SzT3W4MX5XfqlIqMiNW8WV9w0LeN9DnAha8AWjhrMBK7VaUrYBJ92V+KFIX64AW4zcCZCwj9jM1nlV1R7S07Q83eCv0eKMuV0OHEuc9d5e+cYdbXNAUhpq7xESvgRMPgqfu2gx4HqTo6FN8DayJWXB1xSxFsh6WZDy/kLBLwPW+TGHM3A9NjwavQxclf6e+L9T5K2xYndGwBwcYKoM2T3T0zVRpAn2l5ObUBSEQm5fv3s6lr7ERmk0z/z0MuFMJXRZcOxeJ3UO/Uztvlv1mzAUicvk7rt6Pu/gNlRNvmGeoMPjfhsci057MrO/hc+rsGs8vzz3Jv8ES1l7llLR7tqxdQPU1rRWxY6crXt4Vw8XtqVKLMedk/mVTXTGwl+sEzvmObCfxmW9TqtiBMPrH8XH9PRQRC+6KNF3rVvIriwmQb9dzEZXQC0ky9hM8JWA3Ex0e6fpiYjiPDvu7MiJsXypURtfgrE+bi9ZhXS+wsi7G2UYGrwvxBotkZNRINpBUaQUOGNyD9s4vz28mqdXIeHfnixYZucbGwRRp+isUHZiV+nyMwLXS07iMMua8CPRsmJcNAysIZdUsQtI5j33hk4W1MkVrhEYuNVWhk2OD3rCT2WnYjKSbqttem2/URIAr43OqcRe+0ziVtwW/RI1o= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376005)(921011)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?/mIECqc5cKXfdYyL8+toIr3kS4tW?= =?utf-8?q?EJn0+ijbUcpyDIKg2NHXHyTSquDbmrUNcLlposwpjcSjpeCI1lruowQFXURcUlHKR?= =?utf-8?q?yfGXZ0NQsM71ODzLGTynfzksZtyLD4+MOI0cKLx5qw4HzE3ONgh/+/RwZ45pmskdu?= =?utf-8?q?R12LGFfJEzECM4AHJxg10DfJzeYYPOfxSoK/Dk1fJAR0p32uX2l6s9ACnjWAc7Zp4?= =?utf-8?q?/TY7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4XKyWJEF4O7cHHr+rFNszLa9qnq3AdH02Y5Uk6C1FS3mIHeooVBLMxbO3BWX+msCc?= =?utf-8?q?rMBxxciwKY5qOLdudJdD2xR8b/yE8EBsd3fx25braRAt/pCTZSdHoQIhkndlseE9K?= =?utf-8?q?JT29y4hcwC7UiBuQV4arySn6RfhF16H2MmMCX9I5PCsyUZR6KAxyv7n+IWpR6ICGl?= =?utf-8?q?whD6fLl7ML0+Ya3eusgmQY4lIUnVx06nlf62vMyJYUNXWPy3ZZd85EPvF0TFA1Yow?= =?utf-8?q?9Nbhb4cAmSBFdxwS4H1KzsXsVcA2RYGarUIu/iRr07NC3+bZqwMS0NPPMEZc9IOSv?= =?utf-8?q?r+8fDajsnaXBKe+3k3F8KWe93ApYlSANmaWy/qqTdT5+gFIpQBitbxpNehlKx/3VA?= =?utf-8?q?wVBIdaezFpntb9t1DV3tFf6Kv6ossSC2YA3idBdkvG9kpUke5qTARVlxIggL17Vq3?= =?utf-8?q?sLW8qeSBIux4?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a6dc1b79-cdfb-4dbd-7813-08dc3d3a5f14 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Mar 2024 17:33:29.3237 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: o7Jb2/TFZa/WRYF2znqcglFzyWPMrXki3NZyruWRh3BxQ+TIe0vY1kfK+Hz3GaYOVlPkThwxkj3Pafva7a3pZQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR04MB7856 fsl,imx8qxp-spdif and fsl,imx8qm-spdif have 2 interrupts. Other platforms have 1 interrupt. Increase max interrupt number to 2 and add restriction for platforms except i.MX8QXP and i.MX8QM. Signed-off-by: Frank Li Acked-by: Conor Dooley --- Documentation/devicetree/bindings/sound/fsl,spdif.yaml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/sound/fsl,spdif.yaml b/Documentation/devicetree/bindings/sound/fsl,spdif.yaml index 56f8c0c8afdea..7f6590708e1ec 100644 --- a/Documentation/devicetree/bindings/sound/fsl,spdif.yaml +++ b/Documentation/devicetree/bindings/sound/fsl,spdif.yaml @@ -31,7 +31,8 @@ properties: maxItems: 1 interrupts: - maxItems: 1 + minItems: 1 + maxItems: 2 dmas: items: @@ -101,6 +102,21 @@ required: additionalProperties: false allOf: + - if: + properties: + compatible: + enum: + - fsl,imx8qm-spdif + - fsl,imx8qxp-spdif + then: + properties: + interrupts: + minItems: 2 + else: + properties: + interrupts: + maxItems: 1 + - if: properties: compatible: