blob: c0d97cca338f6fbb414b9d08938ff3ea42a512d3 [file] [log] [blame]
Masahiro Yamadacc85b7b2015-07-26 02:46:26 +09001menu "Sound support"
2
Simon Glass3f111d42015-03-06 13:19:08 -07003config 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 Glassc62d28e2015-03-06 13:19:10 -070014
15config 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 Glass67402f02015-03-06 13:19:11 -070023
24config I2S_SAMSUNG
25 bool "Enable I2C support for Samsung SoCs"
26 depends on SOUND
27 help
28 Samsung Exynos SoCs support an I2S interface for sending audio
29 data to an audio codec. This option enables support for this,
30 using one of the available audio codec drivers. Enabling this
31 option provides an implementation for sound_init() and
32 sound_play().
Simon Glass015b4a52015-03-06 13:19:12 -070033
Simon Glass803f6b52018-12-10 10:37:43 -070034config SOUND_MAX98090
35 bool "Support Maxim max98090 audio codec"
36 depends on I2S_SAMSUNG
37 help
38 Enable the max98090 audio codec. This is connected via I2S for
39 audio data and I2C for codec control. At present it only works
40 with the Samsung I2S driver.
41
Simon Glass015b4a52015-03-06 13:19:12 -070042config SOUND_MAX98095
43 bool "Support Maxim max98095 audio codec"
44 depends on I2S_SAMSUNG
45 help
46 Enable the max98095 audio codec. This is connected via I2S for
47 audio data and I2C for codec control. At present it only works
48 with the Samsung I2S driver.
Simon Glassbb3315f2015-03-06 13:19:13 -070049
Simon Glass9c2d7af2015-03-06 13:19:14 -070050config SOUND_SANDBOX
51 bool "Support sandbox emulated audio codec"
52 depends on SANDBOX && SOUND
53 help
54 U-Boot sandbox can emulate a sound device using SDL, playing the
55 sound on the host machine. This option implements the sound_init()
56 and sound_play() functions for sandbox. Note that you must install
57 the SDL libraries for this to work.
58
Simon Glassbb3315f2015-03-06 13:19:13 -070059config SOUND_WM8994
60 bool "Support Wolfson Micro wm8994 audio codec"
61 depends on I2S_SAMSUNG
62 help
63 Enable the wm8994 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.
Masahiro Yamadacc85b7b2015-07-26 02:46:26 +090066
67endmenu