Kconfig 2.1 KB

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