From patchwork Wed Jan 4 02:39:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chancel Liu X-Patchwork-Id: 13088153 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 59A87C3DA7D for ; Wed, 4 Jan 2023 02:41:18 +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 E97C1813E; Wed, 4 Jan 2023 03:40:25 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz E97C1813E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1672800076; bh=22I17rGYHoNL0tmXJwBEu/g13Fn7rmXCV31goTCfldg=; h=From:To:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:Cc:From; b=WazoI2WPJNNwuVypFu6ki5Vb/Brag7B9dl2fBRugA6R02EgwpmtKKVi7OD+HJAa/0 DghRLs2c2BwNkuUxmBHRMxO9OXpN4NqW+ynwZQ7cMSGlQQdWN/L11l74pgELWfovHm baluSYs5eo2cZe0G/Pg2thEfI6yWZSoCshHB/96c= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id A29E0F804AD; Wed, 4 Jan 2023 03:40:25 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id A1F0DF803DC; Wed, 4 Jan 2023 03:40:23 +0100 (CET) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on2075.outbound.protection.outlook.com [40.107.8.75]) (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 C61DCF800F8 for ; Wed, 4 Jan 2023 03:40:18 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz C61DCF800F8 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=CqkVkEZE ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ln93VpYJFz9lAb5pxwuqPcBjrSA7TeCHwzhx0rAmhBHc8hm32YhJz5ERRadd484Vfi7Rxbg54WRC6TvB/FfPYnYyz/bOw279DuvZ0keEgulWYoZUF+clteyNYmagydP6EKU9Aw42Q664Wu7MOGTr3DPBxzWr0pCqclrPVRwB3WctwjoRY4fb3oPzK/IPX8mUKp2ad08Eb7uHCDYDWaxSP57HfIy8jc9C2INmVWMYFEE7hxZJNp+hzsIOnkMwCDUeBbId5lPgb3JQd1fNPI8EijVRaVnSceWQNXbovww6DQPzNkpKxcxniChDfXElkXUPGsiY9mBaLFfjXLbxuHme1g== 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=Ecz1DOuoXbE2KxMJDCdectVG4sqvW7DcO7SyvZ7ogVdlxOHn8+yGWdIflNz5E1T7Zua+WkqokoQlRVw3iUlGgUJAzj3FpFLqqsRmXpV3dcI7+ydnU3Z1Gn+TqRhQibGqECv98nMflsfkqoeQdsZHhnLAEKCmDUWm4X40q3sWyViEIRO3OgW0gsAO1srLWuMpGb+pl0vm8kSe9eWu/Wj7MA+VPgQoRZohXKmKWnFGe3fCnX+Pv4fDz2o94Mu9mpfMI1vUji5CNl/ptxqMXulakujXyrWzFru4NZEZKLPsIV3qxDZgDSOBMvIAGlNF9Y3nEUYYHcHLf7WmVhHq9qTgKg== 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=CqkVkEZE7d9jYQNUHqnmS2Q9IRJBa5mh9a8iiuqpE2SU2BAqnug362/y0jIUIVZ+dGhqIWjJA79KnrQpBifWqLh6h0vOGGhZU9syHGBrL1TkdYeqwzERn9eelHBCecimOW+sJ2HX4JDA6G3w1e+e0sV9JIiCzoBL0tyzWvTC6es= 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 PAXPR04MB8491.eurprd04.prod.outlook.com (2603:10a6:102:1df::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.19; Wed, 4 Jan 2023 02:40:16 +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.018; Wed, 4 Jan 2023 02:40:16 +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: [RESEND v2 0/3] Add support for XCVR on i.MX93 platform Date: Wed, 4 Jan 2023 10:39:50 +0800 Message-Id: <20230104023953.2973362-1-chancel.liu@nxp.com> X-Mailer: git-send-email 2.25.1 X-ClientProxiedBy: SG2PR02CA0130.apcprd02.prod.outlook.com (2603:1096:4:188::8) To AM0PR04MB4211.eurprd04.prod.outlook.com (2603:10a6:208:5b::30) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM0PR04MB4211:EE_|PAXPR04MB8491:EE_ X-MS-Office365-Filtering-Correlation-Id: 393263b4-e9d9-46fe-7566-08daedfd0333 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 0QsQid15Gm+d7hCWPY8Tb+SqbRfxnrSFKA3Css+2xDNcRAhdA5FveonmLE1Z0g5Pguc1na71ktDxF3teZ4q+WGt1UDdjhXSDcnXeLMVq9lICBuTemk2vNT5HcbiJc3OXL3HeVXtQfW7pkJZD0FRaGtEytOGJdq2ttT1xHCRYZxaPzInhEHD1r6AbQRDnqxcGtJr/Jg+Qh1KDkxOLeOYq+Z76ESc/4hfmfnGrJXDAY7BwaW4xW30F+ECpH/1ilJxfGg9h7o8Xcdm9x4upxLcToDiKu2VdOl8g4Aklk+nLl0R8OskyJqj2YNzZKBap6sFoaHcjAmXyLCOgZYhiNAlrpgikQ35X7S6Hob0TgKb4QbKZEbgq3XU+msm72q0J3GoMj0FgvqXsVEK+rFH14izuVK1+9kkCVgCInmzi0P0L48dtjfZsghEDr9T1qfSmlLsyZNhPDuD6KcH7wVwwwM076VKtlRA8qGBu8eDPtNFJ/2AhByb0sI3b5PZGX2jrBOM7jhzhEZIYA7VCNmV0N97W1XwZ/1LzilXm2mK0rnVWE1MpxEOXOYD7nJtwcc7Jh4TyimpXJlFPVN8SPsj5OwT/1K+qoz97TGTeMguDWbY4qV6NzgYasoA9ZKQd5X+WWnI/4iApkiqaEsyA2KoYboyBaL+sdjEt4mKkqwwF8uSJLfkxLW5RM7PBHswXVbpuq4F8G9VjGWZkRkqJo0Yr/WmDK4yxYqp3glPmN6aIiqo7DlA= 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)(136003)(39860400002)(376002)(346002)(366004)(396003)(451199015)(8936002)(7416002)(41300700001)(8676002)(4326008)(66476007)(5660300002)(66946007)(66556008)(44832011)(316002)(2906002)(6506007)(52116002)(6512007)(6486002)(26005)(186003)(478600001)(6666004)(86362001)(1076003)(2616005)(83380400001)(921005)(38350700002)(38100700002)(36756003)(4744005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: vGeyugmnqP8R22Abu3PuSAB5IhuvyUpD5RYy4bI+lWlSmS+rXu1XeRMQrBnmgsF9ZSFQnbQ6RSxSBYMpqPWQHDkadBXnMJZaZZsShn1BF4Cj5AeHZF7RFSjDwp/hxS00PAncAzb3LikpSQxPAYfMXtAF51UKgVs36LvfY8xuux09GrnsUdBqh9pqevL7+XAFfh4lwYKItD80dSfcQYGtEGBpW+BaDgPFdoKBzABZIhlgsNE5qICRRid7znE7G9jZfv83JbacqW/JRTSNgoRzPqmPDgz3mXEARE3ahQM/jD56B22/mASrZMC7hYMnvxmbnEi4EvGppNZ0+4ALaPQldRvNkITqiZePZF/jW+CY9lZ6OHOArZcDHJo2ziG1EsSou0+i9A9jNZ4SqxL6KoIxk3F7SzOb16iRwFQ7Aaatydj0LOOVq6CQxOqzQ6lKqgRP5DajDc7qfbUFTaZexQRzY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OtcGh6l0fAcf7VLJ8VocWgAfI0B3vQZYXVkD4Ti X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 393263b4-e9d9-46fe-7566-08daedfd0333 X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB4211.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jan 2023 02:40:16.6309 (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: pvJXmnlYAkslpPivywMcPwBDRbPCei4KA6NgIgLMHZvOpFlZNKutfCorEP6lzcOYd/spMo6k5xzcpBZNA/CwgQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8491 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