From patchwork Fri Oct 28 08:27:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chancel Liu X-Patchwork-Id: 12155 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp702643wru; Fri, 28 Oct 2022 01:43:34 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5Oxxr6cwtFfmzizv0MWzPJFXj1Y16FAWTAM/+AFQUz3gChgRBSiXaNI3DZp61QxIXddBke X-Received: by 2002:a63:e806:0:b0:44b:d45b:b8a2 with SMTP id s6-20020a63e806000000b0044bd45bb8a2mr45419859pgh.14.1666946614639; Fri, 28 Oct 2022 01:43:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666946614; cv=pass; d=google.com; s=arc-20160816; b=c2lUV9goIIV7Tcm7LGJFr2MsBmCmBXL96PIxKaZIqdUvU5F1hsGjmHm/XhXmyGvO2+ K2EJk35UtaVlM7G0D1bagTQCQmeKCAff4PKd3YDYWQXxM+jTT0I2rFLVRyeYS8i+WE8G QyuiFjWZc4jtgKFZgz9lUMctoA94jmlqGDmSbynBJuCo7etMO9lzng/4/ilAyYN4FQf5 mMjtdm+DxbUfPptvV2r52jZSF5v1gd6FtJjznJHeHohySY56Aw2nt5LKpv9datK2qjIm U8i+JoVUUYUm79pctLAh9gjhTcNWrRKWMxalroN6BSKiLaH3PUdCXeRmbzoZi/EqojNk 9W/g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=l6t16KG75Im6U8aGvH8BiJL+FDxfbMVXPTJuAts18HY=; b=oK3CCCSbmsJzEDbBkV7+WBl1PJ0Ws3NueOliAjn4ykXsohpbltXWTeowmDe6kB5i75 CKIbdzO/7L8Waa27ftDqlDhRjinwWVJgbdjj+t2jSoiplECjv+WQEBaqjH42zsi5j4zJ 4HYxaod1sh1Y1sJciHKLNza7iaLgBqg9klSP15Wr+eC7NSgByYYpQaFjMpNLEeP9QNf8 6gpWUD3pV69lD3EjPvowzjdihxHRqJAq1BlC9Bg7IWuEU4yVAJTWpx389o/X6RR+Cmkp 3KHIqr+4Kyi5ZbpDn8cJmDZo+KGEpoRsjrQM0AJwtuBK4hHFRs9y4kvjgpLz+YoWdRhx Ih1w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=bCS6UjgI; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i19-20020a63cd13000000b004610dceee7fsi4428353pgg.165.2022.10.28.01.43.20; Fri, 28 Oct 2022 01:43:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=bCS6UjgI; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229929AbiJ1I2h (ORCPT + 99 others); Fri, 28 Oct 2022 04:28:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49762 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229910AbiJ1I2a (ORCPT ); Fri, 28 Oct 2022 04:28:30 -0400 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60077.outbound.protection.outlook.com [40.107.6.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 57D5F1C3E69; Fri, 28 Oct 2022 01:28:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lmk9o7giV19/9jXXem/deulckmyXRlx1Ufx85W+Z0IqRXXLa6ClA/rfSDFlBrwDeMTFJx7uREBuvIL9zDxAM/GjFRw98pI1W9x1AUTISTUM7JRd9WT1o9UnsHVqU/ht7FnqH4SD0KBRsH93cUwyriYs1lC9apYy+k6MdQBvsxKdPwP2MYO7c5uCWbgfTKD4215S5CBYPa2VoFztO+nRFjwZgHkOKZv49JJBkSq2ZkyblVw1rV6XJEATfUn+iod8Vvev03z3ZLjgy0GWeJI7ud9gcnpYJ9F91Rdj5LKX/sB1C/0cL57uNpNt47yl6N/05EqEZL7J4a6GWsOSkjFJNPg== 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=l6t16KG75Im6U8aGvH8BiJL+FDxfbMVXPTJuAts18HY=; b=Z5kxstmquaHcXMb+TB+x6fUqI5IeUZ5Y8BbemDiV4/jwu4b4IC8hgrmsJkKF8pCUg8Jy95Hkgt6whMn8bGm4sxoNI8D5g3cijJBjQfyPoeKMW9xMGPeNU96bVdgQxcNoTmaoJXaMBnaQx6pBAvFsDWlmxL7UdFVnreisUh6Q6T073KlR1B/YNyhwB6eD8yI5U4EhNR+wcyoizM3w673Piw5Q0pDGr/imNAVd7FYAyn/5Ktq4poH7PPxOuSeqde2MnigrpqM7xfMtoKBV5pFT8VQucDxnKpfVk6k7RA4LSZNnQGE+h4BM28VSlTG2U/7Iajf4mPqdZPvvken9Eyh42g== 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=l6t16KG75Im6U8aGvH8BiJL+FDxfbMVXPTJuAts18HY=; b=bCS6UjgI+0OscEmJohOD3wVWjQHevj0rZbgcx0XHvSgzc79DFS+1wZyJPjM2yGY/qvFxFTVx6eIL1WdzPc7oZmSDlB8glk9fvshHbMmEIiYWGWLhWvWaiOHSLJl5dtxBUsqD6j4ziwlO0nbk5ro8CNOtGZkVlg257LYPZBWDqjM= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM6PR04MB4213.eurprd04.prod.outlook.com (2603:10a6:209:4a::21) by DBBPR04MB7755.eurprd04.prod.outlook.com (2603:10a6:10:1e7::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.28; Fri, 28 Oct 2022 08:28:26 +0000 Received: from AM6PR04MB4213.eurprd04.prod.outlook.com ([fe80::1991:3060:d022:a541]) by AM6PR04MB4213.eurprd04.prod.outlook.com ([fe80::1991:3060:d022:a541%4]) with mapi id 15.20.5746.021; Fri, 28 Oct 2022 08:28:26 +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 Cc: Chancel Liu Subject: [PATCH 1/3] ASoC: dt-bindings: fsl,micfil: Add compatible string for i.MX93 platform Date: Fri, 28 Oct 2022 16:27:48 +0800 Message-Id: <20221028082750.991822-2-chancel.liu@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221028082750.991822-1-chancel.liu@nxp.com> References: <20221028082750.991822-1-chancel.liu@nxp.com> X-ClientProxiedBy: SG2PR04CA0210.apcprd04.prod.outlook.com (2603:1096:4:187::7) To AM6PR04MB4213.eurprd04.prod.outlook.com (2603:10a6:209:4a::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM6PR04MB4213:EE_|DBBPR04MB7755:EE_ X-MS-Office365-Filtering-Correlation-Id: ca24a661-850e-4075-8dcf-08dab8be6260 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: V60cH9bKtBZaNfcIThPvcZOTV5dUs1WVOqrloIdAX5iyeKU8sQk4FjJejLKjjpXQUwd2n1/QDlfHAraLbEfyqiV9qLeZu+WbGo5pSmMKcnjUmMOhn7hkxUr4OpEY/8cIA01OABCdsBjw6vpqNH601a9ta/FgbFkUcQcajRinZaqarAGiy4GrQhv5he9X6RXJwZTdUbV8giz3OFIlrfiLhGEtQiSbg2RqiTpKZMoEW7KUFizrdiPevPe2kUoBLjIzfdTPMYh9SQYeUDU357QlYbk8wFuwBj3TozWdcBMhmpDiIEW215Ybd/EZjOHcdEwX7eBXD5RM0cgcxSoJzEmUBuN7pREYBOMxWC0Xj41lEkgJlXxw2vVzjotHL0b3yIHZeeP9SKaT0C/H1+CI1yYCMT3wrKDwRM7ofwK9tK8FdDOWrNMx9Plit6OaoDcbyUxnbr7zGz+GcOdQjjDNDTpIxO96y7I4Xp6pNM7DBnB+A0UfLJD6OhhGSTXCS19iohvee3Wj07g1W2gPz8nUHNJU6YhXb80+iNuN2P53J+5j+jZv6CR791vgzDFlBZSzsJxsxJ8lHj/r9SpsZzVsouAp8V4aXJaVptMnV2Q7gs0030iIU9dVVp7p+tLX62hw/QEFSPRqRipBA+r3ByL46Pkg3ySlSnffG0kRwM81nJhf53eJPYohc9uJFTyzqy/vQeSAUzp71RR/kjxjkf1Mqd45YWA/g8PLYA+9/Dczdq/lWwirLELd0VOYJJ/8cSSeBONxuZWD/9Aa5hFXUAyE0cbT+w0Akjcd5ESyCgnToFIin6U= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM6PR04MB4213.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(396003)(39860400002)(376002)(366004)(346002)(136003)(451199015)(44832011)(66946007)(7416002)(38100700002)(4326008)(2906002)(66556008)(316002)(4744005)(8936002)(41300700001)(66476007)(5660300002)(478600001)(8676002)(921005)(36756003)(38350700002)(6506007)(6486002)(2616005)(26005)(52116002)(6666004)(1076003)(186003)(6512007)(86362001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: fenlQ63MiTWxLH6ZeEsdJAZ4iz91vwXNSBJVXD2oyE605fdEyl53SLoMJ3wo0WuNQ8aOfAj2N1lapICtO1948ce3QYH1oub3mXzpbu/OQe+h4xlXw0bfMo8MGgvMfZOn/+CUy8QhKHgJeNvgcXdwTXJR4FXl1Am+Nb/G1BBvaGcf5BgqNUNOwqGi3V0BahcwYUTW+FQQ3//o4gknwm5ldrtL7A1/aANHizCpkm4JaaECxlCwd196RV/53oLiQw9esw3DqDdmq1fbhI/4Mtbmm6PGVRA7oN9bVJjbTWBqUYFxvkzqICcGy/RSqjThi7u16nhUDckg+zg3yznw32y5YTZdnT1etABnEOEK2OjSOMd8f292KGMqaoeBko3SOEd14ffW30nr4NfrPFuJk/yBO7uzTNTagziPfOJUEeczd5N0iAa3ijUW3CkcMYEafuc2JTbi7ZuMviMheEm5xYkoQsnaWVa9B7GKxXhCKMvqv9p+wPsymeFdWcVtzuzavWKIpdBS0E3mJNfQoRO5MtQHJ97C30bPkrBjZBQDi0JPu5VYTsz74O1QvNS5TGxOkYvUzhZrFL/KQEG4Xqce49gPIxC7evhOx8ncYUs0b5Jt7gFYrtnaj5edZprESoQjTRngNa1zolvK/HSZuetgmlJ2S5zhTAaARnhYnPRlw1rWx99XxLITm2lGYeoUs5+wbO13WcIljJFetGMLfKWAZ3JjuApdDr6U5KfrKApI+MS+bqJ0KIy8407G5SDbMyuI+FUAIVJ+tzQYCUpnbuF3BxPlq1kE/4TGstdUU3VValxbbt1eRM29HBk2dTo3mTtHJYQhXqwcOeqNywJ4ASQLCzVFPPDyCJ9cmLf5i5N6lrXvsBLq1S2Qlvh+tX2P5qgzb4zENosjiKiqF/AW9ha+N63Yc7m81rlbkszy1K7IWvUm/BEy3ZhVfg8j0HzDuHb7TZfUUtZgJDy3HcFGcVUgnKIaU5H/enmmsWNZyVlxC64N+gqH4lwp+ui5Wt2bFSI8bS/BTVek+w9dq0H3we0OBoxe5XSE7wD+x07+8FuCuY0kHk8MWEbrSDL9KNVeDXVrcKDfpABQuX5OIwcv6q6fsqInf4OoX9OtTcvUwLAPeAb7VrZ6j/MXyUitN5iUKCGSTuJHoqSHLqp4o6IA0nPZ2fLaKc1d1L73jbn4S2e9Vj+DXAC4lkVPFx3iRcdStmLlgheajQ6YG/+iaJ4Z0rIZAVsVvEodZoiSLp8bPzTxQDTa4Rax3yrDWD8pMi2KviG9GWE7jvLu1jsYIslR2PC37mc28Yd4Dt0HI4vRpOto8VjAnJfGkfTgZhnkqEtfYy5VcpQsJqXvMk7FEnJg1hQj3x3DakTQKWN2PbHS+X4U4o/5Yqo5Qk3P4I7LV5QlvkMzEhev1gC2rMm2Xj99Wk9+gEnligK8oNkdmewviUY3H41p6vh+UPN4arjFN4XZ3YVFnX+XJ5kOEoZBPL87AuVLWy4K7S/98sMp7AlxHaf7rglrwN3CtYID92Liz8XMkUHVOoAefFE83yA46C9YvvB3vwzOTAcYLo0Q1oB8m/fBKK/gHBHWLyHNMMoUbmzF00ZAeUUF X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ca24a661-850e-4075-8dcf-08dab8be6260 X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB4213.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Oct 2022 08:28:26.2794 (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: mnFiKFqat9vc+zqAo3m1Tqmx3Rv+0BAOpAKppTZ71yelQ4JlQiWS2h9KKSTNIrDFWR0P7tT2aimND1FvduHsRw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7755 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747920213023516910?= X-GMAIL-MSGID: =?utf-8?q?1747920213023516910?= Add compatible string "fsl,imx93-micfil" for i.MX93 platform Signed-off-by: Chancel Liu Acked-by: Rob Herring --- Documentation/devicetree/bindings/sound/fsl,micfil.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/sound/fsl,micfil.yaml b/Documentation/devicetree/bindings/sound/fsl,micfil.yaml index 64d57758ee67..4b99a18c79a0 100644 --- a/Documentation/devicetree/bindings/sound/fsl,micfil.yaml +++ b/Documentation/devicetree/bindings/sound/fsl,micfil.yaml @@ -18,6 +18,7 @@ properties: enum: - fsl,imx8mm-micfil - fsl,imx8mp-micfil + - fsl,imx93-micfil reg: maxItems: 1 From patchwork Fri Oct 28 08:27:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chancel Liu X-Patchwork-Id: 12156 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp704758wru; Fri, 28 Oct 2022 01:48:55 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4l8c7wDOBjK7RCgx7dq5ozS5wR6m4uryqigWGEWHIaHVxvCo3zj+Rf6LZvfQEhNIiOR9BF X-Received: by 2002:a17:907:6e11:b0:78e:3057:f631 with SMTP id sd17-20020a1709076e1100b0078e3057f631mr44890960ejc.333.1666946934931; Fri, 28 Oct 2022 01:48:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666946934; cv=pass; d=google.com; s=arc-20160816; b=huBlFiNJPMHeg5d9g9BjLVrdmgkZ7t3Xj4Z7fTVCKjTaIxWVjHZhhIf54q3WQsoAl7 dT/wP3IrrhXwxdeVsiSyz06neaGu2wMpN76BpQvlx/jrG2WRZ7c9UozBIh9NQvJY+68L 9P/lvIDTVIrjcyZgIBgRarBhOTF9sPdqJGUQO6YTJdjUGL3NaHwxn3BO78gL2T7ZdDOK 5lN0IOnDrwgyckqq3SdCqFpg5dLIBDs6potHxAxYOOfdq/x9/hFR1GofzPybyLghvgBg jFmEifJadzsbWepg6Y5pNgVJgGVm5WgzpQN42dFcIQ+tEjhOJUhDmrAqm5+KeIswmIRq ZXew== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=d+5PDrCkDa3tyypP39fJzbLkUlVhQaPxOiqqXef4VRI=; b=X0s0XqmMZyyVWkIcyFftbkU8/L7E6G+j/IMPsyfSOVwO4hIwIDol+gK8mRXFa6+eu5 e2phX7vMlE7LK9ihRwJA5M57AVemYd4KhOXjZOcao3GMnO4PfuCiUWZBVXiis2+AdFP5 LYnwcXjEtBR0wilsIZ0i7FO+DcY9IoVNJoCLRoG2H+7Jf7zI00Q9M9zr90/iZs9zR6LE o3cHgDakIPwBD8laxmGZUd/wnwlhOyJ3nW7+d+8aJw5sJRV1m/61+pmm7bmGz//7sW4W hjxwCrU8bpgHpiuel/nHcFhpzU8MvaPMYLXDGOXFUy5ZPwTD5daiDEOrG+Me8VVmgpwn OgyA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=G54I37IN; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gt41-20020a1709072da900b007ad6a0afbc6si4610768ejc.7.2022.10.28.01.48.30; Fri, 28 Oct 2022 01:48:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=G54I37IN; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229932AbiJ1I2l (ORCPT + 99 others); Fri, 28 Oct 2022 04:28:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49848 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229880AbiJ1I2f (ORCPT ); Fri, 28 Oct 2022 04:28:35 -0400 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60077.outbound.protection.outlook.com [40.107.6.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E11301C3E71; Fri, 28 Oct 2022 01:28:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XiFeWYEbCLwEFqgSbhC/TMnGUg37TSKpHUD8P+cazBXOFjgVM4FZ0wHkqDyLtywr3vh9yEAd4+iTB5s6QZ7n6rrIuX1z+5OXp9BYAGwT07EUG6ucYMVKyvLIQLF1pxj1KzrpIW+ky1xDeOp5HC6p1PcFjw6LyZn1Tdt6/ycHPdNpmOX+D/2mv4V3juUaf+VFhjMIYJ2RGlUJ35VGrMXrxtZxyl5upzkPRGVEBHfPjLzKFybKBvkugoY/tBLCiLmGWzP9ChNgP3kP62Jyv2L2YkCgxlRFY+BAb8Mce6iOf4XS2vCKOrIymrp2yXKUOtVgYPuRxnarjDwm0k975KAIMg== 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=d+5PDrCkDa3tyypP39fJzbLkUlVhQaPxOiqqXef4VRI=; b=mb6BuqFzr0D866ja3RdnUP2K1sbJOTCwSb7HTpD7f93Mgvz3TEEBhbwnCqiwRa14QnCqvn4BN/OdHTBYKAMDAnLaYAfmvA6nqaJvCcPUS+lNnmslmTNzuFJ3LQSusesYJ50WiaIuMzEQxf+1f+cTAJ3i/PhgSlfoXDUdI1bDZsqz1jOU8k7Y1eimV2mtJvbu1TkoRN/CM3stXA9Lbw4dhwke20apbddGfFgkdeWcRiyw+a8gLcBb1SIIeHYQBJtmFt8+RhkPIdPtQ7IIuuej/zlSfcC/ur0nvNZ8K2vk7tt+pDTusFzC/fZondubRuBkWTY9tdZMBUEOiqJaOoU9jA== 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=d+5PDrCkDa3tyypP39fJzbLkUlVhQaPxOiqqXef4VRI=; b=G54I37INf1ybhohmDMw+RR/co/a/NbKNo28ojOUqE2NhdT5wsIdZUyrClCRGsLAzBb2MqaZOVjW2aEye/sNIARmhIvZ9nlXoLSJR+StUfMVQ93HOz1Ma4uiy5dAgE8g5yn8M8gMWUZkejrNNNN5iM+fSpBrgsmcOdQQS8TDZ7sI= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM6PR04MB4213.eurprd04.prod.outlook.com (2603:10a6:209:4a::21) by DBBPR04MB7755.eurprd04.prod.outlook.com (2603:10a6:10:1e7::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.28; Fri, 28 Oct 2022 08:28:32 +0000 Received: from AM6PR04MB4213.eurprd04.prod.outlook.com ([fe80::1991:3060:d022:a541]) by AM6PR04MB4213.eurprd04.prod.outlook.com ([fe80::1991:3060:d022:a541%4]) with mapi id 15.20.5746.021; Fri, 28 Oct 2022 08:28:32 +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 Cc: Chancel Liu Subject: [PATCH 2/3] ASoC: fsl_micfil: Add support for i.MX93 platform Date: Fri, 28 Oct 2022 16:27:49 +0800 Message-Id: <20221028082750.991822-3-chancel.liu@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221028082750.991822-1-chancel.liu@nxp.com> References: <20221028082750.991822-1-chancel.liu@nxp.com> X-ClientProxiedBy: SG2PR04CA0210.apcprd04.prod.outlook.com (2603:1096:4:187::7) To AM6PR04MB4213.eurprd04.prod.outlook.com (2603:10a6:209:4a::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM6PR04MB4213:EE_|DBBPR04MB7755:EE_ X-MS-Office365-Filtering-Correlation-Id: 3b26c7bf-1b72-4fa0-19c4-08dab8be65aa X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: z/YZx7ariVB+4WHd8pms2be4LhaF8J8PML9A58yMStapS1860m38+18J5n70KrtV/Bu/GfYkP2cLLwofWaEO1V/71IldPc7pcccs+MBsOzsKIgkMwHdlbTmGQgG/0muJGjzLRo4hgB1scJkheVwb18dPpTNeDZCDOkGXPTahkxzgDDxfFeYZyEY16P98fxiyAAO+bW91e7xHQVFM6gK3/O+XPDJjTOxWZrDTVnM1iM/5D2hWBu1i605m11EcW+DgG6U612AYiXee3A7GwB6mEv6qgW4nGT+ZCCgmX9M+T4/aoYGqJ+cq0IrhpLerXLHJayq23SI+51ZSGeZY/jROSCoXonRNNYrpud0H2GTYxfVtUCmD5bSg4Q4ro226xVaSDxf9wz425QmRAp/gS5ed4CLX7DVZzhJOvJEz2L7jVUsI7HnxivxphRnauBKRH2tta8COYjISW51qpJcYmvSbqYhn1gbjZ8AxMzjB3gdh8cNKUoVwV7BPD73VKZLzDO29RzTXID0gZB+9PPpJEHpLuMwdBAgFEiVCflPfkweRpkUhIgfE0IyeybuoOuaLsD55glYEhNMv/SfkVIs3OwAMsSx5jOGMxvNyiLeuDNxVXdz6N/F5xA6GQe3hi0E3RDx9DkNZSdAIbTNvMyQ+yYZtMXwBZazu0Td6eBQ3Ex8WsZRUaKsIHT9FpeAsWSpTte2ojwkWPCKdRfLAEnCHlHDftwU/2a/hnD3ZVjLsR0+O1ORH9Daoaeem6cBLhPwRJW0z9MwJlVJoMPF/neoTltoj1UBMs1yCIwoluhH7uahTrmg= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM6PR04MB4213.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(396003)(39860400002)(376002)(366004)(346002)(136003)(451199015)(44832011)(66946007)(7416002)(38100700002)(4326008)(2906002)(66556008)(316002)(4744005)(8936002)(41300700001)(66476007)(5660300002)(478600001)(8676002)(921005)(36756003)(38350700002)(6506007)(6486002)(2616005)(26005)(52116002)(6666004)(1076003)(186003)(6512007)(86362001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: EwEZ+CSJuezH7lXn4frqejqDv3aB2mfHgMzj87rDUVixG0Sk9lO3iEdCxmvNJqrEQpwyzzgdMzi4RoH8KflVEi+SMrG5l23jkZ3vED3RseUKUdhszlXi04/f969wUEbL5ltP7vQTdwKrb9vq97FWx+CHlLFRKQKx3oMknlIZe+5Z6GoTS6mnBh7VIqw6cvCQ18W1u77PT9PWJYjyHBVHJbozO5xemqsBLZhS9LuSrkTRx1n56oVNoi+b641xUU88ag9wGm9ZYHDFDyXENV37UarvwbFbP7LuilSWJQn+2HcCt91xx4T/hj6MNUQAvRmMt7u7s3iK9WTr4RMZogHhJ7uks5YhXphCsPgque/FuwIOkLeWdPPJNzolg8tvbw931Wd0nMxOln9Bg1HWpwV5xTL6+x+l8dgHMQnxYQ038GDdhd9x/Fgkq5J+fSrk7RTrJgsmmBuVhSZDu3t2G7O43Zk+5HPBpHc8pNEdeen2K7zc1aVuhvIzSxGOcUpBVEzef6DFGYf5DpE6CHkkv9YFgTcu7WOZEWjRmSejX8U7Xe3zS1QTfYK1uFyc2HH0bRSkjGRaGFty32vkmQi4dohnUc/ygsbcSbpu69OGWkYFTyYH6fLL/I1qEjUg00DOgKQT6WUTafZZuKZh0z2K6SZu5baZF0p6e9cJHajup/PCIa4rgl37zwAgHLrCSDJW8SodgQiILEblz5cqQaGEGd+mv/SmO35eMlZ4VicI7fxy6T2BfQgNpdn6xBSrv9Iwlvu3b/A/OgRU+eJlUWWytaOU+0pZkAZH7Lc+q6BvuxVtyeW5iWRRX+iBBD+4+qbW9XAc64P874tdoyiX+ELgX7UO7V8LL/aW/snd6Jl9qjWn4K/VsAmvVch4QzXIBDDARKoPa8DfOApJETdZewDticNVqqlMguchKOMaJE6uv8XO+67/STctpSwGKofwiKWR6qQsW8et7HPgBKLLNT0ji25nF4rS00lrj76mJp8mnkmTKJGRHY/005bC8TMoQ2DL96xzd+5KNoYn+h1IV1P21CU5zARBxmuwsieUJuiiC13XnUBjKbOpE+kttO6NrDjLutT5DJVxXaQ/m3QoA8E1crHW9CuhTw8VFVPZNi044mRKJUSgQrCtPxEHvc5lLVWXJVtAgBf/YJxMPoK35+MYs2dMR13o5wsNcbtFvIdXX+uCG4udJUhh7pxzHjsuSrlVC1BoTE2p+v/dmniQDmWNqoz4LXxfyf/Rh+5MCPXYPloX12mXpIsVyRo79DsLjGvkH6fAzHWnfx/q4vYQL2qiHzKZp/X3Ac1D6WcvTg7mMwoGJgXRhPPLRUCK5Jvh2E8PpFtxxt007zx2MJtft9IYHghbToiWfYrqV3Uu2hkAFXpRAlU7OS4k7yXd3whPi4jOc71sZJX0/3XrUHOIFjVOhhavlHkRIgGjjsC9cdeezLzE7IUxZHuQu7tsLddpgc2yTsTvM5rT4LUeY04ADP3ZCbaLuDyMVAKqq0A/h+E7/DNfLHUJ2g9aiBTLhBajO+J+vPVGJgowAz9p0WUe9joXRL8kRYqnMlrcP25Sbx2TS15lfeKtZVk8d6msGOubSK23QghY X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3b26c7bf-1b72-4fa0-19c4-08dab8be65aa X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB4213.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Oct 2022 08:28:31.9977 (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: SHmNhRjKIVGzxVZtxKvqyKfGo6UEHlInJmBV+UfXkE7mHtADAtA6n2amuaYckwWLxBNruiijQhW3PgRE02fH3g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7755 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747920549298107378?= X-GMAIL-MSGID: =?utf-8?q?1747920549298107378?= Add compatible string and specific soc data to support MICFIL on i.MX93 platform. Signed-off-by: Chancel Liu --- sound/soc/fsl/fsl_micfil.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/sound/soc/fsl/fsl_micfil.c b/sound/soc/fsl/fsl_micfil.c index eeaa75fb9196..b8a9504441df 100644 --- a/sound/soc/fsl/fsl_micfil.c +++ b/sound/soc/fsl/fsl_micfil.c @@ -82,9 +82,18 @@ static struct fsl_micfil_soc_data fsl_micfil_imx8mp = { .formats = SNDRV_PCM_FMTBIT_S32_LE, }; +static struct fsl_micfil_soc_data fsl_micfil_imx93 = { + .imx = true, + .fifos = 8, + .fifo_depth = 32, + .dataline = 0xf, + .formats = SNDRV_PCM_FMTBIT_S32_LE, +}; + static const struct of_device_id fsl_micfil_dt_ids[] = { { .compatible = "fsl,imx8mm-micfil", .data = &fsl_micfil_imx8mm }, { .compatible = "fsl,imx8mp-micfil", .data = &fsl_micfil_imx8mp }, + { .compatible = "fsl,imx93-micfil", .data = &fsl_micfil_imx93 }, {} }; MODULE_DEVICE_TABLE(of, fsl_micfil_dt_ids); From patchwork Fri Oct 28 08:27:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chancel Liu X-Patchwork-Id: 12158 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp709928wru; Fri, 28 Oct 2022 02:03:49 -0700 (PDT) X-Google-Smtp-Source: AMsMyM74D6t6sAccOP12AQd8ISHFsh+qYjOeiL0U3qPtZe98/34i3ECmKY13mApMHY0xqdoREHCL X-Received: by 2002:a17:907:948f:b0:7a7:6425:7d1b with SMTP id dm15-20020a170907948f00b007a764257d1bmr23813353ejc.165.1666947829640; Fri, 28 Oct 2022 02:03:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666947829; cv=pass; d=google.com; s=arc-20160816; b=htOhwh5XhOenaNhB4vaQSPR8jV4SWPEXeOkKxJFfa27sSpAw8CxrGgmb1ru+eC1ANx jKR4CzOryjlTof6c8LWPGv737Qh62UqsPe7UyfaxH5YIkxJWjCRPzYwY22wPk6uOaZv+ 8Q7LUeVo+Kc/KaHvLPUG3hIUl1XWv3UjXMmGGd3lX0c9u7bgmo4H6V6QrjVRaia8JoPq KwP7EugHbHRG0k34BimFTjaw55hh0nlu9LU5S1/QLViemZ/JDYAn3rHvmyTefxOcfY3X Vvrjv5DkoOqBaKPSaFvrSUuCDjcP6RsMEijgWBumAr7Zd3FW9g37+ZpwBQLg7PLL0zcq PZng== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=bG25X3TBSZ6y14VSB3Ru83bnz6KcYCxEkoykgD8sPuc=; b=mOJXAcy42rtkXunDRZApiqkK4vYZ5288s81+2eNLb/a5nQ6hGzIja3+LTtgoBLvtSV CujKE4AlsTWRjT5UvJ7qr01d2OoLWw6qe7xHeTEFpJWN+oCWyLbPFT5Mp7GFyJUKMR6f s1dcxV7xuDLXw/NpsxcI+Gr1Pt2FnZ6ZvFbSditR4STbmdxBj70EtdcbQyRvNfJAQfsj 5FzQwKN7HPa1anurXkcT2lBKAqeXtZtcILngwONff1BoytqI1Ufw0CplJEztPbYqAJDB 3tmlhpLwl0Wmo2UpI7Y/0dgwPM+9o0E3F3hki0SbFR4EDKIaTPvWVX8LOUkUBS5KLPhM qk+Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=gtaj0VMo; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id du9-20020a17090772c900b00782ece08669si4076923ejc.13.2022.10.28.02.03.26; Fri, 28 Oct 2022 02:03:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=gtaj0VMo; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229880AbiJ1I2x (ORCPT + 99 others); Fri, 28 Oct 2022 04:28:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50140 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230064AbiJ1I2s (ORCPT ); Fri, 28 Oct 2022 04:28:48 -0400 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60068.outbound.protection.outlook.com [40.107.6.68]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F23A81C4910; Fri, 28 Oct 2022 01:28:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GCr377OGilpmaJia824H4Y+mzXtFngxQ3nN0nV/IQOmBSEZ2K0u5TA4V5TWjkqUlwft2x4Uz8RH3hkJSL0TGbpIHbqEkwYLHsD2ej4y52M+bOc2MjBjCrJaq/k6J5BiN+OPajSPQmUsx/6aqoYaksAIqG8Wa9Gzw0GeH0FSIWD2EzNuQkcBm4mfBM2zEwXwxRy8qRWbKm2hWqtfgr36v4IZiiwx0y2Flx57aZ56N8txu94Vdg+WwsGlxCJ0HxlSI0ptudV2z7PlSpZ1cwxkfLoGYdutBx77sxua7E0I/duUa9xQGYg2bTsv2qpefzFIEaY5BBJTd4+lw+H87kZh4zQ== 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=bG25X3TBSZ6y14VSB3Ru83bnz6KcYCxEkoykgD8sPuc=; b=JthegQQmRC6LxNInhR2xWcFX4z1waEYNwEwV2vVb6R2G2nFvd38wukkEBbOzByWGOjbKgCIIPMGv6Wn0f9R2qyKyUPtMjg+Ib82v8c0hqx18K9N7hnUz2jgkRy/wmGLwZ2x70gQHcYZPBMscud4N2wxHSL+gssv2smt7Hkzf3vr2CF03Ri1TCNtqf4n5njT7ppudPYr/GpBeBYBdJxOjPyobH6o5x2c8BVTe/n/VNxRhArWd8jcTL6TyfBFCQxatEhGzWUG0aGDckYbv6e6EAOkfH7UIHBU7Bq1DVlBTfTSfak0IQvIR4FUHo5bUKDq3EPrXL00hlDiG2saifIvjHA== 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=bG25X3TBSZ6y14VSB3Ru83bnz6KcYCxEkoykgD8sPuc=; b=gtaj0VMofBoSvgY2tXz/h78wyJOZzKzzPxjiAJ91H4yBKMyI6rNE88s3WJzzEhddKWmYCx9jQHKLmoyLX3nawMtJgUDQ52Fzshb5qVqkCc4BnKWwcwFEFoA1SMoT/dhBL/6h2M4hmHqDlcXiDMPqYZT7ua3k1RAjSmcJzQ4PE5o= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM6PR04MB4213.eurprd04.prod.outlook.com (2603:10a6:209:4a::21) by DBBPR04MB7755.eurprd04.prod.outlook.com (2603:10a6:10:1e7::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.28; Fri, 28 Oct 2022 08:28:40 +0000 Received: from AM6PR04MB4213.eurprd04.prod.outlook.com ([fe80::1991:3060:d022:a541]) by AM6PR04MB4213.eurprd04.prod.outlook.com ([fe80::1991:3060:d022:a541%4]) with mapi id 15.20.5746.021; Fri, 28 Oct 2022 08:28:40 +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 Cc: Chancel Liu Subject: [PATCH 3/3] ASoC: fsl_micfil: Add support when using eDMA Date: Fri, 28 Oct 2022 16:27:50 +0800 Message-Id: <20221028082750.991822-4-chancel.liu@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221028082750.991822-1-chancel.liu@nxp.com> References: <20221028082750.991822-1-chancel.liu@nxp.com> X-ClientProxiedBy: SG2PR04CA0210.apcprd04.prod.outlook.com (2603:1096:4:187::7) To AM6PR04MB4213.eurprd04.prod.outlook.com (2603:10a6:209:4a::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM6PR04MB4213:EE_|DBBPR04MB7755:EE_ X-MS-Office365-Filtering-Correlation-Id: b05104df-1d8f-4593-73c3-08dab8be6ab1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 1edV7p4dFbHom1YSQ+awu/9on4pEpH6VyROJzx20c26CYb8IT2R7okH9RFt31ICcDAqxR82uaKwmqn1WMTikiWwBDgrZKiyvMckJxFxoYDJriBXSLN+qQYIobxD/ZoEsdUnrskvgcxvL1hPRxO6DIPnj8ZIfig8PHtk1fmVOAUByEbq/mumfm4PuOgD8LGKBqVJrMH0fLmHMjZjwSu4XDjmPV2Ln5qYOUsjtNZfYSYD6LjRta4uQilK8+tOZCytdsarmNzclO8tlUx5KivaCDEgCKrmmeVJzxUXnadjL9lPbswPVQXEmYJ0gefo9yfR9CXwyMjcQ/A5sdy4BjOQ5L1hrOnz9eP6l+CDNbVIb45AvUFxQV/N6qwTh3VbSwb21a+CDm5YG4SR49fZ+dec6nuwUVtiBWYaS225P2h3PiJuhzm1hhCyM+qBrUI8RuwlaV6FiS5+D7S7i32xIu8iUbFidZjoTDZOBek66Y469gVm/QM+LW0tyroJHQtzQvOvRemMTcDXVTrM+9qe6SWuEb0yYfO2oBwdwj0/LMJ4y7iI8BxDxPTMqlnFu/cp6I4K6f553w9CN/hlVfVQUSiQ9AGuK+r7u+UDsCN49V8boFxsePCq0e+G3ib8ed/Ud29OaglH5PCPaq2KonS26owf+RshNKNID+eyfogpGCQJqHSj9mECBi2FAk0vqFv401Pj8BgIjLVzwclOnKfwPk/fTOeQc+RbuWGGN6QnZt/cHdNDP6cvO+aQzVhOoNut+By3M85bjhzGa8NTR6QX97gDmb609dyzf1AwbHtAdoWsUcOo= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM6PR04MB4213.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(396003)(39860400002)(376002)(366004)(346002)(136003)(451199015)(44832011)(66946007)(7416002)(38100700002)(4326008)(2906002)(66556008)(316002)(8936002)(41300700001)(66476007)(5660300002)(478600001)(8676002)(921005)(36756003)(38350700002)(6506007)(6486002)(2616005)(26005)(52116002)(6666004)(1076003)(186003)(6512007)(86362001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 3XKWK6PWRAEQoXhimgT7lxRJhvwiG70wuISezaw+qLrfiuBNNcxbJF63G49JKh4kaQ9A39jlOJUMPA7Jb97ltIDe1yTp3w+Pxlns+BIEzyFKTfrzNB6uLbWMWQz+EHPWnKm7Z1G6DabGWePQg9HQoh+CU3P4IZtjylApXx7/eYgL+DqxlOilqzvadnM4rIYcgnTsqj+LT2vPxPxerwTik3dcyGXFmF9huJee7mR8kIudoUSJTh27nNnLCKkE/CYcEghPLKHynHjfqxlVq3K3VUh7h52SjB8ZM5PLDZ2l6alAFu9OpZp0wRMIqbJT97ZGR8VeEvsApdL9aEYxpf0wXMUQsl+YV1jhJXOHs/gEZ2oAxup7LtVPbgeEIzVqrwUfjn43gDMCHARypclN0nQI/WI7jNnDVlyl71G0fefsjq4Xge8SpEDb+PkZfLrb1ly+9gy37VcJG+xVRVPeImiO1fx1a4yZvLcTGPNDyW1sYS+FkfFwwzGVtHLbTY9XUp2shnALMD31AM2a/cGKc2jTU+PfAp8Q5yMe5OUD67skxetG9ewMP4tVn2zhSjp/UkxDqNFBhcuEuXPjPjTVOVNb7SyhTl9nx2Dg97VmtqsWBCk4wLf8aTWTVxJ4VVkMlCGEgHs13V32xhIs9DVQ5FiduZSaz+E3f0JX9UGHiicRAxR/bSF6tSOe6w01D+hYTbMVOgL3+bhFG4dYQhHMsu2UQE1f99COYWwAFYqVPVHBER4e8HWyN2197cYiVhzOMiO3MI9xcTnqPNghCFaZr8yumqTIv1zOEh3PuahPotwLQJuqj/TZHpnNOuciMiql4/DfBR33/pC5vBFGTY3beNJEMvvXlf3Tzotm2YzB8fALISyJ5/LSScNkQtehJt0515slJw25yFkR5IRakdiUtCno06Wz9UjKguBMznzSI41IgqPjgoETLqNI3ShXTofKDM8sgulyQ5jmSG7V9Yt+WD3ZZUnMugDy/0tFs/C/oV9vguSBpp+QAyoBsBdSJ64GFrOSL1i4R+OCwdWIhyuJ3ywiRue1zr8VNzGNKamduz1r9QSVZY1CXIB3bTF488SQ2sWDElrHH1n9aCSHjBP8ft/QYAUeE2O/GJ35sM8D86rI631NDgLzCi2VasMCAfbCt9FJR5rIrK3orp5VomEzEV8MXB+EOnKqKeOrrFaYP77n6Dcvx71aUZTzgfHJJh5pClNvk7lrzsEsjpHKMxnqUjEfq3RK26Sh+FMi1uvwyouc3+592oocudyEe+4l5J5TOwcR5DqJvXtnlcrP4P16MUALv8ux0bhXdB0KJidZ9i6fUQxill3Ea8cMsdwuteSBrCoh0vjdoK9CEOjUs9kU7zXr00k03FAAhVndWy4M+bmZyhd7Ma6TIq4E6iP78f7T8jE8Y/LrVxkLboFLgIySWTnKSJMRKcqpIC/UjA9dtIO8OFL+e3FFcu6eIC3JCO8MPdovsDxws4yigkFy4esTZs8Q2ZBtRSixkrecogWCENX4kJG/7SzxH5X4BJJIpoEe+BBeXwI6/wAUjYyKpnQvUsMn3KlF3cpD1DvLTw9vR0SnrQ0xQwBpybQ61NnvGacGoY+g X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: b05104df-1d8f-4593-73c3-08dab8be6ab1 X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB4213.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Oct 2022 08:28:40.4345 (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: 4iUvFlCxbxgB6SGSV3z5DumEOsJ9JVWj63MVCt/gCYdduMuYEgULPeqFO4ybPZBw8cAgeJ8eIAwyrZjsIoFTew== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7755 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747921487029461352?= X-GMAIL-MSGID: =?utf-8?q?1747921487029461352?= On i.MX93 platform MICFIL uses eDMA. The maxburst should be set to the number of channels in eDMA multiple FIFO mode. Signed-off-by: Chancel Liu --- sound/soc/fsl/fsl_micfil.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sound/soc/fsl/fsl_micfil.c b/sound/soc/fsl/fsl_micfil.c index b8a9504441df..22e75c14cac4 100644 --- a/sound/soc/fsl/fsl_micfil.c +++ b/sound/soc/fsl/fsl_micfil.c @@ -63,6 +63,7 @@ struct fsl_micfil_soc_data { unsigned int fifo_depth; unsigned int dataline; bool imx; + bool use_edma; u64 formats; }; @@ -88,6 +89,7 @@ static struct fsl_micfil_soc_data fsl_micfil_imx93 = { .fifo_depth = 32, .dataline = 0xf, .formats = SNDRV_PCM_FMTBIT_S32_LE, + .use_edma = true, }; static const struct of_device_id fsl_micfil_dt_ids[] = { @@ -690,6 +692,8 @@ static int fsl_micfil_hw_params(struct snd_pcm_substream *substream, micfil->sdmacfg.n_fifos_src = channels; micfil->sdmacfg.sw_done = true; micfil->dma_params_rx.maxburst = channels * MICFIL_DMA_MAXBURST_RX; + if (micfil->soc->use_edma) + micfil->dma_params_rx.maxburst = channels; return 0; }