baseboard/dedede/variant_ec_it8320.c: Format with clang-format
BRANCH=none
TEST=none
@@ -75,47 +75,37 @@ BUILD_ASSERT(ARRAY_SIZE(vcmp_list) == VCMP_COUNT);
/* I2C Ports */
const struct i2c_port_t i2c_ports[] = {
- {
- .name = "eeprom",
+ { .name = "eeprom",
.port = I2C_PORT_EEPROM,
.kbps = 400,
.scl = GPIO_EC_I2C_EEPROM_SCL,
- .sda = GPIO_EC_I2C_EEPROM_SDA
- },
+ .sda = GPIO_EC_I2C_EEPROM_SDA },
- {
- .name = "battery",
+ { .name = "battery",
.port = I2C_PORT_BATTERY,
.kbps = 100,
.scl = GPIO_EC_I2C_BATTERY_SCL,
- .sda = GPIO_EC_I2C_BATTERY_SDA
- },
+ .sda = GPIO_EC_I2C_BATTERY_SDA },
#ifdef HAS_TASK_MOTIONSENSE
- {
- .name = "sensor",
+ { .name = "sensor",
.port = I2C_PORT_SENSOR,
.kbps = 400,
.scl = GPIO_EC_I2C_SENSOR_SCL,
- .sda = GPIO_EC_I2C_SENSOR_SDA
- },
+ .sda = GPIO_EC_I2C_SENSOR_SDA },
#endif
#if CONFIG_USB_PD_PORT_MAX_COUNT > 1
- {
- .name = "sub_usbc1",
+ { .name = "sub_usbc1",
.port = I2C_PORT_SUB_USB_C1,
.kbps = 1000,
.scl = GPIO_EC_I2C_SUB_USB_C1_SCL,
- .sda = GPIO_EC_I2C_SUB_USB_C1_SDA
- },
+ .sda = GPIO_EC_I2C_SUB_USB_C1_SDA },
#endif
- {
- .name = "usbc0",
+ { .name = "usbc0",
.port = I2C_PORT_USB_C0,
.kbps = 1000,
.scl = GPIO_EC_I2C_USB_C0_SCL,
- .sda = GPIO_EC_I2C_USB_C0_SDA
- },
+ .sda = GPIO_EC_I2C_USB_C0_SDA },
};
const unsigned int i2c_ports_used = ARRAY_SIZE(i2c_ports);
