asoc: config: configuration update for QCS405 machine driver
Add configuration updates for enabling QCS405 machine driver Change-Id: I5a426730388aeafcdd6fb2e7c6d4cc7a0af78e1c Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
This commit is contained in:
13
asoc/Kbuild
13
asoc/Kbuild
@@ -45,6 +45,11 @@ ifeq ($(KERNEL_BUILD), 0)
|
|||||||
export
|
export
|
||||||
INCS += -include $(AUDIO_ROOT)/config/sm8150autoconf.h
|
INCS += -include $(AUDIO_ROOT)/config/sm8150autoconf.h
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(CONFIG_ARCH_QCS405), y)
|
||||||
|
include $(AUDIO_ROOT)/config/qcs405auto.conf
|
||||||
|
export
|
||||||
|
INCS += -include $(AUDIO_ROOT)/config/qcs405autoconf.h
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# As per target team, build is done as follows:
|
# As per target team, build is done as follows:
|
||||||
@@ -100,6 +105,11 @@ ifdef CONFIG_SND_SOC_SM8150
|
|||||||
MACHINE_OBJS += sm8150.o
|
MACHINE_OBJS += sm8150.o
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# for qcs405 sound card driver
|
||||||
|
ifdef CONFIG_SND_SOC_QCS405
|
||||||
|
MACHINE_OBJS += qcs405.o
|
||||||
|
endif
|
||||||
|
|
||||||
ifdef CONFIG_SND_SOC_CPE
|
ifdef CONFIG_SND_SOC_CPE
|
||||||
CPE_LSM_OBJS += msm-cpe-lsm.o
|
CPE_LSM_OBJS += msm-cpe-lsm.o
|
||||||
endif
|
endif
|
||||||
@@ -191,6 +201,9 @@ machine_dlkm-y := $(MACHINE_OBJS)
|
|||||||
obj-$(CONFIG_SND_SOC_SM8150) += machine_dlkm.o
|
obj-$(CONFIG_SND_SOC_SM8150) += machine_dlkm.o
|
||||||
machine_dlkm-y := $(MACHINE_OBJS)
|
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
|
obj-$(CONFIG_SND_SOC_EXT_CODEC) += machine_dlkm.o
|
||||||
machine_dlkm-y := $(MACHINE_OBJS)
|
machine_dlkm-y := $(MACHINE_OBJS)
|
||||||
|
|
||||||
|
@@ -44,6 +44,11 @@ ifeq ($(KERNEL_BUILD), 0)
|
|||||||
export
|
export
|
||||||
INCS += -include $(AUDIO_ROOT)/config/sm8150autoconf.h
|
INCS += -include $(AUDIO_ROOT)/config/sm8150autoconf.h
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(CONFIG_ARCH_QCS405), y)
|
||||||
|
include $(AUDIO_ROOT)/config/qcs405auto.conf
|
||||||
|
export
|
||||||
|
INCS += -include $(AUDIO_ROOT)/config/qcs405autoconf.h
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# As per target team, build is done as follows:
|
# As per target team, build is done as follows:
|
||||||
|
@@ -21,6 +21,11 @@ ifeq ($(KERNEL_BUILD), 0)
|
|||||||
export
|
export
|
||||||
INCS += -include $(AUDIO_ROOT)/config/sm6150autoconf.h
|
INCS += -include $(AUDIO_ROOT)/config/sm6150autoconf.h
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(CONFIG_ARCH_QCS405), y)
|
||||||
|
include $(AUDIO_ROOT)/config/qcs405auto.conf
|
||||||
|
export
|
||||||
|
INCS += -include $(AUDIO_ROOT)/config/qcs405autoconf.h
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# As per target team, build is done as follows:
|
# As per target team, build is done as follows:
|
||||||
|
40
config/qcs405auto.conf
Normal file
40
config/qcs405auto.conf
Normal file
@@ -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
|
53
config/qcs405autoconf.h
Normal file
53
config/qcs405autoconf.h
Normal file
@@ -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
|
@@ -44,6 +44,11 @@ ifeq ($(KERNEL_BUILD), 0)
|
|||||||
export
|
export
|
||||||
INCS += -include $(AUDIO_ROOT)/config/sm8150autoconf.h
|
INCS += -include $(AUDIO_ROOT)/config/sm8150autoconf.h
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(CONFIG_ARCH_QCS405), y)
|
||||||
|
include $(AUDIO_ROOT)/config/qcs405auto.conf
|
||||||
|
export
|
||||||
|
INCS += -include $(AUDIO_ROOT)/config/qcs405autoconf.h
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
@@ -45,6 +45,11 @@ ifeq ($(KERNEL_BUILD), 0)
|
|||||||
export
|
export
|
||||||
INCS += -include $(AUDIO_ROOT)/config/sm8150autoconf.h
|
INCS += -include $(AUDIO_ROOT)/config/sm8150autoconf.h
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(CONFIG_ARCH_QCS405), y)
|
||||||
|
include $(AUDIO_ROOT)/config/qcs405auto.conf
|
||||||
|
export
|
||||||
|
INCS += -include $(AUDIO_ROOT)/config/qcs405autoconf.h
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# As per target team, build is done as follows:
|
# As per target team, build is done as follows:
|
||||||
|
@@ -23,6 +23,10 @@ ifeq ($(CONFIG_ARCH_SM6150), y)
|
|||||||
TARGET_KERNEL_VERSION := 4.14
|
TARGET_KERNEL_VERSION := 4.14
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_ARCH_QCS405), y)
|
||||||
|
TARGET_KERNEL_VERSION := 4.14
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_ARCH_SDMSHRIKE), y)
|
ifeq ($(CONFIG_ARCH_SDMSHRIKE), y)
|
||||||
TARGET_KERNEL_VERSION := 4.14
|
TARGET_KERNEL_VERSION := 4.14
|
||||||
endif
|
endif
|
||||||
@@ -59,6 +63,11 @@ ifeq ($(KERNEL_BUILD), 0)
|
|||||||
export
|
export
|
||||||
INCS += -include $(AUDIO_ROOT)/config/sm8150autoconf.h
|
INCS += -include $(AUDIO_ROOT)/config/sm8150autoconf.h
|
||||||
endif
|
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)
|
ifeq ($(CONFIG_ARCH_SDMSHRIKE), y)
|
||||||
include $(AUDIO_ROOT)/config/sm8150auto.conf
|
include $(AUDIO_ROOT)/config/sm8150auto.conf
|
||||||
export
|
export
|
||||||
|
@@ -44,6 +44,11 @@ ifeq ($(KERNEL_BUILD), 0)
|
|||||||
export
|
export
|
||||||
INCS += -include $(AUDIO_ROOT)/config/sm8150autoconf.h
|
INCS += -include $(AUDIO_ROOT)/config/sm8150autoconf.h
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(CONFIG_ARCH_QCS405), y)
|
||||||
|
include $(AUDIO_ROOT)/config/qcs405auto.conf
|
||||||
|
export
|
||||||
|
INCS += -include $(AUDIO_ROOT)/config/qcs405autoconf.h
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# As per target team, build is done as follows:
|
# As per target team, build is done as follows:
|
||||||
|
Reference in New Issue
Block a user