ASoC: Intel: bytcht_es8316: Dump basic _DSM information
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Sat, 2 Dec 2023 12:39:44 +0000 (13:39 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 4 Dec 2023 17:20:29 +0000 (17:20 +0000)
commitb71e1d3789946a20e0e34349f4a874604ac65c3e
treeae82ad248561d299b364a2cb8e8570c183e60fdc
parent9c8bec3b63255ca04e5dad87471a35790aec06dc
ASoC: Intel: bytcht_es8316: Dump basic _DSM information

Instead of adding DMI quirks for each new tablet model which uses
the ESS8316 codec, the plan is to switch to querying the same ACPI
Device-Specific-Method (DSM) as Windows uses to determine things
like speaker and mic routing.

Call the new es83xx_dsm_dump() helper which logs various basic settings
which can be queried through the ACPI DSM method on the codec ACPI device,
this is intended to help with developing a DSM based solution to replace
most DMI quirks.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
[hdegoede@redhat.com: improve commit message]
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-3-hdegoede@redhat.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/Kconfig
sound/soc/intel/boards/bytcht_es8316.c