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

The lsm303d is basically the lsm9ds0 without the gyroscope
(which the LSM9DS0 IMU driver doesn't handle), as far as I
can tell.

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