From: Matti Vaittinen <mazziesaccount@gmail.com>
To: Matti Vaittinen <mazziesaccount@gmail.com>,
Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Cc: Jonathan Cameron <jic23@kernel.org>,
Lars-Peter Clausen <lars@metafoo.de>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Matti Vaittinen <mazziesaccount@gmail.com>,
linux-iio@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: [PATCH 0/5] Support ROHM KX134ACR-LBZ
Date: Wed, 13 Nov 2024 13:19:05 +0200 [thread overview]
Message-ID: <cover.1731495937.git.mazziesaccount@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1667 bytes --]
Patch series introducing support for ROHM KX134ACR-LBZ accelerometer
This series adds support for ROHM KX124ACR-LBZ. The KX134ACR-LBZ is almost
identical to the KX132ACR-LBZ. The differencies visible to the driver are
different g-ranges and the "Who am I" -identification register's value.
This series does also convert parts of the GTS helpers and the kx022a
driver to use __cleanup - based scoped free/unlock operations.
The patch 1/5 contains GTS helper change, which is independent from the
rest of the series. It can be applied/rejected independently.
Patch 2/5 changes kx022a to use scoped mutexes. It can also be applied
as an independent improvement even if the kx134acr-lbz support was not
added.
Patches 3-5/5 are all related to supporting kx134acr-lbz. 3/5 adding
mechanisms for supporting sensors with different g-ranges, 4/5 being the
binding doc and 5/5 bringing the actual support in the driver.
---
Matti Vaittinen (5):
iio: gts: Simplify using __free
iio: accel: kx022a: Use cleanup.h helpers
iio: accel: kx022a: Support ICs with different G-ranges
dt-bindings: ROHM KX134ACR-LBZ
iio: kx022a: Support ROHM KX134ACR-LBZ
.../bindings/iio/accel/kionix,kx022a.yaml | 4 +-
drivers/iio/accel/kionix-kx022a-i2c.c | 2 +
drivers/iio/accel/kionix-kx022a-spi.c | 2 +
drivers/iio/accel/kionix-kx022a.c | 129 +++++++++++-------
drivers/iio/accel/kionix-kx022a.h | 4 +
drivers/iio/industrialio-gts-helper.c | 17 +--
6 files changed, 98 insertions(+), 60 deletions(-)
base-commit: 20fd1383cd616d61b2a79967da1221dc6cfb8430
--
2.47.0
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next reply other threads:[~2024-11-13 11:19 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-13 11:19 Matti Vaittinen [this message]
2024-11-13 11:19 ` [PATCH 1/5] iio: gts: Simplify using __free Matti Vaittinen
2024-11-13 11:20 ` [PATCH 2/5] iio: accel: kx022a: Use cleanup.h helpers Matti Vaittinen
2024-11-13 11:20 ` [PATCH 3/5] iio: accel: kx022a: Support ICs with different G-ranges Matti Vaittinen
2024-11-13 11:20 ` [PATCH 4/5] dt-bindings: ROHM KX134ACR-LBZ Matti Vaittinen
2024-11-14 20:10 ` Conor Dooley
2024-11-15 6:15 ` Matti Vaittinen
2024-11-13 11:21 ` [PATCH 5/5] iio: kx022a: Support " Matti Vaittinen
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=cover.1731495937.git.mazziesaccount@gmail.com \
--to=mazziesaccount@gmail.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jic23@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=matti.vaittinen@fi.rohmeurope.com \
--cc=robh@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;
as well as URLs for NNTP newsgroup(s).