aboutsummaryrefslogtreecommitdiff
path: root/src/soc/amd/picasso/chip.h
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2020-06-30 23:51:24 -0700
committerFurquan Shaikh <furquan@google.com>2020-07-02 19:13:04 +0000
commit583ba8b1ef87b9ef47d4556c71df15d33d88a13a (patch)
tree2f0466653aa8b37867394b0ba19aeeb67dfb2f55 /src/soc/amd/picasso/chip.h
parent0d787a1b06bc32cbc53927f5efd49184e2a19c16 (diff)
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 <furquan@google.com> Change-Id: I22ab53d7d68c6e042e467e598d688e360d28586f Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/coreboot/+/2252557 Commit-Queue: Furquan Shaikh <furquan@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Aaron Durbin <adurbin@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/42970 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/soc/amd/picasso/chip.h')
-rw-r--r--src/soc/amd/picasso/chip.h3
1 files changed, 3 insertions, 0 deletions
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;