{"id":2230127,"url":"http://patchwork.ozlabs.org/api/1.2/patches/2230127/?format=json","web_url":"http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20260429100028.2739711-5-shengjiu.wang@nxp.com/","project":{"id":2,"url":"http://patchwork.ozlabs.org/api/1.2/projects/2/?format=json","name":"Linux PPC development","link_name":"linuxppc-dev","list_id":"linuxppc-dev.lists.ozlabs.org","list_email":"linuxppc-dev@lists.ozlabs.org","web_url":"https://github.com/linuxppc/wiki/wiki","scm_url":"https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git","webscm_url":"https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/","list_archive_url":"https://lore.kernel.org/linuxppc-dev/","list_archive_url_format":"https://lore.kernel.org/linuxppc-dev/{}/","commit_url_format":"https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?id={}"},"msgid":"<20260429100028.2739711-5-shengjiu.wang@nxp.com>","list_archive_url":"https://lore.kernel.org/linuxppc-dev/20260429100028.2739711-5-shengjiu.wang@nxp.com/","date":"2026-04-29T10:00:26","name":"[v2,4/5] ASoC: fsl-asoc-card: exclude S20_3LE format for WM8960/WM8962 + SAI","commit_ref":null,"pull_url":null,"state":"handled-elsewhere","archived":false,"hash":"da862f629cea9976764420377c98222c289cb9f1","submitter":{"id":75958,"url":"http://patchwork.ozlabs.org/api/1.2/people/75958/?format=json","name":"Shengjiu Wang","email":"shengjiu.wang@nxp.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20260429100028.2739711-5-shengjiu.wang@nxp.com/mbox/","series":[{"id":502028,"url":"http://patchwork.ozlabs.org/api/1.2/series/502028/?format=json","web_url":"http://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=502028","date":"2026-04-29T10:00:22","name":"ASoC: fsl-asoc-card: Add some improvements","version":2,"mbox":"http://patchwork.ozlabs.org/series/502028/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2230127/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2230127/checks/","tags":{},"related":[],"headers":{"Return-Path":"\n <linuxppc-dev+bounces-20267-incoming=patchwork.ozlabs.org@lists.ozlabs.org>","X-Original-To":["incoming@patchwork.ozlabs.org","linuxppc-dev@lists.ozlabs.org"],"Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=nxp.com header.i=@nxp.com header.a=rsa-sha256\n header.s=selector1 header.b=LrzNwX6x;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org\n (client-ip=2404:9400:21b9:f100::1; helo=lists.ozlabs.org;\n envelope-from=linuxppc-dev+bounces-20267-incoming=patchwork.ozlabs.org@lists.ozlabs.org;\n receiver=patchwork.ozlabs.org)","lists.ozlabs.org;\n arc=pass smtp.remote-ip=\"2a01:111:f403:c200::3\" arc.chain=microsoft.com","lists.ozlabs.org;\n dmarc=pass (p=none dis=none) header.from=nxp.com","lists.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=nxp.com header.i=@nxp.com header.a=rsa-sha256\n header.s=selector1 header.b=LrzNwX6x;\n\tdkim-atps=neutral","lists.ozlabs.org;\n spf=permerror (SPF Permanent Error: Void lookup limit of 2 exceeded)\n smtp.mailfrom=nxp.com (client-ip=2a01:111:f403:c200::3;\n helo=du2pr03cu002.outbound.protection.outlook.com;\n envelope-from=shengjiu.wang@nxp.com; receiver=lists.ozlabs.org)","dkim=none (message not signed)\n header.d=none;dmarc=none action=none header.from=nxp.com;"],"Received":["from lists.ozlabs.org (lists.ozlabs.org\n [IPv6:2404:9400:21b9:f100::1])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g5CSp599Wz1yHZ\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 29 Apr 2026 19:59:22 +1000 (AEST)","from boromir.ozlabs.org (localhost [127.0.0.1])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 4g5CSK0m8vz2yxN;\n\tWed, 29 Apr 2026 19:58:57 +1000 (AEST)","from DU2PR03CU002.outbound.protection.outlook.com\n (mail-northeuropeazlp170110003.outbound.protection.outlook.com\n [IPv6:2a01:111:f403:c200::3])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange secp256r1 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n\t(No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 4g5CSJ07P3z2yvZ\n\tfor <linuxppc-dev@lists.ozlabs.org>; Wed, 29 Apr 2026 19:58:56 +1000 (AEST)","from AM0PR04MB7044.eurprd04.prod.outlook.com (2603:10a6:208:191::20)\n by PAXPR04MB8269.eurprd04.prod.outlook.com (2603:10a6:102:1c4::15) with\n Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9870.19; Wed, 29 Apr\n 2026 09:58:45 +0000","from AM0PR04MB7044.eurprd04.prod.outlook.com\n ([fe80::bab2:d15c:fcf8:ef2b]) by AM0PR04MB7044.eurprd04.prod.outlook.com\n ([fe80::bab2:d15c:fcf8:ef2b%4]) with mapi id 15.20.9846.025; Wed, 29 Apr 2026\n 09:58:45 +0000"],"ARC-Seal":["i=2; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1777456736;\n\tcv=pass;\n b=EoWMfpRTtcR0r+T8yLLYzNSRbrxEc7f5nUQxr5xdaYuCv3TC1pzmLcwc2dgPDwZvxRU2P5JCTw/34PQoNGg29UPf0bHDKkHU/QoCoI1ExNzIJdLYxAcIdx2KhRiVSPHUJanztXtBlZyzI0gGHfu8Fge7X7A/+JHHwYrInMbCxq4z6EL7tdoBO9bVfaBYonWnFV9j0ZzmuCqbTTLa3sJ1HZpNeEeYTqjGwDw7f7HV9MPV6XA+SPV4MYWWMX3VvKND10PlcyugLcEOfTJiWEXC9ZNfDgKRgupGv1333UkVoXnvNXDWS7rMFN62yHuK5YHAO8+9JpZIfwmhbTBzMyrp+w==","i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;\n b=IX5y32InrgKSTHEMxQuLPwT/u0vGRDfwH0kDPukXVrnhrAn8FfNNEnPu+mChg/1DxWDRiGNWrfti8mWuOBMiOFZhz3d07jJJcSBaSueHoYyL2xV98cGB2emmmGaOAP7pL2SDiEYjcK0bxioZLw6SNUcX6l6Ugqkrep0yNxbzo9wiXuQtsKB441K/xNOYvR1RJhMx6cycPQgyScbSMMVGl0W1xxChqRBSIRnuXTTWciMrEzzWMr55DwHlajzv3SpK3HQLfPc1zg/G1sRLJllqfzIOpACuNmGD7NxVHEc9tIAwAb6NbzKskC7aL09vgdd9F2zdeX9XGhvZcYHuWMIx7Q=="],"ARC-Message-Signature":["i=2; a=rsa-sha256; d=lists.ozlabs.org; s=201707;\n\tt=1777456736; c=relaxed/relaxed;\n\tbh=4yRV3QOXiwUiIQTUCWPCNwvI+GZ0ZPve3PWmJ9M9mSg=;\n\th=From:To:Subject:Date:Message-Id:In-Reply-To:References:\n\t Content-Type:MIME-Version;\n b=edTU2H4AL1YJo0xpd0fpdv9X0c7e/CNTrlc6k6jio6pt6wS/nv8UiwcOiH76LUHywSTVRYwKVMRfbvvqBfk9xggCKWoSqahPvXJa2floMggmNX7lm02p5HxptgTHeuB9bATcOXcrlo3tI15fXvEUmi5gZfORIqDGwvZ3y8w/t446I45vmJYopeVZLz1O+aL6zoCLlv1iD5Hm/KowFOhyxOY58YlDF1I4pq8y6LbWirUxrTh3izeIw9wJXlNi9qBhMor9TxdwcVLXjc+g+PqCIA6qPNlY8XzzKMiB1G8wxpIodm7IFNC0rz792mYoVel5siHa2yDO8zOAMkCSwiQXUA==","i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;\n s=arcselector10001;\n 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;\n bh=4yRV3QOXiwUiIQTUCWPCNwvI+GZ0ZPve3PWmJ9M9mSg=;\n b=ugl2KIxn/PCDQknRPXEGl3d4SbdIgpVz/IMkcvqMpSYIKo0vL4G7Y1LRsEuou7HF5YKOMzQXcxQ2WqHmJ1Vx0ENzMKnmfSitDlbhv4uOqJONKxyXkZ1MKwczG+/oa19/lc/sNtSvACiSJSJOx5Dq/JnYoOdgGLHkBnbtv/0QXtyMKa+gyrUeo1o6VF0//dab83sFa0Lqv0249GgzWUALU5yN7xrl1tY2zSwIW4YGAd7nZF1TGN2SO7oU5gwhp7SXhjA1QT1LlYneJJUfTaUQrU/pLY1wQ1+AO/rSwOACR1ErszLQ5IssiiAvn2+JQCQ4Ng+UVhV8F7ibJDD2kbVv1A=="],"ARC-Authentication-Results":["i=2; lists.ozlabs.org;\n dmarc=pass (p=none dis=none) header.from=nxp.com; dkim=pass (2048-bit key;\n unprotected) header.d=nxp.com header.i=@nxp.com header.a=rsa-sha256\n header.s=selector1 header.b=LrzNwX6x; dkim-atps=neutral;\n spf=permerror (client-ip=2a01:111:f403:c200::3;\n helo=du2pr03cu002.outbound.protection.outlook.com;\n envelope-from=shengjiu.wang@nxp.com;\n receiver=lists.ozlabs.org) smtp.mailfrom=nxp.com","i=1; mx.microsoft.com 1; spf=pass\n smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass\n header.d=nxp.com; arc=none"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1;\n h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;\n bh=4yRV3QOXiwUiIQTUCWPCNwvI+GZ0ZPve3PWmJ9M9mSg=;\n b=LrzNwX6xTvOjLxwsKFnv7cOU8RYMeBrwGxRoonFWFTcRFesXruMA3PmOohalbI+Q5maAuV7kIi1SaL7LG9WXgj3r1YHSTfbQZaJUkXcJ2OuGjiPvF0MXVxiDvZra0lkHhZuSdAm+1ZKD+HijgkYPTq09zNB3IszCCXsB3do2MG9xVrTA0tzZewR/0uNqhNlNn5fcD/j7X/pkgVlC1pOmL1hRBvap/rlhnCzG8t8IQNiyiYm6E3CoeBXNYDQ8kxSUOGTfKI6Ni31cPD6DeW6u8arKCHHG34FUD+e1gyTpiU4JqDHQKNwD+pb3phvYg2Axy8ARfJgkNQF3I6C4tfZI9A==","From":"Shengjiu Wang <shengjiu.wang@nxp.com>","To":"shengjiu.wang@gmail.com,\n\tXiubo.Lee@gmail.com,\n\tfestevam@gmail.com,\n\tnicoleotsuka@gmail.com,\n\tlgirdwood@gmail.com,\n\tbroonie@kernel.org,\n\tperex@perex.cz,\n\ttiwai@suse.com,\n\tlinux-sound@vger.kernel.org,\n\tlinuxppc-dev@lists.ozlabs.org,\n\tlinux-kernel@vger.kernel.org","Subject":"[PATCH v2 4/5] ASoC: fsl-asoc-card: exclude S20_3LE format for\n WM8960/WM8962 + SAI","Date":"Wed, 29 Apr 2026 18:00:26 +0800","Message-Id":"<20260429100028.2739711-5-shengjiu.wang@nxp.com>","X-Mailer":"git-send-email 2.37.1","In-Reply-To":"<20260429100028.2739711-1-shengjiu.wang@nxp.com>","References":"<20260429100028.2739711-1-shengjiu.wang@nxp.com>","Content-Type":"text/plain; charset=UTF-8","Content-Transfer-Encoding":"8bit","X-ClientProxiedBy":"SG2P153CA0005.APCP153.PROD.OUTLOOK.COM (2603:1096::15) To\n AM0PR04MB7044.eurprd04.prod.outlook.com (2603:10a6:208:191::20)","X-Mailing-List":"linuxppc-dev@lists.ozlabs.org","List-Id":"<linuxppc-dev.lists.ozlabs.org>","List-Help":"<mailto:linuxppc-dev+help@lists.ozlabs.org>","List-Owner":"<mailto:linuxppc-dev+owner@lists.ozlabs.org>","List-Post":"<mailto:linuxppc-dev@lists.ozlabs.org>","List-Archive":"<https://lore.kernel.org/linuxppc-dev/>,\n  <https://lists.ozlabs.org/pipermail/linuxppc-dev/>","List-Subscribe":"<mailto:linuxppc-dev+subscribe@lists.ozlabs.org>,\n  <mailto:linuxppc-dev+subscribe-digest@lists.ozlabs.org>,\n  <mailto:linuxppc-dev+subscribe-nomail@lists.ozlabs.org>","List-Unsubscribe":"<mailto:linuxppc-dev+unsubscribe@lists.ozlabs.org>","Precedence":"list","MIME-Version":"1.0","X-MS-PublicTrafficType":"Email","X-MS-TrafficTypeDiagnostic":"AM0PR04MB7044:EE_|PAXPR04MB8269:EE_","X-MS-Office365-Filtering-Correlation-Id":"0c7c35a3-405d-4c24-a50e-08dea5d5e6c6","X-MS-Exchange-SenderADCheck":"1","X-MS-Exchange-AntiSpam-Relay":"0","X-Microsoft-Antispam":"\n\tBCL:0;ARA:13230040|366016|19092799006|376014|52116014|7416014|1800799024|56012099003|22082099003|18002099003|921020|38350700014;","X-Microsoft-Antispam-Message-Info":"\n\tOHaaGdpJGlhjcjNSwCCU/h+Olsnw5fMKDuWKfR0zGd7pj9d+t8a9l9ogvslnwVP13ldANCBsalyYpys/Ns9TGFYJ9ZULisaiJO6N+7SPDDtqJdWEKyxfzi57z9dnRz5CqPs9H7NP5yJcLT/jLh50xTPqeG74BWtzKBnTq+771ASpw7fG9MAH6rttoXM+By4UdW6kaLIXhcllNzmQgSLsJSsaTzRszGr+0FIGoIpmrFvnmMpfr3O4KUJnmkN/CwKGDeUN1HihZgrot5f/csCmruYMEpNptVS2cFxTyA6Dy9zMOg7EfAGEwy75lT945titgMJI/B0MohXG8g+f5QtDSK+n/mY217d+Va984D3N1GKcjgJWwVR8qDmNeCeC85YdSkY/biP5q2j0aMHJBSmkpIVmZTW9KCXVBjNUqCCI01DhiI9YaXJ6wwCovBy7kt7Ct3yM2ulecpyc8Fe+mEBo8/g527jdDUDJvWgxes4YXxLLdQ1GwH8i7NtOA4LAYJ4XYPto3A7Bs+OFFOiT5LWtkXg5IVtOctRHtroUJwYs7w9qtZkvkVEBA66+u7RZFp0gvml7xqVxBm2VdDVOpwFy1tUu0F4UyWN8hwasffmVf5c+moe7moahAT6PhzBYLignSksoTUWn3/XA60jsK1YbaigmvGn5DVnuEAxOXGc3G9fhE5qDVu/cNulJRSjWfIU/nUDLOJOnRMHnW1mNoEdFJOg4LheM3RjK9RF9sg1TUOUUPD7/r81pL/ncoTOQIsiTbfasSULfS/+8ADaRpFQqNcXcI0OI+/I6jFNVKlD72vTU1UmKBODpYspz4BXVLLEN","X-Forefront-Antispam-Report":"\n\tCIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM0PR04MB7044.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(19092799006)(376014)(52116014)(7416014)(1800799024)(56012099003)(22082099003)(18002099003)(921020)(38350700014);DIR:OUT;SFP:1101;","X-MS-Exchange-AntiSpam-MessageData-ChunkCount":"1","X-MS-Exchange-AntiSpam-MessageData-0":"=?utf-8?q?Uc8ealiIFMdXo7EP/vRM+z7fYNk5?=\n\t=?utf-8?q?/g5e7LCwVKP0JC29J/lfdqyXdJj6UTB4TR1AYI35urUYLGHzT9ETJtcvLScutpBA5?=\n\t=?utf-8?q?7zDaSDJKh7E85KwIWhJ3OzyQES7r8LJV4G7SNkzsBAEtnen5Dc+LiKRaq072p4Amp?=\n\t=?utf-8?q?9F/FhgNb76yT109vKBO41VCN8dMg4BUViBS5zcj7mrBdy7Gzer7tAdWx5MiAouCap?=\n\t=?utf-8?q?cPdUbE1oj1ZXNM2mTkCBNk9Kuhpx2wpE6FEnqmcqQZ5sLPUkaJEorRM7bKUATm/m0?=\n\t=?utf-8?q?ixnL6qmlbfoNF5xzlwM+IR9D6HtodHvkbQZRxmG+abvWv4sK3NpnCEZ9n5GPlYs2Y?=\n\t=?utf-8?q?S3O3cxiZNhJ5Se30io5DGpj2POvHMSupT4bsy4af5UwTzDKuYz5CWS7XmoCFlP0DP?=\n\t=?utf-8?q?WBNK0fW45ncRRbJY93yhx9rTm867bniWOYPzn0gSjJeJP1iqHI/tvm8ghWw47zYwS?=\n\t=?utf-8?q?lUuKLqcuascrfQu0sEIknxLDwpNGJYob7tLbQ+WuLT6/j3rp/PG0q/nJr5MGnNnvB?=\n\t=?utf-8?q?Jrhgs8g+mGTiji3pxnx7aIbY2As0eF1dLIB00YBe3sS/SXMiKyK3MKJp6ImNrZbsI?=\n\t=?utf-8?q?Pf5qVcbPbKk/5mwjxi5ZatKET7QY0tBEVeBRUmnS+dt+HhhMHbFxgW70Z8jfdmAIz?=\n\t=?utf-8?q?0Mphc8gLD6xvKxlv28mwLYUEoaOtOoH/dBkmwP43jWnG0uo1+kyqNSf/wGmMgbDU0?=\n\t=?utf-8?q?qrRgQlu19QpVNltJt/kJB9LwjrXPBcwfzCYjeQBUXOCNPIu4RvyobH/KCY+LOV1X/?=\n\t=?utf-8?q?JstdSuQMFjPjFJ4VlcukftSCxmhMMCqHZzCYtedE3rZMsQ8apG1BegREKY1F4ugVy?=\n\t=?utf-8?q?8X/yiqWuAO9wZuJtipearQklC2L0gBhTi9T+mwxAhUldr8ACySlVhnLROCTML8i0R?=\n\t=?utf-8?q?fM3WYAjE+kQ6KLXk1SKYBuCzwL+KpNgBA2mb2CuN8ByS6Hfy06i+uZ2kvMQgy3EB1?=\n\t=?utf-8?q?IL2WEEJSiqsQLNCN0z9cTMe9XFRVV7L3aX493DjaddGQ0FZnNPGWHjvWXSepDHSQj?=\n\t=?utf-8?q?RNU8yyh3N8aGsNAGZk5A4bQ9aHQhVzCTIVkww/Tqz6acm6lxCQgMYlGh4CTMja39m?=\n\t=?utf-8?q?LDcXF+j3SdnkDuAracUVEQPplrhBFMn9eJVH/aTun6txAHfNY+c6Wq9ZTrWsC4Hdq?=\n\t=?utf-8?q?HeOTRBIovdOEFz8MEEV/X9KxBMyi0B8DSkSgYO5qArZQaEl+5TJDiT93OogN9VFBc?=\n\t=?utf-8?q?Ap7WW+BX6CcMcRjkxlTp4MK7WA0KUhj2J0hvd4E5MI+bfOs976g4kKkgkxyN1PvFr?=\n\t=?utf-8?q?6AUSAsI5vz1Z/Ahm5nV3/QHUvZxTh/UipgMhvB7pAgqn9UacmBovagrW7YcVkItdW?=\n\t=?utf-8?q?WEYaKApsCl5EXjCFEmupjTF8MMIR84u3U2vt6vR4kIq295CiruooT8hjtVrJIVRiP?=\n\t=?utf-8?q?dBJPk8ZHzFLTTGgohd7dez+GyVIz05ewveKczYak1uCYkLe75TA/8nVAS50ix6kAE?=\n\t=?utf-8?q?Mju3CNQDiI0GLs3aiZ/NJexAFb5ZiZTnCxvKPH7cAEXsWGydnuKthXvXGGCkAWKcq?=\n\t=?utf-8?q?l6P3Zj2Tv1/7lo2bIOIpR/kv31AXlyVaUmOjvJccrJKffTSD+tRSHmd+1BWBoj63a?=\n\t=?utf-8?q?ZBs5GJnNexE743dSPDBs2vdPw7jrWeXHleCMHo90A6Hdku3m6YKyC5KmxBIbua+vD?=\n\t=?utf-8?q?q0R24dt2KqnS+fonc1YcvXzo1gtbl2KA=3D=3D?=","X-OriginatorOrg":"nxp.com","X-MS-Exchange-CrossTenant-Network-Message-Id":"\n 0c7c35a3-405d-4c24-a50e-08dea5d5e6c6","X-MS-Exchange-CrossTenant-AuthSource":"AM0PR04MB7044.eurprd04.prod.outlook.com","X-MS-Exchange-CrossTenant-AuthAs":"Internal","X-MS-Exchange-CrossTenant-OriginalArrivalTime":"29 Apr 2026 09:58:45.3218\n (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":"\n DTVweAUtr+BG+eMqL5n2M5wj8ZEwplSo1UHbMKbEFIJTsSxShg+2erWKLoyA5G/PdQUbp42MJn4K/FRXvqzs9w==","X-MS-Exchange-Transport-CrossTenantHeadersStamped":"PAXPR04MB8269","X-Spam-Status":"No, score=0.8 required=3.0 tests=ARC_SIGNED,ARC_VALID,\n\tDKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO,\n\tSPF_HELO_PASS,T_SPF_PERMERROR autolearn=disabled version=4.0.1 OzLabs 8","X-Spam-Checker-Version":"SpamAssassin 4.0.1 (2024-03-25) on lists.ozlabs.org"},"content":"S20_3LE format cannot be used with WM8960/WM8962 codecs when paired\nwith SAI, due to two distinct BCLK generation limitations:\n\n1. Codec Master Mode:\n   When WM8960/WM8962 generates BCLK, it cannot produce the exact\n   1.92 MHz required for S20_3LE at 48kHz stereo (48000 × 2 × 20).\n   The codec uses fixed dividers from SYSCLK (12.288 MHz), and the\n   required divider (6.4) is not available. The closest divider is 6,\n   producing 2.048 MHz, which causes right channel corruption.\n\n2. SAI Master Mode:\n   SAI derive BCLK from MCLK using integer dividers only. S20_3LE\n   requires non-integer divider ratios with standard MCLK frequencies.\n   For example, 48kHz stereo needs 1.920 MHz BCLK, which requires a\n   divider of 6.4 from 12.288 MHz MCLK (not an integer).\n\nExclude S20_3LE format for WM8960/WM8962 when used with SAI to prevent\nthese issues. Users should use S16_LE, S24_LE, or S32_LE instead.\n\nSigned-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>\n---\n sound/soc/fsl/fsl-asoc-card.c | 29 +++++++++++++++++++++++++++++\n 1 file changed, 29 insertions(+)","diff":"diff --git a/sound/soc/fsl/fsl-asoc-card.c b/sound/soc/fsl/fsl-asoc-card.c\nindex 90414ac10032..44083d15f6e5 100644\n--- a/sound/soc/fsl/fsl-asoc-card.c\n+++ b/sound/soc/fsl/fsl-asoc-card.c\n@@ -122,6 +122,7 @@ struct cpu_priv {\n  * @asrc_rate: ASRC sample rate used by Back-Ends\n  * @asrc_format: ASRC sample format used by Back-Ends\n  * @dai_fmt: DAI format between CPU and CODEC\n+ * @exclude_format: excluded format;\n  * @name: Card name\n  */\n \n@@ -141,6 +142,7 @@ struct fsl_asoc_card_priv {\n \tu32 asrc_rate;\n \tsnd_pcm_format_t asrc_format;\n \tu32 dai_fmt;\n+\tu64 exclude_format;\n \tchar name[32];\n };\n \n@@ -329,6 +331,14 @@ static int fsl_asoc_card_startup(struct snd_pcm_substream *substream)\n \tstruct snd_pcm_runtime *runtime = substream->runtime;\n \tint ret;\n \n+\tif (priv->exclude_format && !rtd->dai_link->no_pcm) {\n+\t\tret = snd_pcm_hw_constraint_mask64(runtime,\n+\t\t\t\t\t\t   SNDRV_PCM_HW_PARAM_FORMAT,\n+\t\t\t\t\t\t   ~priv->exclude_format);\n+\t\tif (ret)\n+\t\t\treturn ret;\n+\t}\n+\n \tif (priv->constraint_channels) {\n \t\tret = snd_pcm_hw_constraint_list(runtime, 0,\n \t\t\t\t\t\t SNDRV_PCM_HW_PARAM_CHANNELS,\n@@ -850,11 +860,30 @@ static int fsl_asoc_card_probe(struct platform_device *pdev)\n \t\tpriv->codec_priv[0].fll_id = WM8962_SYSCLK_FLL;\n \t\tpriv->codec_priv[0].pll_id = WM8962_FLL;\n \t\tpriv->dai_fmt |= SND_SOC_DAIFMT_CBP_CFP;\n+\t\t/*\n+\t\t * WM8962 has same BCLK generation limitations as WM8960.\n+\t\t * See WM8960 section for detailed explanation.\n+\t\t */\n+\t\tif (of_node_name_eq(cpu_np, \"sai\"))\n+\t\t\tpriv->exclude_format = SNDRV_PCM_FMTBIT_S20_3LE;\n \t} else if (of_device_is_compatible(np, \"fsl,imx-audio-wm8960\")) {\n \t\tcodec_dai_name[0] = \"wm8960-hifi\";\n \t\tpriv->codec_priv[0].fll_id = WM8960_SYSCLK_AUTO;\n \t\tpriv->codec_priv[0].pll_id = WM8960_SYSCLK_AUTO;\n \t\tpriv->dai_fmt |= SND_SOC_DAIFMT_CBP_CFP;\n+\t\t/*\n+\t\t * WM8960 in master mode cannot generate exact 1.92 MHz BCLK\n+\t\t * required for S20_3LE (48kHz × 2ch × 20bit). Closest available\n+\t\t * is 2.048 MHz (SYSCLK/6), which causes right channel corruption.\n+\t\t *\n+\t\t * In SAI master mode, SAI derive BCLK from MCLK using integer\n+\t\t * dividers only. S20_3LE requires non-integer divider ratios\n+\t\t * with standard MCLK frequencies. For example, 48kHz stereo\n+\t\t * needs 1.920 MHz BCLK, which requires a divider of 6.4 from\n+\t\t * 12.288 MHz MCLK (not an integer).\n+\t\t */\n+\t\tif (of_node_name_eq(cpu_np, \"sai\"))\n+\t\t\tpriv->exclude_format = SNDRV_PCM_FMTBIT_S20_3LE;\n \t} else if (of_device_is_compatible(np, \"fsl,imx-audio-ac97\")) {\n \t\tcodec_dai_name[0] = \"ac97-hifi\";\n \t\tpriv->dai_fmt = SND_SOC_DAIFMT_AC97;\n","prefixes":["v2","4/5"]}