From 583ba8b1ef87b9ef47d4556c71df15d33d88a13a Mon Sep 17 00:00:00 2001 From: Furquan Shaikh Date: Tue, 30 Jun 2020 23:51:24 -0700 Subject: soc/amd/picasso: Add support for generating I2S machine device This change adds support in ACP device driver to generate I2S machine device (AMDI5682) in SSDT. It expects mainboard to provide chip config `dmic_select_gpio` that can be passed as `dmic-gpios` in _DSD for the device. BUG=b:157603026 TEST=Verified that I2S machine device is correctly generated for trembyle. Signed-off-by: Furquan Shaikh Change-Id: I22ab53d7d68c6e042e467e598d688e360d28586f Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/coreboot/+/2252557 Commit-Queue: Furquan Shaikh Tested-by: Furquan Shaikh Reviewed-by: Aaron Durbin Reviewed-on: https://review.coreboot.org/c/coreboot/+/42970 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/soc/amd/picasso/chip.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/soc/amd/picasso/chip.h') diff --git a/src/soc/amd/picasso/chip.h b/src/soc/amd/picasso/chip.h index f5fbe0fc2e..f11f800787 100644 --- a/src/soc/amd/picasso/chip.h +++ b/src/soc/amd/picasso/chip.h @@ -46,6 +46,9 @@ struct soc_amd_picasso_config { uint8_t flags; } irq_override[16]; + /* DMIC select GPIO for I2S machine driver AMDI5682 */ + struct acpi_gpio dmic_select_gpio; + /* Options for these are in src/arch/x86/include/acpi/acpi.h */ uint8_t fadt_pm_profile; uint16_t fadt_boot_arch; -- cgit v1.2.3