Simon Glass | ef35d98 | 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 | 00cf7bf | 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 | 6bd7be2 | 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(). |