xref: /OK3568_Linux_fs/u-boot/drivers/sound/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
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_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().
33
34config I2S_ROCKCHIP
35	bool "Enable I2S support for rockchip SoCs"
36	depends on SOUND
37	help
38	  Rockchip SoCs support an I2S interface for sending audio
39	  data to an audio codec. This option enables support for this,
40	  using one of the available audio codec drivers. Enabling this
41	  option provides an implementation for sound_init() and
42	  sound_play().
43
44config SOUND_MAX98095
45	bool "Support Maxim max98095 audio codec"
46	depends on I2S_SAMSUNG
47	help
48	  Enable the max98095 audio codec. This is connected via I2S for
49	  audio data and I2C for codec control. At present it only works
50	  with the Samsung I2S driver.
51
52config SOUND_RK817
53	bool "Support Rockchip rk809/rk817 audio codec"
54	depends on I2S_ROCKCHIP && PMIC_RK8XX
55	help
56	  Enable the rk809/rk817 audio codec. This is connected via I2S for
57	  audio data and I2C for codec control.
58
59config SOUND_ROCKCHIP
60	bool "Support Rockchip Simple Sound Card"
61	depends on I2S_ROCKCHIP
62	help
63	  Enable the Rockchip Simple Sound Card.
64
65config SOUND_SANDBOX
66	bool "Support sandbox emulated audio codec"
67	depends on SANDBOX && SOUND
68	help
69	  U-Boot sandbox can emulate a sound device using SDL, playing the
70	  sound on the host machine. This option implements the sound_init()
71	  and sound_play() functions for sandbox. Note that you must install
72	  the SDL libraries for this to work.
73
74config SOUND_WM8994
75	bool "Support Wolfson Micro wm8994 audio codec"
76	depends on I2S_SAMSUNG
77	help
78	  Enable the wm8994 audio codec. This is connected via I2S for
79	  audio data and I2C for codec control. At present it only works
80	  with the Samsung I2S driver.
81
82endmenu
83