xref: /openbmc/linux/Documentation/ABI/testing/sysfs-bus-iio-mpu6050 (revision e5451c8f8330e03ad3cfa16048b4daf961af434f)
1*09a642b7SGe GaoWhat:           /sys/bus/iio/devices/iio:deviceX/in_gyro_matrix
2*09a642b7SGe GaoWhat:           /sys/bus/iio/devices/iio:deviceX/in_accel_matrix
3*09a642b7SGe GaoWhat:           /sys/bus/iio/devices/iio:deviceX/in_magn_matrix
4*09a642b7SGe GaoKernelVersion:  3.4.0
5*09a642b7SGe GaoContact:        linux-iio@vger.kernel.org
6*09a642b7SGe GaoDescription:
7*09a642b7SGe Gao		This is mounting matrix for motion sensors. Mounting matrix
8*09a642b7SGe Gao		is a 3x3 unitary matrix. A typical mounting matrix would look like
9*09a642b7SGe Gao		[0, 1, 0; 1, 0, 0; 0, 0, -1]. Using this information, it would be
10*09a642b7SGe Gao		easy to tell the relative positions among sensors as well as their
11*09a642b7SGe Gao		positions relative to the board that holds these sensors. Identity matrix
12*09a642b7SGe Gao		[1, 0, 0; 0, 1, 0; 0, 0, 1] means sensor chip and device are perfectly
13*09a642b7SGe Gao		aligned with each other. All axes are exactly the same.
14