Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   1) # SPDX-License-Identifier: GPL-2.0-only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   2) menu "Audio support for Texas Instruments SoCs"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   3) depends on DMA_OMAP || TI_EDMA || TI_K3_UDMA || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   4) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   5) config SND_SOC_TI_EDMA_PCM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   6) 	tristate
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   7) 	select SND_SOC_GENERIC_DMAENGINE_PCM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   8) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   9) config SND_SOC_TI_SDMA_PCM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  10) 	tristate
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  11) 	select SND_SOC_GENERIC_DMAENGINE_PCM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  12) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  13) config SND_SOC_TI_UDMA_PCM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  14) 	tristate
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  15) 	select SND_SOC_GENERIC_DMAENGINE_PCM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  16) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  17) comment "Texas Instruments DAI support for:"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  18) config SND_SOC_DAVINCI_ASP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  19) 	tristate "daVinci Audio Serial Port (ASP) or McBSP support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  20) 	depends on ARCH_DAVINCI || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  21) 	select SND_SOC_TI_EDMA_PCM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  22) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  23) 	  Say Y or M here if you want audio support via daVinci ASP or McBSP.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  24) 	  The driver only implements the ASP support which is a subset of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  25) 	  daVinci McBSP (w/o the multichannel support).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  26) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  27) config SND_SOC_DAVINCI_MCASP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  28) 	tristate "Multichannel Audio Serial Port (McASP) support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  29) 	select SND_SOC_TI_EDMA_PCM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  30) 	select SND_SOC_TI_SDMA_PCM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  31) 	select SND_SOC_TI_UDMA_PCM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  32) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  33) 	  Say Y or M here if you want to have support for McASP IP found in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  34) 	  various Texas Instruments SoCs like:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  35) 	  - daVinci devices
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  36) 	  - Sitara line of SoCs (AM335x, AM438x, etc)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  37) 	  - DRA7x devices
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  38) 	  - Keystone devices
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  39) 	  - K3 devices (am654, j721e)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  40) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  41) config SND_SOC_DAVINCI_VCIF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  42) 	tristate "daVinci Voice Interface (VCIF) support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  43) 	depends on ARCH_DAVINCI || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  44) 	select SND_SOC_TI_EDMA_PCM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  45) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  46) 	  Say Y or M here if you want audio support via daVinci VCIF.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  47) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  48) config SND_SOC_OMAP_DMIC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  49) 	tristate "Digital Microphone Module (DMIC) support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  50) 	depends on ARCH_OMAP4 || SOC_OMAP5 || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  51) 	select SND_SOC_TI_SDMA_PCM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  52) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  53) 	  Say Y or M here if you want to have support for DMIC IP found in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  54) 	  OMAP4 and OMAP5.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  55) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  56) config SND_SOC_OMAP_MCBSP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  57) 	tristate "Multichannel Buffered Serial Port (McBSP) support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  58) 	depends on ARCH_OMAP || ARCH_OMAP1 || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  59) 	select SND_SOC_TI_SDMA_PCM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  60) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  61) 	  Say Y or M here if you want to have support for McBSP IP found in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  62) 	  Texas Instruments OMAP1/2/3/4/5 SoCs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  63) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  64) config SND_SOC_OMAP_MCPDM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  65) 	tristate "Multichannel PDM Controller (McPDM) support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  66) 	depends on ARCH_OMAP4 || SOC_OMAP5 || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  67) 	select SND_SOC_TI_SDMA_PCM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  68) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  69) 	  Say Y or M here if you want to have support for McPDM IP found in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  70) 	  OMAP4 and OMAP5.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  71) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  72) comment "Audio support for boards with Texas Instruments SoCs"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  73) config SND_SOC_NOKIA_N810
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  74) 	tristate "SoC Audio support for Nokia N810"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  75) 	depends on MACH_NOKIA_N810 && I2C
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  76) 	select SND_SOC_OMAP_MCBSP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  77) 	select SND_SOC_TLV320AIC3X
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  78) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  79) 	  Say Y or M if you want to add support for SoC audio on Nokia N810.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  80) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  81) config SND_SOC_NOKIA_RX51
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  82) 	tristate "SoC Audio support for Nokia RX-51"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  83) 	depends on ARCH_OMAP3 && I2C && GPIOLIB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  84) 	select SND_SOC_OMAP_MCBSP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  85) 	select SND_SOC_TLV320AIC3X
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  86) 	select SND_SOC_TPA6130A2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  87) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  88) 	  Say Y or M if you want to add support for SoC audio on Nokia RX-51
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  89) 	  hardware. This is also known as Nokia N900 product.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  90) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  91) config SND_SOC_OMAP3_PANDORA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  92) 	tristate "SoC Audio support for OMAP3 Pandora"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  93) 	depends on ARCH_OMAP3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  94) 	depends on TWL4030_CORE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  95) 	select SND_SOC_OMAP_MCBSP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  96) 	select SND_SOC_TWL4030
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  97) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  98) 	  Say Y or M if you want to add support for SoC audio on the OMAP3 Pandora.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  99) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) config SND_SOC_OMAP3_TWL4030
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101) 	tristate "SoC Audio support for OMAP3 based boards with twl4030 codec"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102) 	depends on ARCH_OMAP3 || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103) 	depends on TWL4030_CORE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104) 	select SND_SOC_OMAP_MCBSP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105) 	select SND_SOC_TWL4030
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107) 	  Say Y or M if you want to add support for SoC audio on OMAP3 based
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108) 	  boards using twl4030 as codec. This driver currently supports:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109) 	  - Beagleboard or Devkit8000
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110) 	  - Gumstix Overo or CompuLab CM-T35/CM-T3730
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111) 	  - IGEP v2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112) 	  - OMAP3EVM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113) 	  - SDP3430
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114) 	  - Zoom2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 115) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 116) config SND_SOC_OMAP_ABE_TWL6040
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 117) 	tristate "SoC Audio support for OMAP boards using ABE and twl6040 codec"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 118) 	depends on TWL6040_CORE && COMMON_CLK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 119) 	depends on ARCH_OMAP4 || (SOC_OMAP5 && MFD_PALMAS) || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 120) 	select SND_SOC_OMAP_DMIC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 121) 	select SND_SOC_OMAP_MCPDM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 122) 	select SND_SOC_TWL6040
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 123) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 124) 	  Say Y or M if you want to add support for SoC audio on OMAP boards
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 125) 	  using ABE and twl6040 codec. This driver currently supports:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 126) 	  - SDP4430/Blaze boards
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 127) 	  - PandaBoard (4430)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 128) 	  - PandaBoardES (4460)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 129) 	  - OMAP5 uEVM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 130) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 131) config SND_SOC_OMAP_AMS_DELTA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 132) 	tristate "SoC Audio support for Amstrad E3 (Delta) videophone"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 133) 	depends on MACH_AMS_DELTA && TTY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 134) 	select SND_SOC_OMAP_MCBSP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 135) 	select SND_SOC_CX20442
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 136) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 137) 	  Say Y  or M if you want to add support  for SoC audio device
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 138) 	  connected to a handset and a speakerphone found on Amstrad E3 (Delta)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 139) 	  videophone.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 140) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 141) 	  Note that in order to get those devices fully supported,  you have to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 142) 	  build  the kernel  with  standard  serial port  driver  included  and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 143) 	  configured for at least 4 ports.  Then, from userspace, you must load
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 144) 	  a line discipline #19 on the modem (ttyS3) serial line.  The simplest
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 145) 	  way to achieve this is to install util-linux-ng  and use the included
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 146) 	  ldattach  utility.  This  can be  started  automatically  from  udev,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 147) 	  a simple rule like this one should do the trick (it does for me):
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 148) 		ACTION=="add", KERNEL=="controlC0", \
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 149) 				RUN+="/usr/sbin/ldattach 19 /dev/ttyS3"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 150) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 151) config SND_SOC_OMAP_HDMI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 152) 	tristate "OMAP4/5 HDMI audio support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 153) 	depends on OMAP4_DSS_HDMI || OMAP5_DSS_HDMI || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 154) 	select SND_SOC_TI_SDMA_PCM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 155) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 156) 	  For HDMI audio to work OMAPDSS HDMI support should be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 157) 	  enabled.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 158) 	  The hdmi audio driver implements cpu-dai component using the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 159) 	  callbacks provided by OMAPDSS and registers the component
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 160) 	  under DSS HDMI device. Omap-pcm is registered for platform
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 161) 	  component also under DSS HDMI device. Dummy codec is used as
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 162) 	  as codec component. The hdmi audio driver implements also
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 163) 	  the card and registers it under its own platform device.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 164) 	  The device for the driver is registered by OMAPDSS hdmi
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 165) 	  driver.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 166) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 167) config SND_SOC_OMAP_OSK5912
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 168) 	tristate "SoC Audio support for omap osk5912"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 169) 	depends on MACH_OMAP_OSK && I2C
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 170) 	select SND_SOC_OMAP_MCBSP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 171) 	select SND_SOC_TLV320AIC23_I2C
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 172) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 173) 	  Say Y or M if you want to add support for SoC audio on osk5912.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 174) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 175) config SND_SOC_DAVINCI_EVM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 176) 	tristate "SoC Audio support for DaVinci EVMs"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 177) 	depends on ARCH_DAVINCI && I2C
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 178) 	select SND_SOC_DAVINCI_ASP if MACH_DAVINCI_DM355_EVM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 179) 	select SND_SOC_DAVINCI_ASP if SND_SOC_DM365_AIC3X_CODEC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 180) 	select SND_SOC_DAVINCI_VCIF if SND_SOC_DM365_VOICE_CODEC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 181) 	select SND_SOC_DAVINCI_ASP if MACH_DAVINCI_EVM # DM6446
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 182) 	select SND_SOC_DAVINCI_MCASP if MACH_DAVINCI_DM6467_EVM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 183) 	select SND_SOC_SPDIF if MACH_DAVINCI_DM6467_EVM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 184) 	select SND_SOC_DAVINCI_MCASP if MACH_DAVINCI_DA830_EVM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 185) 	select SND_SOC_DAVINCI_MCASP if MACH_DAVINCI_DA850_EVM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 186) 	select SND_SOC_TLV320AIC3X
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 187) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 188) 	  Say Y if you want to add support for SoC audio on the following TI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 189) 	  DaVinci EVM platforms:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 190) 	  - DM355
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 191) 	  - DM365
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 192) 	  - DM6446
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 193) 	  - DM6447
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 194) 	  - DM830
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 195) 	  - DM850
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 196) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 197) choice
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 198) 	prompt "DM365 codec select"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 199) 	depends on SND_SOC_DAVINCI_EVM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 200) 	depends on MACH_DAVINCI_DM365_EVM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 201) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 202) config SND_SOC_DM365_AIC3X_CODEC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 203) 	bool "Audio Codec - AIC3101"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 204) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 205) 	  Say Y if you want to add support for AIC3101 audio codec
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 206) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 207) config SND_SOC_DM365_VOICE_CODEC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 208) 	bool "Voice Codec - CQ93VC"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 209) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 210) 	  Say Y if you want to add support for SoC On-chip voice codec
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 211) endchoice
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 212) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 213) config SND_SOC_DM365_VOICE_CODEC_MODULE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 214) 	def_tristate y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 215) 	depends on SND_SOC_DM365_VOICE_CODEC && SND_SOC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 216) 	select MFD_DAVINCI_VOICECODEC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 217) 	select SND_SOC_CQ0093VC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 218) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 219) 	  The is an internal symbol needed to ensure that the codec
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 220) 	  and MFD driver can be built as loadable modules if necessary.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 221) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 222) config SND_SOC_J721E_EVM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 223) 	tristate "SoC Audio support for j721e EVM"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 224) 	depends on ARCH_K3 || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 225) 	depends on I2C
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 226) 	select SND_SOC_PCM3168A_I2C
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 227) 	select SND_SOC_DAVINCI_MCASP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 228) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 229) 	  Say Y if you want to add support for SoC audio on j721e Common
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 230) 	  Processor Board and Infotainment expansion board.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 231) endmenu
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 232)