mb/google/guybrush: Configure Audio Co-processor
Configure Audio Co-processor(ACP) to operate in I2S TDM mode. Also fix the scope in which ACP is defined in the devicetree. BUG=b:182960979 TEST=Build and boot to OS in Guybrush. Ensure that the ACPD device is enabled in the appropriate scope in SSDT. Change-Id: Ic90fd82e5c34a9feb9a80c4538a45e7c2fb91add Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/52645 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Raul Rangel <rrangel@chromium.org>
This commit is contained in:
parent
fbb027e8c7
commit
e71a6ee9a6
|
@ -1,6 +1,12 @@
|
||||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
chip soc/amd/cezanne
|
chip soc/amd/cezanne
|
||||||
|
|
||||||
|
register "common_config.acp_config" = "{
|
||||||
|
.acp_pin_cfg = I2S_PINS_I2S_TDM,
|
||||||
|
.acp_i2s_wake_enable = 0,
|
||||||
|
.acp_pme_enable = 0,
|
||||||
|
}"
|
||||||
|
|
||||||
# eSPI Configuration
|
# eSPI Configuration
|
||||||
register "common_config.espi_config" = "{
|
register "common_config.espi_config" = "{
|
||||||
.std_io_decode_bitmap = ESPI_DECODE_IO_0x80_EN | ESPI_DECODE_IO_0X60_0X64_EN,
|
.std_io_decode_bitmap = ESPI_DECODE_IO_0x80_EN | ESPI_DECODE_IO_0X60_0X64_EN,
|
||||||
|
@ -130,6 +136,12 @@ chip soc/amd/cezanne
|
||||||
end
|
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
|
end
|
||||||
|
|
||||||
device ref lpc_bridge on
|
device ref lpc_bridge on
|
||||||
|
@ -137,13 +149,6 @@ 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
|
||||||
|
|
Loading…
Reference in New Issue