coreboot-kgpe-d16/src/soc/amd/cezanne
Jan Dabros 282d715133 soc/amd/common/block/i2c: Add support for shared TPM_I2C controller
There are platforms equipped with AMD SoC where I2C3 controller
connected to TPM device is shared between X86 and PSP. In order to
handle this, PSP acts as an I2C-arbitrator, where x86 (kernel) sends
acquire and release requests to be accepted by PSP. An example of
implementation within Linux kernel is available [1].

There is a need to introduce new ACPI_ID ("AMDI0019") so that dedicated
driver on OS side can bind to it and handle this special setup. Since
PSP takes care of I2C controller power management, we need to remove
PowerResource object from DSDT.

BUG=b:204508404
BRANCH=guybrush

[1]: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=78d5e9e299e31bc2deaaa94a45bf8ea024f27e8c

Signed-off-by: Jan Dabros <jsd@semihalf.com>
Change-Id: Iccfc09d8c580d7ab2acb69d26b9c293cf625fb34
Reviewed-on: https://review.coreboot.org/c/coreboot/+/61863
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2022-02-17 23:14:02 +00:00
..
acpi soc/amd/common/block/i2c: Add support for shared TPM_I2C controller 2022-02-17 23:14:02 +00:00
include/soc soc/amd/*/i2c: factor out common I2C pad configuration 2022-02-03 23:46:00 +00:00
psp_verstage soc/amd/cezanne/psp_verstage/uart: Fix off by 1 error 2022-02-16 22:08:54 +00:00
acpi.c soc/amd/cezanne,picasso,sabrina: factor out get_threads_per_core 2022-01-26 04:15:11 +00:00
agesa_acpi.c soc/amd/cezanne: Generate IVRS for cezanne 2021-08-05 15:54:50 +00:00
aoac.c soc/amd/cezanne: factor out AOAC offset defines 2021-06-16 16:38:25 +00:00
bootblock.c soc/amd/cezanne,picasso: factor out common early non-car cache setup 2022-01-20 22:28:50 +00:00
chip.c soc/amd/cezanne/chip: add functionality to power down eMMC interface 2021-08-29 20:58:51 +00:00
chip.h soc/amd/*/i2c: factor out common I2C pad configuration 2022-02-03 23:46:00 +00:00
chipset.cb soc/amd/cezanne,picasso/chipset.cb: drop LAPIC device 2021-10-22 14:59:24 +00:00
config.c src: Add missing 'void' in function definition 2022-01-26 23:57:12 +00:00
cppc.c acpigen,soc/amd,cpu/intel: rework static DWORD for CPPC table 2021-10-21 20:03:14 +00:00
cpu.c cpu/x86/lapic: Move LAPIC configuration to MP init 2022-02-05 07:59:04 +00:00
data_fabric.c treewide: Remove "ERROR: "/"WARN: " prefixes from log messages 2022-02-07 23:29:09 +00:00
early_fch.c src/soc/amd: Remove unused <console/console.h> 2022-01-10 18:40:56 +00:00
espi_util.c soc/amd/cezanne: factor out eSPI SPI2 pads configuration functions 2022-01-14 00:29:52 +00:00
fch.c soc/amd/cezanne/fch: disable 48MHz output in S0i3 2021-12-20 17:39:29 +00:00
fsp_m_params.c soc/amd/cezanne: FSP: Add UPD entry for eDP tuning 2022-01-25 23:57:06 +00:00
fsp_s_params.c soc/amd/{common,cezanne}: Implement HAVE_PAYLOAD_PRELOAD_CACHE 2021-07-19 14:58:53 +00:00
fw.cfg soc/amd/cezanne: Allow to specify SPL table path in Kconfig 2022-02-12 17:07:09 +00:00
gpio.c soc/amd/common/blocks/include: rename gpio_banks.h to gpio.h 2021-09-23 18:33:00 +00:00
graphics.c soc/amd/cezanne/graphics: add VBIOS ID remapping for Barcelo 2021-07-17 21:32:59 +00:00
i2c.c treewide: Remove "ERROR: "/"WARN: " prefixes from log messages 2022-02-07 23:29:09 +00:00
Kconfig soc/amd/cezanne: Allow to specify SPL table path in Kconfig 2022-02-12 17:07:09 +00:00
Makefile.inc soc/amd/cezanne: Allow to specify SPL table path in Kconfig 2022-02-12 17:07:09 +00:00
mca.c soc/amd/cezanne/mca: add and use mca_bank_name[] 2021-07-21 22:38:11 +00:00
preload.c soc/amd/cezanne: Preload FSP-S 2021-11-12 14:55:45 +00:00
reset.c soc/amd/cezanne: remove warm reset flag code 2021-06-11 21:48:28 +00:00
romstage.c soc/amd/cezanne: Move APOB update into ramstage 2021-07-14 17:54:36 +00:00
root_complex.c treewide: Remove "ERROR: "/"WARN: " prefixes from log messages 2022-02-07 23:29:09 +00:00
smihandler.c treewide: Remove "ERROR: "/"WARN: " prefixes from log messages 2022-02-07 23:29:09 +00:00
smu.c soc/amd/cezanne: add SMU support 2021-03-04 19:55:27 +00:00
uart.c soc/amd/cezanne,picasso/uart: implement read_resource 2021-10-15 14:46:58 +00:00
xhci.c soc/amd/common/blocks/include: rename gpio_banks.h to gpio.h 2021-09-23 18:33:00 +00:00