Files
linux/drivers
Hans de Goede 4a8e1e020a 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 <rafael@kernel.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20240425125754.76010-5-hdegoede@redhat.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2024-04-29 20:53:25 +01:00
..
2024-04-23 13:16:03 +02:00
2024-04-23 13:16:03 +02:00
2024-03-07 20:37:04 +00:00
2024-04-23 13:16:03 +02:00
2024-03-07 20:32:47 +00:00
2024-04-09 17:01:01 -07:00
2024-04-23 13:16:03 +02:00
2024-03-07 20:32:38 +00:00
2024-03-27 13:17:15 +01:00
2024-04-23 13:16:03 +02:00