diff options
author | Scott Chao <scott_chao@wistron.corp-partner.google.com> | 2023-04-28 16:59:36 +0800 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-05-12 07:35:15 +0000 |
commit | 5c4d8b42efb23ba5334a43145cdc6ad1809ab1b3 (patch) | |
tree | d5f2018dd035da53fe6ca019cc27ec3573f337bc /zephyr/program/nissa/joxer/motionsense.dtsi | |
parent | 9615337c2d27357fa7672837f1088fd1356e6d45 (diff) | |
download | chrome-ec-5c4d8b42efb23ba5334a43145cdc6ad1809ab1b3.tar.gz |
joxer: Allow alternate rotation parameters for Joxer
This will allow joxer to load different rotation matrix according to
cbi.
BUG=b:282054731
TEST=make sure joxer rotate correctly
Change-Id: I03aa376f05f8f68cbabacf897915cb54d6b80ab7
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4486659
Commit-Queue: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Reviewed-by: Peter Marheine <pmarheine@chromium.org>
Tested-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Diffstat (limited to 'zephyr/program/nissa/joxer/motionsense.dtsi')
-rw-r--r-- | zephyr/program/nissa/joxer/motionsense.dtsi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/zephyr/program/nissa/joxer/motionsense.dtsi b/zephyr/program/nissa/joxer/motionsense.dtsi index e9c46a849a..fbac470660 100644 --- a/zephyr/program/nissa/joxer/motionsense.dtsi +++ b/zephyr/program/nissa/joxer/motionsense.dtsi @@ -40,6 +40,12 @@ 0 0 (-1)>; }; + lid_rot_inverted: lid-rotation-inverted { + mat33 = <0 1 0 + (-1) 0 0 + 0 0 1>; + }; + base_rot_ref: base-rotation-ref { mat33 = <1 0 0 0 1 0 |