Message ID | 20221021165207.13220-1-srinivas.kandagatla@linaro.org |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4242:0:0:0:0:0 with SMTP id s2csp805404wrr; Fri, 21 Oct 2022 10:01:57 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4kt3yqQVnnLIHQNNoZs1cAGU0XwEvbhYZ3e+EdfML4d+0VyCslix1kzBQjqXiMJL1AhnkU X-Received: by 2002:a05:6a00:88f:b0:530:dec:81fd with SMTP id q15-20020a056a00088f00b005300dec81fdmr20435008pfj.64.1666371707382; Fri, 21 Oct 2022 10:01:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666371707; cv=none; d=google.com; s=arc-20160816; b=LfAYBTQbtRTr7kmhOgjUV18Lqf/PAqfh5w7S3zXVC2GdPTeLt7All5SAgzAIGL9Kxq N/2MrRaMdRi8ltjLp2Vlk1U7y7AHDmsgJVTofwsEgwSnpKnx5/Qds8XsleaedjW9ZVqP hM6ztho4x99ABEDWakhVW1tDdDo3ScMZPo2GiY8LwpXTE/ohK8CR1RNuXHYKJEPcEXbU a+dZAnF0qtWON8mgOXU1sB4MkZ3kMYhjunCwJVbA8rWkbHXzhV25u4nK5rHGcdAPX2F3 a7VqohUOjJZtLkZKtVcjISyQ4ek5r04Mb/8TcY12NAPlyGE8KfYVJcXHxK9ZD9P0j7Jb qElw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=x9OiCeTYd5uwtgxnfokq334VISJqPFOEG4jCoBXmUcQ=; b=diS2N/ngTdQ4/UxI1M7DIIGFYeRJYQ+C84aFHbOi6nlMRg+fKDDqqSvLpZZqpWYMDa PO4pQC/R38eWX0G6RnN1VQyc/G6+z9E3XkutHeRO5DwTuxUAbX+B43JX+ycEOnvuH44U itfczeVQnFtwGvDPRxQsD781XiKvNerifypA+PkIdqBGcuI8M360rWOHyY9DqThdVC7/ Nn1jxVsGsT0/I30LN9ezOjLcTM7bkPkeRYQXal1a6PyJ1unguff4gMCZUoJkghId8ZrA O/eB6mia4edMYBD1g2XhLl61wNZTtsha1UhRNLa+7kxPwEq7IRWJjZFiY8WIJHV0IGvf AYOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=H6yqD+bC; 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=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p12-20020a170902ebcc00b0017f57787a5dsi24960884plg.223.2022.10.21.10.01.19; Fri, 21 Oct 2022 10:01:47 -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=@linaro.org header.s=google header.b=H6yqD+bC; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230308AbiJUQxX (ORCPT <rfc822;mntrajkot1@gmail.com> + 99 others); Fri, 21 Oct 2022 12:53:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50922 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230371AbiJUQxQ (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 21 Oct 2022 12:53:16 -0400 Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E293A28B1E3 for <linux-kernel@vger.kernel.org>; Fri, 21 Oct 2022 09:53:07 -0700 (PDT) Received: by mail-wr1-x433.google.com with SMTP id w18so5879169wro.7 for <linux-kernel@vger.kernel.org>; Fri, 21 Oct 2022 09:53:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=x9OiCeTYd5uwtgxnfokq334VISJqPFOEG4jCoBXmUcQ=; b=H6yqD+bCUnAKFwa4WuP5unnQpoopWMDnHs8K1A07/c9lDLBtLdzHe8NWGiO5lstJlb nVBZrpavBodHSeQL9ZniCsWcLYadN6wDTqM9MR9TTksZNNC4WgEwAEDaTfnUuBj8A9Qd 3XA2l8Js5uUI3r8emrqWttrx62/rCSAkM21InLKAeWafOAlFEleo24qBCKWVMszeDxmU hTEGvQC7BrQR69IVt6TWtlKCtRWY6kMTtaFJcgn4uawgYisv+2vkJRpGt3rI8irSdoVq Coq2dNYrP1sv+jwnaJtrl39a8YCuxqgKvUBJ7TfDW9ZTJrMAsIEzv7VhQmwGZ3Zyvkqr J/kA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=x9OiCeTYd5uwtgxnfokq334VISJqPFOEG4jCoBXmUcQ=; b=kK6Fvc5tuijmJjucKJzSRQZl1DiqmY82yJUF7zPlNAatj5PkA4+4++MXMn3Cjm7IT6 wVRgiErj0qZBZmZdr7LnzdCk1AToAMC0UefKkZ/LH0kZS8mltavtXpQllzhzzwBPUVOt aOg0rJSqddqoJ5zBpvvBAusvBNMkvGqfRqkS/eHe7CqIHg2sZ1r68GXfhMNAGd5Tmy// ZQEMfxglo2zHJ9um2zH0Ti06yiGELxJKgFku8D7I+oZy2XqBZf0P0EJ5y7iSC2hkAy57 NdRN7HKArqAvW6vKkvqLBUZCAi7DaDQx/xYqYJMWInX+eF8SrL8yWbFY3nDZzafxurpE bA6Q== X-Gm-Message-State: ACrzQf3zeB2mzsSmvgWcsFnSVE0zs4otZAyj9YBC8H6QhNFil8VbNgDP QZlNxertLONX8PdxFFxa1f+CeA== X-Received: by 2002:a5d:6d89:0:b0:22e:4af7:84a5 with SMTP id l9-20020a5d6d89000000b0022e4af784a5mr13232081wrs.4.1666371182045; Fri, 21 Oct 2022 09:53:02 -0700 (PDT) Received: from localhost.localdomain ([5.133.47.210]) by smtp.gmail.com with ESMTPSA id n14-20020a5d400e000000b0022ae401e9e0sm19541773wrp.78.2022.10.21.09.53.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Oct 2022 09:53:01 -0700 (PDT) From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> To: broonie@kernel.org Cc: lgirdwood@gmail.com, bgoswami@quicinc.com, perex@perex.cz, tiwai@suse.com, linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Subject: [PATCH v2 0/9] ASoC: qdsp6: audioreach: add multi-port, SAL and MFC support Date: Fri, 21 Oct 2022 17:51:58 +0100 Message-Id: <20221021165207.13220-1-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747317379064939160?= X-GMAIL-MSGID: =?utf-8?q?1747317379064939160?= |
Series |
ASoC: qdsp6: audioreach: add multi-port, SAL and MFC support
|
|
Message
Srinivas Kandagatla
Oct. 21, 2022, 4:51 p.m. UTC
This patchset adds support to multi-port connections between AudioReach Modules which is required for sophisticated graphs like ECNS or Speaker Protection. Also as part of ECNS testing new module support for SAL and MFC are added. Tested on SM8450 with ECNS. Thanks, Srini Changes since v1: Fixed two warnings on unused and unintialized variable. Srinivas Kandagatla (9): ASoC: qdsp6: audioreach: topology use idr_alloc_u32 ASoC: qdsp6: audioreach: remove unused connection_list ASoC: qdsp6: audioreach: update dapm kcontrol private data ASoC: qdsp6: audioreach: Simplify handing FE and BE graph connections ASoC: qdsp6: audioreach: simplify module_list sz calculation ASoC: qdsp6: audioreach: add support for more port connections ASoC: qdsp6: audioreach: add support to enable SAL Module ASoC: qdsp6: audioreach: add support for MFC Module ASoC: qdsp6: audioreach: add support to enable module command include/uapi/sound/snd_ar_tokens.h | 27 +++ sound/soc/qcom/qdsp6/audioreach.c | 310 ++++++++++++++++++++--------- sound/soc/qcom/qdsp6/audioreach.h | 47 +++-- sound/soc/qcom/qdsp6/q6apm.c | 84 +------- sound/soc/qcom/qdsp6/q6apm.h | 6 +- sound/soc/qcom/qdsp6/topology.c | 243 +++++++++++++++++++--- 6 files changed, 489 insertions(+), 228 deletions(-)