162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_cimenuconfig SND_SOC_QCOM
362306a36Sopenharmony_ci	tristate "ASoC support for QCOM platforms"
462306a36Sopenharmony_ci	depends on ARCH_QCOM || COMPILE_TEST
562306a36Sopenharmony_ci	help
662306a36Sopenharmony_ci	  Say Y or M if you want to add support to use audio devices
762306a36Sopenharmony_ci	  in Qualcomm Technologies SOC-based platforms.
862306a36Sopenharmony_ci
962306a36Sopenharmony_ciif SND_SOC_QCOM
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ciconfig SND_SOC_LPASS_CPU
1262306a36Sopenharmony_ci	tristate
1362306a36Sopenharmony_ci	select REGMAP_MMIO
1462306a36Sopenharmony_ci
1562306a36Sopenharmony_ciconfig SND_SOC_LPASS_HDMI
1662306a36Sopenharmony_ci	tristate
1762306a36Sopenharmony_ci	select REGMAP_MMIO
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ciconfig SND_SOC_LPASS_PLATFORM
2062306a36Sopenharmony_ci	tristate
2162306a36Sopenharmony_ci	select REGMAP_MMIO
2262306a36Sopenharmony_ci
2362306a36Sopenharmony_ciconfig SND_SOC_LPASS_CDC_DMA
2462306a36Sopenharmony_ci	tristate
2562306a36Sopenharmony_ci	select REGMAP_MMIO
2662306a36Sopenharmony_ci
2762306a36Sopenharmony_ciconfig SND_SOC_LPASS_IPQ806X
2862306a36Sopenharmony_ci	tristate
2962306a36Sopenharmony_ci	select SND_SOC_LPASS_CPU
3062306a36Sopenharmony_ci	select SND_SOC_LPASS_PLATFORM
3162306a36Sopenharmony_ci
3262306a36Sopenharmony_ciconfig SND_SOC_LPASS_APQ8016
3362306a36Sopenharmony_ci	tristate
3462306a36Sopenharmony_ci	select SND_SOC_LPASS_CPU
3562306a36Sopenharmony_ci	select SND_SOC_LPASS_PLATFORM
3662306a36Sopenharmony_ci
3762306a36Sopenharmony_ciconfig SND_SOC_LPASS_SC7180
3862306a36Sopenharmony_ci	tristate
3962306a36Sopenharmony_ci	select SND_SOC_LPASS_CPU
4062306a36Sopenharmony_ci	select SND_SOC_LPASS_PLATFORM
4162306a36Sopenharmony_ci	select SND_SOC_LPASS_HDMI
4262306a36Sopenharmony_ci
4362306a36Sopenharmony_ciconfig SND_SOC_LPASS_SC7280
4462306a36Sopenharmony_ci	tristate
4562306a36Sopenharmony_ci	select SND_SOC_LPASS_CPU
4662306a36Sopenharmony_ci	select SND_SOC_LPASS_PLATFORM
4762306a36Sopenharmony_ci	select SND_SOC_LPASS_HDMI
4862306a36Sopenharmony_ci	select SND_SOC_LPASS_CDC_DMA
4962306a36Sopenharmony_ci
5062306a36Sopenharmony_ciconfig SND_SOC_STORM
5162306a36Sopenharmony_ci	tristate "ASoC I2S support for Storm boards"
5262306a36Sopenharmony_ci	depends on GPIOLIB
5362306a36Sopenharmony_ci	select SND_SOC_LPASS_IPQ806X
5462306a36Sopenharmony_ci	select SND_SOC_MAX98357A
5562306a36Sopenharmony_ci	help
5662306a36Sopenharmony_ci	  Say Y or M if you want add support for SoC audio on the
5762306a36Sopenharmony_ci	  Qualcomm Technologies IPQ806X-based Storm board.
5862306a36Sopenharmony_ci
5962306a36Sopenharmony_ciconfig SND_SOC_APQ8016_SBC
6062306a36Sopenharmony_ci	tristate "SoC Audio support for APQ8016 SBC platforms"
6162306a36Sopenharmony_ci	select SND_SOC_LPASS_APQ8016
6262306a36Sopenharmony_ci	select SND_SOC_QCOM_COMMON
6362306a36Sopenharmony_ci	help
6462306a36Sopenharmony_ci	  Support for Qualcomm Technologies LPASS audio block in
6562306a36Sopenharmony_ci	  APQ8016 SOC-based systems.
6662306a36Sopenharmony_ci	  Say Y if you want to use audio devices on MI2S.
6762306a36Sopenharmony_ci
6862306a36Sopenharmony_ciconfig SND_SOC_QCOM_COMMON
6962306a36Sopenharmony_ci	tristate
7062306a36Sopenharmony_ci
7162306a36Sopenharmony_ciconfig SND_SOC_QCOM_SDW
7262306a36Sopenharmony_ci	tristate
7362306a36Sopenharmony_ci
7462306a36Sopenharmony_ciconfig SND_SOC_QDSP6_COMMON
7562306a36Sopenharmony_ci	tristate
7662306a36Sopenharmony_ci
7762306a36Sopenharmony_ciconfig SND_SOC_QDSP6_CORE
7862306a36Sopenharmony_ci	tristate
7962306a36Sopenharmony_ci
8062306a36Sopenharmony_ciconfig SND_SOC_QDSP6_AFE
8162306a36Sopenharmony_ci	tristate
8262306a36Sopenharmony_ci
8362306a36Sopenharmony_ciconfig SND_SOC_QDSP6_AFE_DAI
8462306a36Sopenharmony_ci	tristate
8562306a36Sopenharmony_ci
8662306a36Sopenharmony_ciconfig SND_SOC_QDSP6_AFE_CLOCKS
8762306a36Sopenharmony_ci	tristate
8862306a36Sopenharmony_ci
8962306a36Sopenharmony_ciconfig SND_SOC_QDSP6_ADM
9062306a36Sopenharmony_ci	tristate
9162306a36Sopenharmony_ci
9262306a36Sopenharmony_ciconfig SND_SOC_QDSP6_ROUTING
9362306a36Sopenharmony_ci	tristate
9462306a36Sopenharmony_ci
9562306a36Sopenharmony_ciconfig SND_SOC_QDSP6_ASM
9662306a36Sopenharmony_ci	tristate
9762306a36Sopenharmony_ci
9862306a36Sopenharmony_ciconfig SND_SOC_QDSP6_ASM_DAI
9962306a36Sopenharmony_ci	select SND_SOC_COMPRESS
10062306a36Sopenharmony_ci	tristate
10162306a36Sopenharmony_ci
10262306a36Sopenharmony_ciconfig SND_SOC_QDSP6_APM_DAI
10362306a36Sopenharmony_ci	tristate
10462306a36Sopenharmony_ci	select SND_SOC_COMPRESS
10562306a36Sopenharmony_ci
10662306a36Sopenharmony_ciconfig SND_SOC_QDSP6_APM_LPASS_DAI
10762306a36Sopenharmony_ci	tristate
10862306a36Sopenharmony_ci
10962306a36Sopenharmony_ciconfig SND_SOC_QDSP6_APM
11062306a36Sopenharmony_ci	tristate
11162306a36Sopenharmony_ci	select SND_SOC_QDSP6_APM_DAI
11262306a36Sopenharmony_ci	select SND_SOC_QDSP6_APM_LPASS_DAI
11362306a36Sopenharmony_ci
11462306a36Sopenharmony_ciconfig SND_SOC_QDSP6_PRM_LPASS_CLOCKS
11562306a36Sopenharmony_ci	tristate
11662306a36Sopenharmony_ci
11762306a36Sopenharmony_ciconfig SND_SOC_QDSP6_PRM
11862306a36Sopenharmony_ci	tristate
11962306a36Sopenharmony_ci	select SND_SOC_QDSP6_PRM_LPASS_CLOCKS
12062306a36Sopenharmony_ci
12162306a36Sopenharmony_ciconfig SND_SOC_QDSP6
12262306a36Sopenharmony_ci	tristate "SoC ALSA audio driver for QDSP6"
12362306a36Sopenharmony_ci	depends on QCOM_APR
12462306a36Sopenharmony_ci	depends on COMMON_CLK
12562306a36Sopenharmony_ci	select SND_SOC_QDSP6_COMMON
12662306a36Sopenharmony_ci	select SND_SOC_QDSP6_CORE
12762306a36Sopenharmony_ci	select SND_SOC_QDSP6_AFE
12862306a36Sopenharmony_ci	select SND_SOC_QDSP6_AFE_DAI
12962306a36Sopenharmony_ci	select SND_SOC_QDSP6_AFE_CLOCKS
13062306a36Sopenharmony_ci	select SND_SOC_QDSP6_ADM
13162306a36Sopenharmony_ci	select SND_SOC_QDSP6_ROUTING
13262306a36Sopenharmony_ci	select SND_SOC_QDSP6_ASM
13362306a36Sopenharmony_ci	select SND_SOC_QDSP6_ASM_DAI
13462306a36Sopenharmony_ci	select SND_SOC_TOPOLOGY
13562306a36Sopenharmony_ci	select SND_SOC_QDSP6_APM
13662306a36Sopenharmony_ci	select SND_SOC_QDSP6_PRM
13762306a36Sopenharmony_ci	help
13862306a36Sopenharmony_ci	 To add support for MSM QDSP6 Soc Audio.
13962306a36Sopenharmony_ci	 This will enable sound soc platform specific
14062306a36Sopenharmony_ci	 audio drivers. This includes q6asm, q6adm,
14162306a36Sopenharmony_ci	 q6afe interfaces to DSP using apr.
14262306a36Sopenharmony_ci
14362306a36Sopenharmony_ciconfig SND_SOC_MSM8996
14462306a36Sopenharmony_ci	tristate "SoC Machine driver for MSM8996 and APQ8096 boards"
14562306a36Sopenharmony_ci	depends on QCOM_APR
14662306a36Sopenharmony_ci	depends on COMMON_CLK
14762306a36Sopenharmony_ci	select SND_SOC_QDSP6
14862306a36Sopenharmony_ci	select SND_SOC_QCOM_COMMON
14962306a36Sopenharmony_ci	help
15062306a36Sopenharmony_ci	  Support for Qualcomm Technologies LPASS audio block in
15162306a36Sopenharmony_ci	  APQ8096 SoC-based systems.
15262306a36Sopenharmony_ci	  Say Y if you want to use audio device on this SoCs
15362306a36Sopenharmony_ci
15462306a36Sopenharmony_ciconfig SND_SOC_SDM845
15562306a36Sopenharmony_ci	tristate "SoC Machine driver for SDM845 boards"
15662306a36Sopenharmony_ci	depends on QCOM_APR && I2C && SOUNDWIRE
15762306a36Sopenharmony_ci	depends on COMMON_CLK
15862306a36Sopenharmony_ci	select SND_SOC_QDSP6
15962306a36Sopenharmony_ci	select SND_SOC_QCOM_COMMON
16062306a36Sopenharmony_ci	select SND_SOC_RT5663
16162306a36Sopenharmony_ci	select SND_SOC_MAX98927
16262306a36Sopenharmony_ci	imply SND_SOC_CROS_EC_CODEC
16362306a36Sopenharmony_ci	help
16462306a36Sopenharmony_ci	  To add support for audio on Qualcomm Technologies Inc.
16562306a36Sopenharmony_ci	  SDM845 SoC-based systems.
16662306a36Sopenharmony_ci	  Say Y if you want to use audio device on this SoCs.
16762306a36Sopenharmony_ci
16862306a36Sopenharmony_ciconfig SND_SOC_SM8250
16962306a36Sopenharmony_ci	tristate "SoC Machine driver for SM8250 boards"
17062306a36Sopenharmony_ci	depends on QCOM_APR && SOUNDWIRE
17162306a36Sopenharmony_ci	depends on COMMON_CLK
17262306a36Sopenharmony_ci	select SND_SOC_QDSP6
17362306a36Sopenharmony_ci	select SND_SOC_QCOM_COMMON
17462306a36Sopenharmony_ci	select SND_SOC_QCOM_SDW
17562306a36Sopenharmony_ci	help
17662306a36Sopenharmony_ci	  To add support for audio on Qualcomm Technologies Inc.
17762306a36Sopenharmony_ci	  SM8250 SoC-based systems.
17862306a36Sopenharmony_ci	  Say Y if you want to use audio device on this SoCs.
17962306a36Sopenharmony_ci
18062306a36Sopenharmony_ciconfig SND_SOC_SC8280XP
18162306a36Sopenharmony_ci	tristate "SoC Machine driver for SC8280XP boards"
18262306a36Sopenharmony_ci	depends on QCOM_APR && SOUNDWIRE
18362306a36Sopenharmony_ci	depends on COMMON_CLK
18462306a36Sopenharmony_ci	select SND_SOC_QDSP6
18562306a36Sopenharmony_ci	select SND_SOC_QCOM_COMMON
18662306a36Sopenharmony_ci	select SND_SOC_QCOM_SDW
18762306a36Sopenharmony_ci	help
18862306a36Sopenharmony_ci	  To add support for audio on Qualcomm Technologies Inc.
18962306a36Sopenharmony_ci	  SC8280XP SoC-based systems.
19062306a36Sopenharmony_ci	  Say Y if you want to use audio device on this SoCs.
19162306a36Sopenharmony_ci
19262306a36Sopenharmony_ciconfig SND_SOC_SC7180
19362306a36Sopenharmony_ci	tristate "SoC Machine driver for SC7180 boards"
19462306a36Sopenharmony_ci	depends on I2C && GPIOLIB
19562306a36Sopenharmony_ci	depends on SOUNDWIRE || SOUNDWIRE=n
19662306a36Sopenharmony_ci	select SND_SOC_QCOM_COMMON
19762306a36Sopenharmony_ci	select SND_SOC_LPASS_SC7180
19862306a36Sopenharmony_ci	select SND_SOC_MAX98357A
19962306a36Sopenharmony_ci	select SND_SOC_RT5682_I2C
20062306a36Sopenharmony_ci	select SND_SOC_RT5682S
20162306a36Sopenharmony_ci	select SND_SOC_ADAU7002
20262306a36Sopenharmony_ci	help
20362306a36Sopenharmony_ci	  To add support for audio on Qualcomm Technologies Inc.
20462306a36Sopenharmony_ci	  SC7180 SoC-based systems.
20562306a36Sopenharmony_ci	  Say Y if you want to use audio device on this SoCs.
20662306a36Sopenharmony_ci
20762306a36Sopenharmony_ciconfig SND_SOC_SC7280
20862306a36Sopenharmony_ci	tristate "SoC Machine driver for SC7280 boards"
20962306a36Sopenharmony_ci	depends on I2C && SOUNDWIRE
21062306a36Sopenharmony_ci	select SND_SOC_QCOM_COMMON
21162306a36Sopenharmony_ci	select SND_SOC_LPASS_SC7280
21262306a36Sopenharmony_ci	select SND_SOC_MAX98357A
21362306a36Sopenharmony_ci	select SND_SOC_WCD938X_SDW
21462306a36Sopenharmony_ci	select SND_SOC_LPASS_MACRO_COMMON
21562306a36Sopenharmony_ci	imply SND_SOC_LPASS_RX_MACRO
21662306a36Sopenharmony_ci	imply SND_SOC_LPASS_TX_MACRO
21762306a36Sopenharmony_ci	select SND_SOC_RT5682_I2C
21862306a36Sopenharmony_ci	select SND_SOC_RT5682S
21962306a36Sopenharmony_ci	help
22062306a36Sopenharmony_ci	  Add support for audio on Qualcomm Technologies Inc.
22162306a36Sopenharmony_ci	  SC7280 SoC-based systems.
22262306a36Sopenharmony_ci	  Say Y or M if you want to use audio device on this SoCs.
22362306a36Sopenharmony_ci
22462306a36Sopenharmony_ciendif #SND_SOC_QCOM
225