summaryrefslogtreecommitdiff
path: root/zephyr/dts/bindings/motionsense/cros-ec,motionsense-rotation-ref.yaml
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2021-11-04 12:11:58 -0600
committerCommit Bot <commit-bot@chromium.org>2021-11-05 04:22:34 +0000
commit252457d4b21f46889eebad61d4c0a65331919cec (patch)
tree01856c4d31d710b20e85a74c8d7b5836e35c3b98 /zephyr/dts/bindings/motionsense/cros-ec,motionsense-rotation-ref.yaml
parent08f5a1e6fc2c9467230444ac9b582dcf4d9f0068 (diff)
downloadchrome-ec-stabilize-14526.73.B-ish.tar.gz
In the interest of making long-term branch maintenance incur as little technical debt on us as possible, we should not maintain any files on the branch we are not actually using. This has the added effect of making it extremely clear when merging CLs from the main branch when changes have the possibility to affect us. The follow-on CL adds a convenience script to actually pull updates from the main branch and generate a CL for the update. BUG=b:204206272 BRANCH=ish TEST=make BOARD=arcada_ish && make BOARD=drallion_ish Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Change-Id: I17e4694c38219b5a0823e0a3e55a28d1348f4b18 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3262038 Reviewed-by: Jett Rink <jettrink@chromium.org> Reviewed-by: Tom Hughes <tomhughes@chromium.org>
Diffstat (limited to 'zephyr/dts/bindings/motionsense/cros-ec,motionsense-rotation-ref.yaml')
-rw-r--r--zephyr/dts/bindings/motionsense/cros-ec,motionsense-rotation-ref.yaml55
1 files changed, 0 insertions, 55 deletions
diff --git a/zephyr/dts/bindings/motionsense/cros-ec,motionsense-rotation-ref.yaml b/zephyr/dts/bindings/motionsense/cros-ec,motionsense-rotation-ref.yaml
deleted file mode 100644
index 7de86ec8db..0000000000
--- a/zephyr/dts/bindings/motionsense/cros-ec,motionsense-rotation-ref.yaml
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 2021 The Chromium OS Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-description: rotation reference parent node
-
-compatible: "cros-ec,motionsense-rotation-ref"
-
-child-binding:
- description: |
- A rotation matrix node is used to create
- an instance of mat33_fp_t which is used by
- sensor drivers.
- properties:
- mat33:
- required: true
- type: array
- description: |
- 3x3 matrix to rotate x, y, and z axes.
- Applications with the sensor API expects sansor data
- based on the same defined coordinate system.
- * X-axis is horizontal and positive toward the right
- * Y-axis is vertical and positive toward the top
- * Z-axis points toward the user
-
- Depending on how the sensor is mounted on board(PCB), we
- may need to change the direction of a axis and swap X and
- Y-axis. Using the 3x3 matrix, it generates the correct
- X,Y, and Z on the defined coordinate system.
-
- +- -+ +- -+ +- -+
- | v1 v2 v3 | | sensor_X | | X |
- | v4 v5 v6 | * | sensor_Y | = | Y |
- | v7 v8 v9 | | sensor_Z | | Z |
- +- -+ +- -+ +- -+
-
-#
-# examples:
-#
-# motionsense-rotation-ref {
-# compatible = "cros-ec,motionsense-rotation-ref";
-# /* change the direction of Y and Z-axis */
-# lid_rot_ref: lid-rotation-ref {
-# mat33 = <1 0 0
-# 0 (-1) 0
-# 0 0 (-1)>;
-# };
-# /* swap X and Y-axis, and then change the direction of Y-axis */
-# base_rot_ref: base-rotation-ref {
-# mat33 = <0 1 0
-# (-1) 0 0
-# 0 0 1>;
-# };
-# };
-#