Skip to content

Commit 82d1fd3

Browse files
sammcCommit Bot
authored andcommitted
Nissa: Set LIS2DWL_ADDR0_FLAGS for Nivviks lid accelerometer.
If unset, it defaults to LIS2DWL_ADDR1_FLAGS. On Nivviks, it should be set to LIS2DWL_ADDR0_FLAGS. BUG=b:223545495, b:225289936 TEST=ectool motionsense shows output for sensor 2 BRANCH=None Change-Id: Ic6576dc0bf88f0fb20f869361a4b7cd3054bb13d Signed-off-by: Sam McNally <sammc@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3538159 Reviewed-by: Andrew McRae <amcrae@google.com>
1 parent 4481408 commit 82d1fd3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

zephyr/projects/nissa/nivviks_motionsense.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@
126126
rot-standard-ref = <&lid_rot_ref>;
127127
default-range = <2>;
128128
drv-data = <&lis2dw12_data>;
129+
i2c-spi-addr-flags = "LIS2DWL_ADDR0_FLAGS";
129130
configs {
130131
compatible =
131132
"cros-ec,motionsense-sensor-config";

0 commit comments

Comments
 (0)