summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Tsai <will_tsai@wistron.corp-partner.google.com>2022-07-21 13:35:30 +0800
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-07-21 10:12:23 +0000
commit0063d16e0c0daa666c02f48a1fd8036abf3266f5 (patch)
tree7c4ef1e10213c31ad93cc469ad3b8b33ee6efbb8
parent059abef0a7168a5bf9b1d2af62d4a8f21257ba06 (diff)
downloadchrome-ec-0063d16e0c0daa666c02f48a1fd8036abf3266f5.tar.gz
joxer: configure i2c address of bma422
Configure the address from the default value(0x18) to the demand value(0x19). BRANCH=none BUG=b:239773587 TEST=zmake build joxer Signed-off-by: Will Tsai <will_tsai@wistron.corp-partner.google.com> Change-Id: Ifb40f595f02bd11e18af955b726e0799fba1faf9 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3778910 Reviewed-by: Andrew McRae <amcrae@google.com>
-rw-r--r--zephyr/projects/nissa/joxer/motionsense.dts1
1 files changed, 1 insertions, 0 deletions
diff --git a/zephyr/projects/nissa/joxer/motionsense.dts b/zephyr/projects/nissa/joxer/motionsense.dts
index 3f589d132f..769134db0c 100644
--- a/zephyr/projects/nissa/joxer/motionsense.dts
+++ b/zephyr/projects/nissa/joxer/motionsense.dts
@@ -87,6 +87,7 @@
rot-standard-ref = <&lid_rot_ref>;
default-range = <2>;
drv-data = <&bma422_data>;
+ i2c-spi-addr-flags = "BMA4_I2C_ADDR_SECONDARY";
configs {
compatible =
"cros-ec,motionsense-sensor-config";