From patchwork Thu Oct 27 06:03:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chancel Liu X-Patchwork-Id: 13021632 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5EB5CC67871 for ; Thu, 27 Oct 2022 06:05:20 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 0502C33B0; Thu, 27 Oct 2022 08:04:28 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 0502C33B0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1666850718; bh=fbxAiua/BwPtJL2O/LCuxWPoOyNoY6G2f0MuKWZoT68=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=RJ0YywxeklB3KaX3YU6GtSmm3gUMcAekniaPlfjridwnQAVGV2aUtlwuiLVNNwOa9 SKBCwScLr47B9K6BE+ggENxJqiELiXAVAg65k64I5r286g56bn82CORQzEW2PP+rrP akXxW1oQIsLvB0tZl0Aw6mBBJMdkjSQ57ZLAkXlQ= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 5B380F804AD; Thu, 27 Oct 2022 08:04:11 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id AEE3EF804D9; Thu, 27 Oct 2022 08:04:09 +0200 (CEST) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70057.outbound.protection.outlook.com [40.107.7.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id C9BDCF80496 for ; Thu, 27 Oct 2022 08:04:02 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz C9BDCF80496 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="Ks3BeLOv" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UUu+k29tr1SYsbyvLA8M1v73J1ExeYutKLlNEvqCPKBqktuZUyP2Wq5TvB4afpfz152jGDFo2RohUNG4zMp9wd8a7EXHTXZEc8xdyKT1XK/Qbd/Q/sEKGYqboV7yHCY1cD+UyNGo9GFKu5YZwwlGeUCzyw8oQcq0u4k7c67bpKq31rUWNl7flEX8QfNMYG9uyh4wVCIgxAoi9ygiEJHvHKK+NdpucRD+p73zKAIMayVKqR6IozT/1AIceMsiPcwH2bEUlP6bMhkDDDsMe5dF3Zz7i9RhPt2C+GJZ+k0V1vhmAl6qP82ApMSWIZTxLlJ6UDjiNggIxkHDn/fsrqF8Ow== 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=DL45DnOcIJNlEGA85RiH56V8vAbSN+NSK5ou6vm3bGQ=; b=l5KLdXsGb4dvCy0QsHbf8Sh3Q+gCHMZjFP1tb70wg0kWjBZOftDXj5WgTZs0P2hKEoG+gvNLv/ESwNvsReYXh3Awi0ftFJ8nvQNd5HTV/VNSrhnMKPRAKn2+cBUXXATI+DbyV6WFA2MOFdPNUtL5T6BCHHGmXYn7kj2HVG8SCCq/55rVDY7qA7wLvKuifLeec/LAZgaIaQWI3aNOjgFhcvmW/LMhIOo/BWsx1VA+I4Nop/rvDHhiOsZVDLKen/7+iu4gBCZ40ubrSClzR4vJJETsG4qgr8BV8qa0KrRUPOp95LeeuxHki5e2YEd8VVLQAPIzt9+htuVuaYMD/3e3EA== 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=DL45DnOcIJNlEGA85RiH56V8vAbSN+NSK5ou6vm3bGQ=; b=Ks3BeLOvTER6EUuORORdi/+aFt9tJO4qA8bNEnKiC0mjUOk7MtAz4iUR2p1T+hidC/ZMg7VpaN2V9it9nJDG/8Uud4rtW/2ILrRVlB1O3hP4TnM5C45yZ7fLgAVOsgxZ84xpBXxdRzxGunWmWAxx6W/slbDOhFY+GkrPavBUr00= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from VI1PR04MB4222.eurprd04.prod.outlook.com (2603:10a6:803:46::19) by DU2PR04MB8805.eurprd04.prod.outlook.com (2603:10a6:10:2e0::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.21; Thu, 27 Oct 2022 06:04:00 +0000 Received: from VI1PR04MB4222.eurprd04.prod.outlook.com ([fe80::33ab:7f2:7263:ee79]) by VI1PR04MB4222.eurprd04.prod.outlook.com ([fe80::33ab:7f2:7263:ee79%6]) with mapi id 15.20.5746.028; Thu, 27 Oct 2022 06:03:59 +0000 From: Chancel Liu To: lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, robh+dt@kernel.org, devicetree@vger.kernel.org, krzysztof.kozlowski+dt@linaro.org, shengjiu.wang@gmail.com, Xiubo.Lee@gmail.com, festevam@gmail.com, nicoleotsuka@gmail.com, linuxppc-dev@lists.ozlabs.org Subject: [PATCH 1/3] ASoC: dt-bindings: fsl, sai: Add compatible string for i.MX93 platform Date: Thu, 27 Oct 2022 14:03:09 +0800 Message-Id: <20221027060311.2549711-2-chancel.liu@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221027060311.2549711-1-chancel.liu@nxp.com> References: <20221027060311.2549711-1-chancel.liu@nxp.com> X-ClientProxiedBy: SI2PR06CA0017.apcprd06.prod.outlook.com (2603:1096:4:186::15) To VI1PR04MB4222.eurprd04.prod.outlook.com (2603:10a6:803:46::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VI1PR04MB4222:EE_|DU2PR04MB8805:EE_ X-MS-Office365-Filtering-Correlation-Id: 6d362a30-5489-422c-54f4-08dab7e10a5a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: k+SbJKMc9zcPGMXoNEF/OetNkUuj7w2kn1p1zAHxRAlxv0DAAcX2NKR7MmQKi+Bnl2/BmkMntC4lJde+rquciJM+wv0De+yScfXtDJowr1QhdLQVi/nKNo3HX23hLfGRCAcfWv0fKlqrjPakcdaBHqz6RHgf/60AxZ+ptPntDxmGkbdvCj7EOZFaQ99kzO6RxsJ/mrimewpf6PDFLHjHXqvjZfQ+kAqeR95+RVaBhW8yMpQyQrGaf8Rz6W95/RvgNg0HrsXowOJNrEwskFfnsEJAoZ2DESxWVSs5Jy/13sdLreC+0KgZ9bgtX6heHka7wjkwm7nEB5GHEMJicv0ihoB11oKkVlqJb+rXVc5rN6TI3u1Uu8WUXTTljOabP0iTpGyhPPYrf1cg7rl6qBOmFYDE1jUKNLvtjT4TuB+Fl+aSb8BHiirolG8g4sx7cMqzz1lhN31xL84pOdYk2qx0jHb61Inh10sRfU8RfL+5qfBS52JLhJqtlgussayJC0GMv92E74q0fysfhj3s4p8sN5Iht4Jc3qft0nayCS0fD2m6amskT7xDxLAC8L5SflohF5mPUHSetN+XC5+5PHZ5aI35fxvRNyC2MFwJtkmrbeO5Nti4S9yQQcjh6L+wPhbPSu8Y289PwLssMaveqJjKMRYfJPugthW3rjnf6LQrOv79aIjiuL4UbRE3b1RDL4lk7ppw467JOSqOzRixRWtvurLO0cQvyNbk0KQa1vLsPBPop85RvvnyXC3xVGuXzerwFkVgpeY05af4nE623RZTkyEjs+gOMxvz1NNRHYi5jNQ= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR04MB4222.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(39860400002)(366004)(346002)(376002)(136003)(396003)(451199015)(38350700002)(7416002)(4744005)(38100700002)(2906002)(5660300002)(36756003)(86362001)(921005)(186003)(1076003)(26005)(6512007)(52116002)(6666004)(2616005)(6486002)(478600001)(316002)(41300700001)(44832011)(66476007)(8676002)(66556008)(66946007)(4326008)(6506007)(8936002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: H6wRCMHeGWPPlLvn/TVWpH5RHHZC93Y9IvJZSTpFGNhOH5aNq0zs96tC+eN0TrdJ6TMdXLrjAKbGEJqZ0taC0JUIoMCf2EY3SOilEofbYoujhFazWbmM7y0yKJf2CHlA0GcfE9Ug6pBa3ah1FXIHhX9qsGc0ggornDWWMgUESqS1gbAucwA7rxAFCNbCxOEH+j0EpnLSW8GIDrZHN6d/T+bgl95UzypYsNrwLzkDT776cbOibbOB0iE8qiY6RL5KYPzqpgTz5LjJ54NGMWKzTUqgGLiWPJbfIlA/pO4n6xFWlsbGGt0H7Bt+oNUZEnTdoGvLUHlgHSq4XZ7bQrHDe+M3MmhezJ2tLjyb+Nh5FwTEybcK0AtmD+Lk88i1B6ulLEZOPfbZCmlO0tei0JXyMG09CDizN75odRvD4ZVf4StVZKqYi5w/6+D+oU99wzuz1o2+D6kqa6qskTuhvm3Sl5iy+VPyoSdUAYDCyLynK09qvs+8IQR7Ycef5JHbPjOPt1fhphfg1smbT3pmVibhPjwMcJ9t5rHpVAUYATNoDZgCAW476RgpykRVPKMKsiGDFXEUiqLT45xUM7suDHGfgMOOClfnWew+c6u5nW4mrJrBiR76VdbE8O0ivmFgKRgD7VnBgoevCZMvN9QqAdASQGJWpNUvug9meuGfBbWijlPh42NfoQ0d6JnOfUX/pqMaQ90S05OFg5O2Nk1b3ODi71Twn2ncf91b9KyEhuSS6Qp1rVdavCkosEb0n6kP66CqyquMoWLe31fl/Qv1Yf6VD6p/QsbbvaPs9UgpzLoo+T+qbrzXsiZYIlU/rlKcwZwFvTWFcfCXFP2+YwvUxcHYmpt538hEXUqESQOPsKS3PUuRLvdd2XEKzqXWGP9/rjddpkNJJRu4hfr0fIvKJOKfxBZFbb7jPlJsan789NxyID1dKgIlPF8Q0SBh5LXqyHjFijD76aJcxZ91g2IAhp7bpSi3YG7FgxFPmdwfTJrkkNThUCSiXee7nmVO1+5Jaw1lbt1gB3zC9uZEYomdQZSQcEyuOVmxypQAQFCa44EDRRn4fp2au32aZ9VSjS+Qvq3ZAyOEu15laVKvMQquJlBn0Ln1zLDEbkoM8oJv9VySs8/3q5Z9AfU5RLSX1nzy9wrLXQ2OZ0ru++AYV7AKQ2VZ0nIuv3KgGcC+ghM0ECCxb0qBIEspsuRCuyVW37Dj0q4jI83GB+oO3aZIv4u37fE2CFeyD0bM1YfLDbnFJjzoUZFr/RPMwawkCBt/JKTRZbHw7I5LMJK2K5R0+Tg5wfBZt+zIjbBICojoJEp/Q/d58FpZxG6paODmvfjlKHa/pVBumaBUJvnCPeC2Y5CqwwTKbJttxjaL0FuLbR49QNtM02+2mztAQ06A1meit1dD5gVKgTxxXK/H4BhG8wxYgrzFsi/Fi08divFU11pghjFjXyV1G8CKfkYyvDkj/2X77OLijd3yJSFWZNGJDeHPSUawVemhg4RtXoxOWeoQWezsmUUxLk9wknJf07tb7tJis/gYb3AMC9lC+JNLUNK2imSUeiTqq2TkBpq8aXUrI71LcfCYmbs4wIF/0JkIROvPiCcD X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6d362a30-5489-422c-54f4-08dab7e10a5a X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB4222.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Oct 2022 06:03:59.8844 (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: b0PPqUjq3CdVoUtmUtF9MaXQ4MsvJeWSNQ4TgrMmuhvGjtiocG2qUv8KHOL6rAhIQymCNp5e7lGpPlE0hmoY4w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8805 Cc: Chancel Liu X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Add compatible string "fsl,imx93-sai" for i.MX93 platform Signed-off-by: Chancel Liu Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/sound/fsl,sai.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/sound/fsl,sai.yaml b/Documentation/devicetree/bindings/sound/fsl,sai.yaml index 70c4111d59c7..11aab891288d 100644 --- a/Documentation/devicetree/bindings/sound/fsl,sai.yaml +++ b/Documentation/devicetree/bindings/sound/fsl,sai.yaml @@ -26,6 +26,7 @@ properties: - fsl,imx8mq-sai - fsl,imx8qm-sai - fsl,imx8ulp-sai + - fsl,imx93-sai - items: - enum: - fsl,imx8mm-sai From patchwork Thu Oct 27 06:03:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chancel Liu X-Patchwork-Id: 13021634 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 58646C38A2D for ; Thu, 27 Oct 2022 06:05:52 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 80B7833EA; Thu, 27 Oct 2022 08:05:00 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 80B7833EA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1666850750; bh=77tWth79OOeXfvitTyW1VY30HeWGphaqzuJAoEQbYdY=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=JN/tuX53Xgj7J9AH1Aru2LnGZJ/7yco39ZzF9INfj8sihv/3rozMJzE1gmjrI9uHK qrq9ej+ATb0kUJjDNfYkQBmXV0SgFdOJ9rd8bcAUV4B3yXuUjo5TZULHqRw+p96pVY fVrxEBhQzBKoVu65eumCHO3Ez696qCvIuNXcegfo= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id BAF87F80559; Thu, 27 Oct 2022 08:04:19 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id A5829F80557; Thu, 27 Oct 2022 08:04:16 +0200 (CEST) Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2073.outbound.protection.outlook.com [40.107.20.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id AAE71F804D9 for ; Thu, 27 Oct 2022 08:04:13 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz AAE71F804D9 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="HVkcb54W" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Jm8aJwL2EasBQoDDm3WhfD0CSv3mz/1tk2z8iu06L60a5biie7APXTJN1HIihjhlMPgrPjDLuSBmxABhL8r+YQDNEXeULIciLheWs7WGTn/2L2GzLrvwEAKwyOAFLYGg8+dOm3QIevH//eN+7rD9fTJ3uFem04emRCliMffgm8mqupjIkQvkoJqju1v5/M+FODRDyPWcS2X8vuJ9h04plyz1gz/J9BRYnmn+FF5hZu7r4OMxUwH8ooFWuVa0M0nWsogsPWT3G+9LqkKcO2UVYpLsZ0WCU17K9+vMkA+RxfWEREglyg12+oQbEL4HWf1CLzpLADazBoC83UsAIdbQxg== 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=n8D6fK94z9bkr/WCLrzqOXpjsV7zmAzm5B0HWwNZVS8=; b=Lvs1oWQI7oasSkovEJlgSgjWsoHXQeWRGW/X8H5BydbhgjQFoOwdOm6eQLxnXv3fsBWWTkf1b0n6L2GGuIGajc+TorqNjdfJJ7uITwzfSK5plD0vJzX5H/RU5KH4pbcat4evmiNHP3MZYH67qX7zUEycq1Dc411TPgwVNfKagneS9l2Ib0hPQYN8UIIag+uY8YzoMlCiOPbbaemCLZSBXPTT611zJxJNnhJfLEcn0SQ850UcuxwAs9cpMyE6n1H5V2BQ3srfDw0zqwNNb2BB1lVZO5bnD9XT+/JXslw23/u8/Uz2QmK8CMCtlr5MOFoL/58QfN/K6UiXFq3k8ILHvw== 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=n8D6fK94z9bkr/WCLrzqOXpjsV7zmAzm5B0HWwNZVS8=; b=HVkcb54W4xRzNKG29G4XcO12XA7mWoDPvmng7uJbi14IAX4EVHQJYhHJ0Qujdiy1iqT/Kkr4zpltb28GWQtoZsysHDfhnnNZrsgGHv8IZvsH2rlWRw4wrbOIs6Nasi3KQ3RCucPdVu86lenh+ZTd4D4qxRJEipEzY2aDbtoRK78= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from VI1PR04MB4222.eurprd04.prod.outlook.com (2603:10a6:803:46::19) by DB9PR04MB8186.eurprd04.prod.outlook.com (2603:10a6:10:25f::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.21; Thu, 27 Oct 2022 06:04:04 +0000 Received: from VI1PR04MB4222.eurprd04.prod.outlook.com ([fe80::33ab:7f2:7263:ee79]) by VI1PR04MB4222.eurprd04.prod.outlook.com ([fe80::33ab:7f2:7263:ee79%6]) with mapi id 15.20.5746.028; Thu, 27 Oct 2022 06:04:04 +0000 From: Chancel Liu To: lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, robh+dt@kernel.org, devicetree@vger.kernel.org, krzysztof.kozlowski+dt@linaro.org, shengjiu.wang@gmail.com, Xiubo.Lee@gmail.com, festevam@gmail.com, nicoleotsuka@gmail.com, linuxppc-dev@lists.ozlabs.org Subject: [PATCH 2/3] ASoC: fsl_sai: Add support for i.MX93 platform Date: Thu, 27 Oct 2022 14:03:10 +0800 Message-Id: <20221027060311.2549711-3-chancel.liu@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221027060311.2549711-1-chancel.liu@nxp.com> References: <20221027060311.2549711-1-chancel.liu@nxp.com> X-ClientProxiedBy: SI2PR06CA0017.apcprd06.prod.outlook.com (2603:1096:4:186::15) To VI1PR04MB4222.eurprd04.prod.outlook.com (2603:10a6:803:46::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VI1PR04MB4222:EE_|DB9PR04MB8186:EE_ X-MS-Office365-Filtering-Correlation-Id: 920b2dfb-4748-48da-eb88-08dab7e10d27 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: qzLb60caBrx6Bf+/N2Aj4vktF4CEjifSGtxdwv/WVHK0GawSV0p0JpAJ8qWNr6+758NqHJwZiNRl7E+yqncKez4gq4N3eSKfOiC4cQgE9qY40P7rxUdsOG7Xxd3gunn+5pHdL3g6a1vFtJd8Si2IbxyeBTj1PQkkQAThGRDz9e/T5Qid5DP4rlIbYoJuZXw6yqKmFvse2AK2OFlOmF6blRxVFA+JkzaEGxsHSD3Xk0zBSlqNN4lt87l1UI+r6PQuhE2EVTB/YwtDNpRrFJKOXNfLqDMJpYc8fCqB2hRvPQ/ssM04QxdxgabWaUbeEzRUrm4ZiOYjm19NwwbG2IgtUY0nSe9A/DeWo3z5kO1wqfTiiRWkxgigZ6296cvtBjH5sYRj9l5ALvpORRKVllOLMbR+32NHDWlvv5pb4YoB4OahDSRQqHh2h+sWFT+piGheUq42YW4y/Nf9EV+r+s7V+MvvpKKVW6vsXtdSxJmDldgqMB1jCvIuK74CrCbr7IsYSeqwjcs4AWJ5mFT7LcVVAZAxbmPT8WJthleQ9aBziwYY4LtlC0UeOzv91WwkIQChNotPG6c6HqheNjJcCTbMOj8kNjtF7d1k55VRSZRypAh+BUekVt90+C73k0Mb2pra9CdMeaxzrN9CGVYdg3DHQBLzEyNXA17D2EHvya4xn6FKUt9F1nmYm92Q4cJPLZx5M/uRW0Py9G0KIpu9XQp11KgtFXfG7ahmFjHX+CiVxkXygMfU39CdmGZ7lSM70fbidbd9WakaseUYtu0XmEHs9IES4A9cXtI41kFVaZ30V6g= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR04MB4222.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(346002)(376002)(366004)(136003)(39860400002)(396003)(451199015)(8676002)(66476007)(66556008)(4326008)(6486002)(36756003)(86362001)(316002)(66946007)(2616005)(38100700002)(38350700002)(6506007)(26005)(6512007)(1076003)(52116002)(6666004)(186003)(921005)(478600001)(44832011)(8936002)(41300700001)(5660300002)(7416002)(2906002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: R7Esh/cu/m3GxV/eC0PyUimBR+7a6HvDI3IrF7ueJCDBW4R2mYkovrGqGl9cZBhKQ2mxfLPHXmC3mnTAwzCk+gjao8YpvK0G3cQGzJrdXcdRkKW8cMRGGYCo0v0FgHWa8Q6IV0BGVlrRsDfNzXYSBtcMDQvR5hyVLzgWFoIlunIoH8UGe3ruOKIu6g56OVaPWh9Nk5Lwb7muCy/E6ve++gkV9HuKupuLbauwd5GJzWOgANk/urfdlwIegETnhrlFBUSKQ/g57t62ZWLCr2PHA/qgNasTOlG+adVXOz4ypnRgp7rnoS8uHZf7x5ChJd/hxnqscfBEyWBJe3fb+hO09eKjdQoRF9mFBKO8IZYyps2zBu3G9vZwXl1MJtFBnkZO7Pdnp/W2dd6AJXcgwBy/mIZHtN+WulvfUmSyE3y2MKUAlSrSva04QdtzLsR/SMXZiLIffu3jg9wkTketH/pMZ6j+UUSLClN5FOUxE5enoE+8XCn4a6EuPxp7Dppc5GdXD29eY+y5juuOi4Kd6NmW8hB3CPSTgL85vgSmqWX89MrrBmOYdv1KbpZ6RTkoL3BMAAk/AQk5y83XJd8gkkCDCOqp7mMfwctf+xIl9uoAzOU1Mhu86zqNdkyjvTJdkGGRTOFo8YnjpPAYvEQyaRRRAKi1dKWfWWuMO4sfdviDmFyi978Omq6wauPo1wAMeEt+OivVc6PGXSqk381CxEsLue50AjlFSxeUklT6a4uvIF3f0N0waJ4Yjni4qLOAMQVidpuXkoIZYYb/aW3nOa2sdPmD4anBT9szD+g2eW5hfvtdKWCAE7Z0XNbP/2JEWmxBwp1sYlEf6kZrHxUlf9rhx9Ogj3qWXZdCF5OHs7gK7nv3JkZi+2NH0vZO8PGwiWbPJH7zmk0SBGqyX2ECYQ3ZvuSfCs7gmoBYO+ObLYU4ZvogJ0ZQlf3q3HwKJS09bi5WR4eSA2W9nWNIGBISM5zXNr/g1LgVmFsV31J1AXXKMy4ar+DSxlJD2BTEisrJN7sGKuSOkQO+sNVE/KL97+mwawV/Q02uSZ8Dpb7MZ0Ii4k4+zJ7l5sTHG4AOBf0WRV8mbn4v5jGd5Nmv4QAL5NUeKc4ToVRdvX80lvbDyv7UH/9cvxB88zUr2Udz635OQZhK7+4FaOptSPkyMBkMGZcYy83JbNkQzh4R7sS5rgvrpo/gRkoB/Upatb+lBoaigvwKHILVoIkAl7oI9uii/nSfzquucPkVJ0tRZoDMq9h3BvvyuiLbM0/pftQL3NjcIS/jj61kKFwDdiUykGWbtBYQGPyVN36XKzrvMcL3cRuGiiFh/DAjxuCzlO6mBNLPRA5nUHai7yxt/ydiOXblrrMqt5ChCiuFO8PwgO/U2Hrc93HOmETSe/OtCgmx+emRhemP0Ug7NJTK8WMArfhwvucEe9Aq5iUleg1hMq19lbfG6saUDweDFIA5dp+Ui3rMs5uMV4yIT6gzWd7IG3o74mrv3xaQDR9LULpidtc2mjGpii+t0M/2bwaGIz7WDNZHXGcF5WDeJjlfEqnIxjCay7GdJPBTZtsfMoKgo+guawQ4N3re7Sma6HnZHf8k3sjV1JfB X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 920b2dfb-4748-48da-eb88-08dab7e10d27 X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB4222.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Oct 2022 06:04:04.4309 (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: /ZT5AWLvrkmH5Db8vlAtcV9AwBb17kflKn7OvnjXGmdR8xFOZvQ1UnUflLlBo+GpOckRFodAFrqi95V6MoeBeA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB8186 Cc: Chancel Liu X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Add compatible string and specific soc data to support SAI on i.MX93 platform. Signed-off-by: Chancel Liu Acked-by: Shengjiu Wang --- sound/soc/fsl/fsl_sai.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/sound/soc/fsl/fsl_sai.c b/sound/soc/fsl/fsl_sai.c index 81f89f6767a2..68e1cc4c369a 100644 --- a/sound/soc/fsl/fsl_sai.c +++ b/sound/soc/fsl/fsl_sai.c @@ -1579,6 +1579,17 @@ static const struct fsl_sai_soc_data fsl_sai_imx8ulp_data = { .max_register = FSL_SAI_RTCAP, }; +static const struct fsl_sai_soc_data fsl_sai_imx93_data = { + .use_imx_pcm = true, + .use_edma = true, + .fifo_depth = 128, + .reg_offset = 8, + .mclk0_is_mclk1 = false, + .pins = 4, + .flags = 0, + .max_register = FSL_SAI_MCTL, +}; + static const struct of_device_id fsl_sai_ids[] = { { .compatible = "fsl,vf610-sai", .data = &fsl_sai_vf610_data }, { .compatible = "fsl,imx6sx-sai", .data = &fsl_sai_imx6sx_data }, @@ -1590,6 +1601,7 @@ static const struct of_device_id fsl_sai_ids[] = { { .compatible = "fsl,imx8mp-sai", .data = &fsl_sai_imx8mp_data }, { .compatible = "fsl,imx8ulp-sai", .data = &fsl_sai_imx8ulp_data }, { .compatible = "fsl,imx8mn-sai", .data = &fsl_sai_imx8mp_data }, + { .compatible = "fsl,imx93-sai", .data = &fsl_sai_imx93_data }, { /* sentinel */ } }; MODULE_DEVICE_TABLE(of, fsl_sai_ids); From patchwork Thu Oct 27 06:03:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chancel Liu X-Patchwork-Id: 13021633 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A8737C67871 for ; Thu, 27 Oct 2022 06:05:46 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id BE00433BD; Thu, 27 Oct 2022 08:04:54 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz BE00433BD DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1666850744; bh=dSi1lBymnkYchxveQO3JPzgwH8BRyxyXVo9qxKdtxoo=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=lqvu1QSCeNj5eEf7GQle4I0J+EEMQQe2bI4oWSLQfPUPTnMJ3aCkvwhn8TWYTvH5M tjqeKMlPiB5PENvcbUwZ60po3sgZrccyfwayNpOTOkvBa/31VGPrz/QdK3QMnmrVck qeGwjRNBWGDBSVQp5RA2Az4smK/nUoXiTYRNTxLI= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id ED303F80551; Thu, 27 Oct 2022 08:04:15 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id AA205F80551; Thu, 27 Oct 2022 08:04:14 +0200 (CEST) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60082.outbound.protection.outlook.com [40.107.6.82]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id CFD2FF804D9 for ; Thu, 27 Oct 2022 08:04:10 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz CFD2FF804D9 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="NfXED5gu" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VrNXFFIYmNQXdbj7QK1y28tf+hci8zQcc0EkgiNga7X3Vi9R00ItxFD7HweudxwYdEfi9vr6rG1OF/14ALfaWWbWp52NQ2k4nhCZQJFIfo5dFel3H6Cv4SI/sokt1qMhDsvq86Ot1UMc80uT6vC8fR+tovwkAPCcxv9/LGwJBR064ZjL3pxeNflY3HMDpqTlxDQR/VABLSdmotCqmpFOHhASJJ64WAOILFzEYJlNIABQ8m3Dmj3wCJbRehQQB7WNvU8BWLwfuL7cQfMieWodeUw4C5TQQJ2+Z/O0eAKHecDVXnvqvvhZOiXwdx9Dg8yJy1A2LAk8ni6TQxQRcKqjLQ== 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=2iNoHOP/7uOmpQk/Qaj7iIIAKCu9xX4YVFkeJ3MlVzU=; b=c1VqvoWjNeBW8T37e7OipXVQsha0oI6BKYDBYdDwznrIkLWLiA/ivC5okritI129RoXVBBVd5FVU5VStW6pqp59bB8nxplIMMqQs75g+VwUe9399t2Le1616y2bITn4ulTcbUEgvhpsbWlExJgfctSEip91sKVLPMbJW8ikLGYdEVd914in+bK53+LXoJMTJrvthE/U5VDRp/yEpAyv5cgXGwdfvw6stoj09DBdrFs5bVpVa/GWEDvBhOIkeSjRk1j4Ez/Z5vZcETy2gvWlCm2DM7E7gYCSegui/X1d8LoNQtnggUrD5mQFwKVkQ609vebkYxwqLwxOs6oU6HRpsRQ== 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=2iNoHOP/7uOmpQk/Qaj7iIIAKCu9xX4YVFkeJ3MlVzU=; b=NfXED5guisZ/2oiv1+Y79LbUIlLkGGMAJgYXzVf4XFYhysvpUpjYubQEA9rFXezFNcqTk7CX8095ZjvYslgqnmIfG31LX+nRoc/YhxLN+Ndnxu/B6dPJ3qOhfRi5Lh0AyQBtUWdJmVawB0ODQ9Rx5h9X+3C5tcntBk/GDgehPB0= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from VI1PR04MB4222.eurprd04.prod.outlook.com (2603:10a6:803:46::19) by DBBPR04MB7593.eurprd04.prod.outlook.com (2603:10a6:10:20c::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.23; Thu, 27 Oct 2022 06:04:09 +0000 Received: from VI1PR04MB4222.eurprd04.prod.outlook.com ([fe80::33ab:7f2:7263:ee79]) by VI1PR04MB4222.eurprd04.prod.outlook.com ([fe80::33ab:7f2:7263:ee79%6]) with mapi id 15.20.5746.028; Thu, 27 Oct 2022 06:04:09 +0000 From: Chancel Liu To: lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, robh+dt@kernel.org, devicetree@vger.kernel.org, krzysztof.kozlowski+dt@linaro.org, shengjiu.wang@gmail.com, Xiubo.Lee@gmail.com, festevam@gmail.com, nicoleotsuka@gmail.com, linuxppc-dev@lists.ozlabs.org Subject: [PATCH 3/3] ASoC: fsl_sai: Specify the maxburst to 8 on i.MX93 platform Date: Thu, 27 Oct 2022 14:03:11 +0800 Message-Id: <20221027060311.2549711-4-chancel.liu@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221027060311.2549711-1-chancel.liu@nxp.com> References: <20221027060311.2549711-1-chancel.liu@nxp.com> X-ClientProxiedBy: SI2PR06CA0017.apcprd06.prod.outlook.com (2603:1096:4:186::15) To VI1PR04MB4222.eurprd04.prod.outlook.com (2603:10a6:803:46::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VI1PR04MB4222:EE_|DBBPR04MB7593:EE_ X-MS-Office365-Filtering-Correlation-Id: f07e1b64-bee2-4e40-e658-08dab7e10fd8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: UO/yCH2rsvzGUpXrwGBq/OrlYQuwsll2a22IcCixnJc+WWFQp+EBzXuzvQDo73N5r+2wPEFouFugeCRBkhM05yRnP+F6nXQRHsCHOUNOixCTakkowES77pDzqZaVmaE/VGV1aPkr0QAR9lAGKo3Yl/NuBUo9fij8w+DJcb8inClfXf+YeeyvxodSDQIlXTuHs1f6rETrdfvwzWa/z+cj4YfVFus6YbEH8rlHZDOLZtYSwCF9RWhDRSqsMDilIawl1ruralaAk55ZPev8aRP9VwHksMcCwf8fYxn11SvaPvS74a2EqTI6ak/X6hVorpCQsonZ9mwIyEgHvE9d1LMF+oslIdF2z/r2HbnfdbEaQ8hWQCHPyJKLP8kVt0wwmXHRxpZA9uW8xutDWTEowYCatgdTL9saq82Hl+fYEbzXWHgHmnC9rROYKyNmxyCswGHVvsgQvEr+Fdq8PVROsSwhz5I2W4MZIGPQHYE/c0AB3z6vKWCpGGBfiYSB5giGAFaf4bFHkEr3o6Ad5Kj9ptUDStlNtkvIZtoneqE4t6qcqrQ8KSD2anWM6MaCGqfNRLTkBZ9b+T+IwaoXYn/4f8sSI4SkrhrCjTe/a2McckqExR3AsVYX9DmY1F2GEUxy0pcp7QVe2ZAi7BCiGkjtFuipqNGPZV4yTQr4oHw/RCT7KzH6p/NJg1EExbIpby33oS0UaHgIhl7KuPPza8jcIIXdQ/pvACE2T9El0qHPxuKQwLmAuCuUQYMDzQkGq/WXD1TyOnLYZoHsyxRrIDhRAjgmtK2s9vOxYeRVjj1eCTVyCBg= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR04MB4222.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(39860400002)(396003)(136003)(366004)(346002)(376002)(451199015)(2616005)(26005)(6506007)(186003)(6512007)(1076003)(52116002)(2906002)(83380400001)(6666004)(478600001)(8936002)(7416002)(8676002)(44832011)(6486002)(66556008)(41300700001)(5660300002)(66476007)(316002)(66946007)(4326008)(86362001)(36756003)(38350700002)(38100700002)(921005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: D6AdaQdT6bkgIqrp9AzhDYutaVnkzsvi+peQh168yVKKHKXyjxgkwWIsLl/d5wD9BGCoOLm0pgzh7KYgaE9KFg1aILxk/u9A2HYogeyvPCZgmVnNGbuH7FaYuZKKwEcbHI7uaJI3jesStcz1+N856/YvksClxM3kAeFLBFuVrpgQ8OfkD+KCkoSSGmif3cIPXHEE6PxpDQ5JPKb5lvGcmFo60q/knHF7/iZmHIOyQtTTsEyBOngV75tpbhBUDUh1iKhiTOOzWYPWhZ4HRNpMe/L68onFelv8xWxmrLmfuUDA+7tRa3/Sj/qnenv52ywxoQytmSAIp9r0mlnrpGAn9WXFNW+i6c+oSfqU39/ofMYCI+XTGDksWr0QHqJR8e/vz7sjy+OciQmptvNW4CRSYgEl8VwayVOmpY6IhtYh5JHv/PXTQ6glYjlSLjyjng6YXSBImVPhIvO+AIoyfG6R8G+FexS6WgEILCipHcJ3mV4LHHFpWig6ljCal/UTuB4yckED7PTTjhvte/T4GMUwI/DzVHfLJruYsf+NNoa2H5O35w3vOMNdBGHiWSuYkrlPd7S65zceNxgkinXLnBjKkCYi2rUTcxL+8AFAWx6tlaVbQTcvtGMknfnnRslnbXwiAJ+8zkH+gWI5z0HvuaNtEIAPU4wa6BOlV5ffxPUiOhrtetehJnQeoGhysCsGrSD1gvASF/nUE74Iq/CcI+t1tUH7w33k/0PqM3XC5XIYmJHaLbg6wndkIyFZnAW7pHz/ksAX/JxXS6D7mgzMhScUrcwL123xfeOpzn8kj7eoa0rTt2WEh+L7PiqFJRwB8G0/MD3MRBDdD4Da8jz1yW71JigVezQNe9tr7/D7A/MDQqMCkofKPfzjx0MUNqx7Jg70jw+NlA/tNlcU9jpVmcrk/ASB20L7t8xRVP2eZqPjQWN2j5F+h/vkPd62Qop5+TxXpgke90rNDT4lyW2XiGlcy7vQjJkPCQpPfdO+NjoEzow4jP8ctY0UYB4K7YAZD6S+n2AnXohmJqhpTszFkBeCjhVYfkhsmsv/rVdvwIlclTQ65tUDHdUkx8MQzzKaFAMYMd7rA0WGrIC+MYr5uSJKspHMGBrdiof5vKc/DNqqxyHJexlXxImj5IxiN7Pi/LV/cSpS4xkZyaYMbhuQak/Ya44bF9TRB5O5gqfmFK8GaEjgNbwE7w23rKh3pnkHLt8zUigIZg1zhQG4jklT+nfJetroFFy1tiVz7RBshu+2vbDrtAIDAazc2baUQYlpO5TU1wSqQI858bq2PLjSlTQMYZ5vFaCsxCBEq49cKBOCCay2a5YwkfY1P+pWEZzTYMIChY6hjY2cblDFvOFqFtH4SYdetbYtf18jB7dnjXv0i+KP+F0qO/FVWDxkxxqNjSaijr5vlyDWqLwgmKVjzHdAmHMvQOa+pn2I3eN7rOa4y008cXHxPgyX9O6gPpsBH6sGViTbsuC7mQEz1piZEydh68vF4CWyzJrYJrbs3urAC+bGpCwyCKpKe04HfsrGrXwsV0oxpzGLNfmbgpbfA0jyvfk9xA0LHDd7ogUeft7XCPn2xI0ck24lmRQXankb41fE X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: f07e1b64-bee2-4e40-e658-08dab7e10fd8 X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB4222.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Oct 2022 06:04:08.9775 (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: 5t8nk18vpx2jo2CzCmblUxT0mpLJaJms6QSmN+1R/nW6Uco/awhEyQBqZhyAmcTo+1lMBDrZYB6y+ROWNbg/5w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7593 Cc: Chancel Liu X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" There is a limit to eDMA AXI on i.MX93. Only TCD that has NBYTES in a multiple of 8bytes can enable scatter-gather. NBYTES is calculated by bus width times maxburst. On i.MX93 platform the value of maxburst is specified to 8. It makes sure that NBYTES is a multiple of 8bytes. Signed-off-by: Chancel Liu Acked-by: Shengjiu Wang --- sound/soc/fsl/fsl_sai.c | 11 +++++++---- sound/soc/fsl/fsl_sai.h | 1 + 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/sound/soc/fsl/fsl_sai.c b/sound/soc/fsl/fsl_sai.c index 68e1cc4c369a..a0ea27f06997 100644 --- a/sound/soc/fsl/fsl_sai.c +++ b/sound/soc/fsl/fsl_sai.c @@ -872,10 +872,10 @@ static int fsl_sai_dai_probe(struct snd_soc_dai *cpu_dai) regmap_update_bits(sai->regmap, FSL_SAI_TCR1(ofs), FSL_SAI_CR1_RFW_MASK(sai->soc_data->fifo_depth), - sai->soc_data->fifo_depth - FSL_SAI_MAXBURST_TX); + sai->soc_data->fifo_depth - sai->dma_params_tx.maxburst); regmap_update_bits(sai->regmap, FSL_SAI_RCR1(ofs), FSL_SAI_CR1_RFW_MASK(sai->soc_data->fifo_depth), - FSL_SAI_MAXBURST_RX - 1); + sai->dma_params_rx.maxburst - 1); snd_soc_dai_init_dma_data(cpu_dai, &sai->dma_params_tx, &sai->dma_params_rx); @@ -1416,8 +1416,10 @@ static int fsl_sai_probe(struct platform_device *pdev) sai->dma_params_rx.addr = sai->res->start + FSL_SAI_RDR0; sai->dma_params_tx.addr = sai->res->start + FSL_SAI_TDR0; - sai->dma_params_rx.maxburst = FSL_SAI_MAXBURST_RX; - sai->dma_params_tx.maxburst = FSL_SAI_MAXBURST_TX; + sai->dma_params_rx.maxburst = + sai->soc_data->max_burst[RX] ? sai->soc_data->max_burst[RX] : FSL_SAI_MAXBURST_RX; + sai->dma_params_tx.maxburst = + sai->soc_data->max_burst[TX] ? sai->soc_data->max_burst[TX] : FSL_SAI_MAXBURST_TX; sai->pinctrl = devm_pinctrl_get(&pdev->dev); @@ -1588,6 +1590,7 @@ static const struct fsl_sai_soc_data fsl_sai_imx93_data = { .pins = 4, .flags = 0, .max_register = FSL_SAI_MCTL, + .max_burst = {8, 8}, }; static const struct of_device_id fsl_sai_ids[] = { diff --git a/sound/soc/fsl/fsl_sai.h b/sound/soc/fsl/fsl_sai.h index 697f6690068c..197748a888d5 100644 --- a/sound/soc/fsl/fsl_sai.h +++ b/sound/soc/fsl/fsl_sai.h @@ -235,6 +235,7 @@ struct fsl_sai_soc_data { unsigned int reg_offset; unsigned int flags; unsigned int max_register; + unsigned int max_burst[2]; }; /**