diff mbox series

[v4,2/3] ASoC: Intel: Add makefiles and kconfig changes for KeemBay

Message ID 1591333737-3231-3-git-send-email-jee.heng.sia@intel.com (mailing list archive)
State New, archived
Headers show
Series ASoC: Intel: Add KeemBay ASoC platform driver | expand

Commit Message

Sia Jee Heng June 5, 2020, 5:08 a.m. UTC
Add makefile and kconfig changes for Intel KeemBay platform driver.

Signed-off-by: Michael Sit Wei Hong <michael.wei.hong.sit@intel.com>
Signed-off-by: Sia Jee Heng <jee.heng.sia@intel.com>
---
 sound/soc/intel/Kconfig  | 7 +++++++
 sound/soc/intel/Makefile | 1 +
 2 files changed, 8 insertions(+)

Comments

Andy Shevchenko June 5, 2020, 1:07 p.m. UTC | #1
On Fri, Jun 05, 2020 at 01:08:56PM +0800, Sia Jee Heng wrote:
> Add makefile and kconfig changes for Intel KeemBay platform driver.

> +config SND_SOC_INTEL_KEEMBAY
> +	tristate "Keembay Platforms"

> +	depends on OF && (ARM64 || COMPILE_TEST)

You can't compile test w/o OF?

> +	depends on COMMON_CLK
> +	help
> +	  If you have a Intel Keembay platform then enable this option
> +	  by saying Y or m.
Sia Jee Heng June 9, 2020, 1:14 a.m. UTC | #2
-----Original Message-----
From: Shevchenko, Andriy <andriy.shevchenko@intel.com> 
Sent: Friday, June 5, 2020 9:07 PM
To: Sia, Jee Heng <jee.heng.sia@intel.com>
Cc: alsa-devel@alsa-project.org; tiwai@suse.com; broonie@kernel.org; pierre-louis.bossart@linux.intel.com; Rojewski, Cezary <cezary.rojewski@intel.com>; liam.r.girdwood@linux.intel.com
Subject: Re: [PATCH v4 2/3] ASoC: Intel: Add makefiles and kconfig changes for KeemBay

On Fri, Jun 05, 2020 at 01:08:56PM +0800, Sia Jee Heng wrote:
> Add makefile and kconfig changes for Intel KeemBay platform driver.

> +config SND_SOC_INTEL_KEEMBAY
> +	tristate "Keembay Platforms"

> +	depends on OF && (ARM64 || COMPILE_TEST)

You can't compile test w/o OF?
[>>]  Good catch, OF functions are shifted to audio graph card. Will remove it from kconfig
> +	depends on COMMON_CLK
> +	help
> +	  If you have a Intel Keembay platform then enable this option
> +	  by saying Y or m.
diff mbox series

Patch

diff --git a/sound/soc/intel/Kconfig b/sound/soc/intel/Kconfig
index c8de0bb..bc93448 100644
--- a/sound/soc/intel/Kconfig
+++ b/sound/soc/intel/Kconfig
@@ -244,6 +244,13 @@  config SND_SOC_ACPI_INTEL_MATCH
 
 endif ## SND_SOC_INTEL_SST_TOPLEVEL || SND_SOC_SOF_INTEL_TOPLEVEL
 
+config SND_SOC_INTEL_KEEMBAY
+	tristate "Keembay Platforms"
+	depends on OF && (ARM64 || COMPILE_TEST)
+	depends on COMMON_CLK
+	help
+	  If you have a Intel Keembay platform then enable this option
+	  by saying Y or m.
 
 # ASoC codec drivers
 source "sound/soc/intel/boards/Kconfig"
diff --git a/sound/soc/intel/Makefile b/sound/soc/intel/Makefile
index 8160520..f5aa32b 100644
--- a/sound/soc/intel/Makefile
+++ b/sound/soc/intel/Makefile
@@ -7,6 +7,7 @@  obj-$(CONFIG_SND_SOC_INTEL_HASWELL) += haswell/
 obj-$(CONFIG_SND_SOC_INTEL_BAYTRAIL) += baytrail/
 obj-$(CONFIG_SND_SST_ATOM_HIFI2_PLATFORM) += atom/
 obj-$(CONFIG_SND_SOC_INTEL_SKYLAKE) += skylake/
+obj-$(CONFIG_SND_SOC_INTEL_KEEMBAY) += keembay/
 
 # Machine support
 obj-$(CONFIG_SND_SOC) += boards/