Kconfig 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # SoC audio configuration for cv1800b
  4. #
  5. menu "Sophgo"
  6. depends on COMPILE_TEST || ARCH_SOPHGO
  7. config SND_SOC_CV1800B_TDM
  8. tristate "Sophgo CV1800B I2S/TDM support"
  9. depends on SND_SOC && OF
  10. select SND_SOC_GENERIC_DMAENGINE_PCM
  11. help
  12. This option enables the I2S/TDM audio controller found in Sophgo
  13. CV1800B / SG2002 SoCs. The controller supports standard I2S
  14. audio modes for playback and capture.
  15. The driver integrates with the ASoC framework and uses the DMA
  16. engine for audio data transfer. It is intended to be configured
  17. via Device Tree along with simple-audio-card module.
  18. To compile the driver as a module, choose M here: the module will
  19. be called cv1800b_tdm.
  20. config SND_SOC_CV1800B_ADC_CODEC
  21. tristate "Sophgo CV1800B/SG2002 internal ADC codec"
  22. depends on SND_SOC
  23. help
  24. This driver provides an ASoC codec DAI for capture and basic
  25. control of the RXADC registers.
  26. Say Y or M to build support for the Sophgo CV1800B
  27. internal analog ADC codec block (RXADC).
  28. The module will be called cv1800b-sound-adc
  29. config SND_SOC_CV1800B_DAC_CODEC
  30. tristate "Sophgo CV1800B/SG2002 internal DAC codec"
  31. depends on SND_SOC
  32. help
  33. This driver provides an ASoC codec DAI for playback and basic
  34. control of the TXDAC registers.
  35. Say Y or M to build support for the Sophgo CV1800B
  36. internal analog DAC codec block (TXDAC).
  37. The module will be called cv1800b-sound-dac
  38. endmenu