Skip to content

Add ST lsm6dso i3c support

Vitor Soares linux-i3c linux-iio lkml 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest2 patches 8 repliesIn review
  2. v52 patches 3 repliesSuperseded
  3. v43 patches 13 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v33 patches5 repliesSuperseded
v23 patches12 repliesSuperseded
v13 patches16 repliesSuperseded

Changes in v6 from the cover letter

Improve kerneldoc

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2i3c: move i3c_device_match_id to device.c and export itdrivers/i3c/device.c drivers/i3c/master.c include/linux/i3c/device.h+57 -452 replies
2/2iio: imu: st_lsm6dsx: add i3c basic support for LSM6DSO and LSM6DSRdrivers/iio/imu/st_lsm6dsx/Kconfig drivers/iio/imu/st_lsm6dsx/Makefile drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i3c.c+65 -16 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchLorenzo BianconiBoris Brezillon
1/2
2/2A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [PATCH v6 0/2] Add ST lsm6dso i3c support

This patch-series add i3c support for STM LSM6DSO and LSM6DSR sensors.

It is also introduced i3c support on regmap API. Due to the lack of i3c devices with HDR feature on the market the support, for now, is only for i3c SDR mode by using i3c_device_do_priv_xfers() method.

The i3c regmap API is already available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git
tags/regmap-i3c

Change in v6:
Improve kerneldoc

Change in v5:
Remove regmap-i3c patch, already applied in regmap tree Fix warning when compiling in 64-bit architecture

Change in v4:
remover hw_id variable from st_lsm6dsx_i3c_probe()

Change in v3:
Update st_lsm6dsx_probe() call
Remove i3c_get_device_id() and use i3c_device_match_id()

Changes in v2:
Change i3c_get_device_id() to drivers/i3c/device.c Add support for LSM6DSR

Vitor Soares (2):
i3c: add i3c_get_device_id helper
iio: imu: st_lsm6dsx: add i3c basic support for LSM6DSO and LSM6DSR

 drivers/i3c/device.c                        | 53 +++++++++++++++++++++++++++
 drivers/i3c/master.c                        | 45 -----------------------
 drivers/iio/imu/st_lsm6dsx/Kconfig          |  8 +++-
 drivers/iio/imu/st_lsm6dsx/Makefile         |  1 +
 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i3c.c | 57 +++++++++++++++++++++++++++++
 include/linux/i3c/device.h                  |  4 ++
 6 files changed, 122 insertions(+), 46 deletions(-)
 create mode 100644 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i3c.c
Signature · 1 line
2.7.4