| .. | .. |
|---|
| 1 | +# SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | config SND_SOC_ROCKCHIP |
|---|
| 2 | 3 | tristate "ASoC support for Rockchip" |
|---|
| 3 | 4 | depends on COMPILE_TEST || ARCH_ROCKCHIP |
|---|
| .. | .. |
|---|
| 6 | 7 | the Rockchip SoCs' Audio interfaces. You will also need to |
|---|
| 7 | 8 | select the audio interfaces to support below. |
|---|
| 8 | 9 | |
|---|
| 9 | | -config SND_SOC_ROCKCHIP_AUDIO_PWM |
|---|
| 10 | | - tristate "Rockchip Audio PWM Driver" |
|---|
| 11 | | - depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP |
|---|
| 12 | | - select SND_SOC_GENERIC_DMAENGINE_PCM |
|---|
| 10 | +config SND_SOC_ROCKCHIP_DLP |
|---|
| 11 | + tristate |
|---|
| 12 | + |
|---|
| 13 | +config SND_SOC_ROCKCHIP_DLP_PCM |
|---|
| 14 | + tristate "Rockchip Digital Loopback PCM Driver" |
|---|
| 15 | + depends on SND_SOC_ROCKCHIP |
|---|
| 16 | + select SND_SOC_ROCKCHIP_DLP |
|---|
| 13 | 17 | help |
|---|
| 14 | | - Say Y or M if you want to add support for Audio PWM driver for |
|---|
| 15 | | - Rockchip Audio PWM Controller. |
|---|
| 18 | + Say Y or M if you want to add support for DLP driver for |
|---|
| 19 | + Rockchip DMA-Based Digital Loopback. |
|---|
| 16 | 20 | |
|---|
| 17 | 21 | config SND_SOC_ROCKCHIP_I2S |
|---|
| 18 | 22 | tristate "Rockchip I2S Device Driver" |
|---|
| .. | .. |
|---|
| 32 | 36 | Rockchip I2S/TDM device. The device supports up to maximum of |
|---|
| 33 | 37 | 8 channels each for play and record. |
|---|
| 34 | 38 | |
|---|
| 39 | +config SND_SOC_ROCKCHIP_I2S_TDM_MULTI_LANES |
|---|
| 40 | + bool "Rockchip TDM Multi Lanes" |
|---|
| 41 | + depends on SND_SOC_ROCKCHIP_I2S_TDM |
|---|
| 42 | + help |
|---|
| 43 | + Say Y or M if you want to add support for TDM Multi Lanes |
|---|
| 44 | + based on I2S_TDM controller. |
|---|
| 45 | + |
|---|
| 35 | 46 | config SND_SOC_ROCKCHIP_MULTI_DAIS |
|---|
| 36 | 47 | tristate "Rockchip Multi-DAIS Device Driver" |
|---|
| 37 | 48 | depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP |
|---|
| 49 | + select SND_SOC_ROCKCHIP_DLP |
|---|
| 38 | 50 | help |
|---|
| 39 | 51 | Say Y or M if you want to add support for Multi-dais driver for |
|---|
| 40 | 52 | Rockchip. |
|---|
| .. | .. |
|---|
| 43 | 55 | tristate "Rockchip PDM Controller Driver" |
|---|
| 44 | 56 | depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP |
|---|
| 45 | 57 | select SND_SOC_GENERIC_DMAENGINE_PCM |
|---|
| 58 | + select RATIONAL |
|---|
| 46 | 59 | help |
|---|
| 47 | 60 | Say Y or M if you want to add support for PDM driver for |
|---|
| 48 | 61 | Rockchip PDM Controller. The Controller supports up to maximum of |
|---|
| .. | .. |
|---|
| 57 | 70 | Rockchip SAI Controller. The Controller supports up to maximum of |
|---|
| 58 | 71 | 128 channels each for play and record. |
|---|
| 59 | 72 | |
|---|
| 73 | +config SND_SOC_ROCKCHIP_SAI_VERBOSE |
|---|
| 74 | + bool "Rockchip SAI Verbose Controls" |
|---|
| 75 | + depends on SND_SOC_ROCKCHIP_SAI |
|---|
| 76 | + help |
|---|
| 77 | + Say Y if you want to export much more controls and info for SAI. |
|---|
| 78 | + |
|---|
| 60 | 79 | config SND_SOC_ROCKCHIP_SPDIF |
|---|
| 61 | 80 | tristate "Rockchip SPDIF Device Driver" |
|---|
| 62 | 81 | depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP |
|---|
| 82 | + select SND_PCM_IEC958 |
|---|
| 63 | 83 | select SND_SOC_GENERIC_DMAENGINE_PCM |
|---|
| 64 | 84 | help |
|---|
| 65 | 85 | Say Y or M if you want to add support for SPDIF driver for |
|---|
| 66 | 86 | Rockchip SPDIF transceiver device. |
|---|
| 87 | + |
|---|
| 88 | +config SND_SOC_ROCKCHIP_SPDIFRX |
|---|
| 89 | + tristate "Rockchip SPDIFRX Device Driver" |
|---|
| 90 | + depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP |
|---|
| 91 | + select SND_SOC_GENERIC_DMAENGINE_PCM |
|---|
| 92 | + help |
|---|
| 93 | + Say Y or M if you want to add support for SPDIFRX driver for |
|---|
| 94 | + Rockchip SPDIF receiver device. |
|---|
| 67 | 95 | |
|---|
| 68 | 96 | config SND_SOC_ROCKCHIP_VAD |
|---|
| 69 | 97 | tristate "Rockchip Voice Activity Detection Driver" |
|---|
| .. | .. |
|---|
| 78 | 106 | select SND_SOC_ROCKCHIP_I2S |
|---|
| 79 | 107 | select SND_SOC_MAX98090 |
|---|
| 80 | 108 | select SND_SOC_TS3A227E |
|---|
| 109 | + select SND_SOC_HDMI_CODEC |
|---|
| 81 | 110 | help |
|---|
| 82 | 111 | Say Y or M here if you want to add support for SoC audio on Rockchip |
|---|
| 83 | | - boards using the MAX98090 codec, such as Veyron. |
|---|
| 112 | + boards using the MAX98090 codec and HDMI codec, such as Veyron. |
|---|
| 84 | 113 | |
|---|
| 85 | 114 | config SND_SOC_ROCKCHIP_MULTICODECS |
|---|
| 86 | 115 | tristate "ASoC support for Rockchip multicodecs" |
|---|
| .. | .. |
|---|
| 97 | 126 | help |
|---|
| 98 | 127 | Say Y or M here if you want to add support for SoC audio on Rockchip |
|---|
| 99 | 128 | boards using the RT5645/RT5650 codec, such as Veyron. |
|---|
| 100 | | - |
|---|
| 101 | | -config SND_SOC_ROCKCHIP_RT5651 |
|---|
| 102 | | - tristate "ASoC support for Rockchip boards using a RT5651 codec" |
|---|
| 103 | | - depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && CLKDEV_LOOKUP |
|---|
| 104 | | - select SND_SOC_ROCKCHIP_I2S |
|---|
| 105 | | - select SND_SOC_RT5651 |
|---|
| 106 | | - help |
|---|
| 107 | | - Say Y or M here if you want to add support for SoC audio on Rockchip |
|---|
| 108 | | - boards using the RT5651 codec. |
|---|
| 109 | | - |
|---|
| 110 | | -config SND_SOC_ROCKCHIP_RT5651_RK628 |
|---|
| 111 | | - tristate "ASoC support for Rockchip boards RT5651 RK628 HDMIIN" |
|---|
| 112 | | - depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && CLKDEV_LOOKUP |
|---|
| 113 | | - select SND_SOC_ROCKCHIP_I2S |
|---|
| 114 | | - select SND_SOC_RT5651 |
|---|
| 115 | | - help |
|---|
| 116 | | - Say Y or M here if you want to add support for SoC audio on Rockchip |
|---|
| 117 | | - boards for RT5651 RK628 HDMIIn |
|---|
| 118 | 129 | |
|---|
| 119 | 130 | config SND_SOC_ROCKCHIP_HDMI |
|---|
| 120 | 131 | tristate "ASoC support for Rockchip HDMI audio" |
|---|