diff options
author | Bill Richardson <wfrichar@chromium.org> | 2013-06-11 16:39:44 -0700 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-06-12 10:18:15 -0700 |
commit | 270d92532fa3bef7d52115822deb0bf21c435974 (patch) | |
tree | 01f1ad6c49ace080053d159d8e08506757f169e1 | |
parent | 30eb8afe033a29a702a9ea63c740252b0344e971 (diff) | |
download | chrome-ec-270d92532fa3bef7d52115822deb0bf21c435974.tar.gz |
Add I2C port 1 for LVDS debug.
BUG=chrome-os-partner:18788
BRANCH=none
TEST=none
The connection to the LVDS controller is unstuffed, so there's nothing to
test without some soldering.
Change-Id: I5e6d9a3705554335512611b6b463568251b848b6
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/58268
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
-rw-r--r-- | board/falco/board.c | 2 | ||||
-rw-r--r-- | board/falco/board.h | 7 |
2 files changed, 5 insertions, 4 deletions
diff --git a/board/falco/board.c b/board/falco/board.c index 8afb8d7a23..978630dd45 100644 --- a/board/falco/board.c +++ b/board/falco/board.c @@ -142,10 +142,10 @@ const struct i2c_port_t i2c_ports[I2C_PORTS_USED] = { /* Note: battery and charger share a port. Only include it once in * this list so we don't double-initialize it. */ {"batt_chg", I2C_PORT_BATTERY, 100}, + {"lvds", I2C_PORT_LVDS, 100}, {"thermal", I2C_PORT_THERMAL, 100}, }; - /* Temperature sensors data; must be in same order as enum temp_sensor_id. */ const struct temp_sensor_t temp_sensors[TEMP_SENSOR_COUNT] = { /* HEY: Need correct I2C addresses and read function for external sensor */ diff --git a/board/falco/board.h b/board/falco/board.h index 0fe1468cdf..47340da957 100644 --- a/board/falco/board.h +++ b/board/falco/board.h @@ -44,9 +44,10 @@ /* I2C ports */ #define I2C_PORT_BATTERY 0 #define I2C_PORT_CHARGER 0 -#define I2C_PORT_THERMAL 2 -/* There are only two I2C ports used because battery and charger share a port */ -#define I2C_PORTS_USED 2 +#define I2C_PORT_LVDS 1 +#define I2C_PORT_THERMAL 5 +/* Battery and charger share a port. Don't count it twice. */ +#define I2C_PORTS_USED 3 /* 13x8 keyboard scanner uses an entire GPIO bank for row inputs */ #define KB_SCAN_ROW_IRQ LM4_IRQ_GPIOK |