Skip to content

iio: st_sensors: Add lsm303d support

Marius Hoch linux-devicetree linux-iio lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest6 patches 12 repliesIn review
  2. v26 patches 6 repliesSuperseded
  3. v11 patch 0 repliesSuperseded

Changes in v3 from the cover letter

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

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6iio: accel: st_accel: Add LSM303Ddrivers/iio/accel/st_accel_core.c include/linux/iio/common/st_sensors.h+2 -01 reply
2/6iio: magnetometer: st_accel: Add LSM303Ddrivers/iio/magnetometer/st_magn_core.c+1 -01 reply
3/6iio: st_sensors: Add lsm303d support to the LSM9DS0 IMU driverdrivers/iio/imu/st_lsm9ds0/Kconfig drivers/iio/imu/st_lsm9ds0/st_lsm9ds0_i2c.c drivers/iio/imu/st_lsm9ds0/st_lsm9ds0_spi.c+12 -11 reply
4/6iio: st_sensors: Add ACPI support for lsm303d to the LSM9DS0 IMU driverdrivers/iio/imu/st_lsm9ds0/st_lsm9ds0_i2c.c drivers/iio/imu/st_lsm9ds0/st_lsm9ds0_spi.c+14 -03 replies
5/6iio: Comment that the LSM303D also has the Magnetometer DRDYinclude/linux/platform_data/st_sensors_pdata.h+1 -11 reply
6/6dt-bindings: iio: st-sensors: Add LSM303D accelerometer+magnetometerDocumentation/devicetree/bindings/iio/st,st-sensors.yaml+1 -02 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchKrzysztof KozlowskiHans de GoedeLinus Walleij
SeriesT-b
1/6R-b
2/6R-b
3/6R-b
4/6A-b
5/6R-b
6/6A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/6] iio: st_sensors: Add lsm303d support

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

Signature · 1 line
2.39.2