xref: /openbmc/u-boot/drivers/sound/Kconfig (revision dd573f91241ea76e7bf8efa9acad9d42693e95cd)
1ef35d98aSSimon Glassconfig SOUND
2ef35d98aSSimon Glass	bool "Enable sound support"
3ef35d98aSSimon Glass	help
4ef35d98aSSimon Glass	  Support making sounds through an audio codec. This is normally a
5ef35d98aSSimon Glass	  beep at a chosen frequency for a selected length of time. However
6ef35d98aSSimon Glass	  the drivers support playing arbitrary sound samples using a
7ef35d98aSSimon Glass	  PCM interface.
8ef35d98aSSimon Glass
9ef35d98aSSimon Glass	  Note: At present the sound setup is somewhat tangled up in that the
10ef35d98aSSimon Glass	  audio codecs are called from the sound-i2s code. This could be
11ef35d98aSSimon Glass	  converted to driver model.
1200cf7bf1SSimon Glass
1300cf7bf1SSimon Glassconfig I2S
1400cf7bf1SSimon Glass	bool "Enable I2S support"
1500cf7bf1SSimon Glass	depends on SOUND
1600cf7bf1SSimon Glass	help
1700cf7bf1SSimon Glass	  I2S is a serial bus often used to transmit audio data from the
1800cf7bf1SSimon Glass	  SoC to the audio codec. This option enables sound support using
1900cf7bf1SSimon Glass	  I2S. It calls either of the two supported codecs (no use is made
2000cf7bf1SSimon Glass	  of driver model at present).
216bd7be27SSimon Glass
226bd7be27SSimon Glassconfig I2S_SAMSUNG
236bd7be27SSimon Glass	bool "Enable I2C support for Samsung SoCs"
246bd7be27SSimon Glass	depends on SOUND
256bd7be27SSimon Glass	help
266bd7be27SSimon Glass	  Samsung Exynos SoCs support an I2S interface for sending audio
276bd7be27SSimon Glass	  data to an audio codec. This option enables support for this,
286bd7be27SSimon Glass	  using one of the available audio codec drivers. Enabling this
296bd7be27SSimon Glass	  option provides an implementation for sound_init() and
306bd7be27SSimon Glass	  sound_play().
317a170a59SSimon Glass
327a170a59SSimon Glassconfig SOUND_MAX98095
337a170a59SSimon Glass	bool "Support Maxim max98095 audio codec"
347a170a59SSimon Glass	depends on I2S_SAMSUNG
357a170a59SSimon Glass	help
367a170a59SSimon Glass	  Enable the max98095 audio codec. This is connected via I2S for
377a170a59SSimon Glass	  audio data and I2C for codec control. At present it only works
387a170a59SSimon Glass	  with the Samsung I2S driver.
39*dd573f91SSimon Glass
40*dd573f91SSimon Glassconfig SOUND_WM8994
41*dd573f91SSimon Glass	bool "Support Wolfson Micro wm8994 audio codec"
42*dd573f91SSimon Glass	depends on I2S_SAMSUNG
43*dd573f91SSimon Glass	help
44*dd573f91SSimon Glass	  Enable the wm8994 audio codec. This is connected via I2S for
45*dd573f91SSimon Glass	  audio data and I2C for codec control. At present it only works
46*dd573f91SSimon Glass	  with the Samsung I2S driver.
47