Kconfig 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. config SND_SOC_ROCKCHIP
  3. tristate "ASoC support for Rockchip"
  4. depends on COMPILE_TEST || ARCH_ROCKCHIP
  5. help
  6. Say Y or M if you want to add support for codecs attached to
  7. the Rockchip SoCs' Audio interfaces. You will also need to
  8. select the audio interfaces to support below.
  9. config SND_SOC_ROCKCHIP_I2S
  10. tristate "Rockchip I2S Device Driver"
  11. depends on HAVE_CLK && SND_SOC_ROCKCHIP
  12. select SND_SOC_GENERIC_DMAENGINE_PCM
  13. help
  14. Say Y or M if you want to add support for I2S driver for
  15. Rockchip I2S device. The device supports upto maximum of
  16. 8 channels each for play and record.
  17. config SND_SOC_ROCKCHIP_I2S_TDM
  18. tristate "Rockchip I2S/TDM Device Driver"
  19. depends on HAVE_CLK && SND_SOC_ROCKCHIP
  20. select SND_SOC_GENERIC_DMAENGINE_PCM
  21. help
  22. Say Y or M if you want to add support for the I2S/TDM driver for
  23. Rockchip I2S/TDM devices, found in Rockchip SoCs. These devices
  24. interface between the AHB bus and the I2S bus, and support up to a
  25. maximum of 8 channels each for playback and recording.
  26. config SND_SOC_ROCKCHIP_PDM
  27. tristate "Rockchip PDM Controller Driver"
  28. depends on HAVE_CLK && SND_SOC_ROCKCHIP
  29. select SND_SOC_GENERIC_DMAENGINE_PCM
  30. select RATIONAL
  31. help
  32. Say Y or M if you want to add support for PDM driver for
  33. Rockchip PDM Controller. The Controller supports up to maximum of
  34. 8 channels record.
  35. config SND_SOC_ROCKCHIP_SPDIF
  36. tristate "Rockchip SPDIF Device Driver"
  37. depends on HAVE_CLK && SND_SOC_ROCKCHIP
  38. select SND_SOC_GENERIC_DMAENGINE_PCM
  39. help
  40. Say Y or M if you want to add support for SPDIF driver for
  41. Rockchip SPDIF transceiver device.
  42. config SND_SOC_ROCKCHIP_MAX98090
  43. tristate "ASoC support for Rockchip boards using a MAX98090 codec"
  44. depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && HAVE_CLK
  45. select SND_SOC_ROCKCHIP_I2S
  46. select SND_SOC_MAX98090
  47. select SND_SOC_TS3A227E
  48. select SND_SOC_HDMI_CODEC
  49. help
  50. Say Y or M here if you want to add support for SoC audio on Rockchip
  51. boards using the MAX98090 codec and HDMI codec, such as Veyron.
  52. config SND_SOC_ROCKCHIP_RT5645
  53. tristate "ASoC support for Rockchip boards using a RT5645/RT5650 codec"
  54. depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && HAVE_CLK
  55. select SND_SOC_ROCKCHIP_I2S
  56. select SND_SOC_RT5645
  57. help
  58. Say Y or M here if you want to add support for SoC audio on Rockchip
  59. boards using the RT5645/RT5650 codec, such as Veyron.
  60. config SND_SOC_RK3288_HDMI_ANALOG
  61. tristate "ASoC support multiple codecs for Rockchip RK3288 boards"
  62. depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && HAVE_CLK
  63. select SND_SOC_ROCKCHIP_I2S
  64. select SND_SOC_HDMI_CODEC
  65. select SND_SOC_ES8328_I2C
  66. select SND_SOC_ES8328_SPI if SPI_MASTER
  67. select DRM_DW_HDMI_I2S_AUDIO if DRM_DW_HDMI
  68. help
  69. Say Y or M here if you want to add support for SoC audio on Rockchip
  70. RK3288 boards using an analog output and the built-in HDMI audio.
  71. config SND_SOC_RK3399_GRU_SOUND
  72. tristate "ASoC support multiple codecs for Rockchip RK3399 GRU boards"
  73. depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && HAVE_CLK && SPI
  74. select SND_SOC_ROCKCHIP_I2S
  75. select SND_SOC_MAX98357A
  76. select SND_SOC_RT5514
  77. select SND_SOC_DA7219
  78. select SND_SOC_RT5514_SPI
  79. select SND_SOC_HDMI_CODEC
  80. select SND_SOC_DMIC
  81. help
  82. Say Y or M here if you want to add support multiple codecs for SoC
  83. audio on Rockchip RK3399 GRU boards.