ASoC: es83xx: add ACPI DSM helper module
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Sat, 2 Dec 2023 12:39:43 +0000 (13:39 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 4 Dec 2023 17:20:28 +0000 (17:20 +0000)
commit9c8bec3b63255ca04e5dad87471a35790aec06dc
treeee3b912ca5fc8676d647223b7cb537ce8a5c0c0b
parent4978d3f8e9e2fcc96142234b76131f7ee0a8c2e3
ASoC: es83xx: add ACPI DSM helper module

Most of the ES83xx codec configuration is exposed in the DSDT table
and accessible via a _DSM method. Start adding basic definitions and
helpers to dump the information.

Reviewed-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Co-developed-by: David Yang <yangxiaohua@everest-semi.com>
Signed-off-by: David Yang <yangxiaohua@everest-semi.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20231202123946.54347-2-hdegoede@redhat.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/Kconfig
sound/soc/codecs/Makefile
sound/soc/codecs/es83xx-dsm-common.c [new file with mode: 0644]
sound/soc/codecs/es83xx-dsm-common.h [new file with mode: 0644]