iio: st_sensors: Add ACPI support for lsm303d to the LSM9DS0 IMU driver
authorMarius Hoch <mail@mariushoch.de>
Sat, 15 Apr 2023 23:11:28 +0000 (01:11 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 13 May 2023 16:56:04 +0000 (17:56 +0100)
commit598e971fabf8c7c560896394b06175330b1c1aba
treeeb073b7101d26b533a774baf609597073c34741c
parentc0f68439ae06c8612e4d64e24b70a5c82fcdede6
iio: st_sensors: Add ACPI support for lsm303d to the LSM9DS0 IMU driver

The lsm303d can be found as ACCL0001 on various Lenovo devices,
including the Lenovo Yoga Tablet 2 1051-F, where I tested this
patch.

Dropped SPI support as per discussion in thread linked below.

Signed-off-by: Marius Hoch <mail@mariushoch.de>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Tested-by: Hans de Goede <hansg@kernel.org>
Link: https://lore.kernel.org/r/20230415231130.115094-5-mail@mariushoch.de
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/imu/st_lsm9ds0/st_lsm9ds0_i2c.c