Thomas Gleixner | ec8f24b | 2019-05-19 13:07:45 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Jianqun Xu | 4495c89 | 2014-07-05 19:13:03 +0800 | [diff] [blame] | 2 | config SND_SOC_ROCKCHIP |
| 3 | tristate "ASoC support for Rockchip" |
| 4 | depends on COMPILE_TEST || ARCH_ROCKCHIP |
Jianqun Xu | 4495c89 | 2014-07-05 19:13:03 +0800 | [diff] [blame] | 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 | |
Jianqun | 38306af | 2014-09-13 08:40:19 +0800 | [diff] [blame] | 10 | config SND_SOC_ROCKCHIP_I2S |
Jianqun | 9ce63db | 2014-11-01 10:58:18 +0800 | [diff] [blame] | 11 | tristate "Rockchip I2S Device Driver" |
Andreas Ruprecht | 8d213de | 2014-11-21 20:50:46 +0100 | [diff] [blame] | 12 | depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP |
| 13 | select SND_SOC_GENERIC_DMAENGINE_PCM |
Jianqun | 9ce63db | 2014-11-01 10:58:18 +0800 | [diff] [blame] | 14 | help |
| 15 | Say Y or M if you want to add support for I2S driver for |
| 16 | Rockchip I2S device. The device supports upto maximum of |
| 17 | 8 channels each for play and record. |
zhengxing | 49bdb04 | 2015-07-19 19:33:48 +0800 | [diff] [blame] | 18 | |
Sugar Zhang | fc05a5b | 2017-06-13 15:27:46 +0800 | [diff] [blame] | 19 | config SND_SOC_ROCKCHIP_PDM |
| 20 | tristate "Rockchip PDM Controller Driver" |
| 21 | depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP |
| 22 | select SND_SOC_GENERIC_DMAENGINE_PCM |
Arnd Bergmann | 41d92e0 | 2019-06-17 13:03:51 +0200 | [diff] [blame] | 23 | select RATIONAL |
Sugar Zhang | fc05a5b | 2017-06-13 15:27:46 +0800 | [diff] [blame] | 24 | help |
| 25 | Say Y or M if you want to add support for PDM driver for |
| 26 | Rockchip PDM Controller. The Controller supports up to maximum of |
| 27 | 8 channels record. |
| 28 | |
Sjoerd Simons | f874b80 | 2015-10-08 15:31:13 +0200 | [diff] [blame] | 29 | config SND_SOC_ROCKCHIP_SPDIF |
| 30 | tristate "Rockchip SPDIF Device Driver" |
| 31 | depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP |
| 32 | select SND_SOC_GENERIC_DMAENGINE_PCM |
| 33 | help |
| 34 | Say Y or M if you want to add support for SPDIF driver for |
| 35 | Rockchip SPDIF transceiver device. |
| 36 | |
zhengxing | 49bdb04 | 2015-07-19 19:33:48 +0800 | [diff] [blame] | 37 | config SND_SOC_ROCKCHIP_MAX98090 |
| 38 | tristate "ASoC support for Rockchip boards using a MAX98090 codec" |
Axel Lin | 9d70594 | 2015-09-18 15:25:32 +0800 | [diff] [blame] | 39 | depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && CLKDEV_LOOKUP |
zhengxing | 49bdb04 | 2015-07-19 19:33:48 +0800 | [diff] [blame] | 40 | select SND_SOC_ROCKCHIP_I2S |
| 41 | select SND_SOC_MAX98090 |
| 42 | select SND_SOC_TS3A227E |
Cheng-Yi Chiang | bf2f64e | 2019-10-28 15:19:28 +0800 | [diff] [blame] | 43 | select SND_SOC_HDMI_CODEC |
zhengxing | 49bdb04 | 2015-07-19 19:33:48 +0800 | [diff] [blame] | 44 | help |
| 45 | Say Y or M here if you want to add support for SoC audio on Rockchip |
Cheng-Yi Chiang | bf2f64e | 2019-10-28 15:19:28 +0800 | [diff] [blame] | 46 | boards using the MAX98090 codec and HDMI codec, such as Veyron. |
zhengxing | 8605965 | 2015-07-19 19:33:49 +0800 | [diff] [blame] | 47 | |
| 48 | config SND_SOC_ROCKCHIP_RT5645 |
| 49 | tristate "ASoC support for Rockchip boards using a RT5645/RT5650 codec" |
Axel Lin | 9d70594 | 2015-09-18 15:25:32 +0800 | [diff] [blame] | 50 | depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && CLKDEV_LOOKUP |
zhengxing | 8605965 | 2015-07-19 19:33:49 +0800 | [diff] [blame] | 51 | select SND_SOC_ROCKCHIP_I2S |
| 52 | select SND_SOC_RT5645 |
| 53 | help |
| 54 | Say Y or M here if you want to add support for SoC audio on Rockchip |
| 55 | boards using the RT5645/RT5650 codec, such as Veyron. |
Xing Zheng | c6eac8a | 2016-08-03 16:10:00 +0800 | [diff] [blame] | 56 | |
Romain Perier | eaae2ea | 2017-02-03 15:37:59 +0100 | [diff] [blame] | 57 | config SND_SOC_RK3288_HDMI_ANALOG |
| 58 | tristate "ASoC support multiple codecs for Rockchip RK3288 boards" |
| 59 | depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && CLKDEV_LOOKUP |
| 60 | select SND_SOC_ROCKCHIP_I2S |
| 61 | select SND_SOC_HDMI_CODEC |
Ezequiel Garcia | b1d0db0 | 2018-03-20 13:03:31 -0300 | [diff] [blame] | 62 | select SND_SOC_ES8328_I2C |
| 63 | select SND_SOC_ES8328_SPI if SPI_MASTER |
| 64 | select DRM_DW_HDMI_I2S_AUDIO if DRM_DW_HDMI |
Romain Perier | eaae2ea | 2017-02-03 15:37:59 +0100 | [diff] [blame] | 65 | help |
| 66 | Say Y or M here if you want to add support for SoC audio on Rockchip |
| 67 | RK3288 boards using an analog output and the built-in HDMI audio. |
| 68 | |
Xing Zheng | c6eac8a | 2016-08-03 16:10:00 +0800 | [diff] [blame] | 69 | config SND_SOC_RK3399_GRU_SOUND |
| 70 | tristate "ASoC support multiple codecs for Rockchip RK3399 GRU boards" |
Arnd Bergmann | f506513 | 2016-08-26 17:50:55 +0200 | [diff] [blame] | 71 | depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && CLKDEV_LOOKUP && SPI |
Xing Zheng | c6eac8a | 2016-08-03 16:10:00 +0800 | [diff] [blame] | 72 | select SND_SOC_ROCKCHIP_I2S |
| 73 | select SND_SOC_MAX98357A |
| 74 | select SND_SOC_RT5514 |
| 75 | select SND_SOC_DA7219 |
Xing Zheng | e5abe95 | 2016-08-19 21:56:12 +0800 | [diff] [blame] | 76 | select SND_SOC_RT5514_SPI |
Jeffy Chen | 3313faf | 2017-08-24 12:52:25 +0800 | [diff] [blame] | 77 | select SND_SOC_HDMI_CODEC |
Jeffy Chen | 626d84d | 2017-08-24 12:52:26 +0800 | [diff] [blame] | 78 | select SND_SOC_DMIC |
Xing Zheng | c6eac8a | 2016-08-03 16:10:00 +0800 | [diff] [blame] | 79 | help |
| 80 | Say Y or M here if you want to add support multiple codecs for SoC |
| 81 | audio on Rockchip RK3399 GRU boards. |