Kconfig 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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 CLKDEV_LOOKUP && 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_PDM
  18. tristate "Rockchip PDM Controller Driver"
  19. depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP
  20. select SND_SOC_GENERIC_DMAENGINE_PCM
  21. select RATIONAL
  22. help
  23. Say Y or M if you want to add support for PDM driver for
  24. Rockchip PDM Controller. The Controller supports up to maximum of
  25. 8 channels record.
  26. config SND_SOC_ROCKCHIP_SPDIF
  27. tristate "Rockchip SPDIF Device Driver"
  28. depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP
  29. select SND_SOC_GENERIC_DMAENGINE_PCM
  30. help
  31. Say Y or M if you want to add support for SPDIF driver for
  32. Rockchip SPDIF transceiver device.
  33. config SND_SOC_ROCKCHIP_MAX98090
  34. tristate "ASoC support for Rockchip boards using a MAX98090 codec"
  35. depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && CLKDEV_LOOKUP
  36. select SND_SOC_ROCKCHIP_I2S
  37. select SND_SOC_MAX98090
  38. select SND_SOC_TS3A227E
  39. select SND_SOC_HDMI_CODEC
  40. help
  41. Say Y or M here if you want to add support for SoC audio on Rockchip
  42. boards using the MAX98090 codec and HDMI codec, such as Veyron.
  43. config SND_SOC_ROCKCHIP_RT5645
  44. tristate "ASoC support for Rockchip boards using a RT5645/RT5650 codec"
  45. depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && CLKDEV_LOOKUP
  46. select SND_SOC_ROCKCHIP_I2S
  47. select SND_SOC_RT5645
  48. help
  49. Say Y or M here if you want to add support for SoC audio on Rockchip
  50. boards using the RT5645/RT5650 codec, such as Veyron.
  51. config SND_SOC_RK3288_HDMI_ANALOG
  52. tristate "ASoC support multiple codecs for Rockchip RK3288 boards"
  53. depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && CLKDEV_LOOKUP
  54. select SND_SOC_ROCKCHIP_I2S
  55. select SND_SOC_HDMI_CODEC
  56. select SND_SOC_ES8328_I2C
  57. select SND_SOC_ES8328_SPI if SPI_MASTER
  58. select DRM_DW_HDMI_I2S_AUDIO if DRM_DW_HDMI
  59. help
  60. Say Y or M here if you want to add support for SoC audio on Rockchip
  61. RK3288 boards using an analog output and the built-in HDMI audio.
  62. config SND_SOC_RK3399_GRU_SOUND
  63. tristate "ASoC support multiple codecs for Rockchip RK3399 GRU boards"
  64. depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && CLKDEV_LOOKUP && SPI
  65. select SND_SOC_ROCKCHIP_I2S
  66. select SND_SOC_MAX98357A
  67. select SND_SOC_RT5514
  68. select SND_SOC_DA7219
  69. select SND_SOC_RT5514_SPI
  70. select SND_SOC_HDMI_CODEC
  71. select SND_SOC_DMIC
  72. help
  73. Say Y or M here if you want to add support multiple codecs for SoC
  74. audio on Rockchip RK3399 GRU boards.