Kconfig 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. menu "ASoC support for Amlogic platforms"
  3. depends on ARCH_MESON || (COMPILE_TEST && COMMON_CLK)
  4. config SND_MESON_AIU
  5. tristate "Amlogic AIU"
  6. select SND_MESON_CODEC_GLUE
  7. select SND_PCM_IEC958
  8. imply SND_SOC_MESON_T9015
  9. imply SND_SOC_HDMI_CODEC if DRM_MESON_DW_HDMI
  10. help
  11. Select Y or M to add support for the Audio output subsystem found
  12. in the Amlogic Meson8, Meson8b and GX SoC families
  13. config SND_MESON_AXG_FIFO
  14. tristate
  15. select REGMAP_MMIO
  16. imply COMMON_CLK_AXG_AUDIO
  17. imply RESET_MESON_AUDIO_ARB
  18. config SND_MESON_AXG_FRDDR
  19. tristate "Amlogic AXG Playback FIFO support"
  20. select SND_MESON_AXG_FIFO
  21. help
  22. Select Y or M to add support for the frontend playback interfaces
  23. embedded in the Amlogic AXG SoC family
  24. config SND_MESON_AXG_TODDR
  25. tristate "Amlogic AXG Capture FIFO support"
  26. select SND_MESON_AXG_FIFO
  27. help
  28. Select Y or M to add support for the frontend capture interfaces
  29. embedded in the Amlogic AXG SoC family
  30. config SND_MESON_AXG_TDM_FORMATTER
  31. tristate
  32. select REGMAP_MMIO
  33. imply COMMON_CLK_AXG_AUDIO
  34. config SND_MESON_AXG_TDM_INTERFACE
  35. tristate
  36. select SND_MESON_AXG_TDM_FORMATTER
  37. config SND_MESON_AXG_TDMIN
  38. tristate "Amlogic AXG TDM Input Support"
  39. select SND_MESON_AXG_TDM_FORMATTER
  40. select SND_MESON_AXG_TDM_INTERFACE
  41. help
  42. Select Y or M to add support for TDM input formatter embedded
  43. in the Amlogic AXG SoC family
  44. config SND_MESON_AXG_TDMOUT
  45. tristate "Amlogic AXG TDM Output Support"
  46. select SND_MESON_AXG_TDM_FORMATTER
  47. select SND_MESON_AXG_TDM_INTERFACE
  48. help
  49. Select Y or M to add support for TDM output formatter embedded
  50. in the Amlogic AXG SoC family
  51. config SND_MESON_AXG_SOUND_CARD
  52. tristate "Amlogic AXG Sound Card Support"
  53. select SND_MESON_AXG_TDM_INTERFACE
  54. select SND_MESON_CARD_UTILS
  55. imply SND_MESON_AXG_FRDDR
  56. imply SND_MESON_AXG_TODDR
  57. imply SND_MESON_AXG_TDMIN
  58. imply SND_MESON_AXG_TDMOUT
  59. imply SND_MESON_AXG_SPDIFOUT
  60. imply SND_MESON_AXG_SPDIFIN
  61. imply SND_MESON_AXG_PDM
  62. imply SND_MESON_G12A_TOACODEC
  63. imply SND_MESON_G12A_TOHDMITX if DRM_MESON_DW_HDMI
  64. help
  65. Select Y or M to add support for the AXG SoC sound card
  66. config SND_MESON_AXG_SPDIFOUT
  67. tristate "Amlogic AXG SPDIF Output Support"
  68. select SND_PCM_IEC958
  69. imply SND_SOC_SPDIF
  70. imply COMMON_CLK_AXG_AUDIO
  71. help
  72. Select Y or M to add support for SPDIF output serializer embedded
  73. in the Amlogic AXG SoC family
  74. config SND_MESON_AXG_SPDIFIN
  75. tristate "Amlogic AXG SPDIF Input Support"
  76. imply SND_SOC_SPDIF
  77. help
  78. Select Y or M to add support for SPDIF input embedded
  79. in the Amlogic AXG SoC family
  80. config SND_MESON_AXG_PDM
  81. tristate "Amlogic AXG PDM Input Support"
  82. imply SND_SOC_DMIC
  83. imply COMMON_CLK_AXG_AUDIO
  84. help
  85. Select Y or M to add support for PDM input embedded
  86. in the Amlogic AXG SoC family
  87. config SND_MESON_CARD_UTILS
  88. tristate
  89. config SND_MESON_CODEC_GLUE
  90. tristate
  91. config SND_MESON_GX_SOUND_CARD
  92. tristate "Amlogic GX Sound Card Support"
  93. select SND_MESON_CARD_UTILS
  94. imply SND_MESON_AIU
  95. help
  96. Select Y or M to add support for the GXBB/GXL SoC sound card
  97. config SND_MESON_G12A_TOACODEC
  98. tristate "Amlogic G12A To Internal DAC Control Support"
  99. select SND_MESON_CODEC_GLUE
  100. select REGMAP_MMIO
  101. imply SND_SOC_MESON_T9015
  102. help
  103. Select Y or M to add support for the internal audio DAC on the
  104. g12a SoC family
  105. config SND_MESON_G12A_TOHDMITX
  106. tristate "Amlogic G12A To HDMI TX Control Support"
  107. select REGMAP_MMIO
  108. select SND_MESON_CODEC_GLUE
  109. imply SND_SOC_HDMI_CODEC
  110. help
  111. Select Y or M to add support for HDMI audio on the g12a SoC
  112. family
  113. config SND_SOC_MESON_T9015
  114. tristate "Amlogic T9015 DAC"
  115. select REGMAP_MMIO
  116. help
  117. Say Y or M if you want to add support for the internal DAC found
  118. on GXL, G12 and SM1 SoC family.
  119. endmenu