mb/google/guybrush: Enable AMD I2S Machine Driver

Enable AMD I2S machine driver and configure the devicetree with HID
information so that the machine driver ACPI objects can be passed to the
kernel.

BUG=b:182960979
TEST=Build and boot to OS in guybrush. Ensure that the ACPI objects for
machine driver is populated.

Change-Id: I8ed474d25273082d1e0742ba93746d97930deb19
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/52394
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
This commit is contained in:
Karthikeyan Ramasubramanian 2021-04-15 14:35:55 -06:00 committed by Patrick Georgi
parent 8c5f3ebbdf
commit 63fc236856
2 changed files with 8 additions and 0 deletions

View File

@ -11,6 +11,7 @@ config BOARD_SPECIFIC_OPTIONS
select BOARD_ROMSIZE_KB_16384 select BOARD_ROMSIZE_KB_16384
select DISABLE_KEYBOARD_RESET_PIN select DISABLE_KEYBOARD_RESET_PIN
select DISABLE_SPI_FLASH_ROM_SHARING select DISABLE_SPI_FLASH_ROM_SHARING
select DRIVERS_AMD_I2S_MACHINE_DEV
select DRIVERS_I2C_GENERIC select DRIVERS_I2C_GENERIC
select DRIVERS_I2C_HID select DRIVERS_I2C_HID
select DRIVERS_UART_ACPI select DRIVERS_UART_ACPI

View File

@ -132,6 +132,13 @@ chip soc/amd/cezanne
device pnp 0c09.0 on end device pnp 0c09.0 on end
end end
end end
device ref acp on
chip drivers/amd/i2s_machine_dev
register "hid" = ""AMDI5682""
device generic 0.0 on end
end
end # Audio
end # domain end # domain
device ref i2c_3 on device ref i2c_3 on