summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--asoc/Kbuild13
-rw-r--r--asoc/codecs/Kbuild5
-rw-r--r--asoc/codecs/bolero/Kbuild5
-rw-r--r--config/qcs405auto.conf40
-rw-r--r--config/qcs405autoconf.h53
-rw-r--r--dsp/Kbuild5
-rw-r--r--dsp/codecs/Kbuild5
-rw-r--r--ipc/Kbuild9
-rw-r--r--soc/Kbuild5
9 files changed, 140 insertions, 0 deletions
diff --git a/asoc/Kbuild b/asoc/Kbuild
index 8c379177..02110136 100644
--- a/asoc/Kbuild
+++ b/asoc/Kbuild
@@ -45,6 +45,11 @@ ifeq ($(KERNEL_BUILD), 0)
export
INCS += -include $(AUDIO_ROOT)/config/sm8150autoconf.h
endif
+ ifeq ($(CONFIG_ARCH_QCS405), y)
+ include $(AUDIO_ROOT)/config/qcs405auto.conf
+ export
+ INCS += -include $(AUDIO_ROOT)/config/qcs405autoconf.h
+ endif
endif
# As per target team, build is done as follows:
@@ -100,6 +105,11 @@ ifdef CONFIG_SND_SOC_SM8150
MACHINE_OBJS += sm8150.o
endif
+# for qcs405 sound card driver
+ifdef CONFIG_SND_SOC_QCS405
+ MACHINE_OBJS += qcs405.o
+endif
+
ifdef CONFIG_SND_SOC_CPE
CPE_LSM_OBJS += msm-cpe-lsm.o
endif
@@ -191,6 +201,9 @@ machine_dlkm-y := $(MACHINE_OBJS)
obj-$(CONFIG_SND_SOC_SM8150) += machine_dlkm.o
machine_dlkm-y := $(MACHINE_OBJS)
+obj-$(CONFIG_SND_SOC_QCS405) += machine_dlkm.o
+machine_dlkm-y := $(MACHINE_OBJS)
+
obj-$(CONFIG_SND_SOC_EXT_CODEC) += machine_dlkm.o
machine_dlkm-y := $(MACHINE_OBJS)
diff --git a/asoc/codecs/Kbuild b/asoc/codecs/Kbuild
index 35961432..84e4a47d 100644
--- a/asoc/codecs/Kbuild
+++ b/asoc/codecs/Kbuild
@@ -44,6 +44,11 @@ ifeq ($(KERNEL_BUILD), 0)
export
INCS += -include $(AUDIO_ROOT)/config/sm8150autoconf.h
endif
+ ifeq ($(CONFIG_ARCH_QCS405), y)
+ include $(AUDIO_ROOT)/config/qcs405auto.conf
+ export
+ INCS += -include $(AUDIO_ROOT)/config/qcs405autoconf.h
+ endif
endif
# As per target team, build is done as follows:
diff --git a/asoc/codecs/bolero/Kbuild b/asoc/codecs/bolero/Kbuild
index cf996630..57f561a7 100644
--- a/asoc/codecs/bolero/Kbuild
+++ b/asoc/codecs/bolero/Kbuild
@@ -21,6 +21,11 @@ ifeq ($(KERNEL_BUILD), 0)
export
INCS += -include $(AUDIO_ROOT)/config/sm6150autoconf.h
endif
+ ifeq ($(CONFIG_ARCH_QCS405), y)
+ include $(AUDIO_ROOT)/config/qcs405auto.conf
+ export
+ INCS += -include $(AUDIO_ROOT)/config/qcs405autoconf.h
+ endif
endif
# As per target team, build is done as follows:
diff --git a/config/qcs405auto.conf b/config/qcs405auto.conf
new file mode 100644
index 00000000..127311db
--- /dev/null
+++ b/config/qcs405auto.conf
@@ -0,0 +1,40 @@
+CONFIG_PINCTRL_WCD=m
+CONFIG_PINCTRL_LPI=m
+CONFIG_AUDIO_EXT_CLK=m
+CONFIG_SND_SOC_WCD9XXX_V2=m
+CONFIG_SND_SOC_WSA881X=m
+CONFIG_SND_SOC_WCD_DSP_MGR=m
+CONFIG_SOUNDWIRE_WCD_CTRL=m
+CONFIG_WCD9XXX_CODEC_CORE=m
+CONFIG_MSM_CDC_PINCTRL=m
+CONFIG_SND_SOC_WCD9335=m
+CONFIG_MSM_QDSP6V2_CODECS=m
+CONFIG_MSM_ULTRASOUND=m
+CONFIG_MSM_QDSP6_APRV2_RPMSG=m
+CONFIG_MSM_ADSP_LOADER=m
+CONFIG_REGMAP_SWR=m
+CONFIG_MSM_QDSP6_SSR=m
+CONFIG_MSM_QDSP6_PDR=m
+CONFIG_MSM_QDSP6_NOTIFIER=m
+CONFIG_SND_SOC_MSM_HOSTLESS_PCM=m
+CONFIG_SND_SOC_MSM_QDSP6V2_INTF=m
+CONFIG_SND_SOC_QCS405=m
+CONFIG_SND_SOC_BOLERO=m
+CONFIG_WSA_MACRO=m
+CONFIG_VA_MACRO=m
+CONFIG_MSM_GLINK_SPI_XPRT=m
+CONFIG_WCD_DSP_GLINK=m
+CONFIG_SOUNDWIRE=m
+CONFIG_WCD9XXX_CODEC_CORE=m
+CONFIG_SND_SOC_QDSP6V2=m
+CONFIG_SND_SOC_WCD_MBHC_LEGACY=m
+CONFIG_QTI_PP=m
+CONFIG_SND_HWDEP_ROUTING=m
+CONFIG_SND_HWDEP=m
+CONFIG_DTS_EAGLE=m
+CONFIG_DOLBY_DS2=m
+CONFIG_DOLBY_LICENSE=m
+CONFIG_DTS_SRS_TM=m
+CONFIG_SND_SOC_MSM_STUB=m
+CONFIG_MSM_AVTIMER=m
+CONFIG_SND_SOC_MSM_HDMI_CODEC_RX=m
diff --git a/config/qcs405autoconf.h b/config/qcs405autoconf.h
new file mode 100644
index 00000000..0bb04630
--- /dev/null
+++ b/config/qcs405autoconf.h
@@ -0,0 +1,53 @@
+/* Copyright (c) 2018, The Linux Foundation. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 and
+ * only version 2 as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
+#define CONFIG_PINCTRL_WCD 1
+#define CONFIG_PINCTRL_LPI 1
+#define CONFIG_AUDIO_EXT_CLK 1
+#define CONFIG_SND_SOC_WCD9XXX_V2 1
+#define CONFIG_SND_SOC_WSA881X 1
+#define CONFIG_SND_SOC_WCD_DSP_MGR 1
+#define CONFIG_SND_SOC_WCD_CPE 1
+#define CONFIG_SND_SOC_WCD9335 1
+#define CONFIG_WCD9XXX_CODEC_CORE 1
+#define CONFIG_MSM_CDC_PINCTRL 1
+#define CONFIG_MSM_QDSP6V2_CODECS 1
+#define CONFIG_MSM_ULTRASOUND 1
+#define CONFIG_MSM_QDSP6_APRV2_RPMSG 1
+#define CONFIG_SND_SOC_MSM_QDSP6V2_INTF 1
+#define CONFIG_MSM_ADSP_LOADER 1
+#define CONFIG_REGMAP_SWR 1
+#define CONFIG_MSM_QDSP6_SSR 1
+#define CONFIG_MSM_QDSP6_PDR 1
+#define CONFIG_MSM_QDSP6_NOTIFIER 1
+#define CONFIG_SND_SOC_MSM_HOSTLESS_PCM 1
+#define CONFIG_SND_SOC_QCS405 1
+#define CONFIG_SND_SOC_BOLERO 1
+#define CONFIG_WSA_MACRO 1
+#define CONFIG_VA_MACRO 1
+#define CONFIG_MSM_GLINK_SPI_XPRT 1
+#define CONFIG_WCD_DSP_GLINK 1
+#define CONFIG_SOUNDWIRE 1
+#define CONFIG_SOUNDWIRE_WCD_CTRL 1
+#define CONFIG_SND_SOC_WCD_MBHC_LEGACY 1
+#define CONFIG_SND_SOC_QDSP6V2 1
+#define CONFIG_QTI_PP 1
+#define CONFIG_SND_HWDEP_ROUTING 1
+#define CONFIG_SND_HWDEP 1
+#define CONFIG_DTS_EAGLE 1
+#define CONFIG_DOLBY_DS2 1
+#define CONFIG_DOLBY_LICENSE 1
+#define CONFIG_DTS_SRS_TM 1
+#define CONFIG_WCD9XXX_CODEC_CORE 1
+#define CONFIG_SND_SOC_MSM_STUB 1
+#define CONFIG_MSM_AVTIMER 1
+#define CONFIG_SND_SOC_MSM_HDMI_CODEC_RX 1
diff --git a/dsp/Kbuild b/dsp/Kbuild
index 02a25e10..14522211 100644
--- a/dsp/Kbuild
+++ b/dsp/Kbuild
@@ -44,6 +44,11 @@ ifeq ($(KERNEL_BUILD), 0)
export
INCS += -include $(AUDIO_ROOT)/config/sm8150autoconf.h
endif
+ ifeq ($(CONFIG_ARCH_QCS405), y)
+ include $(AUDIO_ROOT)/config/qcs405auto.conf
+ export
+ INCS += -include $(AUDIO_ROOT)/config/qcs405autoconf.h
+ endif
endif
diff --git a/dsp/codecs/Kbuild b/dsp/codecs/Kbuild
index bdcc9dc4..81367198 100644
--- a/dsp/codecs/Kbuild
+++ b/dsp/codecs/Kbuild
@@ -45,6 +45,11 @@ ifeq ($(KERNEL_BUILD), 0)
export
INCS += -include $(AUDIO_ROOT)/config/sm8150autoconf.h
endif
+ ifeq ($(CONFIG_ARCH_QCS405), y)
+ include $(AUDIO_ROOT)/config/qcs405auto.conf
+ export
+ INCS += -include $(AUDIO_ROOT)/config/qcs405autoconf.h
+ endif
endif
# As per target team, build is done as follows:
diff --git a/ipc/Kbuild b/ipc/Kbuild
index a860a751..35e78508 100644
--- a/ipc/Kbuild
+++ b/ipc/Kbuild
@@ -23,6 +23,10 @@ ifeq ($(CONFIG_ARCH_SM6150), y)
TARGET_KERNEL_VERSION := 4.14
endif
+ifeq ($(CONFIG_ARCH_QCS405), y)
+ TARGET_KERNEL_VERSION := 4.14
+endif
+
ifeq ($(CONFIG_ARCH_SDMSHRIKE), y)
TARGET_KERNEL_VERSION := 4.14
endif
@@ -59,6 +63,11 @@ ifeq ($(KERNEL_BUILD), 0)
export
INCS += -include $(AUDIO_ROOT)/config/sm8150autoconf.h
endif
+ ifeq ($(CONFIG_ARCH_QCS405), y)
+ include $(AUDIO_ROOT)/config/qcs405auto.conf
+ export
+ INCS += -include $(AUDIO_ROOT)/config/qcs405autoconf.h
+ endif
ifeq ($(CONFIG_ARCH_SDMSHRIKE), y)
include $(AUDIO_ROOT)/config/sm8150auto.conf
export
diff --git a/soc/Kbuild b/soc/Kbuild
index 3aaa3881..aee1a1fb 100644
--- a/soc/Kbuild
+++ b/soc/Kbuild
@@ -44,6 +44,11 @@ ifeq ($(KERNEL_BUILD), 0)
export
INCS += -include $(AUDIO_ROOT)/config/sm8150autoconf.h
endif
+ ifeq ($(CONFIG_ARCH_QCS405), y)
+ include $(AUDIO_ROOT)/config/qcs405auto.conf
+ export
+ INCS += -include $(AUDIO_ROOT)/config/qcs405autoconf.h
+ endif
endif
# As per target team, build is done as follows: