dm: sound: Create a uclass for i2s
authorSimon Glass <sjg@chromium.org>
Mon, 10 Dec 2018 17:37:34 +0000 (10:37 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 13 Dec 2018 23:32:49 +0000 (16:32 -0700)
commite96fa6c91177d0aa81119d1d24cc0aa2dd663581
tree333d54a1f9349c5e238f836675d49dbe5b59bc4b
parentce6d99a056ebc9ad329521ca3660f6cb298a7666
dm: sound: Create a uclass for i2s

The i2s bus is commonly used with audio codecs. It provides a way to
stream digital data sychronously in both directions. U-Boot only supports
audio output, so this uclass is very simple, with a single tx_data()
method.

Add a uclass and a test for i2s.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sandbox/dts/test.dts
arch/sandbox/include/asm/test.h
drivers/sound/Makefile
drivers/sound/i2s-uclass.c [new file with mode: 0644]
drivers/sound/sandbox.c
include/dm/uclass-id.h
include/i2s.h
test/dm/Makefile
test/dm/i2s.c [new file with mode: 0644]