ASoC: wsa883x: Enable WSA883x codec driver compilation.

Enable WSA883x codec driver compilation support.

Change-Id: I263e4eb0e2446c345b250df9e484f380164e77e2
Signed-off-by: Ramlal Karra <rkarra@codeaurora.org>
diff --git a/Android.mk b/Android.mk
index f5b8931..e0d3f0f 100644
--- a/Android.mk
+++ b/Android.mk
@@ -60,3 +60,8 @@
 $(shell rm -rf $(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/asoc/codecs/wcd937x/Module.symvers)
 include $(MY_LOCAL_PATH)/asoc/codecs/wcd937x/Android.mk
 endif
+
+ifeq ($(call is-board-platform-in-list, lito),true)
+$(shell rm -rf $(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/asoc/codecs/wsa883x/Module.symvers)
+include $(MY_LOCAL_PATH)/asoc/codecs/wsa883x/Android.mk
+endif
\ No newline at end of file
diff --git a/asoc/codecs/Kbuild b/asoc/codecs/Kbuild
index 7a2cfcd..5ab7c3b 100644
--- a/asoc/codecs/Kbuild
+++ b/asoc/codecs/Kbuild
@@ -227,6 +227,7 @@
 	obj-y	+= wcd938x/
 	obj-y	+= bolero/
 	obj-y	+= rouleur/
+	obj-y	+= wsa883x/
 endif
 # Module information used by KBuild framework
 obj-$(CONFIG_WCD9XXX_CODEC_CORE) += wcd_core_dlkm.o
diff --git a/asoc/codecs/wsa883x/Android.mk b/asoc/codecs/wsa883x/Android.mk
index 66056e8..42ad517 100644
--- a/asoc/codecs/wsa883x/Android.mk
+++ b/asoc/codecs/wsa883x/Android.mk
@@ -9,7 +9,7 @@
 
 AUDIO_CHIPSET := audio
 # Build/Package only in case of supported target
-ifeq ($(call is-board-platform-in-list,lahaina),true)
+ifeq ($(call is-board-platform-in-list,lahaina lito),true)
 
 LOCAL_PATH := $(call my-dir)
 
diff --git a/asoc/codecs/wsa883x/Kbuild b/asoc/codecs/wsa883x/Kbuild
index 4eb844a..ac608b4 100644
--- a/asoc/codecs/wsa883x/Kbuild
+++ b/asoc/codecs/wsa883x/Kbuild
@@ -18,6 +18,10 @@
 		include $(AUDIO_ROOT)/config/lahainaauto.conf
 		INCS    +=  -include $(AUDIO_ROOT)/config/lahainaautoconf.h
 	endif
+	ifeq ($(CONFIG_ARCH_LITO), y)
+		include $(AUDIO_ROOT)/config/litoauto.conf
+		INCS    +=  -include $(AUDIO_ROOT)/config/litoautoconf.h
+	endif
 endif
 
 # As per target team, build is done as follows:
diff --git a/config/litoauto.conf b/config/litoauto.conf
index 12bb1df..d1db031 100644
--- a/config/litoauto.conf
+++ b/config/litoauto.conf
@@ -3,6 +3,7 @@
 CONFIG_SND_SOC_WCD9XXX_V2=m
 CONFIG_SND_SOC_WCD_MBHC=m
 CONFIG_SND_SOC_WSA881X=m
+CONFIG_SND_SOC_WSA883X=m
 CONFIG_WCD9XXX_CODEC_CORE_V2=m
 CONFIG_MSM_CDC_PINCTRL=m
 CONFIG_MSM_QDSP6V2_CODECS=m
diff --git a/config/litoautoconf.h b/config/litoautoconf.h
index 0cfdab2..76c47fb 100644
--- a/config/litoautoconf.h
+++ b/config/litoautoconf.h
@@ -1,5 +1,5 @@
 /* SPDX-License-Identifier: GPL-2.0-only */
-/* Copyright (c) 2019, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2019-2020, The Linux Foundation. All rights reserved.
  */
 
 #define CONFIG_PINCTRL_LPI 1
@@ -7,6 +7,7 @@
 #define CONFIG_SND_SOC_WCD9XXX_V2 1
 #define CONFIG_SND_SOC_WCD_MBHC 1
 #define CONFIG_SND_SOC_WSA881X 1
+#define CONFIG_SND_SOC_WSA883X 1
 #define CONFIG_WCD9XXX_CODEC_CORE_V2 1
 #define CONFIG_MSM_CDC_PINCTRL 1
 #define CONFIG_MSM_QDSP6V2_CODECS 1