diff options
-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 |