public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] iio: imu: st_lsm6dsx: Add ACPI ID for SHIFT13mi gyroscope
@ 2026-03-24 19:36 Milan Misic
  2026-03-25 11:56 ` Andy Shevchenko
  2026-03-26 10:02 ` Andy Shevchenko
  0 siblings, 2 replies; 11+ messages in thread
From: Milan Misic @ 2026-03-24 19:36 UTC (permalink / raw)
  To: linux-iio, linux-kernel
  Cc: lorenzo, jic23, dlechner, nuno.sa, andy, Milan Misic

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>
---
 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i2c.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i2c.c b/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i2c.c
index 7c9332180..b2a7c2eaf 100644
--- a/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i2c.c
+++ b/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i2c.c
@@ -144,6 +144,7 @@ MODULE_DEVICE_TABLE(of, st_lsm6dsx_i2c_of_match);
 
 static const struct acpi_device_id st_lsm6dsx_i2c_acpi_match[] = {
 	{ "SMO8B30", ST_LSM6DS3TRC_ID, },
+	{ "SMOCF00", ST_LSM6DSO_ID, },
 	{ }
 };
 MODULE_DEVICE_TABLE(acpi, st_lsm6dsx_i2c_acpi_match);
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2026-03-26 20:40 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-24 19:36 [PATCH] iio: imu: st_lsm6dsx: Add ACPI ID for SHIFT13mi gyroscope Milan Misic
2026-03-25 11:56 ` Andy Shevchenko
2026-03-25 12:23   ` Milan Mišić
2026-03-25 12:28     ` Andy Shevchenko
2026-03-25 12:39       ` Milan Mišić
2026-03-25 14:10         ` Andy Shevchenko
2026-03-25 14:22           ` Milan Mišić
2026-03-26  8:31             ` Andy Shevchenko
2026-03-26  9:52               ` Milan Mišić
2026-03-26 10:02 ` Andy Shevchenko
2026-03-26 20:40   ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox