summaryrefslogtreecommitdiff
path: root/zephyr/boards/arm/npcx9
diff options
context:
space:
mode:
authorKeith Short <keithshort@chromium.org>2021-11-18 16:58:07 -0700
committerCommit Bot <commit-bot@chromium.org>2021-12-06 20:21:30 +0000
commita0a6158f4b8074dd57d2bc2f4de49c9ed900c94f (patch)
tree040bb26c08269435715a58efe29752a74d0ee9da /zephyr/boards/arm/npcx9
parent1670136344b405317272cecce178eba1e95535c3 (diff)
downloadchrome-ec-a0a6158f4b8074dd57d2bc2f4de49c9ed900c94f.tar.gz
zephyr: i2c: Remove label from named-i2c-ports
The label property was stored in the name field of i2c_ports[]. However the name field is only used by the legacy I2C console commands and not used by Zephyr builds. Remove the label property from named-i2c-ports and remove the name field from i2c_ports[] for Zephyr builds, saving a modest amount of flash space. BUG=none BRANCH=none TEST=zmake testall TEST=Boot zephyr on Herobrine, verify I2C console commands still functional. Signed-off-by: Keith Short <keithshort@chromium.org> Change-Id: I22c743c4e362d05d51432fa67f5be16989d39574 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3300664 Commit-Queue: Abe Levkoy <alevkoy@chromium.org> Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Diffstat (limited to 'zephyr/boards/arm/npcx9')
-rw-r--r--zephyr/boards/arm/npcx9/npcx9.dts9
1 files changed, 0 insertions, 9 deletions
diff --git a/zephyr/boards/arm/npcx9/npcx9.dts b/zephyr/boards/arm/npcx9/npcx9.dts
index ab44d8119e..da53b3b80b 100644
--- a/zephyr/boards/arm/npcx9/npcx9.dts
+++ b/zephyr/boards/arm/npcx9/npcx9.dts
@@ -35,47 +35,38 @@
i2c_sensor: sensor {
i2c-port = <&i2c0_0>;
enum-name = "I2C_PORT_SENSOR";
- label = "SENSOR";
};
tcpc0_2 {
i2c-port = <&i2c1_0>;
enum-name = "I2C_PORT_USB_C0_C2_TCPC";
- label = "TCPC0,2";
};
tcpc1 {
i2c-port = <&i2c4_1>;
enum-name = "I2C_PORT_USB_C1_TCPC";
- label = "TCPC1";
};
ppc0_2 {
i2c-port = <&i2c2_0>;
enum-name = "I2C_PORT_USB_C0_C2_PPC";
- label = "PPC0,2";
};
ppc1 {
i2c-port = <&i2c6_1>;
enum-name = "I2C_PORT_USB_C1_PPC";
- label = "PPC1";
};
retimer0_2 {
i2c-port = <&i2c3_0>;
enum-name = "I2C_PORT_USB_C0_C2_MUX";
- label = "RETIMER0,2";
};
battery {
i2c-port = <&i2c5_0>;
enum-name = "I2C_PORT_BATTERY";
- label = "BATTERY";
};
eeprom {
i2c-port = <&i2c7_0>;
enum-name = "I2C_PORT_EEPROM";
- label = "EEPROM";
};
charger {
i2c-port = <&i2c7_0>;
enum-name = "I2C_PORT_CHARGER";
- label = "EEPROM";
};
};