summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKornel Dulęba <korneld@google.com>2023-03-29 09:13:10 +0000
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-04-17 19:30:54 +0000
commitf7455239cf4f703eb95be3fed72c691d01eb0539 (patch)
treee9cfd9620d26a6723ce9b478f239392227a4f5cc
parent8b50c762dc2df4d14e7aff4838e2490419be7913 (diff)
downloadchrome-ec-f7455239cf4f703eb95be3fed72c691d01eb0539.tar.gz
Whiterun: Increase lis12dw2 sensor ODR
It's used for body detection feature. The suggested frequency for that is 50Hz. Adjust the sensor to match that. BUG=b:262680246 BRANCH=none TEST="accelrate 0" prints 50Hz Change-Id: Iec93d4508251bcd63eafbe5c7e4bdee5531c6217 Signed-off-by: Kornel Dulęba <korneld@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4379150 Reviewed-by: Gwendal Grignou <gwendal@chromium.org>
-rw-r--r--zephyr/program/skyrim/winterhold/motionsense.dtsi5
1 files changed, 3 insertions, 2 deletions
diff --git a/zephyr/program/skyrim/winterhold/motionsense.dtsi b/zephyr/program/skyrim/winterhold/motionsense.dtsi
index b66f6a34cc..03f30d44be 100644
--- a/zephyr/program/skyrim/winterhold/motionsense.dtsi
+++ b/zephyr/program/skyrim/winterhold/motionsense.dtsi
@@ -76,11 +76,12 @@
configs {
compatible =
"cros-ec,motionsense-sensor-config";
+ /* 50 Hz to support body detection. */
ec-s0 {
- odr = <(12500 | ROUND_UP_FLAG)>;
+ odr = <(50000 | ROUND_UP_FLAG)>;
};
ec-s3 {
- odr = <(12500 | ROUND_UP_FLAG)>;
+ odr = <(50000 | ROUND_UP_FLAG)>;
};
};
};