# This software is contributed or developed by KYOCERA Corporation.
# (C) 2018 KYOCERA Corporation
#
menu "MSM SoC Audio support"

config SND_SOC_MSM_HOSTLESS_PCM
	tristate

config SND_SOC_MSM_QDSP6V2_INTF
	bool "SoC Q6 audio driver for APQ8084"
	depends on MSM_QDSP6_APRV2
	help
	 To add support for SoC audio on APQ8084.
	 This will enable all the platform specific
	 interactions towards DSP. It includes asm,
	 adm and afe interfaces on the DSP.

config SND_SOC_QDSP6V2
	tristate "SoC ALSA audio driver for QDSP6V2"
	select SND_SOC_MSM_QDSP6V2_INTF
	help
	 To add support for MSM QDSP6V2 Soc Audio.
	 This will enable sound soc platform specific
	 audio drivers. This includes q6asm, q6adm,
	 q6afe interfaces to DSP using apr.

config DOLBY_DAP
	bool "Enable Dolby DAP"
	depends on SND_SOC_MSM_QDSP6V2_INTF
	help
	 To add support for dolby DAP post processing.
	 This support is to configure the post processing parameters
	 to DSP. The configuration includes sending the end point
	 device, end point dependent post processing parameters and
	 the various posrt processing parameters

config DOLBY_DS2
	bool "Enable Dolby DS2"
	depends on SND_SOC_MSM_QDSP6V2_INTF
	help
	 To add support for dolby DAP post processing.
	 This support is to configure the post processing parameters
	 to DSP. The configuration includes sending the end point
	 device, end point dependent post processing parameters and
	 the various posrt processing parameters

config DTS_EAGLE
	bool "Enable DTS Eagle Support"
	depends on SND_SOC_MSM_QDSP6V2_INTF
	select SND_HWDEP
	help
	 To add DTS Eagle support on QDSP6 targets.
	 Eagle is a DTS pre/post processing
	 package that includes HeadphoneX. The configuration
	 includes sending tuning parameters of various modules.

config DTS_SRS_TM
	bool "Enable DTS SRS"
	depends on SND_SOC_MSM_QDSP6V2_INTF
	help
	 To add support for DTS SRS post processing.
	 This support is to configure the post processing
	 parameters to DSP. The configuration includes sending
	 tuning parameters of various modules.

config QTI_PP
	bool "Enable QTI PP"
	depends on SND_SOC_MSM_QDSP6V2_INTF
	help
	 To add support for default QTI post processing.
	 This support is to configure the post processing
	 parameters to DSP. The configuration includes sending
	 tuning parameters of various modules such as equalizer,
	 customized mixing.

config SND_SOC_CPE
	tristate "CPE drivers"
	depends on SND_SOC_WCD_CPE
	help
	 To add support for Codec Processing Engine. This support
	 is to enable CPE block on the codec and this config needs
	 to be added to codecs that contain the CPE hardware block.
	 The configuration includes the cpe lsm driver to enable
	 listen on codec.

config SND_SOC_APQ8084
	tristate "SoC Machine driver for APQ8084 boards"
	depends on ARCH_APQ8084
	select SND_SOC_QDSP6V2
	select SND_SOC_MSM_STUB
	select SND_SOC_MSM_HOSTLESS_PCM
	select SND_SOC_WCD9330
	select SND_SOC_WCD9320
	select SND_DYNAMIC_MINORS
	select DOLBY_DAP
	select DTS_SRS_TM
	select QTI_PP
	select SND_SOC_CPE
	select DOLBY_DS2
	select SND_HWDEP
	help
	 To add support for SoC audio on APQ8084.
	 This will enable sound soc drivers which
	 interfaces with DSP, also it will enable
	 the machine drivers and the corresponding
	 DAI-links.

config SND_SOC_MSM8994
	tristate "SoC Machine driver for MSM8994 boards"
	depends on ARCH_MSM8994
	select SND_SOC_QDSP6V2
	select SND_SOC_MSM_STUB
	select SND_SOC_MSM_HOSTLESS_PCM
	select SND_DYNAMIC_MINORS
	select MSM_QDSP6_APRV2
	select MSM_QDSP6V2_CODECS
	select SND_SOC_WCD9330
	select SND_SOC_MSM_HDMI_CODEC_RX
	select QTI_PP
	select DTS_SRS_TM
	select SND_SOC_CPE
	select MSM_ULTRASOUND
	select DOLBY_DS2
	select SND_HWDEP
        select DTS_EAGLE
	help
	 To add support for SoC audio on MSM8994.
	 This will enable sound soc drivers which
	 interfaces with DSP, also it will enable
	 the machine drivers and the corresponding
	 DAI-links.

