From patchwork Wed Jan 22 08:29:27 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Baluta X-Patchwork-Id: 13946998 Received: from PA4PR04CU001.outbound.protection.outlook.com (mail-francecentralazon11013031.outbound.protection.outlook.com [40.107.162.31]) (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 E2A192045B2; Wed, 22 Jan 2025 08:28:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.162.31 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737534494; cv=fail; b=APOWNm8APzWDjfrcNWo7w9wo5kGI8U7ELognI4OtXo36LhC1vGpA+pFDvTq3isA/WFI0HFvstcm3mFbpZBcJuIG1f4N5zGjPl7RsJmceamtxLEZ6wN2Ol7i4uwmmxXyOKGdihjDRX7+rEHg+z0erYdi9B92j/RYul1q0Ae5N5dA= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737534494; c=relaxed/simple; bh=BCGnTHPt+oaukioVPuFtoLcfTnQGaeZOwgsYwTXp11M=; h=From:To:Cc:Subject:Date:Message-ID:Content-Type:MIME-Version; b=UY+qKLOkx7v+OBDJLEBGS0gCCzM7sLcsp1qC4xepXiQ7ypR8tysNVyuIbFQQEix6I7sIUzI9XG8o3QTU13GfQ+/hWE94jT3Gh6xwPxj4R4fc1j/34GfGnJzP2Dc3cKjYQsf9K+SVNSrOophUu6d/Veyr8SIgY/PWo2u1axZfsbo= 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 (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b=Ja27zFNk; arc=fail smtp.client-ip=40.107.162.31 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 (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="Ja27zFNk" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=X6hSNif8pn5Xz9F5jXWwTlcre08MC6hJ2uh7LJPOLdJjkOfTEFOaxLlKQ4KF+YUOLhvWKquCh9HBc7R/tQlbwz6H2+GPPSdwgn6XpfC3x43ld9hxmBrXFp5OlStmWYEQfui5nXSiihke5tG5N9G+Jk9Y8RcCWQ4OA/My0YSeXb6VQiWN7bsexPr70yjJ1nkiz/U3yK6iH/nIl/J12zWp4I21mGjaktQiLunAyus1xxXpy4dzPYtdk0E/GDoyIUz3ivjCP+9RpyONB/NrOdj4/DYRRjwQ0gFwjWvsFQ6SVSWff+dY8F9SSPTo4D58eKkX5rEQTVpr8gLQBiFIS0ifJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=PXurwolKrV51osWvW0bayuXdj1dXrkhD93BFxMEn3ik=; b=ZHT/CC1t2/T0dYlmfHPFgg+YGMTud5sXM4xYB+TpkGOVs2nuJXKQ04UXJ63WlmFPrfCT2s3iIO63hgfnqSr1r+kNn+/6r/VF/v7WsvswthdLsWSIkDxM5YqECmQ3J28dW5/26rPuMT5Z/BBhziiFGimgIQP6kfGxSTyMjxAkQhPPPzr0zqAfXXVVsBXpvItOmRZiCYcaU8zOofRO1RmLvAZHXsUoB6qfHwZMOkOOw/80X9nCO191aMU2qkHPxRZsqvj6hygCYI6WfFW+YnGiCfMUDtdtw6VkyDAOZkdmTTc7vLMzRGALzpm0eVGw++K90qF0skLl6uGlFot5pNiRIA== 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=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PXurwolKrV51osWvW0bayuXdj1dXrkhD93BFxMEn3ik=; b=Ja27zFNksdCZPbTnVjEzZi1thzQEg9nukcfrZUsrBaXiWcDdXemW2jYDBUt/qBUfEk+r3XOGbGNky5motAE+VXmPVtf/R65FrXMuEssZTvUOenwrPcUQsN91xfOkQHVNTiAYITWxhuJ5xqj0+Ojic6Db6iEbNfzpmDHeR0vTxYX3ocvUuBhksldkTTAc97sU5lTIBeUHd1IZKeY6pM2pN/sVDyUg3KX7CJ0bho9c71DxhO+a0d/18NByESyhjbL0QVppUOklyvB3iXuYZ+qzWhwjW14gON/h0YP4kuG01sEzY2qLUf8/Rr+EqOKYQfUsPFZWgyervCOCoDcUTRc3lg== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AS8PR04MB8247.eurprd04.prod.outlook.com (2603:10a6:20b:3f2::13) by AM9PR04MB8988.eurprd04.prod.outlook.com (2603:10a6:20b:40b::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8356.22; Wed, 22 Jan 2025 08:28:08 +0000 Received: from AS8PR04MB8247.eurprd04.prod.outlook.com ([fe80::84f7:e2c3:ceed:c0a6]) by AS8PR04MB8247.eurprd04.prod.outlook.com ([fe80::84f7:e2c3:ceed:c0a6%4]) with mapi id 15.20.8377.009; Wed, 22 Jan 2025 08:28:08 +0000 From: Daniel Baluta To: broonie@kernel.org Cc: iuliana.prodan@nxp.com, laurentiu.mihalcea@nxp.com, linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org, kai.vehmanen@linux.intel.com, ranjani.sridharan@linux.intel.com, lgirdwood@gmail.com, imx@lists.linux.dev, Alexander Boehm , Daniel Baluta , Pierre-Louis Bossart Subject: [PATCH v2] ASoC: SOF: imx8m: add SAI2,5,6,7 Date: Wed, 22 Jan 2025 10:29:27 +0200 Message-ID: <20250122082928.1321536-1-daniel.baluta@nxp.com> X-Mailer: git-send-email 2.43.0 X-ClientProxiedBy: AM9P195CA0027.EURP195.PROD.OUTLOOK.COM (2603:10a6:20b:21f::32) To AS8PR04MB8247.eurprd04.prod.outlook.com (2603:10a6:20b:3f2::13) 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: AS8PR04MB8247:EE_|AM9PR04MB8988:EE_ X-MS-Office365-Filtering-Correlation-Id: 836f2d40-781e-4bb9-563e-08dd3abeb34c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|52116014|366016|1800799024|38350700014; X-Microsoft-Antispam-Message-Info: jdo2IcKjvlDInSicTupoQe/bACtTacbZVCP9QAO162H2Vaw4bq1J0ojbQBqy+HIYtfYuqeb7VtpAbhngfIskw9WzhWhLId3R1WnJAgiYSeUHm0cCJYtR1JHTjdU8UH9Q9yUH1cAMFNoHwR9JW+mCBgBdat07kyMeeCEBquPMq/amHbaLZOYedxTJnn+Pa5KCXfGDPc+qkLqjMPTqyVV7XjMWoelWH52URF9Pa2AnMiI9Ovl2MZIWgVrowtM0F5JaXvptPyhtQi2W9S9mgbbOEExD7L+P7/aYCmp1lgUaQ5W0/eHdmInqCal8ItQZcfdYhKTZS8BUuvzoCdXz7wU6t9bDmnyO1kSfdzV1DxG3YLOYB5CNmhJ6CYHMEYU3PeSZtwukNJ82YIKPgG/dV3BoMuw+/eoG4YdPslmOPzitEmU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:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS8PR04MB8247.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(376014)(52116014)(366016)(1800799024)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 0UC1GuXVFVpOkpzMx4NtQZ8NlNHW0g+S+X0UQd9YBkndcFzvwI0Mzqvpc76/nuvFIv1A9BKQSJJHyLFV0bUXJjpedpKJz1Ju8rEoLgG2mg3m5aTr1/49RWT7Lba8ZS6sPKZOMijNv4Vu+WOUdbNiZH2AfxEnMDi0NYfl8QJI3ShAtxTHgCCJySTn445fUTyR2mbEMmATaydRr/CnI+P5e4deKifc0Piub3KZlJx41LRAtDD6LVqJaa+MU/2C7jvu0eTjNl30m9JYOvc5YFPo/YZcMJN2ZFWphtYwQSZEXyB6pDFe/U/1dSEwW8Nje8G3h90weUjiCWsrf3bKrwW91bjCdXfgDIYZjOq7r8arDS04fLS8xc6VNEEfA0dZz6PKTWU9sl39b8epWfQ1r8Ap7+Kg8VCA7l6Ba6muFxjk5cJgcS7Cc7p/5Q64G5XBrtjCoI/TcOpcDyyFmtFHZg21fd8ua5hdYeCv8vw+LYcEJfKrE3tgXSzXCkFFVVT2jqGy1oqz1wNdTheJNVCRFKJbGO6sfHWLWFu9UuOz2Bf/eVPKjvGbvmwKGbD1Ju1n+kbl19ekcXeoiMdd3jxBOJCFUoZqNupHHO/CS1kF4kMl87XHk/dkVAj7fA/7RsFbsSJbDLF9lkV1eoEIC2BclBI7DiqR8fL9BVjVa0Uku7gRoNvA3s9ZfHsl3HPs+jq4OOz6oSofKGzkmWwqci5Xx2hVUEO/mvS+t9I5n9KE0JZy6or+V9xMDIceJ6dHxMML/3/OfynKn5NDd2zzIURpG6dvnOmjsIgYInm2uePF5toTLtD1RcKgNixFzRcw6VkK4LsX0gkntWKgeA9vAqk3DVHzv5IBKsVouH67Nad8MZVZz1OKeIJdXMVStW4aNhHBKiZ1hbB+I4EyVPGKUJr/BjM6t7Ls7ueKSQcbhG1bd6ZysTfVoUG8ssFRrhb1mdCNCai5ImM3dTDNNtzVt4AQBWLurC8BOhS5i9+vSPp8CqlGt+HA8gd0fWSNzVS1VTtJQvDkZGP0LD2uR434KFIzEIMWiiVHbJbigmxt5uGsV24lOpc8te4eqgtAVB0uFeh/jzfMShUZs5XGf1D3bsktBAI7mcTyM1eTRokpOF7O1K4cDaJzeglVhY9oE95IEdEclkO3iE88OoCWWpzaVrNK6zTOSK8p/ATZg6GuyThvX8Js0GVDWhQ7IYmBQjFrmA/p897/W8j0MOFwlyRWW9gf/+cltcMYKNErQh/FDHBmTgASJBMMUvOEEnLQU+mV3K07ps91O25DcExennvIK0rM4AQjjhPXai32V7ukCURWkprNg9RZLxfJHAz0XbUJHhT8W2SFEmRhbYUU3n4UrQKKg4mjVJl7C0VF3Bd9HhyoazLVZFLop9D2hXsCNkHUFWOGL43rI4bZDkLO0yupms+tEtX9wdfq9Qf+S0bf8WcSXaild7VWGHRRnXyT6czzmHzJpW3T6DkRmqU7l3NA1MguYS9raXI+4HVmGUUCobDtitIb3LQM3eZvSKoTi4X8NKHGtwxz6yKlET+F2/8OSwuH8W4X05KlaXc7zN+FftS1NSDYRNEX3HJBQO2HN/FeZBdVZ4gC X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 836f2d40-781e-4bb9-563e-08dd3abeb34c X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8247.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Jan 2025 08:28:08.6384 (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: o1dmHF/fwR0NCCjcsGTu+75CIsqBpSkJnUfyh0DeeXqDhI+L1zhxzNHKHStAsWtKl7cc+kFeEWW1eG0kI1EjdQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8988 From: Alexander Boehm Added the remaining SAIs in addition to SAI1 and SAI3. There is no SAI4. Signed-off-by: Alexander Boehm Reviewed-by: Daniel Baluta Reviewed-by: Pierre-Louis Bossart Signed-off-by: Daniel Baluta Reviewed-by: Iuliana Prodan --- Changes since v1: - add my S-o-B since I'm picking this patch from thesofproject/topic/sof-dev tree. sound/soc/sof/imx/imx8m.c | 44 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/sound/soc/sof/imx/imx8m.c b/sound/soc/sof/imx/imx8m.c index ff42743efa79..4ab5814e9117 100644 --- a/sound/soc/sof/imx/imx8m.c +++ b/sound/soc/sof/imx/imx8m.c @@ -294,6 +294,17 @@ static struct snd_soc_dai_driver imx8m_dai[] = { .channels_max = 32, }, }, +{ + .name = "sai2", + .playback = { + .channels_min = 1, + .channels_max = 32, + }, + .capture = { + .channels_min = 1, + .channels_max = 32, + }, +}, { .name = "sai3", .playback = { @@ -305,6 +316,39 @@ static struct snd_soc_dai_driver imx8m_dai[] = { .channels_max = 32, }, }, +{ + .name = "sai5", + .playback = { + .channels_min = 1, + .channels_max = 32, + }, + .capture = { + .channels_min = 1, + .channels_max = 32, + }, +}, +{ + .name = "sai6", + .playback = { + .channels_min = 1, + .channels_max = 32, + }, + .capture = { + .channels_min = 1, + .channels_max = 32, + }, +}, +{ + .name = "sai7", + .playback = { + .channels_min = 1, + .channels_max = 32, + }, + .capture = { + .channels_min = 1, + .channels_max = 32, + }, +}, { .name = "micfil", .capture = {