blob: 3b96e844806067066dad94cc5bcbc024a62e7067 [file] [log] [blame]
Simon Glass3f111d42015-03-06 13:19:08 -07001config 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 Glassc62d28e2015-03-06 13:19:10 -070012
13config 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 Glass67402f02015-03-06 13:19:11 -070021
22config 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 Glass015b4a52015-03-06 13:19:12 -070031
32config 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 Glassbb3315f2015-03-06 13:19:13 -070039
Simon Glass9c2d7af2015-03-06 13:19:14 -070040config 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 Glassbb3315f2015-03-06 13:19:13 -070049config 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.