diff options
| author | Hans de Goede <[email protected]> | 2024-04-25 14:57:54 +0200 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2024-04-29 20:53:25 +0100 |
| commit | 4a8e1e020a38009d3a352b1e4738f5c4dce70654 (patch) | |
| tree | 860472290c2fbb0dedf3da7702ef80ab3105c42b /tools/perf/scripts/python | |
| parent | dd3f40b53957541c04a9dceed178df38ddbe3447 (diff) | |
iio: accel: mxc4005: Read orientation matrix from ACPI ROTM method
Some devices use the semi-standard ACPI "ROTM" method to store
the accelerometers orientation matrix.
Add support for this using the new iio_read_acpi_mount_matrix() helper, if
the helper fails to read the matrix fall back to iio_read_mount_matrix()
which will try to get it from device-properties (devicetree) and if
that fails it will fill the matrix with the identity matrix.
Link: https://bugzilla.kernel.org/show_bug.cgi?id=218578
Acked-by: Rafael J. Wysocki <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions