summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Vaccaro <nvaccaro@google.com>2019-05-31 17:16:13 -0700
committerCommit Bot <commit-bot@chromium.org>2019-06-18 07:51:49 +0000
commit3a44908beda662eb7bdf5a7b877c7dadbc8b6d50 (patch)
treeb8a306fb2739e5bab4b87ecbee795e8799795d13
parent60525b795ea38e8a17a35525ef02448d2d06a7db (diff)
downloadchrome-ec-3a44908beda662eb7bdf5a7b877c7dadbc8b6d50.tar.gz
flapjack: add i2c_ports entry for I2C_PORT_ALS
BUG=b:124512628 BRANCH=master TEST=none Change-Id: I7cb9f44313fc64cc95ab47628e854fce0a4362b3 Signed-off-by: Nick Vaccaro <nvaccaro@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1639646 Tested-by: Nick Vaccaro <nvaccaro@chromium.org> Commit-Queue: Nick Vaccaro <nvaccaro@chromium.org> Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
-rw-r--r--board/flapjack/board.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/flapjack/board.c b/board/flapjack/board.c
index c8524dca4e..d090dc3e0f 100644
--- a/board/flapjack/board.c
+++ b/board/flapjack/board.c
@@ -238,6 +238,7 @@ BUILD_ASSERT(ARRAY_SIZE(adc_channels) == ADC_CH_COUNT);
const struct i2c_port_t i2c_ports[] = {
{"charger", I2C_PORT_CHARGER, 400, GPIO_I2C1_SCL, GPIO_I2C1_SDA},
{"tcpc0", I2C_PORT_TCPC0, 400, GPIO_I2C1_SCL, GPIO_I2C1_SDA},
+ {"als", I2C_PORT_ALS, 400, GPIO_I2C1_SCL, GPIO_I2C1_SDA},
{"battery", I2C_PORT_BATTERY, 400, GPIO_I2C2_SCL, GPIO_I2C2_SDA},
{"accelgyro", I2C_PORT_ACCEL, 400, GPIO_I2C2_SCL, GPIO_I2C2_SDA},
{"eeprom", I2C_PORT_EEPROM, 400, GPIO_I2C2_SCL, GPIO_I2C2_SDA},