coreboot-kgpe-d16/src/soc/mediatek/mt8173
Vadim Bendebury c77259c4e5 google/oak: Support cr50 over I2C on rowan
This patch enables TPM2 using cr50 over I2C for the Rowan board, and
adds an mt8173 specific TPM IRQ polling function. The function relies on
the appropriate EINT input configured to trigger the ready status on
the rising edge.

The cr50 TPM is on I2C address 0x50.

The cr50 interrupt GPIO is also made available for use by depthcharge
via the coreboot tables.

BRANCH=none
BUG=b:36786804
TEST=Boot rowan w/ serial enabled, verify coreboot and depthcharge are
 configured to use IRQ flow control when talking to the Cr50 TPM.

Change-Id: If6cdd0e39e4ac86538f27f322c55c329179ee084
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
Reviewed-on: https://review.coreboot.org/19364
Tested-by: build bot (Jenkins)
Reviewed-by: Julius Werner <jwerner@chromium.org>
2017-04-24 22:33:06 +02:00
..
include/soc mediatek/mt8173: Add EINT support 2017-04-24 22:32:52 +02:00
bl31_plat_params.c
bootblock.c
cbmem.c
da9212.c
ddp.c
dramc_pi_basic_api.c src/soc: Add required space before opening parenthesis '(' 2016-08-31 20:09:42 +02:00
dramc_pi_calibration_api.c src/soc: Add required space before opening parenthesis '(' 2016-08-31 20:09:42 +02:00
dsi.c
emi.c src/soc: Add required space before opening parenthesis '(' 2016-08-31 20:09:42 +02:00
flash_controller.c soc/mediatek/mt8173: Do not initialize static variables to 0 2016-12-07 17:15:56 +01:00
gpio.c mediatek/mt8173: Add EINT support 2017-04-24 22:32:52 +02:00
gpio_init.c
i2c.c
Kconfig vboot: Move remaining features out of vendorcode/google/chromeos 2017-03-28 22:18:13 +02:00
Makefile.inc google/oak: Support cr50 over I2C on rowan 2017-04-24 22:33:06 +02:00
memory.c
mmu_operations.c
mt6311.c
mt6391.c
mtcmos.c
pll.c
pmic_wrap.c src/soc: Remove unnecessary whitespace before "\n" and "\t" 2016-08-28 18:25:14 +02:00
rtc.c
soc.c
spi.c spi: Get rid of SPI_ATOMIC_SEQUENCING 2016-12-23 04:54:55 +01:00
timer.c
uart.c
usb.c mediatek/mt8173: Check the right set of bits in USB controller 2016-12-16 15:54:39 +01:00
wdt.c