From patchwork Thu Dec 29 06:30:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chancel Liu X-Patchwork-Id: 13083307 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 E3DA0C4332F for ; Thu, 29 Dec 2022 06:31:31 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id C7E5C67FC; Thu, 29 Dec 2022 07:30:37 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz C7E5C67FC DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1672295487; bh=22I17rGYHoNL0tmXJwBEu/g13Fn7rmXCV31goTCfldg=; h=From:To:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:Cc:From; b=rEuao9g3U1KLLqnhN+1RZ+lFuq3GGhaKbGGdqbUB7iBX7sLdvioDASfMpmooTwkT2 FS6MeEfOa02ilmrBZdYte1zaHmUuF9U8JIGYty1sCc6dM2js5uaw3G6erIvb3CK1YH 9dDX4K2NVnYK0nNiYq5WKF2fTqm0fKZaQIsw3kd8= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 734AEF804E4; Thu, 29 Dec 2022 07:30:37 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id B8D49F804E4; Thu, 29 Dec 2022 07:30:35 +0100 (CET) Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2068.outbound.protection.outlook.com [40.107.21.68]) (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 C10E9F80246 for ; Thu, 29 Dec 2022 07:30:31 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz C10E9F80246 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key, unprotected) header.d=nxp.com header.i=@nxp.com header.a=rsa-sha256 header.s=selector2 header.b=PWHZsKfl ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GVzUpZekvkFZlglABlM9Vhjbo+8OWkqjt6wje6CkPArnhWUQElQkYECx88CUcvHaoNdNtGTic8h8CQeAiY0kUKhwTo7Cm5jgtamy0CAB1zq1rhOHoen4ektlF1LdFfvJkTndfnJVwMlpmrOUqc7wiCTTHazDwh6xNzUfIt5sJJBrUT+Z+J0m93m7b7c9fSC/ZgxxUqd9yliDuHpRjkzj+yRb8RkAr+iL2TNaHcgeNiW80iIUEbwSXqiN2yYszZhGFC+tay0VboLfYD2kBn62Y99uWkmkLhGogKlOmfh2DRA3wxkinTEwVlG7uEuJe4o8nDRG0v1ALaXxkT3HZXehvA== 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=ym0tgKsmNuNBBYjB9nx3qvF5lf/s19DQoccHtnQUM20=; b=fFagYtS9S1DzMpU33sMnT3bBJiUwq5Gxv7RpWNvzPKG7TTsMcdssmMdEMp9Hd0owdCAnxLpOf0f8QnWYA2wHPriuc6yRFJzVdYibQbHWmi7J6ah1Awnm8e8Z9/pTLSwRhTyA7y6zsIppulspl0oDAbvUhajtZqAJmOyXXxA342CICegTh7bRkvlkP9LAyAwXZ4jkMgFX/lrCkw78EXCfqxwm8PoNGa/nN2UJy1I+c3sZzxHy6MMo+PAGqj4bxqT93kG93Np5M0GUfjfRCoTHyCCrBeoeqyytTcvPw4RObIROQ8oevppzN4qM8Pc3+9ZXOwOBAXlkZJI0OvKcngkSPA== 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=ym0tgKsmNuNBBYjB9nx3qvF5lf/s19DQoccHtnQUM20=; b=PWHZsKflLbHQvXAB1+PhHN1A/94YhGLYq3eRjKekvki9aVMqN6904kNjPbkl8C9VUYPstJffpGHvd1ON8AfdQwLpTH2qtlOE0pflxLEOsmy0fT0C/IN2MW3cA656D2b1gk2i8SrYZy1waz2pOA2rpga7f5RlebmR9j5SYf6X060= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM0PR04MB4211.eurprd04.prod.outlook.com (2603:10a6:208:5b::30) by DU2PR04MB9193.eurprd04.prod.outlook.com (2603:10a6:10:2f8::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.16; Thu, 29 Dec 2022 06:30:29 +0000 Received: from AM0PR04MB4211.eurprd04.prod.outlook.com ([fe80::c1e7:eafb:408c:6ae5]) by AM0PR04MB4211.eurprd04.prod.outlook.com ([fe80::c1e7:eafb:408c:6ae5%4]) with mapi id 15.20.5944.016; Thu, 29 Dec 2022 06:30:29 +0000 From: Chancel Liu To: lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shengjiu.wang@gmail.com, Xiubo.Lee@gmail.com, festevam@gmail.com, nicoleotsuka@gmail.com, perex@perex.cz, tiwai@suse.com, devicetree@vger.kernel.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/3] Add support for XCVR on i.MX93 platform Date: Thu, 29 Dec 2022 14:30:06 +0800 Message-Id: <20221229063009.2396716-1-chancel.liu@nxp.com> X-Mailer: git-send-email 2.25.1 X-ClientProxiedBy: SG2PR02CA0017.apcprd02.prod.outlook.com (2603:1096:3:17::29) To AM0PR04MB4211.eurprd04.prod.outlook.com (2603:10a6:208:5b::30) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM0PR04MB4211:EE_|DU2PR04MB9193:EE_ X-MS-Office365-Filtering-Correlation-Id: 4a366bea-99bc-49b4-0f1f-08dae9662d94 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: stfmuq3+X2getC5D4VkwXslErprkpgUtwV7LqFDTumaWYr0Mua0/LqrAlIAY21Cay9gDyrAk9K6dO9QcudXEq7AK7r+/0ED0OZgZkf89W253TpfS31tL3fnZGM5a5Ej7chvAeKSv5bZddcpPgOcNO9IyJfa9wMaKXKMH2mBnQ/9DJTEE13F/HwSDgEay8bTC23IApFkvun4MnYRuMXebErrEyGCb6wdgX0Na1Ot3ph/72530561Mshnzpr4Nl/vHoRPukMWrHPZq5IfuqxGGXJiZVC9yKCrdH4s2TVpcjkM2Y+OuN9J7M6lHPaglAMUZHT0gEH1rBLsjYkZW4QeoFJ4oENwDejTjCChZDa43jmOfWGHtL9ljkRMPiJF22MVRpE3JmqMrehSdfpG7dNISVfZvjtSTnpMU4d8bw5s0boLIR2XWXO1sNe4yU3Qnte+Yyk2EM4MogIqawQM2Eet+y5v4+XME/vmYJ+YDHGUrhg8XFGEvXwM2u1rRP8yXjR58rkxPxDo9cnXU+OiOI8b8jdAnj3I+V23+9Aq4F5ttn3KJfKMTkLajVngpBycdhHavDVTXEHSVArZ8xVedBHkq5y2Mmfq4yKn8BnJratmyZh6XUAvo9EzgW6vAOncUG8qkA3+swOoU7aFQ0blU8a8UPgRTr+1zgCwk6VBlUSSZAss8kDdOriwE1j9EUf3Ybl5eYZVfOsknhvEs/xAqg8tWLg== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR04MB4211.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(366004)(39860400002)(346002)(136003)(396003)(376002)(451199015)(8936002)(4744005)(8676002)(66556008)(66476007)(66946007)(4326008)(44832011)(316002)(2906002)(83380400001)(7416002)(38350700002)(86362001)(6486002)(52116002)(478600001)(36756003)(6666004)(5660300002)(2616005)(38100700002)(6512007)(186003)(26005)(6506007)(921005)(41300700001)(1076003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: izbj/GOhTqUNLNFQuOcvZD9A/RWoYfTNiAodvTzpJuRm5yUANCwv58lvfiOpde+aPvqKhlt3cdZpiyzhg6uFAnoZCMjgRkjpLXbnI7m+sJh4Qi8pAYb5FYYcmNfaedh1P7nGH5g6AgOxUlXklX6GR/+NYW5jFz2dXWyW/6VCiqHHrWnd5BpqQI17BwlftUcMz3TN3roE5GXpPT4dHItNBURX0+BvBpFnRM7mY5VhbYkUNojVodQx44GTZqr2R47d9vb5Z4p0wQ4rUMIZB5kyBWGZzDkS4hURvlPyb6MCXLY/7xquBKbN9t0KL4iPkd7CsJvFYjDuc4C1luckLharU+XDwBgs1VsoFvlJgeMxJHbGWSHzqSImPF19/9cisM/cWhrC8eqjXHhz5JqMoMZhzy0rB1gP3QHglhnUH9Mnb1oyOCHL0aoC/JcPtQtXxwacJ80bkOaauAnqBmqpVaUuWJPgMRoYnzEEsqG7vtagpO7Mwxj/9UfU4JDYN3G962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lJkwvEPhhzbCU6Up6 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4a366bea-99bc-49b4-0f1f-08dae9662d94 X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB4211.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Dec 2022 06:30:29.0085 (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: XwEMcsu9aJx7QtKXFZTEK36cvb0/szC/yyhxxK2eRqrB3l05Jh8oz2glM+bekAmQbXY0SCylhROEU8CoCFpxRg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB9193 X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.29 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: , Cc: Chancel Liu Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" This patchset supports XCVR on i.MX93 platform. changes in v2: - remove unnecessary code which causes kernel test robot reporting error Chancel Liu (3): ASoC: dt-bindings: fsl,xcvr: Add compatible string for i.MX93 platform ASoC: fsl_xcvr: Add support for i.MX93 platform ASoC: fsl_xcvr: Add constraints of period size while using eDMA .../devicetree/bindings/sound/fsl,xcvr.yaml | 1 + sound/soc/fsl/fsl_xcvr.c | 155 ++++++++++++------ sound/soc/fsl/fsl_xcvr.h | 7 + 3 files changed, 115 insertions(+), 48 deletions(-) --- 2.25.1