16 lines
593 B
YAML

description: QST QMI8658 6-axis IMU
include: [ "i2c-device.yaml" ]
compatible: "qst,qmi8658"
properties:
mount-matrix:
type: values
default: [1, 0, 0, 0, 1, 0, 0, 0, 1]
description: >
Row-major 3x3 rotation matrix that maps the sensor frame onto the device frame, following the
Linux IIO "mount-matrix" convention (x' = m[0]*x + m[1]*y + m[2]*z, and so on). It is applied
to the accelerometer and gyroscope readings so consumers always see the device frame,
regardless of how the IMU is physically oriented on the PCB. Defaults to the identity matrix.