xref: /OK3568_Linux_fs/u-boot/drivers/sound/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunmenu "Sound support"
2*4882a593Smuzhiyun
3*4882a593Smuzhiyunconfig SOUND
4*4882a593Smuzhiyun	bool "Enable sound support"
5*4882a593Smuzhiyun	help
6*4882a593Smuzhiyun	  Support making sounds through an audio codec. This is normally a
7*4882a593Smuzhiyun	  beep at a chosen frequency for a selected length of time. However
8*4882a593Smuzhiyun	  the drivers support playing arbitrary sound samples using a
9*4882a593Smuzhiyun	  PCM interface.
10*4882a593Smuzhiyun
11*4882a593Smuzhiyun	  Note: At present the sound setup is somewhat tangled up in that the
12*4882a593Smuzhiyun	  audio codecs are called from the sound-i2s code. This could be
13*4882a593Smuzhiyun	  converted to driver model.
14*4882a593Smuzhiyun
15*4882a593Smuzhiyunconfig I2S
16*4882a593Smuzhiyun	bool "Enable I2S support"
17*4882a593Smuzhiyun	depends on SOUND
18*4882a593Smuzhiyun	help
19*4882a593Smuzhiyun	  I2S is a serial bus often used to transmit audio data from the
20*4882a593Smuzhiyun	  SoC to the audio codec. This option enables sound support using
21*4882a593Smuzhiyun	  I2S. It calls either of the two supported codecs (no use is made
22*4882a593Smuzhiyun	  of driver model at present).
23*4882a593Smuzhiyun
24*4882a593Smuzhiyunconfig I2S_SAMSUNG
25*4882a593Smuzhiyun	bool "Enable I2C support for Samsung SoCs"
26*4882a593Smuzhiyun	depends on SOUND
27*4882a593Smuzhiyun	help
28*4882a593Smuzhiyun	  Samsung Exynos SoCs support an I2S interface for sending audio
29*4882a593Smuzhiyun	  data to an audio codec. This option enables support for this,
30*4882a593Smuzhiyun	  using one of the available audio codec drivers. Enabling this
31*4882a593Smuzhiyun	  option provides an implementation for sound_init() and
32*4882a593Smuzhiyun	  sound_play().
33*4882a593Smuzhiyun
34*4882a593Smuzhiyunconfig I2S_ROCKCHIP
35*4882a593Smuzhiyun	bool "Enable I2S support for rockchip SoCs"
36*4882a593Smuzhiyun	depends on SOUND
37*4882a593Smuzhiyun	help
38*4882a593Smuzhiyun	  Rockchip SoCs support an I2S interface for sending audio
39*4882a593Smuzhiyun	  data to an audio codec. This option enables support for this,
40*4882a593Smuzhiyun	  using one of the available audio codec drivers. Enabling this
41*4882a593Smuzhiyun	  option provides an implementation for sound_init() and
42*4882a593Smuzhiyun	  sound_play().
43*4882a593Smuzhiyun
44*4882a593Smuzhiyunconfig SOUND_MAX98095
45*4882a593Smuzhiyun	bool "Support Maxim max98095 audio codec"
46*4882a593Smuzhiyun	depends on I2S_SAMSUNG
47*4882a593Smuzhiyun	help
48*4882a593Smuzhiyun	  Enable the max98095 audio codec. This is connected via I2S for
49*4882a593Smuzhiyun	  audio data and I2C for codec control. At present it only works
50*4882a593Smuzhiyun	  with the Samsung I2S driver.
51*4882a593Smuzhiyun
52*4882a593Smuzhiyunconfig SOUND_RK817
53*4882a593Smuzhiyun	bool "Support Rockchip rk809/rk817 audio codec"
54*4882a593Smuzhiyun	depends on I2S_ROCKCHIP && PMIC_RK8XX
55*4882a593Smuzhiyun	help
56*4882a593Smuzhiyun	  Enable the rk809/rk817 audio codec. This is connected via I2S for
57*4882a593Smuzhiyun	  audio data and I2C for codec control.
58*4882a593Smuzhiyun
59*4882a593Smuzhiyunconfig SOUND_ROCKCHIP
60*4882a593Smuzhiyun	bool "Support Rockchip Simple Sound Card"
61*4882a593Smuzhiyun	depends on I2S_ROCKCHIP
62*4882a593Smuzhiyun	help
63*4882a593Smuzhiyun	  Enable the Rockchip Simple Sound Card.
64*4882a593Smuzhiyun
65*4882a593Smuzhiyunconfig SOUND_SANDBOX
66*4882a593Smuzhiyun	bool "Support sandbox emulated audio codec"
67*4882a593Smuzhiyun	depends on SANDBOX && SOUND
68*4882a593Smuzhiyun	help
69*4882a593Smuzhiyun	  U-Boot sandbox can emulate a sound device using SDL, playing the
70*4882a593Smuzhiyun	  sound on the host machine. This option implements the sound_init()
71*4882a593Smuzhiyun	  and sound_play() functions for sandbox. Note that you must install
72*4882a593Smuzhiyun	  the SDL libraries for this to work.
73*4882a593Smuzhiyun
74*4882a593Smuzhiyunconfig SOUND_WM8994
75*4882a593Smuzhiyun	bool "Support Wolfson Micro wm8994 audio codec"
76*4882a593Smuzhiyun	depends on I2S_SAMSUNG
77*4882a593Smuzhiyun	help
78*4882a593Smuzhiyun	  Enable the wm8994 audio codec. This is connected via I2S for
79*4882a593Smuzhiyun	  audio data and I2C for codec control. At present it only works
80*4882a593Smuzhiyun	  with the Samsung I2S driver.
81*4882a593Smuzhiyun
82*4882a593Smuzhiyunendmenu
83