From e3842cf831b73f093b65e053a7f29f9de6617fb8 Mon Sep 17 00:00:00 2001 From: Sudheer Papothi Date: Sat, 31 Mar 2018 02:27:42 +0530 Subject: [PATCH] ASoC: Add audio support for sdmshrike Add audio support for sdmshrike. Change-Id: I0b86ab7b123a3215617b81a645202785f6810d02 Signed-off-by: Sudheer Papothi --- Makefile | 8 ++++++++ asoc/Kbuild | 5 +++++ asoc/codecs/Kbuild | 5 +++++ asoc/codecs/aqt1000/Kbuild | 6 ++++++ asoc/codecs/wcd934x/Kbuild | 5 +++++ asoc/codecs/wcd9360/Kbuild | 6 ++++++ dsp/Kbuild | 5 +++++ dsp/codecs/Kbuild | 5 +++++ ipc/Kbuild | 9 +++++++++ soc/Kbuild | 5 +++++ 10 files changed, 59 insertions(+) diff --git a/Makefile b/Makefile index 4e123b6de4..73185c98a3 100644 --- a/Makefile +++ b/Makefile @@ -15,6 +15,10 @@ ifeq ($(CONFIG_ARCH_SDM855), y) include $(srctree)/techpack/audio/config/sdm855auto.conf export endif +ifeq ($(CONFIG_ARCH_SDMSHRIKE), y) +include $(srctree)/techpack/audio/config/sdm855auto.conf +export +endif # Use USERINCLUDE when you must reference the UAPI directories only. USERINCLUDE += \ @@ -42,6 +46,10 @@ ifeq ($(CONFIG_ARCH_SDM855), y) LINUXINCLUDE += \ -include $(srctree)/techpack/audio/config/sdm855autoconf.h endif +ifeq ($(CONFIG_ARCH_SDMSHRIKE), y) +LINUXINCLUDE += \ + -include $(srctree)/techpack/audio/config/sdm855autoconf.h +endif obj-y += asoc/ obj-y += dsp/ diff --git a/asoc/Kbuild b/asoc/Kbuild index eec59475d0..1a6d45a888 100644 --- a/asoc/Kbuild +++ b/asoc/Kbuild @@ -35,6 +35,11 @@ ifeq ($(KERNEL_BUILD), 0) export INCS += -include $(AUDIO_ROOT)/config/sdm855autoconf.h endif + ifeq ($(CONFIG_ARCH_SDMSHRIKE), y) + include $(AUDIO_ROOT)/config/sdm855auto.conf + export + INCS += -include $(AUDIO_ROOT)/config/sdm855autoconf.h + endif endif # As per target team, build is done as follows: diff --git a/asoc/codecs/Kbuild b/asoc/codecs/Kbuild index 01a6e2d74b..ef817fc7c6 100644 --- a/asoc/codecs/Kbuild +++ b/asoc/codecs/Kbuild @@ -34,6 +34,11 @@ ifeq ($(KERNEL_BUILD), 0) export INCS += -include $(AUDIO_ROOT)/config/sdm855autoconf.h endif + ifeq ($(CONFIG_ARCH_SDMSHRIKE), y) + include $(AUDIO_ROOT)/config/sdm855auto.conf + export + INCS += -include $(AUDIO_ROOT)/config/sdm855autoconf.h + endif endif # As per target team, build is done as follows: diff --git a/asoc/codecs/aqt1000/Kbuild b/asoc/codecs/aqt1000/Kbuild index f982951ecf..b942988dc4 100644 --- a/asoc/codecs/aqt1000/Kbuild +++ b/asoc/codecs/aqt1000/Kbuild @@ -28,6 +28,12 @@ ifeq ($(KERNEL_BUILD), 0) export INCS += -include $(AUDIO_ROOT)/config/sdm855autoconf.h endif + + ifeq ($(CONFIG_ARCH_SDMSHRIKE), y) + include $(AUDIO_ROOT)/config/sdm855auto.conf + export + INCS += -include $(AUDIO_ROOT)/config/sdm855autoconf.h + endif endif # As per target team, build is done as follows: diff --git a/asoc/codecs/wcd934x/Kbuild b/asoc/codecs/wcd934x/Kbuild index 60b24853e3..e3d57b306a 100644 --- a/asoc/codecs/wcd934x/Kbuild +++ b/asoc/codecs/wcd934x/Kbuild @@ -36,6 +36,11 @@ ifeq ($(KERNEL_BUILD), 0) export INCS += -include $(AUDIO_ROOT)/config/sdm855autoconf.h endif + ifeq ($(CONFIG_ARCH_SDMSHRIKE), y) + include $(AUDIO_ROOT)/config/sdm855auto.conf + export + INCS += -include $(AUDIO_ROOT)/config/sdm855autoconf.h + endif endif # As per target team, build is done as follows: diff --git a/asoc/codecs/wcd9360/Kbuild b/asoc/codecs/wcd9360/Kbuild index a1b5fe44ba..ddd64e0571 100644 --- a/asoc/codecs/wcd9360/Kbuild +++ b/asoc/codecs/wcd9360/Kbuild @@ -21,6 +21,12 @@ ifeq ($(KERNEL_BUILD), 0) export INCS += -include $(AUDIO_ROOT)/config/sdm855autoconf.h endif + + ifeq ($(CONFIG_ARCH_SDMSHRIKE), y) + include $(AUDIO_ROOT)/config/sdm855auto.conf + export + INCS += -include $(AUDIO_ROOT)/config/sdm855autoconf.h + endif endif # As per target team, build is done as follows: diff --git a/dsp/Kbuild b/dsp/Kbuild index df73215c4e..0a0490d438 100644 --- a/dsp/Kbuild +++ b/dsp/Kbuild @@ -34,6 +34,11 @@ ifeq ($(KERNEL_BUILD), 0) export INCS += -include $(AUDIO_ROOT)/config/sdm855autoconf.h endif + ifeq ($(CONFIG_ARCH_SDMSHRIKE), y) + include $(AUDIO_ROOT)/config/sdm855auto.conf + export + INCS += -include $(AUDIO_ROOT)/config/sdm855autoconf.h + endif endif diff --git a/dsp/codecs/Kbuild b/dsp/codecs/Kbuild index 0f2adf71f9..12e9cf05d9 100644 --- a/dsp/codecs/Kbuild +++ b/dsp/codecs/Kbuild @@ -35,6 +35,11 @@ ifeq ($(KERNEL_BUILD), 0) export INCS += -include $(AUDIO_ROOT)/config/sdm855autoconf.h endif + ifeq ($(CONFIG_ARCH_SDMSHRIKE), y) + include $(AUDIO_ROOT)/config/sdm855auto.conf + export + INCS += -include $(AUDIO_ROOT)/config/sdm855autoconf.h + endif endif # As per target team, build is done as follows: diff --git a/ipc/Kbuild b/ipc/Kbuild index 3cc021c457..4ad14cfbc6 100644 --- a/ipc/Kbuild +++ b/ipc/Kbuild @@ -20,6 +20,10 @@ ifeq ($(CONFIG_ARCH_SDM855), y) TARGET_KERNEL_VERSION := 4.14 endif +ifeq ($(CONFIG_ARCH_SDMSHRIKE), y) + TARGET_KERNEL_VERSION := 4.14 +endif + KDIR := $(TOP)/kernel/msm-$(TARGET_KERNEL_VERSION) ifeq ($(KERNEL_BUILD), 1) @@ -47,6 +51,11 @@ ifeq ($(KERNEL_BUILD), 0) export INCS += -include $(AUDIO_ROOT)/config/sdm855autoconf.h endif + ifeq ($(CONFIG_ARCH_SDMSHRIKE), y) + include $(AUDIO_ROOT)/config/sdm855auto.conf + export + INCS += -include $(AUDIO_ROOT)/config/sdm855autoconf.h + endif endif # As per target team, build is done as follows: diff --git a/soc/Kbuild b/soc/Kbuild index 36a2c88d51..f61ecdc03f 100644 --- a/soc/Kbuild +++ b/soc/Kbuild @@ -34,6 +34,11 @@ ifeq ($(KERNEL_BUILD), 0) export INCS += -include $(AUDIO_ROOT)/config/sdm855autoconf.h endif + ifeq ($(CONFIG_ARCH_SDMSHRIKE), y) + include $(AUDIO_ROOT)/config/sdm855auto.conf + export + INCS += -include $(AUDIO_ROOT)/config/sdm855autoconf.h + endif endif # As per target team, build is done as follows: