summaryrefslogtreecommitdiff
path: root/zephyr/dts/bindings/i2c
diff options
context:
space:
mode:
authortim <tim2.lin@ite.corp-partner.google.com>2021-05-17 11:09:56 +0800
committerCommit Bot <commit-bot@chromium.org>2021-05-18 15:08:31 +0000
commit9d6b2fb5d861750b5de933327fe555af29f95ea2 (patch)
treec81377818d1f4431b47459bbf24278393ff20928 /zephyr/dts/bindings/i2c
parent6aabf0406bf3e848ee171d705963e8c3d18106ba (diff)
downloadchrome-ec-9d6b2fb5d861750b5de933327fe555af29f95ea2.tar.gz
zephyr: it8xxx2_evb: enable I2C driver
Enable the I2C driver and connect with I2C peripheral to test writing and reading data. BUG=b:185202623 BRANCH=none TEST=shell: "i2c scan I2C_0(I2C_1, I2C_2, I2C_4)" "i2c write_byte I2C_0 0x52(slv) 0x10 0x20" "i2c read_byte I2C_0 0x52(slv) 0x10" Signed-off-by: tim <tim2.lin@ite.corp-partner.google.com> Change-Id: I112aa379ba6162d774e6cd861fb6f579bb859823 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2878764 Reviewed-by: Keith Short <keithshort@chromium.org> Commit-Queue: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'zephyr/dts/bindings/i2c')
-rw-r--r--zephyr/dts/bindings/i2c/cros-ec-i2c-port-base.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/zephyr/dts/bindings/i2c/cros-ec-i2c-port-base.yaml b/zephyr/dts/bindings/i2c/cros-ec-i2c-port-base.yaml
index 49d9ee53c4..d16dedc954 100644
--- a/zephyr/dts/bindings/i2c/cros-ec-i2c-port-base.yaml
+++ b/zephyr/dts/bindings/i2c/cros-ec-i2c-port-base.yaml
@@ -17,6 +17,9 @@ properties:
- I2C_PORT_BATTERY
- I2C_PORT_CHARGER
- I2C_PORT_EEPROM
+ - I2C_PORT_EVB_1
+ - I2C_PORT_EVB_2
+ - I2C_PORT_OPT_4
- I2C_PORT_POWER
- I2C_PORT_SENSOR
- I2C_PORT_TCPC0