blob: 18d7ca1dcb3dd935df69ae289bfd84eebf9b945d [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
Simon Glass799b29b2018-12-10 10:37:31 -070015config DM_SOUND
16 bool "Use driver model for sound"
17 help
18 Enable this option to use driver model for sound devices. This is a
19 migration option and will be removed.
20
Simon Glassc62d28e2015-03-06 13:19:10 -070021config I2S
22 bool "Enable I2S support"
23 depends on SOUND
24 help
25 I2S is a serial bus often used to transmit audio data from the
26 SoC to the audio codec. This option enables sound support using
27 I2S. It calls either of the two supported codecs (no use is made
28 of driver model at present).
Simon Glass67402f02015-03-06 13:19:11 -070029
30config I2S_SAMSUNG
31 bool "Enable I2C support for Samsung SoCs"
32 depends on SOUND
33 help
34 Samsung Exynos SoCs support an I2S interface for sending audio
35 data to an audio codec. This option enables support for this,
36 using one of the available audio codec drivers. Enabling this
37 option provides an implementation for sound_init() and
38 sound_play().
Simon Glass015b4a52015-03-06 13:19:12 -070039
Simon Glass803f6b52018-12-10 10:37:43 -070040config SOUND_MAX98090
41 bool "Support Maxim max98090 audio codec"
42 depends on I2S_SAMSUNG
43 help
44 Enable the max98090 audio codec. This is connected via I2S for
45 audio data and I2C for codec control. At present it only works
46 with the Samsung I2S driver.
47
Simon Glass015b4a52015-03-06 13:19:12 -070048config SOUND_MAX98095
49 bool "Support Maxim max98095 audio codec"
50 depends on I2S_SAMSUNG
51 help
52 Enable the max98095 audio codec. This is connected via I2S for
53 audio data and I2C for codec control. At present it only works
54 with the Samsung I2S driver.
Simon Glassbb3315f2015-03-06 13:19:13 -070055
Simon Glass9c2d7af2015-03-06 13:19:14 -070056config SOUND_SANDBOX
57 bool "Support sandbox emulated audio codec"
58 depends on SANDBOX && SOUND
59 help
60 U-Boot sandbox can emulate a sound device using SDL, playing the
61 sound on the host machine. This option implements the sound_init()
62 and sound_play() functions for sandbox. Note that you must install
63 the SDL libraries for this to work.
64
Simon Glassbb3315f2015-03-06 13:19:13 -070065config SOUND_WM8994
66 bool "Support Wolfson Micro wm8994 audio codec"
67 depends on I2S_SAMSUNG
68 help
69 Enable the wm8994 audio codec. This is connected via I2S for
70 audio data and I2C for codec control. At present it only works
71 with the Samsung I2S driver.
Masahiro Yamadacc85b7b2015-07-26 02:46:26 +090072
73endmenu