All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v6 0/3] Add Semtech SX9360 SAR Sensor support
@ 2022-01-01 20:37 Gwendal Grignou
  2022-01-01 20:37 ` [PATCH v6 1/3] iio: proximity: Add sx9360 support Gwendal Grignou
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Gwendal Grignou @ 2022-01-01 20:37 UTC (permalink / raw)
  To: jic23, lars; +Cc: linux-iio, Gwendal Grignou

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

-- 
2.34.1.448.ga2b2bfdf31-goog


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-01-16 16:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-01 20:37 [PATCH v6 0/3] Add Semtech SX9360 SAR Sensor support Gwendal Grignou
2022-01-01 20:37 ` [PATCH v6 1/3] iio: proximity: Add sx9360 support Gwendal Grignou
2022-01-09 11:00   ` Jonathan Cameron
2022-01-16 17:04     ` Jonathan Cameron
2022-01-01 20:37 ` [PATCH v6 2/3] dt-bindings: iio: Add sx9360 binding Gwendal Grignou
2022-01-01 20:38 ` [PATCH v6 3/3] iio: sx9360: Add dt-binding support Gwendal Grignou

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.