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 v4: - Use simple pm macro - Unify use of returning on default - Add space before '}' - Use sysfs_emit instead of printf. Major changes since v3: - Remove "reference" as a new modifier: it is not needed, indexed channels and labels are used instead. - Use dev_get_drvdata to access iio device structure. 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): 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/proximity/Kconfig | 14 + drivers/iio/proximity/Makefile | 1 + drivers/iio/proximity/sx9360.c | 892 ++++++++++++++++++ 4 files changed, 996 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/proximity/semtech,sx9360.yaml create mode 100644 drivers/iio/proximity/sx9360.c -- 2.34.1.448.ga2b2bfdf31-goog