Eran Mitrani has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/75565?usp=email )
Change subject: mb/google/rex/var/rex0: probe for i2c1 touchscreen ......................................................................
mb/google/rex/var/rex0: probe for i2c1 touchscreen
Touchscreen may either use I2C1 or SPI0. FW_CONFIG.TOUCHSCREEN is set to determine which is used. This CL adds a probe to enable I2C1.
BUG=b:278783755 TEST=Tested on rex, confimed i2c1 is disabled when TOUCHSCREEN != TOUCHSCREEN_I2C
Signed-off-by: Eran Mitrani mitrani@google.com Change-Id: I0bee176298fddd2aee35cf084db037a3ce7672f7 --- M src/mainboard/google/rex/variants/rex0/overridetree.cb 1 file changed, 3 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/65/75565/1
diff --git a/src/mainboard/google/rex/variants/rex0/overridetree.cb b/src/mainboard/google/rex/variants/rex0/overridetree.cb index ab9596e..0bd4d3b 100644 --- a/src/mainboard/google/rex/variants/rex0/overridetree.cb +++ b/src/mainboard/google/rex/variants/rex0/overridetree.cb @@ -542,7 +542,9 @@ register "generic.stop_off_delay_ms" = "2" register "generic.has_power_resource" = "1" register "hid_desc_reg_offset" = "0x01" - device i2c 10 on end + device i2c 10 on + probe TOUCHSCREEN TOUCHSCREEN_I2C + end end chip drivers/generic/gpio_keys register "name" = ""PENH""