[U-Boot] [PATCH 20/33] sound: Add uclass operations for beeping

Bin Meng bmeng.cn at gmail.com
Wed Feb 13 09:38:49 UTC 2019


On Tue, Jan 22, 2019 at 9:14 AM Simon Glass <sjg at chromium.org> wrote:
>
> 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 <sjg at chromium.org>
> ---
>
>  arch/sandbox/include/asm/test.h | 16 ++++++++++++
>  drivers/sound/sandbox.c         | 46 ++++++++++++++++++++++++++++++---
>  drivers/sound/sound-uclass.c    | 34 +++++++++++++++++++++++-
>  include/sound.h                 | 44 +++++++++++++++++++++++++++++++
>  test/dm/sound.c                 | 21 +++++++++++++++
>  5 files changed, 157 insertions(+), 4 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list