Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

iio: imu: st_lsm6dsx: Add ACPI ID for SHIFT13mi gyroscope

The SHIFT13mi or SHIFTbook tablet device by the German manufacturer
SHIFT contains an STM LSM6DSO IMU declared in the DSDT with the
hardware ID SMOCF00. Add this ID to the ACPI match table so that the
driver binds correctly to this device.

WHO_AM_I register returns 0x6c, confirming LSM6DSO.

Signed-off-by: Milan Misic <twoexem@gmail.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Milan Misic and committed by
Jonathan Cameron
7913c1de 128e5ebe

+1
+1
drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i2c.c
··· 144 144 145 145 static const struct acpi_device_id st_lsm6dsx_i2c_acpi_match[] = { 146 146 { "SMO8B30", ST_LSM6DS3TRC_ID, }, 147 + { "SMOCF00", ST_LSM6DSO_ID, }, 147 148 { } 148 149 }; 149 150 MODULE_DEVICE_TABLE(acpi, st_lsm6dsx_i2c_acpi_match);