[PATCH v3 0/4] Add Semtech SX9360 SAR Sensor support

Gwendal Grignou
2021-12-13T02:41:03Z

Add a new Semtech SAR sensor SX9360.
It is a simpler version of SX9324, with only one phase instead of 4.
Leverage sx_common.h interface defined when SX9324 was added.

Major changes since v2:
- Register "modifier" as a new modifier.
- Fix device tree binding syntax
- Fix issues reported during sx9324 driver review:
- fix include with iwyu
-

Major changes since v1:
- Integrate errors found in sx9324 driver.
- Simplify whomai function.
- Fix cut and paste in bindings.
- Handle negative sysfs parameters.

Gwendal Grignou (3):
Gwendal Grignou (4):
iio: add IIO_MOD_REFERENCE modifier
iio: proximity: Add sx9360 support
dt-bindings: iio: Add sx9360 binding
iio: sx9360: Add dt-binding support

.../iio/proximity/semtech,sx9360.yaml | 89 ++
drivers/iio/industrialio-core.c | 1 +
drivers/iio/proximity/Kconfig | 14 +
drivers/iio/proximity/Makefile | 1 +
drivers/iio/proximity/sx9360.c | 891 ++++++++++++++++++
include/uapi/linux/iio/types.h | 1 +
6 files changed, 997 insertions(+)
create mode 100644 Documentation/devicetree/bindings/iio/proximity/semtech,sx9360.yaml
create mode 100644 drivers/iio/proximity/sx9360.c

--
2.34.1.173.g76aa8bc2d0-goog