From patchwork Wed Sep 15 13:13:28 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 512251 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5830FC433EF for ; Wed, 15 Sep 2021 13:21:30 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id CDA0F61251 for ; Wed, 15 Sep 2021 13:21:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org CDA0F61251 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-project.org 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 657ED1893; Wed, 15 Sep 2021 15:20:38 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 657ED1893 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1631712088; bh=9K+E+SK+vqoojgaPu5KBpOFt1eYjOH0PyEpX/wx2YH8=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=nygllTZHzdo8bGeS/SFZLAum9JlPjCZQK5MYwTZ1AkwwjP5hOu+huKee+BkPBluUS AmHMnwcx9Lb/bvk2ZbsaP2rgA1HLqiETSk46lxp8z49+iP1uPOQ3OJpqx9eqN2DioJ 38Ry4j9yo0vRzHo0vu052uCwwPHf5N/i2yM6/e+Q= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 989D2F805A8; Wed, 15 Sep 2021 15:15:27 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id AB505F8055A; Wed, 15 Sep 2021 15:15:17 +0200 (CEST) Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id CAFC4F80524 for ; Wed, 15 Sep 2021 15:15:05 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz CAFC4F80524 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="KDZC78CT" Received: by mail-wr1-x434.google.com with SMTP id t8so3861156wrq.4 for ; Wed, 15 Sep 2021 06:15:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ZbocYYAT3Bv95I3T0qjmMa3P6s7bL467iC3FMXh3uYY=; b=KDZC78CTZMz8tkTc8orpMm1VU96DrHY2yyf/Nxs9/k3HXIdrFJ6YGeygsHaU03at6M RIwXyWCt/tuKPlrGCwC9SUOBqMzJ0xAK327YmydqREIapcIAqUBZDYHnV7+GNzRTNpyQ WTXz7OB2e42+cHSg509DWSdtphNuDsOhhRzTqUZGvety+m56mUJVZztrT1/l3WcluqzA EY7HQ/LtY2yIkcMCApr8+GVia/m5RsnMjxYf7n6HJYckSI4aT8JaZiDFXM9WC9m59cSY kw5ecdqhyTNlvgjL/7PGFUTgwmnhGZG3+B8bS/GxCZA3jTWu9pcTzJQXaxz/r8pzYu1U ia4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ZbocYYAT3Bv95I3T0qjmMa3P6s7bL467iC3FMXh3uYY=; b=ItHb5vmLwqc6tHWJiwWmwmRCfKgvevB8Ys8zWfNw868uXGbgTbtcgylnP8+0ciZRU4 tYg9t2RS+8hT2RRel95tDXzS7xJMcCxlkUZCuWqwNKNYbvFJOnnuzVkIK/azk5oFVqNQ ZTzigTclzw3l0ngwhOoOIw2anjBFaVDmGR4pJES/9QDlhuujAxegGvV/dqZSUc+GKFyG pIdZtaKCOvPUuo98JDjhw3Fg20Z/KLj5ca+r0LtuuajgqM5+ybUG8s/+yRhRVBZAuu9/ F+xURfOgGjlhyGo+nDnBHDvl9eIljVNqTefiYe6DxR03UD+roK1pZcaA0DzUv1WNL58G jPMA== X-Gm-Message-State: AOAM531YwpgWn5HNpEVPC4uDMbHovQwtBepESY+l9bcwK2nINCtTlBFw 2qhzp5JUm5RgK13NttPOS4TkTg== X-Google-Smtp-Source: ABdhPJxVhiXjcD2NUcgK1N9wks3hqpRTdLC5VtX218bO9z9ugvbEt3IXSaWUpQaM0ZQkfufGBkaWpw== X-Received: by 2002:adf:f789:: with SMTP id q9mr5018181wrp.367.1631711702873; Wed, 15 Sep 2021 06:15:02 -0700 (PDT) Received: from srini-hackbox.lan (cpc86377-aztw32-2-0-cust226.18-1.cable.virginm.net. [92.233.226.227]) by smtp.gmail.com with ESMTPSA id m29sm14501717wrb.89.2021.09.15.06.15.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Sep 2021 06:15:02 -0700 (PDT) From: Srinivas Kandagatla To: bjorn.andersson@linaro.org, broonie@kernel.org, robh@kernel.org Subject: [PATCH v6 17/22] ASoC: qdsp6: audioreach: add Kconfig and Makefile Date: Wed, 15 Sep 2021 14:13:28 +0100 Message-Id: <20210915131333.19047-18-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20210915131333.19047-1-srinivas.kandagatla@linaro.org> References: <20210915131333.19047-1-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, bgoswami@codeaurora.org, lgirdwood@gmail.com, tiwai@suse.de, plai@codeaurora.org, pierre-louis.bossart@linux.intel.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" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Now that all the code for audioreach and q6apm are in at this point to be able to compile, start adding Kconfig and Makefile changes. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/Kconfig | 4 ++++ sound/soc/qcom/qdsp6/Makefile | 3 +++ 2 files changed, 7 insertions(+) diff --git a/sound/soc/qcom/Kconfig b/sound/soc/qcom/Kconfig index cc7c1de2f1d9..5a693f83fd6c 100644 --- a/sound/soc/qcom/Kconfig +++ b/sound/soc/qcom/Kconfig @@ -84,6 +84,9 @@ config SND_SOC_QDSP6_ASM_DAI select SND_SOC_COMPRESS tristate +config SND_SOC_QDSP6_APM + tristate + config SND_SOC_QDSP6 tristate "SoC ALSA audio driver for QDSP6" depends on QCOM_APR @@ -97,6 +100,7 @@ config SND_SOC_QDSP6 select SND_SOC_QDSP6_ROUTING select SND_SOC_QDSP6_ASM select SND_SOC_QDSP6_ASM_DAI + select SND_SOC_QDSP6_APM help To add support for MSM QDSP6 Soc Audio. This will enable sound soc platform specific diff --git a/sound/soc/qcom/qdsp6/Makefile b/sound/soc/qcom/qdsp6/Makefile index a4191d395557..1a0803d97eec 100644 --- a/sound/soc/qcom/qdsp6/Makefile +++ b/sound/soc/qcom/qdsp6/Makefile @@ -1,5 +1,6 @@ # SPDX-License-Identifier: GPL-2.0-only snd-q6dsp-common-objs := q6dsp-common.o q6dsp-lpass-ports.o q6dsp-lpass-clocks.o +snd-q6apm-objs := q6apm.o audioreach.o obj-$(CONFIG_SND_SOC_QDSP6_COMMON) += snd-q6dsp-common.o obj-$(CONFIG_SND_SOC_QDSP6_CORE) += q6core.o @@ -10,3 +11,5 @@ obj-$(CONFIG_SND_SOC_QDSP6_ADM) += q6adm.o obj-$(CONFIG_SND_SOC_QDSP6_ROUTING) += q6routing.o obj-$(CONFIG_SND_SOC_QDSP6_ASM) += q6asm.o obj-$(CONFIG_SND_SOC_QDSP6_ASM_DAI) += q6asm-dai.o + +obj-$(CONFIG_SND_SOC_QDSP6_APM) += snd-q6apm.o