From bb113312271f790639cf6c7fc1da04ecd71f647d Mon Sep 17 00:00:00 2001 From: Alec Thilenius Date: Wed, 3 Jan 2018 12:36:16 -0700 Subject: [PATCH] kahlee: Switch thermal I2C over to 1.8V The SB-TSI temp sensor on the FT4 requires the 1.8V for the I2C bus. BUG=b:69379715 BRANCH=None TEST=Build, deploy, over servo: `temps` Change-Id: I9929d7f5ac4a029f7314bac6eae50ee2c54b8ea4 Reviewed-on: https://chromium-review.googlesource.com/849275 Commit-Ready: Alec Thilenius Tested-by: Alec Thilenius Reviewed-by: Edward Hill --- board/kahlee/gpio.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/kahlee/gpio.inc b/board/kahlee/gpio.inc index 45d6b81f3a..c9ab3b7b75 100644 --- a/board/kahlee/gpio.inc +++ b/board/kahlee/gpio.inc @@ -27,8 +27,8 @@ GPIO(LID_ACCEL_INT_L, PIN(C, 7), GPIO_INPUT | GPIO_PULL_UP) GPIO(ALS_INT_L, PIN(0, 2), GPIO_INPUT | GPIO_PULL_UP) /* I2C GPIOs will be set to alt. function later. */ -GPIO(EC_I2C_THERMAL_SDA, PIN(8, 7), GPIO_INPUT) /* Thermel sensor & APU */ -GPIO(EC_I2C_THERMAL_SCL, PIN(9, 0), GPIO_INPUT) /* Thermel sensor & APU */ +GPIO(EC_I2C_THERMAL_SDA, PIN(8, 7), GPIO_INPUT | GPIO_SEL_1P8V) /* Thermel sensor & APU */ +GPIO(EC_I2C_THERMAL_SCL, PIN(9, 0), GPIO_INPUT | GPIO_SEL_1P8V) /* Thermel sensor & APU */ GPIO(EC_I2C_SENSOR_SDA, PIN(9, 1), GPIO_INPUT) /* Sensor board ( G-sensor, light sensor ) */ GPIO(EC_I2C_SENSOR_SCL, PIN(9, 2), GPIO_INPUT) /* Sensor board ( G-sensor, light sensor ) */ GPIO(EC_I2C_USB_C0_PD_SDA, PIN(B, 4), GPIO_INPUT) /* PD1 */