From patchwork Fri Mar 8 15:30:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13586947 Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on2072.outbound.protection.outlook.com [40.107.13.72]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E97182C69D; Fri, 8 Mar 2024 15:31:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.13.72 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709911883; cv=fail; b=MvrKC4u7O0IjYEnAcP5gavpjWmNcpu6Vf4TMiNII+mU70vZmnJgrhKM78EQGCHN/e0C5Ajjafy6sSHAtIAq8aTTm5Pc27JMQfVfjIuPjS/bG17dYHduEzeDyf2PEWr3evDmjG+gILEPXhavDMlnl7J8FHjnisdJXBwc0TRqM2ag= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709911883; c=relaxed/simple; bh=vhxVnX5MWE/YYazAEq2DWjswf9ZVqHa5Xm9QHs88IVk=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=TWba0cVyYeZljCrUEp3h1dq5yACofZhd1FqbcFPbfWTcpppyLxcXPbszqT0P2cZsPU1SmPX+tEqHAjKr1+eD+UEFtSLw06zGSrbWDikQfaYQLmVs+8lASAnAYSAD9ReERgJtnXX/MQV8HUAjr1dEKZCzeaq6g9afzsQ8W43UX5M= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=KMPVhICy; arc=fail smtp.client-ip=40.107.13.72 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="KMPVhICy" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TVMZzVa0GgXhooiXBarhQiewOaEHSdFZTqAPPSBpNXwWdw22RFRNCPGttlblPafV6fCx/oPn4/j+eSKysTB8MBPx3LIbcJzkZJWqfLY69KftjM2RUEy8lxx3h7T+Lysqkr8ookp9mCG0fSbwcM1QkL5N7PeMicYbuVHiYtFfP16MX0iYIDUzxuBgbhTz3XxCAkBfKXqTC8vlhvMqvTElIvmbUZQZmpXcrgfFkSFieUtnc1N3MJCZwAWDrbPhEcuaiA5LwAbiEFjN5bXHNs21PVBdVJ0uUmIPew3+tCsL3yq3BDseuhMrectparMCQt+OWNPqjWbSP0Sx9CoLYpgs0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=R0mcUIHdQoXpcrCDeMb93Qo9Kvs+iHjA9EaUDycGjYs=; b=BcOn1/WSfEcXWNsflTVBtEbCHA8IZXig2MHvp2litDE4ucOD6WYrcwCxO29XFHqLfynrgHJbvNhk/j9UUQJsxZGK4mJfsFmS86pTixBTRRHpQAYIGEf+Si9nuVlvnV/Nm9eJLZrnhv0WDHZGe1sNWChOu+nYF6Uvs/EpQVzj78ZWgaycVpRWWMst/Ng1g84WMghrriDgehVX07deu5ytMgrXPA4PD6AzmQDAwxeHzzqvMVE1LJSjpriraH09WaiUZGr7OdqngduNg7/nKVrdY69pmXjRpUrngDoZFHpRtHxXw+trwdQsiWJolwwQNyKznaNvZgqzbpFCV0SAmya+BA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=R0mcUIHdQoXpcrCDeMb93Qo9Kvs+iHjA9EaUDycGjYs=; b=KMPVhICyVlqBGKEPqo3XjndFVUxRxygfPqmUtVz109L/84ESiE+VXzhtqKFoNVHfaD6vRIeG/R1q802aHcmGnDMNcooZn2qML2TbG4eBdkXQ5NsBD6M9ePKH0eNVY21DKcNN6vBLyi7O9AUdSRw1oAPFWER58xTq+9r1vXWGvaM= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by AM9PR04MB8116.eurprd04.prod.outlook.com (2603:10a6:20b:3e7::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.29; Fri, 8 Mar 2024 15:31:19 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::3168:91:27c6:edf6]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::3168:91:27c6:edf6%3]) with mapi id 15.20.7362.024; Fri, 8 Mar 2024 15:31:19 +0000 From: Frank Li Date: Fri, 08 Mar 2024 10:30:51 -0500 Subject: [PATCH v6 2/4] ASoC: dt-bindings: fsl,imx-asrc: update max interrupt numbers Message-Id: <20240308-asrc_8qxp-v6-2-e08f6d030e09@nxp.com> References: <20240308-asrc_8qxp-v6-0-e08f6d030e09@nxp.com> In-Reply-To: <20240308-asrc_8qxp-v6-0-e08f6d030e09@nxp.com> To: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Shengjiu Wang Cc: linux-sound@vger.kernel.org, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Frank Li , Conor Dooley X-Mailer: b4 0.13-dev-c87ef X-Developer-Signature: v=1; a=ed25519-sha256; t=1709911866; l=1420; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=vhxVnX5MWE/YYazAEq2DWjswf9ZVqHa5Xm9QHs88IVk=; b=j//yU7UxfSNm9hv5ECG7EGDw0xz3geIa70tzHi8ybB1hprlOCvq9gLBlEseYqscZMiMiE2mNV IzdKzGT4firDqItAdcfuHohiyNL0eaib1vUai8Ij6w1r1eZTavgQiBb X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR05CA0151.namprd05.prod.outlook.com (2603:10b6:a03:339::6) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|AM9PR04MB8116:EE_ X-MS-Office365-Filtering-Correlation-Id: 317fea58-d6cd-4142-a24e-08dc3f84cd4b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: PDezQB3dCtIhWt2qpSgprEDK7b1WpFvRpvR2nGQemPrC7p86TT6S3l5j9zXBlAAGQ7fHkFe6lnCWWxMRcU7m4/vGT6A8ihaqKs+2zlAho5ttVe1fYUAGCXqEtvOfe+tOS1VI5ir0l0bwFBBwzzANohRfX2ntUn9uiwGNHJevV3WkZRsol2CHne190QJEuPt//9J5P0JrvpdnxaV24j3FQmZ0zK8hv5R+MvyiI+JfI0YZqcbOfQAHv11Je+BuwDI9QqkasZkk7VsEyLi1pYbgHIvwVAN17lX7yDs0ax5cpqhEaptAUc218MxVgK2L9s5gUpUa8ohMj6pxX98WXkRP+xhXrigwc3dkbyGfmC2Su8TUsRcmREbYRGmLZ+zW/qPGPAU6nyGInM5y/WPHvai241/PqR0vIgxrMBL+gCC1EM2XEfAZVxtemKYVSITolWPQdyBY+OmVLvLlehecXcwrUycz7rB8fdnrg7hhg2eQ7MEj47jknFrCN+PPd2VE/39AZyAj6wTctmZABmnFeiM8OSDf4gzW/1hbmYI3G8EsFszmiDZkX+whSQzGOrYETEJAtPTFLUfv80VjxfKjUk3yEOwOZw0r0NX6t49lg3hugrGDfJSyoSBCF9Ji1fhs7cD3ep7DPEDNRetGfDq7t8VuVGqn7eEgjT4Fn3186UVXIhJJJeXJt90L0iqlyC8a154mah6M4tzZRUzizYHIWNJ7E1D4E41lTn2fiJHjTj9VEXk= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376005)(52116005)(1800799015)(7416005)(38350700005)(921011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?1IZGASNbuaacI+LJOsa2rNtLofg5?= =?utf-8?q?B3VK4z/CqkFxoUqQ4zXzUlmLd/o2bMjYbJCef1jr6mkklqUh9Q3sByh3CTKlzLvWc?= =?utf-8?q?LfbqibitqH1hxVFxu2DB0yWGz8W+8iyd6PImezakn8ChpZcwoSxjQAJZIHRVr9dh3?= =?utf-8?q?QvAuEcFVf8pfY47El2OCli9BmbgBGJLOTY1t5ufzRBfVy2vRYimiP61QUrrcj4aos?= =?utf-8?q?MXhSVvnUWgwY4Cp+/iHH54+8EjDJ4cdt4QjjG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p46xpUUxw9pcSObeiLp1z6XuM0I?= =?utf-8?q?biT2KwmBJxJclZ3NWsG2XyqulP5ZJJ0ECo5inMZOX0BEz3/TITPrvfewVzeLYn/Qj?= =?utf-8?q?IdCooEGYbHUePNhWbb6Ekcs9z7iKJasTjF0psXAeI2DGrzUIxX58/Ml5If0H6W/FL?= =?utf-8?q?mD0aNIAWu9o8+n3TOqDX6wrSu6HqL9zgC2qBZt8GBASvbdsgBxzTYM2WkIAEJ0j1a?= =?utf-8?q?yL+94zDc8HZC9PQ3XXHgRA+DI4xjx+B+ARrwsB1i6I2IVrjqv++x8shKfXuCxfwEY?= =?utf-8?q?w3XWvWEDnxJ8nneiPhFm1wntOA1jMEUtEdFa84NpGqtnBAW/IljsJIaZr+mAgbV4M?= =?utf-8?q?cnWDvXM6pShGXoyvnICYIh/2/Y/nzaQFgHOPq4CjBzStGOnxWWZk10mQZQUFfcyYe?= =?utf-8?q?x8MF9Nrj2jiq?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 317fea58-d6cd-4142-a24e-08dc3f84cd4b X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Mar 2024 15:31:19.3954 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: sehKEGasz/1Vs8gw3XO1fojEMENc66GgRmxm3/ySkSO3cY6HLujz6kj5Fc+4rTw4tn8ddz+JMB2rZb7+Be7dyQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8116 fsl,imx8qxp-spdif and fsl,imx8qm-spdif have 2 interrupts. Other platforms have 1 interrupt. Increase max interrupt number to 2 and add restriction for platforms except i.MX8QXP and i.MX8QM. Acked-by: Conor Dooley Signed-off-by: Frank Li --- .../devicetree/bindings/sound/fsl,spdif.yaml | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/sound/fsl,spdif.yaml b/Documentation/devicetree/bindings/sound/fsl,spdif.yaml index 56f8c0c8afdea..a242f68f99f18 100644 --- a/Documentation/devicetree/bindings/sound/fsl,spdif.yaml +++ b/Documentation/devicetree/bindings/sound/fsl,spdif.yaml @@ -31,7 +31,11 @@ properties: maxItems: 1 interrupts: - maxItems: 1 + minItems: 1 + maxItems: 2 + items: + - description: Combined or receive interrupt + - description: Transmit interrupt dmas: items: @@ -101,6 +105,21 @@ required: additionalProperties: false allOf: + - if: + properties: + compatible: + enum: + - fsl,imx8qm-spdif + - fsl,imx8qxp-spdif + then: + properties: + interrupts: + minItems: 2 + else: + properties: + interrupts: + maxItems: 1 + - if: properties: compatible: