Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp4617621pxb; Tue, 5 Oct 2021 06:57:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyaLL4Zw12cDGLzpeCoKxV9E89cgv7SdSOw8DqVSwPNLsIcf/J4X9Mo+AUAiR7rZweo33FJ X-Received: by 2002:a17:90a:4290:: with SMTP id p16mr3934083pjg.112.1633442241870; Tue, 05 Oct 2021 06:57:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633442241; cv=none; d=google.com; s=arc-20160816; b=v4JuHOgmAx6XU21P9GC9oqUcX/S9P+Ydb/HyvXUjsJ3AgYDb1B7e1Gm1IYzUK6AYTX +Jq/0I38kqLB/4KEA+Nz9AysHE0HoenBoPOLR5u96d6+ieMGoHlQ4fklICVFvM1EyMJ6 Nl4kAmfaFpH7gU8zW3qe7FTSRmZWixokow6bAUxrbABUM6U3TS+ofRH7VPxzPGoCeORi lHENOvUkf8eVw1aMrt7M9O+xTAYjvEzjjGImGJHoU6Fse3+9tmhLMKHnKhtushQw4Bv+ /SwYclHtcJ/o+s4rPFwxdmwP4+rENZz/dq0s4e4PMTae2eSlK+YOa/BeGoBLsQitjsiD U6Hg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dmarc-filter:sender:dkim-signature; bh=ff2yVrfStV5eTd4rqXjo/9I9snoO+ajVI7UxEWq5IU0=; b=h2VpQ0EU6LjLsmkulLuEvWJEAQ9X/m0aSUsUbMEdVWawrPm95oP9wOoz9V9hl1stjz L+hlO68Kj5f4GWlASwCxm51PfOzwc593siC8W6t63odVKDWKwqJuWfdIJGfD7mMG44HP i+BcqYyPQUkXj+1liqJrmYi3b0QMeL6Fug3bKKt6F3/vL+OCAvwNG85RUtU84GdfuyID GY6pY2X7qYMU50kysf42srwD1Toiqp05pB0hhXwxNFfK3HViTEJ9Ga94Pi6XrVIRmdaV DcFpyh5cneZpPND6dDxFhGE9lwvmka989X3Rk3i3wBnSGV0BIx/UBHIKaCM2fEyqqkTE WCjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=jLjk4Pmr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i190si20234203pge.198.2021.10.05.06.57.07; Tue, 05 Oct 2021 06:57:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=jLjk4Pmr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235111AbhJEN5Q (ORCPT + 99 others); Tue, 5 Oct 2021 09:57:16 -0400 Received: from m43-7.mailgun.net ([69.72.43.7]:34722 "EHLO m43-7.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235599AbhJEN42 (ORCPT ); Tue, 5 Oct 2021 09:56:28 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1633442077; h=References: In-Reply-To: Message-Id: Date: Subject: Cc: To: From: Sender; bh=ff2yVrfStV5eTd4rqXjo/9I9snoO+ajVI7UxEWq5IU0=; b=jLjk4Pmrw7KRbKxxJVdkaGa44LFlhvqEk9PV/OgeE33xXp07mOz1kdu3Xnrt2vfFqYiGwrED tmoHwvqjDr1KdQew93yeIv5eHwF4qlb37egepMdRWBNd20gSssgJyv2QtYnFQrptx4qbSIRU 8OMMIN7PqzAcJGDuavZM71b0SQw= X-Mailgun-Sending-Ip: 69.72.43.7 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n04.prod.us-east-1.postgun.com with SMTP id 615c590563b1f186586eac74 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Tue, 05 Oct 2021 13:54:13 GMT Sender: srivasam=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id A8AB9C0090F; Tue, 5 Oct 2021 13:54:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00,SPF_FAIL, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from hu-srivasam-hyd.qualcomm.com (unknown [202.46.22.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: srivasam) by smtp.codeaurora.org (Postfix) with ESMTPSA id BEE8EC41635; Tue, 5 Oct 2021 13:54:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.codeaurora.org BEE8EC41635 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=codeaurora.org From: Srinivasa Rao Mandadapu To: agross@kernel.org, bjorn.andersson@linaro.org, lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org, plai@codeaurora.org, bgoswami@codeaurora.org, perex@perex.cz, tiwai@suse.com, srinivas.kandagatla@linaro.org, rohitkr@codeaurora.org, linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, swboyd@chromium.org, judyhsiao@chromium.org Cc: Srinivasa Rao Mandadapu , Venkata Prasad Potturu Subject: [PATCH v2 9/9] ASoC: qcom: SC7280: Update config for building codec dma drivers Date: Tue, 5 Oct 2021 19:22:54 +0530 Message-Id: <1633441974-15353-10-git-send-email-srivasam@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1633441974-15353-1-git-send-email-srivasam@codeaurora.org> References: <1633441974-15353-1-git-send-email-srivasam@codeaurora.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add configuration for building SC7280 audio codec dma drivers. Signed-off-by: Venkata Prasad Potturu Signed-off-by: Srinivasa Rao Mandadapu --- sound/soc/qcom/Kconfig | 13 +++++++++++++ sound/soc/qcom/Makefile | 4 ++++ 2 files changed, 17 insertions(+) diff --git a/sound/soc/qcom/Kconfig b/sound/soc/qcom/Kconfig index d9ffcb7..2b98ad9 100644 --- a/sound/soc/qcom/Kconfig +++ b/sound/soc/qcom/Kconfig @@ -20,6 +20,10 @@ config SND_SOC_LPASS_PLATFORM tristate select REGMAP_MMIO +config SND_SOC_LPASS_CDC_DMA + tristate + select REGMAP_MMIO + config SND_SOC_LPASS_IPQ806X tristate select SND_SOC_LPASS_CPU @@ -36,6 +40,13 @@ config SND_SOC_LPASS_SC7180 select SND_SOC_LPASS_PLATFORM select SND_SOC_LPASS_HDMI +config SND_SOC_LPASS_SC7280 + tristate + select SND_SOC_LPASS_CPU + select SND_SOC_LPASS_PLATFORM + select SND_SOC_LPASS_HDMI + select SND_SOC_LPASS_CDC_DMA + config SND_SOC_STORM tristate "ASoC I2S support for Storm boards" select SND_SOC_LPASS_IPQ806X @@ -156,7 +167,9 @@ config SND_SOC_SC7280 tristate "SoC Machine driver for SC7280 boards" depends on I2C && SOUNDWIRE select SND_SOC_QCOM_COMMON + select SND_SOC_LPASS_SC7280 select SND_SOC_MAX98357A + select SND_SOC_WCD938X select SND_SOC_LPASS_RX_MACRO select SND_SOC_LPASS_TX_MACRO help diff --git a/sound/soc/qcom/Makefile b/sound/soc/qcom/Makefile index 625aec6..8b7b876 100644 --- a/sound/soc/qcom/Makefile +++ b/sound/soc/qcom/Makefile @@ -1,18 +1,22 @@ # SPDX-License-Identifier: GPL-2.0 # Platform snd-soc-lpass-cpu-objs := lpass-cpu.o +snd-soc-lpass-cdc-dma-objs := lpass-cdc-dma.o snd-soc-lpass-hdmi-objs := lpass-hdmi.o snd-soc-lpass-platform-objs := lpass-platform.o snd-soc-lpass-ipq806x-objs := lpass-ipq806x.o snd-soc-lpass-apq8016-objs := lpass-apq8016.o snd-soc-lpass-sc7180-objs := lpass-sc7180.o +snd-soc-lpass-sc7280-objs := lpass-sc7280.o obj-$(CONFIG_SND_SOC_LPASS_CPU) += snd-soc-lpass-cpu.o +obj-$(CONFIG_SND_SOC_LPASS_CDC_DMA) += snd-soc-lpass-cdc-dma.o obj-$(CONFIG_SND_SOC_LPASS_HDMI) += snd-soc-lpass-hdmi.o obj-$(CONFIG_SND_SOC_LPASS_PLATFORM) += snd-soc-lpass-platform.o obj-$(CONFIG_SND_SOC_LPASS_IPQ806X) += snd-soc-lpass-ipq806x.o obj-$(CONFIG_SND_SOC_LPASS_APQ8016) += snd-soc-lpass-apq8016.o obj-$(CONFIG_SND_SOC_LPASS_SC7180) += snd-soc-lpass-sc7180.o +obj-$(CONFIG_SND_SOC_LPASS_SC7280) += snd-soc-lpass-sc7280.o # Machine snd-soc-storm-objs := storm.o -- Qualcomm India Private Limited, on behalf of Qualcomm Innovation Center, Inc., is a member of Code Aurora Forum, a Linux Foundation Collaborative Project.