Masahiro Yamada | 0b11dbf | 2015-07-26 02:46:26 +0900 | [diff] [blame] | 1 | menu "Sound support" |
| 2 | |
Simon Glass | ef35d98 | 2015-03-06 13:19:08 -0700 | [diff] [blame] | 3 | config SOUND |
| 4 | bool "Enable sound support" |
| 5 | help |
| 6 | Support making sounds through an audio codec. This is normally a |
| 7 | beep at a chosen frequency for a selected length of time. However |
| 8 | the drivers support playing arbitrary sound samples using a |
| 9 | PCM interface. |
| 10 | |
| 11 | Note: At present the sound setup is somewhat tangled up in that the |
| 12 | audio codecs are called from the sound-i2s code. This could be |
| 13 | converted to driver model. |
Simon Glass | 00cf7bf | 2015-03-06 13:19:10 -0700 | [diff] [blame] | 14 | |
| 15 | config I2S |
| 16 | bool "Enable I2S support" |
| 17 | depends on SOUND |
| 18 | help |
| 19 | I2S is a serial bus often used to transmit audio data from the |
| 20 | SoC to the audio codec. This option enables sound support using |
| 21 | I2S. It calls either of the two supported codecs (no use is made |
| 22 | of driver model at present). |
Simon Glass | 6bd7be2 | 2015-03-06 13:19:11 -0700 | [diff] [blame] | 23 | |
Simon Glass | 2665f09 | 2018-12-27 20:15:21 -0700 | [diff] [blame] | 24 | config I2S_ROCKCHIP |
| 25 | bool "Enable I2S support for Rockchip SoCs" |
| 26 | depends on I2S |
| 27 | help |
| 28 | Rockchip SoCs support an I2S interface for sending audio data to an |
| 29 | audio codec. This option enables support for this, using one of the |
| 30 | available audio codec drivers. This driver does not make use of |
| 31 | DMA, but writes each word directly to the hardware. |
| 32 | |
Simon Glass | 6bd7be2 | 2015-03-06 13:19:11 -0700 | [diff] [blame] | 33 | config I2S_SAMSUNG |
| 34 | bool "Enable I2C support for Samsung SoCs" |
Simon Glass | afcd645 | 2018-12-27 13:24:39 -0700 | [diff] [blame^] | 35 | depends on I2S |
Simon Glass | 6bd7be2 | 2015-03-06 13:19:11 -0700 | [diff] [blame] | 36 | help |
| 37 | Samsung Exynos SoCs support an I2S interface for sending audio |
| 38 | data to an audio codec. This option enables support for this, |
| 39 | using one of the available audio codec drivers. Enabling this |
| 40 | option provides an implementation for sound_init() and |
| 41 | sound_play(). |
Simon Glass | 7a170a5 | 2015-03-06 13:19:12 -0700 | [diff] [blame] | 42 | |
Simon Glass | 9a7210f | 2019-01-11 18:37:09 -0700 | [diff] [blame] | 43 | config SOUND_MAX98088 |
| 44 | bool "Support Maxim max98088 audio codec" |
Simon Glass | afcd645 | 2018-12-27 13:24:39 -0700 | [diff] [blame^] | 45 | depends on I2S |
Simon Glass | 9a7210f | 2019-01-11 18:37:09 -0700 | [diff] [blame] | 46 | help |
| 47 | Enable the max98088 audio codec. This is connected via I2S for |
| 48 | audio data and I2C for codec control. At present it only works |
| 49 | with the Samsung I2S driver. |
| 50 | |
Simon Glass | 8cad63c | 2018-12-10 10:37:43 -0700 | [diff] [blame] | 51 | config SOUND_MAX98090 |
| 52 | bool "Support Maxim max98090 audio codec" |
Simon Glass | afcd645 | 2018-12-27 13:24:39 -0700 | [diff] [blame^] | 53 | depends on I2S |
Simon Glass | 8cad63c | 2018-12-10 10:37:43 -0700 | [diff] [blame] | 54 | help |
| 55 | Enable the max98090 audio codec. This is connected via I2S for |
| 56 | audio data and I2C for codec control. At present it only works |
| 57 | with the Samsung I2S driver. |
| 58 | |
Simon Glass | 7a170a5 | 2015-03-06 13:19:12 -0700 | [diff] [blame] | 59 | config SOUND_MAX98095 |
| 60 | bool "Support Maxim max98095 audio codec" |
Simon Glass | afcd645 | 2018-12-27 13:24:39 -0700 | [diff] [blame^] | 61 | depends on I2S |
Simon Glass | 7a170a5 | 2015-03-06 13:19:12 -0700 | [diff] [blame] | 62 | help |
| 63 | Enable the max98095 audio codec. This is connected via I2S for |
| 64 | audio data and I2C for codec control. At present it only works |
| 65 | with the Samsung I2S driver. |
Simon Glass | dd573f9 | 2015-03-06 13:19:13 -0700 | [diff] [blame] | 66 | |
Simon Glass | 3907305 | 2015-03-06 13:19:14 -0700 | [diff] [blame] | 67 | config SOUND_SANDBOX |
| 68 | bool "Support sandbox emulated audio codec" |
| 69 | depends on SANDBOX && SOUND |
| 70 | help |
| 71 | U-Boot sandbox can emulate a sound device using SDL, playing the |
| 72 | sound on the host machine. This option implements the sound_init() |
| 73 | and sound_play() functions for sandbox. Note that you must install |
| 74 | the SDL libraries for this to work. |
| 75 | |
Simon Glass | dd573f9 | 2015-03-06 13:19:13 -0700 | [diff] [blame] | 76 | config SOUND_WM8994 |
| 77 | bool "Support Wolfson Micro wm8994 audio codec" |
| 78 | depends on I2S_SAMSUNG |
| 79 | help |
| 80 | Enable the wm8994 audio codec. This is connected via I2S for |
| 81 | audio data and I2C for codec control. At present it only works |
| 82 | with the Samsung I2S driver. |
Masahiro Yamada | 0b11dbf | 2015-07-26 02:46:26 +0900 | [diff] [blame] | 83 | |
| 84 | endmenu |