Message ID | 20220930064441.2548505-7-chancel.liu@nxp.com |
---|---|
State | Accepted |
Commit | f26c1bb8a8ebe72748a3bb6f5d75079b642a33e8 |
Headers | show
Return-Path: <alsa-devel-bounces@alsa-project.org> 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 0C516C433FE for <alsa-devel@archiver.kernel.org>; Fri, 30 Sep 2022 06:48:43 +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 3714A1658; Fri, 30 Sep 2022 08:47:51 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 3714A1658 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1664520521; bh=EyquvYI6+4XIzlSz3JobW5dNx+X6qanS8Fsu2ta31KE=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=hDz8gXMgb2nY+XYOe1SAToKXiS2OF/x9M1WTNyu4McBIQ0c8Z1fxxqMt7ES8fxv5K SE1vIb6oFFND+RMX0iTdKPuVveYOB/64v/JmSK4fSJE7LDS/QJMg4OhhZwsgUe2BnC 9eKaIf7oU1LH2QTcVK1vsgvYIxG0VmlzCPr+3m/Y= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 8D674F800E8; Fri, 30 Sep 2022 08:47:16 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 9E9E0F8053C; Fri, 30 Sep 2022 08:47:15 +0200 (CEST) Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2078.outbound.protection.outlook.com [40.107.20.78]) (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 3BE45F8055C for <alsa-devel@alsa-project.org>; Fri, 30 Sep 2022 08:46:29 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 3BE45F8055C Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="hxt86oe8" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mvFATu+y5LJjbIaUbcsnljB9cl/OdStbO/7Z94A2Aac/GjEp6+4KdJ1JVotVy9WMRL9auk3nXlghiKVpIadjip7OO5T4d8VeSrqNHFwyOlkBGbA5bbMCiCynchtGtupirhTRKnjigGjsMw2iwp4Jbw38fFDnOrc7Zwsy4kiCmNYvI9wxBcmu6MXJ2yW6HxCIjzBfG2WlUX8iC5LZf+98Ynqe8pzPkEQmT7tU4Wea4MzyEU4xyXNR0nw7XljFJ7yZBRKKSRlEsbrL5nZbD0hC0bKgI/kK1kvHT+8cWoDAlguFRnRZb68KKrkkRxFQr/qwfQkn5a2h+gbwNyEq0VkLSg== 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=gHKoZ/w4g5hkrRVBGiXAnTDf8+HzWV9NMppMRUHKI9g=; b=aX//diFq2XIKd1BLhoL1ekhC5Mhgtf9zUHFgBvZ2ErrxQP1wTQ+d2n6ova1vmmEI5sR9RpJlmrdkx11Pzoy3pCGSZeg7I2qpx4JLwFtSKvl1OJ1co5ZBQGKC+Tig10CFwxsV47Y/BA5gZ36UpjmOKlu88kEY4j7n2WxNju3gtlOdvwQUP1yeDv3HhAVkByRVZrM/CuEaebiKl9+Mvsl1ITX0yr/2W/uB1GEYHA3nOWZ4Ku5txfrUsi3owTlvcdqiXK4Z7mpxAij8ndy8PLRD6PDimq44hN+xjFQ1FUwGttePvw0gKJx5hG4pOjBnvxSBzI715LtBsRNOaOXNhuTLIA== 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=gHKoZ/w4g5hkrRVBGiXAnTDf8+HzWV9NMppMRUHKI9g=; b=hxt86oe8q54/U0kZPE1CytSPEI9XjpyJfSXc4JBo9K8faWM+NWl9OmF3gNvQg1dr+DHoz/nzm7h0Fgd79UQbDvAT5p1zX0zbDGeW628/pFs8tl7c9x4Uz2gg3z7wokLDeWcbXZ86nvykQJW9P4mEbDqVh8lgxQsPEPMY19JVGlE= 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 PAXPR04MB8640.eurprd04.prod.outlook.com (2603:10a6:102:21f::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5676.23; Fri, 30 Sep 2022 06:46:28 +0000 Received: from VI1PR04MB4222.eurprd04.prod.outlook.com ([fe80::7008:1596:bb4:d904]) by VI1PR04MB4222.eurprd04.prod.outlook.com ([fe80::7008:1596:bb4:d904%4]) with mapi id 15.20.5676.023; Fri, 30 Sep 2022 06:46:28 +0000 From: Chancel Liu <chancel.liu@nxp.com> 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 v3 6/7] ASoC: fsl_rpmsg: Multi-channel support in CPU DAI driver Date: Fri, 30 Sep 2022 14:44:40 +0800 Message-Id: <20220930064441.2548505-7-chancel.liu@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220930064441.2548505-1-chancel.liu@nxp.com> References: <20220930064441.2548505-1-chancel.liu@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SG2P153CA0041.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c6::10) To VI1PR04MB4222.eurprd04.prod.outlook.com (2603:10a6:803:46::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VI1PR04MB4222:EE_|PAXPR04MB8640:EE_ X-MS-Office365-Filtering-Correlation-Id: a4e422b0-0507-4027-48e8-08daa2af8007 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: dMbDt2jdEhs37iquwcLcCCTqkwYl/34i1JYp77p9l4unXswhGKEprfxWmlqii0T51HdclNMeBpteT66jWdijO2lyCRkUou4MtLTRB/JW/S2CQu/iVu1QBHiXG0F0hLaB80UM7UH+28vn8oYLgGRp8p0DFkqK9lPPKqxsfeaPPHi7nOVCqT84kn8GQenAqViKfS/ixEm1b62LvbyUrJf9AUYrCKLQ+SSHSYUIB1NgBNjzpEMVxrpw3NseWA0BsSz8ndE75w7W5aLivHAXNB0p7eY9Zq8Ch/mv+ZRsHwaIsuYrgkjgOCi7DoOuLylRsCkDbau+qmimoidCbfa7cZQkt3JgGYWmm/2ZtrQeWtyfN3HEXHcB0JJCmVLliufGng7wqQhk1ZW8EtlsBjtFF3NAC+rqMtB9ew7yEDk8B0LcB62DpmZHH2RfDS5RcJz2vqgqB7/JEMNJPrpxYgVrv6VD4YnYtrTdbpNuHPe0AekCN+hCjtSe673I5Xn2Y68YBMBCcc6tIe1Ulxxr4x8qAxIJfxE2Uw/FvPs0NaE7VD6PnWZpeCwCA2hiMm9u9R8TApqw59ZKuOPg0dN/6sBb4qyM+Dki5X44J0DmQN3gVey3jPKeuWwf10SxIt47PpfdJOpS4fkUkAMDmdqXsSMoZmxnyRu2Sg6ekZUXTaQHF2MdHlu+Q1JEbbXvPbfOWxMtqj9FLvfw7vrxYbzYcKqnpTuTlcgu1Gzr8Iqx7AmAmviiGMGoPik8yyRqua9/TA5ZkGe5AQUopjJ9ueilFuw2DlVVaPcqDi1h/owLfxC8eKNXtKo= 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)(366004)(396003)(39860400002)(376002)(346002)(136003)(451199015)(83380400001)(7416002)(4744005)(44832011)(5660300002)(66476007)(66556008)(66946007)(316002)(6506007)(41300700001)(4326008)(52116002)(6512007)(26005)(6666004)(36756003)(8936002)(8676002)(86362001)(2906002)(2616005)(186003)(1076003)(38350700002)(38100700002)(921005)(478600001)(6486002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: rJvU6mkRPQYwbYd3nPBaclWO/maTKvL3Z1hVEXkwfKzIRbR+lyAURsLleLzR4Qp5h4PI7xzuNrTFwMKAi2cM+lzBftPxXxw0wElUhr0cCr+RVkxj3Vx2irL4H9hg9QdYqtfrF5fWfv4dekJWJO5IsL14v0GxsWd6rYGBpXzulsIak2K5wM0dYp76LmsOedHkqhvu8UiAHkBijnSaZpuFH9sY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2d0Y72jelUI8dZJTQjsvJ2VnEKuiGUjSTS2yMePd8sUMvr8u0JtxrPg5kB9anDJabCOOPLk0peyeSC3jHbWP8wzwqh49VKkzGXqZY+ynFpZ3UANKm0Dj6iUI1Z1QFsIqmIKHDStOrJmj9DveCjVD+8VOoPpHeMqjCYDgo8h4R2ZYHvurQTjgKL9nx+Rk9aqqwxnlz63Wvhiy89REAh2epQsvQRzH2Y/toItoXKGQj3LD3ILqyzCh24B4rph5PYA3eWbYN9yadiH29fuqvEkGRpKo6Q9WzL8HJxK X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a4e422b0-0507-4027-48e8-08daa2af8007 X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB4222.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Sep 2022 06:46:28.1346 (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: zHJWxY6BYjUKLLOpC/u/mWRgdpuABG6tsigzBvgSwIErB8WhA0iRSZm2jkcpdxX8TAXWRB9nNdutbGPoNwh1Kg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8640 Cc: Chancel Liu <chancel.liu@nxp.com> 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" <alsa-devel.alsa-project.org> List-Unsubscribe: <https://mailman.alsa-project.org/mailman/options/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=unsubscribe> List-Archive: <http://mailman.alsa-project.org/pipermail/alsa-devel/> List-Post: <mailto:alsa-devel@alsa-project.org> List-Help: <mailto:alsa-devel-request@alsa-project.org?subject=help> List-Subscribe: <https://mailman.alsa-project.org/mailman/listinfo/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=subscribe> Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" <alsa-devel-bounces@alsa-project.org> |
Series |
Create a new sound card to access MICFIL based on rpmsg channel
|
expand
|
diff --git a/sound/soc/fsl/fsl_rpmsg.c b/sound/soc/fsl/fsl_rpmsg.c index fde3d5006ce0..46c7868a2653 100644 --- a/sound/soc/fsl/fsl_rpmsg.c +++ b/sound/soc/fsl/fsl_rpmsg.c @@ -117,14 +117,14 @@ static struct snd_soc_dai_driver fsl_rpmsg_dai = { .playback = { .stream_name = "CPU-Playback", .channels_min = 2, - .channels_max = 2, + .channels_max = 32, .rates = SNDRV_PCM_RATE_KNOT, .formats = FSL_RPMSG_FORMATS, }, .capture = { .stream_name = "CPU-Capture", .channels_min = 2, - .channels_max = 2, + .channels_max = 32, .rates = SNDRV_PCM_RATE_KNOT, .formats = FSL_RPMSG_FORMATS, },
Some sound card based on rpmsg may support multi-channel. This patch expands the maximum channels to 32. Signed-off-by: Chancel Liu <chancel.liu@nxp.com> --- sound/soc/fsl/fsl_rpmsg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)