summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTing Shen <phoenixshen@google.com>2022-01-17 15:36:18 +0800
committerCommit Bot <commit-bot@chromium.org>2022-01-20 07:33:02 +0000
commit1bc89f8ea101be94bdb33de85998e428e461c397 (patch)
tree60536ea6d3a52729a9b37d473ba19cd26809020e
parentbfd62ee48d2578874701c59c53050b1a05f88726 (diff)
downloadchrome-ec-1bc89f8ea101be94bdb33de85998e428e461c397.tar.gz
krabby: enable i2c3
Enable i2c3 on gpf2/f3. BUG=b:210800948 TEST=ectool motionsense BRANCH=none Signed-off-by: Ting Shen <phoenixshen@google.com> Change-Id: Ic238b60602437d53ca105733a861310cc040938a Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3398189 Reviewed-by: Eric Yilun Lin <yllin@google.com> Commit-Queue: Eric Yilun Lin <yllin@google.com> Commit-Queue: Ting Shen <phoenixshen@chromium.org> Tested-by: Ting Shen <phoenixshen@chromium.org> Auto-Submit: Ting Shen <phoenixshen@chromium.org>
-rw-r--r--zephyr/projects/corsola/i2c_krabby.dts10
1 files changed, 3 insertions, 7 deletions
diff --git a/zephyr/projects/corsola/i2c_krabby.dts b/zephyr/projects/corsola/i2c_krabby.dts
index 42e7218a9d..f77f231991 100644
--- a/zephyr/projects/corsola/i2c_krabby.dts
+++ b/zephyr/projects/corsola/i2c_krabby.dts
@@ -82,13 +82,9 @@ i2c_pwr_cbi: &i2c0 {
label = "I2C_SENSOR";
status = "okay";
clock-frequency = <I2C_BITRATE_FAST>;
- /*
- * b/210800948: i2c3 is not working at this moment.
- *
- * The driver support for i2c3 on GPF2/F3 is under review in
- * following PR.
- * https://github.com/zephyrproject-rtos/zephyr/pull/41389
- */
+ gpio-dev = <&gpiof>;
+ pinctrl-0 = <&pinctrl_i2c_clk3_gpf2 /* GPF2 */
+ &pinctrl_i2c_data3_gpf3>; /* GPF3 */
};
&i2c4 {