devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/6] iio: st_sensors: Add lsm303d support
@ 2023-04-15 23:11 Marius Hoch
  2023-04-15 23:11 ` [PATCH v3 1/6] iio: accel: st_accel: Add LSM303D Marius Hoch
                   ` (6 more replies)
  0 siblings, 7 replies; 19+ messages in thread
From: Marius Hoch @ 2023-04-15 23:11 UTC (permalink / raw)
  To: Jonathan Cameron, Lars-Peter Clausen, Rob Herring,
	Krzysztof Kozlowski, Denis Ciocca, Linus Walleij, linux-iio,
	devicetree, linux-kernel
  Cc: Hans de Goede, Marius Hoch

Hi!

This patch series adds support for the LSM303D accelerometer and
magnetometer. As the LSM303D is basically, as far as I can tell,
the LSM9DS0 without gyroscope, we can easily re-use its definitions.

This was tested on a Lenovo Yoga Tablet 2 1051-F.

Cheers,
Marius

Changes in v3:
Simplified the ACPI tables in the LSM9DS0 IMU driver, per Jonathan Cameron.

Marius Hoch (6):
  iio: accel: st_accel: Add LSM303D
  iio: magnetometer: st_accel: Add LSM303D
  iio: st_sensors: Add lsm303d support to the LSM9DS0 IMU driver
  iio: st_sensors: Add ACPI support for lsm303d to the LSM9DS0 IMU
    driver
  iio: Comment that the LSM303D also has the Magnetometer DRDY
  dt-bindings: iio: st-sensors: Add LSM303D accelerometer+magnetometer

 .../devicetree/bindings/iio/st,st-sensors.yaml       |  1 +
 drivers/iio/accel/st_accel_core.c                    |  1 +
 drivers/iio/imu/st_lsm9ds0/Kconfig                   |  3 ++-
 drivers/iio/imu/st_lsm9ds0/st_lsm9ds0_i2c.c          | 12 ++++++++++++
 drivers/iio/imu/st_lsm9ds0/st_lsm9ds0_spi.c          | 12 ++++++++++++
 drivers/iio/magnetometer/st_magn_core.c              |  1 +
 include/linux/iio/common/st_sensors.h                |  1 +
 include/linux/platform_data/st_sensors_pdata.h       |  2 +-
 8 files changed, 31 insertions(+), 2 deletions(-)


base-commit: e62252bc55b6d4eddc6c2bdbf95a448180d6a08d
-- 
2.39.2


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

end of thread, other threads:[~2023-05-07 13:34 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-15 23:11 [PATCH v3 0/6] iio: st_sensors: Add lsm303d support Marius Hoch
2023-04-15 23:11 ` [PATCH v3 1/6] iio: accel: st_accel: Add LSM303D Marius Hoch
2023-04-21  8:41   ` Linus Walleij
2023-04-15 23:11 ` [PATCH v3 2/6] iio: magnetometer: " Marius Hoch
2023-04-21  8:41   ` Linus Walleij
2023-04-15 23:11 ` [PATCH v3 3/6] iio: st_sensors: Add lsm303d support to the LSM9DS0 IMU driver Marius Hoch
2023-04-21  8:42   ` Linus Walleij
2023-04-15 23:11 ` [PATCH v3 4/6] iio: st_sensors: Add ACPI support for lsm303d " Marius Hoch
2023-04-21  8:43   ` Linus Walleij
2023-05-02 14:51   ` Marius Hoch
2023-05-07 13:50     ` Jonathan Cameron
2023-04-15 23:11 ` [PATCH v3 5/6] iio: Comment that the LSM303D also has the Magnetometer DRDY Marius Hoch
2023-04-21  8:43   ` Linus Walleij
2023-04-15 23:11 ` [PATCH v3 6/6] dt-bindings: iio: st-sensors: Add LSM303D accelerometer+magnetometer Marius Hoch
2023-04-16  7:29   ` Krzysztof Kozlowski
2023-04-16 12:23     ` Jonathan Cameron
2023-04-16 20:19 ` [PATCH v3 0/6] iio: st_sensors: Add lsm303d support Hans de Goede
2023-04-20 17:21   ` Marius Hoch
2023-04-21  7:55   ` Hans de Goede

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).