x86: Add support for building up an NHLT structure
authorSimon Glass <sjg@chromium.org>
Wed, 8 Jul 2020 03:32:16 +0000 (21:32 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 17 Jul 2020 06:32:24 +0000 (14:32 +0800)
commit7f926c9648bd00fff110a21dc1aae61f03757271
tree85e5ebc1f28a3078d14e47ecd7e70adc40783ff5
parentbb6772c3ffb0b2df22fd22cfe8d17276823af06d
x86: Add support for building up an NHLT structure

The Intel Non-High-Definition-Audio Link Table (NHLT) table describes the
audio codecs and connections in a system. Various devices can contribute
information to produce the table.

Add functions to allow adding to the structure that is eventually written
to the ACPI tables. Also add the device-tree bindings.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/x86/include/asm/acpi_nhlt.h [new file with mode: 0644]
arch/x86/lib/Makefile
arch/x86/lib/acpi_nhlt.c [new file with mode: 0644]