Kconfig 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. menu "Allwinner SoC Audio support"
  2. depends on ARCH_SUNXI || COMPILE_TEST
  3. config SND_SUN4I_CODEC
  4. tristate "Allwinner A10 Codec Support"
  5. select SND_SOC_GENERIC_DMAENGINE_PCM
  6. select REGMAP_MMIO
  7. help
  8. Select Y or M to add support for the Codec embedded in the Allwinner
  9. A10 and affiliated SoCs.
  10. config SND_SUN8I_CODEC
  11. tristate "Allwinner SUN8I audio codec"
  12. depends on OF
  13. depends on MACH_SUN8I || (ARM64 && ARCH_SUNXI) || COMPILE_TEST
  14. select REGMAP_MMIO
  15. help
  16. This option enables the digital part of the internal audio codec for
  17. Allwinner sun8i SoC (and particularly A33).
  18. Say Y or M if you want to add sun8i digital audio codec support.
  19. config SND_SUN8I_CODEC_ANALOG
  20. tristate "Allwinner sun8i Codec Analog Controls Support"
  21. depends on MACH_SUN8I || (ARM64 && ARCH_SUNXI) || COMPILE_TEST
  22. select SND_SUN8I_ADDA_PR_REGMAP
  23. help
  24. Say Y or M if you want to add support for the analog controls for
  25. the codec embedded in newer Allwinner SoCs.
  26. config SND_SUN50I_CODEC_ANALOG
  27. tristate "Allwinner sun50i Codec Analog Controls Support"
  28. depends on (ARM64 && ARCH_SUNXI) || COMPILE_TEST
  29. select SND_SUN8I_ADDA_PR_REGMAP
  30. help
  31. Say Y or M if you want to add support for the analog controls for
  32. the codec embedded in Allwinner A64 SoC.
  33. config SND_SUN4I_I2S
  34. tristate "Allwinner A10 I2S Support"
  35. select SND_SOC_GENERIC_DMAENGINE_PCM
  36. select REGMAP_MMIO
  37. help
  38. Say Y or M if you want to add support for codecs attached to
  39. the Allwinner A10 I2S. You will also need to select the
  40. individual machine drivers to support below.
  41. config SND_SUN4I_SPDIF
  42. tristate "Allwinner A10 SPDIF Support"
  43. depends on OF
  44. select SND_SOC_GENERIC_DMAENGINE_PCM
  45. select REGMAP_MMIO
  46. help
  47. Say Y or M to add support for the S/PDIF audio block in the Allwinner
  48. A10 and affiliated SoCs.
  49. config SND_SUN8I_ADDA_PR_REGMAP
  50. tristate
  51. select REGMAP
  52. endmenu