From: Gwendal Grignou <gwendal@chromium.org>
To: jic23@kernel.org, lars@metafoo.de
Cc: linux-iio@vger.kernel.org, Gwendal Grignou <gwendal@chromium.org>
Subject: [PATCH v10 0/5] Expand Semtech SAR Sensors support
Date: Sat, 1 Jan 2022 12:38:12 -0800 [thread overview]
Message-ID: <20220101203817.290512-1-gwendal@chromium.org> (raw)
Add a new Semtech SAR sensor SX9324.
Instead of recopying 1/3 of the sx9310 driver, move common code in a new
file. It will be used again for the next sensor, SX9360.
Major changes in v10:
Fix spelling in comment, unnecessary empty lines.
Add symbol namespace.
Major changes in v9:
Use simple pm macro
Unify use of returning on default
Add space before '}'
Use sysfs_emit instead of printf.
Major changes in v8:
Fix mismatch between documentation and code (setting vs setup)
Use dev_get_drvdata to access iio device structure.
Major changes in v7:
Fix one remaining syntax error in device tree binding documentation.
Major changes in v6:
Fix syntax errors in device tree binding documentation.
Drop of_match_ptr and ACPI_PTR protections.
Fix unused variable warning.
Major changes in v5:
Use iwyu to cleanup include files.
Use dev_err_probe() in probe routine
Add attribute to shift irq status register, not common among all
sensors.
Fix long line.
Major changes in v4:
Use chip_info instead of info in common data.
Returns an error when setting negative sysfs entries
Fix cut and paste errors, credit.
Major changes in v3:
Fix some error in binding descriptions and setting
Fix invalid register constant name.
Major changes in v2:
Better interface between common code and drivers
Document SX9324 phase configuration
Gwendal Grignou (5):
iio: sx9310: Add frequency in read_avail
iio: sx9310: Extract common Semtech sensor logic
iio: proximity: Add SX9324 support
dt-bindings: iio: Add sx9324 binding
iio: sx9324: Add dt_binding support
.../ABI/testing/sysfs-bus-iio-sx9324 | 28 +
.../iio/proximity/semtech,sx9324.yaml | 161 +++
drivers/iio/proximity/Kconfig | 20 +
drivers/iio/proximity/Makefile | 2 +
drivers/iio/proximity/sx9310.c | 741 ++----------
drivers/iio/proximity/sx9324.c | 1068 +++++++++++++++++
drivers/iio/proximity/sx_common.c | 572 +++++++++
drivers/iio/proximity/sx_common.h | 157 +++
8 files changed, 2120 insertions(+), 629 deletions(-)
create mode 100644 Documentation/ABI/testing/sysfs-bus-iio-sx9324
create mode 100644 Documentation/devicetree/bindings/iio/proximity/semtech,sx9324.yaml
create mode 100644 drivers/iio/proximity/sx9324.c
create mode 100644 drivers/iio/proximity/sx_common.c
create mode 100644 drivers/iio/proximity/sx_common.h
--
2.34.1.448.ga2b2bfdf31-goog
next reply other threads:[~2022-01-01 20:38 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-01 20:38 Gwendal Grignou [this message]
2022-01-01 20:38 ` [PATCH v10 1/5] iio: sx9310: Add frequency in read_avail Gwendal Grignou
2022-01-01 20:38 ` [PATCH v10 2/5] iio: sx9310: Extract common Semtech sensor logic Gwendal Grignou
2022-01-01 20:38 ` [PATCH v10 3/5] iio: proximity: Add SX9324 support Gwendal Grignou
2022-01-09 12:19 ` Andy Shevchenko
2022-01-09 16:41 ` Jonathan Cameron
2022-01-09 12:25 ` Andy Shevchenko
2022-01-09 16:39 ` Jonathan Cameron
2022-01-09 16:47 ` Andy Shevchenko
2022-01-16 17:01 ` Jonathan Cameron
2022-01-01 20:38 ` [PATCH v10 4/5] dt-bindings: iio: Add sx9324 binding Gwendal Grignou
2022-01-01 20:38 ` [PATCH v10 5/5] iio: sx9324: Add dt_binding support Gwendal Grignou
2022-01-09 10:52 ` [PATCH v10 0/5] Expand Semtech SAR Sensors support Jonathan Cameron
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220101203817.290512-1-gwendal@chromium.org \
--to=gwendal@chromium.org \
--cc=jic23@kernel.org \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox