Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp722151rwn; Thu, 15 Sep 2022 05:40:29 -0700 (PDT) X-Google-Smtp-Source: AA6agR4DizfdsI0loq9Gq/VVOC/p2WNJis0b+dyVtfWYw2uGOdtlgrSfGPZkPxLwtKBcI2OAxPZp X-Received: by 2002:a17:907:7b94:b0:731:1b11:c241 with SMTP id ne20-20020a1709077b9400b007311b11c241mr29914181ejc.676.1663245629473; Thu, 15 Sep 2022 05:40:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663245629; cv=none; d=google.com; s=arc-20160816; b=qlGReHTPZoI5/So+7pHJ6oXxGmxPgFjPlhqZ3BDqiW5M77rfURKrPfMrldvwCQC9E+ SCPVAQhxKqDmnJjDvq6BhHTgX9DTrWQwHyF4abdK20dAA1Hj2ySZTqqPePE9ota6uYUG b1M7pAq+VtDnpxhW1S6V4Wl329GZ4vg/zJh4lORzVmMKny6ram9X6nPr6Lg/G9UF75We BNENbELpiELY0bLut9CBMRaIVZ5aVeTBnlNEjsKe91uZZY1J+GMP8sHlyOEttq17qrJG ReWxe7qT+pSCEdHXwXb2OY/igBips1GqCbK+QXoAkTCe3ycnkgworVqcYgx765zWPc9N Gl8A== 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=kbiyzXIrqqVnS3Or15etF5uykJHCKO1KdtudfrmDI3U=; b=Lv98BW/1mDaj0LSWqES8wNORJNxxtrFK/gVdehDFRTW2bkNw7Z8XOdYtzHvcn0wEUD YhZTX9FQACkKlX3RhMM6c0RduRw9qkFiaOKlnHaBix7jm2nFblOofYiPulYczgx80aC6 tzLL4mx00FMNVzh5tk0vwd4sPtAUxbSZKPPI3qyu1yB49II/YZwx/xlBhktSzvAkdXcX DLjBzSmtAkvJeYTSBKu7L2N1RK/IgHS1g1i8h6e5H5dWBFBE9hmRGeOa5QEGZfuUoZxz x+Bvxlpp3kETE/mUz4JLWOOt1GRnG+YeDVnJqMsXztevL7cd8gGkUV4aIH/mUq4x/VKu QudA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iA0FYP2u; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id js8-20020a17090797c800b007805ceb7b00si2020775ejc.444.2022.09.15.05.40.02; Thu, 15 Sep 2022 05:40:29 -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=iA0FYP2u; 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 S229822AbiIOMix (ORCPT + 99 others); Thu, 15 Sep 2022 08:38:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56186 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229612AbiIOMiv (ORCPT ); Thu, 15 Sep 2022 08:38:51 -0400 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B70D580EA3 for ; Thu, 15 Sep 2022 05:38:49 -0700 (PDT) Received: by mail-wm1-x330.google.com with SMTP id az24-20020a05600c601800b003a842e4983cso13746289wmb.0 for ; Thu, 15 Sep 2022 05:38:49 -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; bh=kbiyzXIrqqVnS3Or15etF5uykJHCKO1KdtudfrmDI3U=; b=iA0FYP2uzJZ+HGL/O25lhf8+gT/9xEuMkiR6ptAaSuYurAgUKJoi2GlBXiQSKUAF+p hZzzJb2lM7JVSh4E4n9RncjJCGh/Sq3IZMRnSekPPzXm6v6A0C2V+7UoucrHUuT30oUs G7kqul1+r7dFC6HjbQ1fQpa4uCOwJCFgrtNemj3ne4UWjzmyLLG/bakhiqMgjI4jV6oy 5z76jiwsRZNmrU3i0M+ollZj7mpsmtIcdC58n+Su9zer/wZouWmiuZZ+xEApDNwRh/Vq t7RrrX8/07LJKtAv3J72NgS21tZIMhH9FS3Au/pLQYraYGX5RK77b7bh9vwvXf64J1Sc x1tw== 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; bh=kbiyzXIrqqVnS3Or15etF5uykJHCKO1KdtudfrmDI3U=; b=7j9r4ZkgeSqk+7fHNyakYvBk0XjywlAT1flKJVDbtcWH9M+fpYa57fas9Hz1T4kxZk xJ8tY6KXc4BvuAXNS5sbs+kZ8x1pKyUkGsrYoTIoQhkY4npQG5Sn1O0ncFvlMCJfPFaX eCqps74eX2biauR7Pi7EmL0pJOmla1s7dhhWR4nb7QonFnw31ixDhOIKRKs1a7FD3hrR PMeywIsD/3pFoJ6zWrDa6D+NsWffpdpAQz16jl617wfZwrmdpsyElQp5VV7BFvvk+6+X +DamFv8d6hUucZtE6denXxuzvb1Q937sNrlnm3nefW0ut1VjsRC+WrXlvtWRwxoCebgI PEpQ== X-Gm-Message-State: ACgBeo1C6kW+rDmNlxNmbfI1L0zBhhRUXLtPNGhBWihntbUFUlQavPo/ drIcrWGOhRhyhH5LCJsTDu9fdg== X-Received: by 2002:a05:600c:19cc:b0:3b4:adca:a821 with SMTP id u12-20020a05600c19cc00b003b4adcaa821mr1715121wmq.37.1663245528107; Thu, 15 Sep 2022 05:38:48 -0700 (PDT) Received: from srini-hackbox.lan (cpc90716-aztw32-2-0-cust825.18-1.cable.virginm.net. [86.26.103.58]) by smtp.gmail.com with ESMTPSA id bg13-20020a05600c3c8d00b003a5f4fccd4asm3112559wmb.35.2022.09.15.05.38.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Sep 2022 05:38:46 -0700 (PDT) From: Srinivas Kandagatla 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 Subject: [PATCH 0/9] ASoC: qdsp6: audioreach: add multi-port, SAL and MFC support Date: Thu, 15 Sep 2022 13:38:28 +0100 Message-Id: <20220915123837.11591-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 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 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 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 | 298 ++++++++++++++++++++--------- 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 | 242 +++++++++++++++++++---- 6 files changed, 480 insertions(+), 224 deletions(-) -- 2.21.0