linux-stable/drivers/iio/imu/st_lsm6dsx
Jonathan Cameron dc3d25f22b iio: imu: lsm6dsx: Add ACPI mount matrix retrieval
DSDT ROTM method seen in the wild with SMO8B30 _HID.
Making assumption it is similar to that used for bmc150 plus
information from Darrell that the rotation is out by 90 degrees at boot.

Method (ROTM, 0, NotSerialized)
{
    Name (RBUF, Package (0x03)
    {
        "0 -1 0",
        "1 0 0",
        "0 0 1"
    })
    Return (RBUF) /* \_SB_.PCI0.I2C5.DEV_.ROTM.RBUF */
}

Reported-by: Darrell Kavanagh <darrell.kavanagh@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Tested-by: Darrell Kavanagh <darrell.kavanagh@gmail.org>
Link: https://lore.kernel.org/r/20230130201018.981024-3-jic23@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2023-04-13 11:37:20 +01:00
..
Kconfig iio: imu: st_lsm6dsx: add support to ASM330LHB 2023-03-12 15:56:44 +00:00
Makefile iio: imu: st_lsm6dsx: add i3c basic support for LSM6DSO and LSM6DSR 2019-07-27 22:55:27 +01:00
st_lsm6dsx.h iio: imu: lsm6dsx: Support SMO8B30 ACPI ID for LSM6DS3TR-C 2023-04-12 21:02:55 +01:00
st_lsm6dsx_buffer.c iio: imu: st_lsm6dsx: add support to ASM330LHB 2023-03-12 15:56:44 +00:00
st_lsm6dsx_core.c iio: imu: lsm6dsx: Add ACPI mount matrix retrieval 2023-04-13 11:37:20 +01:00
st_lsm6dsx_i2c.c iio: imu: lsm6dsx: Support SMO8B30 ACPI ID for LSM6DS3TR-C 2023-04-12 21:02:55 +01:00
st_lsm6dsx_i3c.c iio: imu: lsm6dsx: Move exported symbols to the IIO_LSM6DSX namespace 2022-06-15 22:07:09 +01:00
st_lsm6dsx_shub.c iio: imu: st_lsm6dsx: fix naming of 'struct iio_info' in st_lsm6dsx_shub.c. 2023-01-21 18:17:25 +00:00
st_lsm6dsx_spi.c iio: imu: st_lsm6dsx: add support to ASM330LHB 2023-03-12 15:56:44 +00:00