blob: 4b893f035b0284b8905205d3c84dfd2875293507 [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
Simon Glass63a65b42018-12-27 20:15:21 -070024config I2S_ROCKCHIP
25 bool "Enable I2S support for Rockchip SoCs"
26 depends on I2S
27 help
28 Rockchip SoCs support an I2S interface for sending audio data to an
29 audio codec. This option enables support for this, using one of the
30 available audio codec drivers. This driver does not make use of
31 DMA, but writes each word directly to the hardware.
32
Simon Glass67402f02015-03-06 13:19:11 -070033config I2S_SAMSUNG
34 bool "Enable I2C support for Samsung SoCs"
Simon Glassd789d082018-12-27 13:24:39 -070035 depends on I2S
Simon Glass67402f02015-03-06 13:19:11 -070036 help
37 Samsung Exynos SoCs support an I2S interface for sending audio
38 data to an audio codec. This option enables support for this,
39 using one of the available audio codec drivers. Enabling this
40 option provides an implementation for sound_init() and
41 sound_play().
Simon Glass015b4a52015-03-06 13:19:12 -070042
Simon Glassb67c18d2019-02-16 20:24:55 -070043config SOUND_INTEL_HDA
44 bool "Intel HDA audio codec"
45 depends on SOUND
46 help
47 Most Intel chips have an HDA (High-definition audio) codec which can
48 be used by U-Boot to play simple beeps. This is also sometimes called
49 Azalia which was the development code-name. It requires setup
50 information in the device tree (see intel-hda.txt).
51
Simon Glasse7ceeef2019-02-16 20:24:57 -070052config SOUND_IVYBRIDGE
53 bool "Intel Ivybridge sound support"
54 depends on SOUND
55 select SOUND_INTEL_HDA
56 help
57 Enable sound output on supported Intel Ivybridge-based boards. This
58 driver uses Intel's High-definition Audio (HDA) architecture,
59 sometimes called Azalia. The audio codec is detected using a
60 semi-automatic mechanism.
61
Simon Glass355ec122019-01-11 18:37:09 -070062config SOUND_MAX98088
63 bool "Support Maxim max98088 audio codec"
Simon Glassd789d082018-12-27 13:24:39 -070064 depends on I2S
Simon Glass355ec122019-01-11 18:37:09 -070065 help
66 Enable the max98088 audio codec. This is connected via I2S for
67 audio data and I2C for codec control. At present it only works
68 with the Samsung I2S driver.
69
Simon Glass803f6b52018-12-10 10:37:43 -070070config SOUND_MAX98090
71 bool "Support Maxim max98090 audio codec"
Simon Glassd789d082018-12-27 13:24:39 -070072 depends on I2S
Simon Glass803f6b52018-12-10 10:37:43 -070073 help
74 Enable the max98090 audio codec. This is connected via I2S for
75 audio data and I2C for codec control. At present it only works
76 with the Samsung I2S driver.
77
Simon Glass015b4a52015-03-06 13:19:12 -070078config SOUND_MAX98095
79 bool "Support Maxim max98095 audio codec"
Simon Glassd789d082018-12-27 13:24:39 -070080 depends on I2S
Simon Glass015b4a52015-03-06 13:19:12 -070081 help
82 Enable the max98095 audio codec. This is connected via I2S for
83 audio data and I2C for codec control. At present it only works
84 with the Samsung I2S driver.
Simon Glassbb3315f2015-03-06 13:19:13 -070085
Simon Glass9c2d7af2015-03-06 13:19:14 -070086config SOUND_SANDBOX
87 bool "Support sandbox emulated audio codec"
88 depends on SANDBOX && SOUND
89 help
90 U-Boot sandbox can emulate a sound device using SDL, playing the
91 sound on the host machine. This option implements the sound_init()
92 and sound_play() functions for sandbox. Note that you must install
93 the SDL libraries for this to work.
94
Simon Glassbb3315f2015-03-06 13:19:13 -070095config SOUND_WM8994
96 bool "Support Wolfson Micro wm8994 audio codec"
97 depends on I2S_SAMSUNG
98 help
99 Enable the wm8994 audio codec. This is connected via I2S for
100 audio data and I2C for codec control. At present it only works
101 with the Samsung I2S driver.
Masahiro Yamadacc85b7b2015-07-26 02:46:26 +0900102
103endmenu