diff options
author | Simon Glass <sjg@chromium.org> | 2018-01-17 10:28:07 -0800 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2018-01-18 19:05:37 +0000 |
commit | 60bbe1ca75ae49d9cd48a61327f9161a9174a801 (patch) | |
tree | cd9ba32315ca1c71788eb2f59309a72f113f6515 /board/grunt/board.c | |
parent | 97c819c6282ec04de3705614e9ef60b25b7d3908 (diff) | |
download | chrome-ec-60bbe1ca75ae49d9cd48a61327f9161a9174a801.tar.gz |
grunt: Add support for I2C bus 5
This is used by the keyboard backlight driver. Add support for it so we
can use this chip.
BUG=b:69379749
BRANCH=none
TEST=manual:
boot AP
gpioset KB_BL_EN 1
i2cscan
See that bus 5 shows 0x6c now
Change-Id: I37dd497688f7d280119bf2a226e23bee35063e0c
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/871135
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Edward Hill <ecgh@chromium.org>
Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'board/grunt/board.c')
-rw-r--r-- | board/grunt/board.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/board/grunt/board.c b/board/grunt/board.c index a542c735de..600151e655 100644 --- a/board/grunt/board.c +++ b/board/grunt/board.c @@ -131,6 +131,7 @@ const struct i2c_port_t i2c_ports[] = { {"tcpc0", I2C_PORT_TCPC0, 400, GPIO_I2C1_SCL, GPIO_I2C1_SDA}, {"tcpc1", I2C_PORT_TCPC1, 400, GPIO_I2C2_SCL, GPIO_I2C2_SDA}, {"thermal", I2C_PORT_THERMAL, 400, GPIO_I2C3_SCL, GPIO_I2C3_SDA}, + {"kblight", I2C_PORT_KBLIGHT, 100, GPIO_I2C5_SCL, GPIO_I2C5_SDA}, {"sensor", I2C_PORT_SENSOR, 400, GPIO_I2C7_SCL, GPIO_I2C7_SDA}, }; const unsigned int i2c_ports_used = ARRAY_SIZE(i2c_ports); |