From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752706AbbBYIk5 (ORCPT ); Wed, 25 Feb 2015 03:40:57 -0500 Received: from mail-wi0-f173.google.com ([209.85.212.173]:37074 "EHLO mail-wi0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752605AbbBYIkz (ORCPT ); Wed, 25 Feb 2015 03:40:55 -0500 Message-ID: <54ED8A92.2030702@linaro.org> Date: Wed, 25 Feb 2015 08:40:50 +0000 From: Srinivas Kandagatla User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Kenneth Westfield , Mark Brown , Takashi Iwai , Liam Girdwood , Banajit Goswami , Patrick Lai , David Brown , Bryan Huntsman , Greg KH CC: ALSA Mailing List , MSM Mailing List , Device Tree Mailing List , Kernel Mailing List Subject: Re: [Patch V6 08/10] ASoC: qcom: Add ability to build QCOM drivers References: <1424846385-23700-1-git-send-email-kwestfie@codeaurora.org> <1424846385-23700-9-git-send-email-kwestfie@codeaurora.org> In-Reply-To: <1424846385-23700-9-git-send-email-kwestfie@codeaurora.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 25/02/15 06:39, Kenneth Westfield wrote: > From: Kenneth Westfield > > Define the LPASS platform driver, the LPASS > CPU DAI driver and the Storm machine driver > configurations, and how to build them. > > Signed-off-by: Kenneth Westfield > Acked-by: Banajit Goswami > --- > sound/soc/qcom/Kconfig | 23 +++++++++++++++++++++++ > sound/soc/qcom/Makefile | 11 +++++++++++ > 2 files changed, 34 insertions(+) > create mode 100644 sound/soc/qcom/Kconfig > create mode 100644 sound/soc/qcom/Makefile > > diff --git a/sound/soc/qcom/Kconfig b/sound/soc/qcom/Kconfig > new file mode 100644 > index 0000000000000000000000000000000000000000..90e686be613a5ef7689582a9d085835d2fe12678 > --- /dev/null > +++ b/sound/soc/qcom/Kconfig > @@ -0,0 +1,23 @@ > +config SND_SOC_QCOM > + tristate "ASoC support for QCOM platforms" > + help > + Say Y or M if you want to add support to use audio devices > + in Qualcomm Technologies SOC-based platforms. > + > +config SND_SOC_LPASS_CPU > + tristate > + depends on SND_SOC_QCOM > + > +config SND_SOC_LPASS_PLATFORM > + tristate > + depends on SND_SOC_QCOM I think both of the above configs should select REGMAP_MMIO. > + > +config SND_SOC_STORM > + tristate "ASoC I2S support for Storm boards" > + depends on (ARCH_QCOM && SND_SOC_QCOM) || COMPILE_TEST > + select SND_SOC_LPASS_CPU > + select SND_SOC_LPASS_PLATFORM > + select SND_SOC_MAX98357A > + help > + Say Y or M if you want add support for SoC audio on the > + Qualcomm Technologies IPQ806X-based Storm board. > diff --git a/sound/soc/qcom/Makefile b/sound/soc/qcom/Makefile > new file mode 100644 > index 0000000000000000000000000000000000000000..c5ce96c761c47b3a1b98e27d863fe0b5b9bc019e > --- /dev/null > +++ b/sound/soc/qcom/Makefile > @@ -0,0 +1,11 @@ > +# Platform > +snd-soc-lpass-cpu-objs := lpass-cpu.o > +snd-soc-lpass-platform-objs := lpass-platform.o > + > +obj-$(CONFIG_SND_SOC_LPASS_CPU) += snd-soc-lpass-cpu.o > +obj-$(CONFIG_SND_SOC_LPASS_PLATFORM) += snd-soc-lpass-platform.o > + > +# Machine > +snd-soc-storm-objs := storm.o > + > +obj-$(CONFIG_SND_SOC_STORM) += snd-soc-storm.o >