Skip to content

Add Semtech SX9360 SAR Sensor support

Gwendal Grignou linux-iio 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest3 patches 2 repliesIn review
  2. v53 patches 0 repliesSuperseded
  3. v43 patches 2 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v34 patches9 repliesSuperseded
v23 patches2 repliesSuperseded
v13 patches2 repliesSuperseded

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3iio: proximity: Add sx9360 supportdrivers/iio/proximity/Kconfig drivers/iio/proximity/Makefile drivers/iio/proximity/sx9360.c+824 -02 replies
2/3dt-bindings: iio: Add sx9360 bindingDocumentation/devicetree/bindings/iio/proximity/semtech,sx9360.yaml+89 -00 replies
3/3iio: sx9360: Add dt-binding supportdrivers/iio/proximity/sx9360.c+84 -00 replies

Reviews trailers per patch

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

PatchStephen Boyd
1/3R-b
2/3R-b
3/3R-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/3] Add Semtech SX9360 SAR Sensor support

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 sysfs_emit instead of printf for real.
- Use SEMTECH_PROX export namespace.

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                | 893 ++++++++++++++++++
 4 files changed, 997 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/iio/proximity/semtech,sx9360.yaml
 create mode 100644 drivers/iio/proximity/sx9360.c
Signature · 1 line
2.34.1.448.ga2b2bfdf31-goog