
On Sun, Feb 17, 2019 at 11:26 AM Simon Glass sjg@chromium.org wrote:
The Intel High-definition Audio is a newer-generation audio system which provides for transfer of a large number of audio stream, each containing up to 16 channels.
Add support for HDA as a library which can be used by other drivers. U-Boot currently uses only two channels (stereo).
Signed-off-by: Simon Glass sjg@chromium.org
Changes in v2:
- Add a link to the HD audio PDF fie
- Update in codec_init() to use defines for codec access
- Use a more generic "intel,hd-audio" as the compatible string
- Use defines for all azalia verbs in binding file
doc/device-tree-bindings/sound/intel-hda.txt | 25 + drivers/sound/Kconfig | 9 + drivers/sound/Makefile | 1 + drivers/sound/hda_codec.c | 556 +++++++++++++++++++ include/dt-bindings/sound/azalia.h | 44 ++ include/hda_codec.h | 103 ++++ 6 files changed, 738 insertions(+) create mode 100644 doc/device-tree-bindings/sound/intel-hda.txt create mode 100644 drivers/sound/hda_codec.c create mode 100644 include/dt-bindings/sound/azalia.h create mode 100644 include/hda_codec.h
Reviewed-by: Bin Meng bmeng.cn@gmail.com