Skip to contentSkip to conversation

IIO: 2nd set of new drivers, features and cleanup for 6.7

GIT PULL Jonathan Cameron 1 participant 1 message Oct 21, 2023 IIO

lore
Share & tools
lore

Jonathan Cameron

author maintainer
#0 lore raw

The following changes since commit 2399cde86e0f6bdbf26cadb83897f6d270921740:

Merge tag 'counter-updates-for-6.7a' of git://git.kernel.org/pub/scm/linux/kernel/git/wbg/counter into char-misc-next (2023-10-20 08:34:47 +0200)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git tags/iio-for-6.7b

for you to fetch changes up to 89e2233386a5670d15908628b63e611cb03b0d03:

iio: proximity: sx9324: Switch to device_property_match_property_string() (2023-10-20 08:26:41 +0100)

----------------------------------------------------------------
IIO: 2nd set of new device support, features and cleanup for 6.7

A few things that weren't quite ready for the previous pull but would be nice to sneak into the 6.7 merge window if possible.

Includes a few generic firmware property helpers.

New device support
------------------
* bosch,bmi323
- New driver supporting this 6 axis IMU
* maxim, max34408
- New driver supporting the MAX34408 and MAX34409 current monitors.

Features
--------
* adi,ad2s1210 (additional stuff post move out of staging)
- Add support for configurations where the mode pins on the chip are hardwired.
- Add support for reset gpio usage at probe if the pin is wired.

Cleanup
-------
Firmware property related.
- Add fwnode_property_match_property_string() helper for when we a match against an element in an array of predefined strings is wanted. Use this in adf4377, admv1014, tmag5273 and sx9324 IIO drivers.
- Use fwnode_property_string_array_count() within property.c instead of open coded variant.

----------------------------------------------------------------
Andy Shevchenko (6):
device property: Use fwnode_property_string_array_count()
device property: Add fwnode_property_match_property_string()
iio: frequency: adf4377: Switch to device_property_match_property_string()
iio: frequency: admv1014: Switch to device_property_match_property_string()
iio: magnetometer: tmag5273: Switch to device_property_match_property_string()
iio: proximity: sx9324: Switch to device_property_match_property_string()

David Lechner (2):
iio: resolver: ad2s1210: add support for adi,fixed-mode
iio: resolver: ad2s1210: add reset gpio support

Ivan Mikhaylov (2):
dt-bindings: adc: provide max34408/9 device tree binding document
iio: adc: Add driver support for MAX34408/9

Jagath Jog J (2):
dt-bindings: iio: imu: Add Bosch BMI323
iio: imu: Add driver for BMI323 IMU

 Documentation/ABI/testing/sysfs-bus-iio            |   18 +
 .../bindings/iio/adc/maxim,max34408.yaml           |  139 ++
 .../devicetree/bindings/iio/imu/bosch,bmi323.yaml  |   77 +
 MAINTAINERS                                        |    7 +
 drivers/base/property.c                            |   37 +-
 drivers/iio/adc/Kconfig                            |   11 +
 drivers/iio/adc/Makefile                           |    1 +
 drivers/iio/adc/max34408.c                         |  276 +++
 drivers/iio/frequency/adf4377.c                    |   16 +-
 drivers/iio/frequency/admv1014.c                   |   31 +-
 drivers/iio/imu/Kconfig                            |    1 +
 drivers/iio/imu/Makefile                           |    1 +
 drivers/iio/imu/bmi323/Kconfig                     |   33 +
 drivers/iio/imu/bmi323/Makefile                    |    7 +
 drivers/iio/imu/bmi323/bmi323.h                    |  209 ++
 drivers/iio/imu/bmi323/bmi323_core.c               | 2139 ++++++++++++++++++++
 drivers/iio/imu/bmi323/bmi323_i2c.c                |  121 ++
 drivers/iio/imu/bmi323/bmi323_spi.c                |   92 +
 drivers/iio/magnetometer/tmag5273.c                |   10 +-
 drivers/iio/proximity/sx9324.c                     |   24 +-
 drivers/iio/resolver/ad2s1210.c                    |  162 +-
 include/linux/property.h                           |   12 +
 22 files changed, 3342 insertions(+), 82 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/iio/adc/maxim,max34408.yaml
 create mode 100644 Documentation/devicetree/bindings/iio/imu/bosch,bmi323.yaml
 create mode 100644 drivers/iio/adc/max34408.c
 create mode 100644 drivers/iio/imu/bmi323/Kconfig
 create mode 100644 drivers/iio/imu/bmi323/Makefile
 create mode 100644 drivers/iio/imu/bmi323/bmi323.h
 create mode 100644 drivers/iio/imu/bmi323/bmi323_core.c
 create mode 100644 drivers/iio/imu/bmi323/bmi323_i2c.c
 create mode 100644 drivers/iio/imu/bmi323/bmi323_spi.c