config SND_SOC_MSM8996
	tristate "SoC Machine driver for MSM8996 boards"
	depends on ARCH_MSM8996
	select SND_SOC_QDSP6V2
	select SND_SOC_MSM_STUB
	select SND_SOC_MSM_HOSTLESS_PCM
	select SND_DYNAMIC_MINORS
	select MSM_QDSP6_APRV2
	select MSM_QDSP6V2_CODECS
	select SND_SOC_WCD9330
	select SND_SOC_WCD9335
	select SND_SOC_WSA881X
	select SND_SOC_MSM_HDMI_CODEC_RX
	select DTS_SRS_TM
	select QTI_PP
	select SND_SOC_CPE
	select MSM_ULTRASOUND
	select DOLBY_DS2
	select SND_HWDEP
        select DTS_EAGLE
	help
	 To add support for SoC audio on MSM8996.
	 This will enable sound soc drivers which
	 interfaces with DSP, also it will enable
	 the machine driver and the corresponding
	 DAI-links

config SND_SOC_MSM8X16
	tristate "SoC Machine driver for MSM8916"
	depends on ARCH_MSMTITANIUM || ARCH_MSM8916 || ARCH_MSM8937
	select SND_SOC_QDSP6V2
	select SND_SOC_MSM_STUB
	select SND_SOC_MSM_HOSTLESS_PCM
	select SND_DYNAMIC_MINORS
	select MSM_QDSP6_APRV2
	select MSM_QDSP6V2_CODECS
	select SND_SOC_WCD9330
	select SND_SOC_WCD9335
	select SND_SOC_MSM8X16_WCD
	select SND_SOC_WSA881X_ANALOG
	select SND_SOC_WSA881X
	select MFD_CORE
	select QTI_PP
	select DTS_SRS_TM
	select DOLBY_DAP
	select DOLBY_DS2
	select SND_SOC_CPE
	select SND_SOC_WCD_CPE
	select SND_SOC_MSM_HDMI_DBA_CODEC_RX
	select SND_HWDEP
        select DTS_EAGLE
	help
	 To add support for SoC audio on MSM8996.
	 This will enable sound soc drivers which
	 interfaces with DSP, also it will enable
	 the machine driver and the corresponding
	 DAI-links

config SND_SOC_MDMCALIFORNIUM
        tristate "SoC Machine driver for MDMCALIFORNIUM boards"
        depends on ARCH_MDMCALIFORNIUM
        select SND_SOC_QDSP6V2
        select SND_SOC_MSM_STUB
        select SND_SOC_MSM_HOSTLESS_PCM
        select SND_DYNAMIC_MINORS
        select MSM_QDSP6_APRV3
        select MSM_QDSP6V2_CODECS
        select SND_SOC_WCD9335
        select SND_SOC_WSA881X
        select SND_HWDEP
        help
         To add support for SoC audio on MDMCALIFORNIUM.
         This will enable sound soc drivers which
         interfaces with DSP, also it will enable
         the machine driver and the corresponding
         DAI-links

config SND_SOC_MDM9607
	tristate "SoC Machine driver for MDM9607 boards"
	depends on ARCH_MDM9607
	select SND_SOC_QDSP6V2
	select SND_SOC_MSM_STUB
# CONFIG_KYOCERA_MSND:s		AUD_06_0202
#	select SND_SOC_WCD9330
# CONFIG_KYOCERA_MSND:e
	select SND_SOC_WCD9306
# CONFIG_KYOCERA_MSND:s		AUD_06_0204
	select SND_SOC_AK4633
# CONFIG_KYOCERA_MSND:e
	select SND_SOC_MSM_HOSTLESS_PCM
	select SND_DYNAMIC_MINORS
	select MSM_QDSP6_APRV3
	select MSM_QDSP6V2_CODECS
	select SND_HWDEP
	help
	 To add support for SoC audio on MDM9607 boards.
	 This will enable sound soc drivers which
	 interfaces with DSP, also it will enable
	 the machine drivers and the corresponding
	 DAI-links.

endmenu
