<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm63xx/u-boot/drivers/sound/sound-uclass.c, branch master</title>
<subtitle>Broadcom-s U-Boot</subtitle>
<id>https://git.openwrt.org/project/bcm63xx/u-boot/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/project/bcm63xx/u-boot/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/'/>
<updated>2019-02-20T07:27:08Z</updated>
<entry>
<title>sound: Add uclass operations for beeping</title>
<updated>2019-02-20T07:27:08Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2019-02-17T03:24:54Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=2850266965ade165f913a66f679a0449faf21180'/>
<id>urn:sha1:2850266965ade165f913a66f679a0449faf21180</id>
<content type='text'>
Some audio codecs such as Intel HDA do not need to use digital data to
play sounds, but instead have a way to emit beeps. Add this interface as
an option. If the beep interface is not supported, then the sound uclass
falls back to the I2S interface.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
</content>
</entry>
<entry>
<title>sound: Mark sound_setup() as optional</title>
<updated>2019-02-20T07:27:08Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2019-02-17T03:24:53Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=e65f9ef9f21058a7e4f54e11da1af49a8c1b0579'/>
<id>urn:sha1:e65f9ef9f21058a7e4f54e11da1af49a8c1b0579</id>
<content type='text'>
This method in the sound API is optional since some drivers can do this
when probing or as part of SoC init. Mark it as such.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
</content>
</entry>
<entry>
<title>dm: sound: Use the correct number of channels for sound</title>
<updated>2018-12-13T23:37:10Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2018-12-10T17:37:51Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=f987177db9c988142032ed8142a093cce2378a90'/>
<id>urn:sha1:f987177db9c988142032ed8142a093cce2378a90</id>
<content type='text'>
At present the 'beep' sound generates a waveform for only one channel even
if two are being used. This means that the beep is twice the frequency it
should be. Correct this by making it a parameter.

The fix in a previous commit was correct for sandbox but not for other
boards.

Fixes: 03f11e87a8 ("sound: Correct data output in sound_create_square_wave()")
Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dm: sound: Create a uclass for sound</title>
<updated>2018-12-13T23:32:49Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2018-12-10T17:37:36Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=d4901898654b664c41d8a03afc0e0fbf531b5812'/>
<id>urn:sha1:d4901898654b664c41d8a03afc0e0fbf531b5812</id>
<content type='text'>
The sound driver pulls together the audio codec and i2s drivers in order
to actually make sounds. It supports setup() and play() methods. The
sound_find_codec_i2s() function allows locating the linked codec and i2s
devices. They can be referred to from uclass-private data.

Add a uclass and a test for sound.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
</feed>
