xref: /openbmc/u-boot/drivers/sound/Kconfig (revision 2ca471379b471dc0d31459974d7cc4b54c824956)
1menu "Sound support"
2
3config 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.
14
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).
23
24config 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
33config I2S_SAMSUNG
34	bool "Enable I2C support for Samsung SoCs"
35	depends on I2S
36	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().
42
43config 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
52config SOUND_MAX98088
53	bool "Support Maxim max98088 audio codec"
54	depends on I2S
55	help
56	  Enable the max98088 audio codec. This is connected via I2S for
57	  audio data and I2C for codec control. At present it only works
58	  with the Samsung I2S driver.
59
60config SOUND_MAX98090
61	bool "Support Maxim max98090 audio codec"
62	depends on I2S
63	help
64	  Enable the max98090 audio codec. This is connected via I2S for
65	  audio data and I2C for codec control. At present it only works
66	  with the Samsung I2S driver.
67
68config SOUND_MAX98095
69	bool "Support Maxim max98095 audio codec"
70	depends on I2S
71	help
72	  Enable the max98095 audio codec. This is connected via I2S for
73	  audio data and I2C for codec control. At present it only works
74	  with the Samsung I2S driver.
75
76config SOUND_SANDBOX
77	bool "Support sandbox emulated audio codec"
78	depends on SANDBOX && SOUND
79	help
80	  U-Boot sandbox can emulate a sound device using SDL, playing the
81	  sound on the host machine. This option implements the sound_init()
82	  and sound_play() functions for sandbox. Note that you must install
83	  the SDL libraries for this to work.
84
85config SOUND_WM8994
86	bool "Support Wolfson Micro wm8994 audio codec"
87	depends on I2S_SAMSUNG
88	help
89	  Enable the wm8994 audio codec. This is connected via I2S for
90	  audio data and I2C for codec control. At present it only works
91	  with the Samsung I2S driver.
92
93endmenu
94