Simon Glass | 3f111d4 | 2015-03-06 13:19:08 -0700 | [diff] [blame] | 1 | config SOUND |
| 2 | bool "Enable sound support" |
| 3 | help |
| 4 | Support making sounds through an audio codec. This is normally a |
| 5 | beep at a chosen frequency for a selected length of time. However |
| 6 | the drivers support playing arbitrary sound samples using a |
| 7 | PCM interface. |
| 8 | |
| 9 | Note: At present the sound setup is somewhat tangled up in that the |
| 10 | audio codecs are called from the sound-i2s code. This could be |
| 11 | converted to driver model. |
Simon Glass | c62d28e | 2015-03-06 13:19:10 -0700 | [diff] [blame] | 12 | |
| 13 | config I2S |
| 14 | bool "Enable I2S support" |
| 15 | depends on SOUND |
| 16 | help |
| 17 | I2S is a serial bus often used to transmit audio data from the |
| 18 | SoC to the audio codec. This option enables sound support using |
| 19 | I2S. It calls either of the two supported codecs (no use is made |
| 20 | of driver model at present). |
Simon Glass | 67402f0 | 2015-03-06 13:19:11 -0700 | [diff] [blame] | 21 | |
| 22 | config I2S_SAMSUNG |
| 23 | bool "Enable I2C support for Samsung SoCs" |
| 24 | depends on SOUND |
| 25 | help |
| 26 | Samsung Exynos SoCs support an I2S interface for sending audio |
| 27 | data to an audio codec. This option enables support for this, |
| 28 | using one of the available audio codec drivers. Enabling this |
| 29 | option provides an implementation for sound_init() and |
| 30 | sound_play(). |
Simon Glass | 015b4a5 | 2015-03-06 13:19:12 -0700 | [diff] [blame] | 31 | |
| 32 | config SOUND_MAX98095 |
| 33 | bool "Support Maxim max98095 audio codec" |
| 34 | depends on I2S_SAMSUNG |
| 35 | help |
| 36 | Enable the max98095 audio codec. This is connected via I2S for |
| 37 | audio data and I2C for codec control. At present it only works |
| 38 | with the Samsung I2S driver. |
Simon Glass | bb3315f | 2015-03-06 13:19:13 -0700 | [diff] [blame] | 39 | |
Simon Glass | 9c2d7af | 2015-03-06 13:19:14 -0700 | [diff] [blame] | 40 | config SOUND_SANDBOX |
| 41 | bool "Support sandbox emulated audio codec" |
| 42 | depends on SANDBOX && SOUND |
| 43 | help |
| 44 | U-Boot sandbox can emulate a sound device using SDL, playing the |
| 45 | sound on the host machine. This option implements the sound_init() |
| 46 | and sound_play() functions for sandbox. Note that you must install |
| 47 | the SDL libraries for this to work. |
| 48 | |
Simon Glass | bb3315f | 2015-03-06 13:19:13 -0700 | [diff] [blame] | 49 | config SOUND_WM8994 |
| 50 | bool "Support Wolfson Micro wm8994 audio codec" |
| 51 | depends on I2S_SAMSUNG |
| 52 | help |
| 53 | Enable the wm8994 audio codec. This is connected via I2S for |
| 54 | audio data and I2C for codec control. At present it only works |
| 55 | with the Samsung I2S driver. |