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 v2 0/8] Support ROHM KX134ACR-LBZ
Date: Thu, 21 Nov 2024 10:19:23 +0200 [thread overview]
Message-ID: <cover.1732105157.git.mazziesaccount@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2426 bytes --]
This patch series introduces support for ROHM KX134ACR-LBZ and
KX134-1211 accelerometers.
The KX134ACR-LBZ is almost identical to the KX132ACR-LBZ. Similarly the
KX134-1211 is almost identical to the KX132-1211. The differencies
visible to the driver are different g-ranges and the "Who am I"
-identification register's values.
This series does also convert parts of the GTS helpers and the kx022a
driver to use __cleanup - based scoped free/unlock operations, and fixes
the value of required wait time after sensor reset. The wait time value
fixup is cosmetic/documentational, as the time that has been slept has
likely been larger than required due to the msleep() implementation.
Revision history:
v1 => v2:
- Rebased on iio-fixes to avoid conflicts with queued fixes.
- Added the reset delay change to the series to avoid conflicts. Was
previously sent as an individual patch:
https://lore.kernel.org/all/ZzWfXbjaDkFnu_Jg@mva-rohm/
- Added support for kx134-1211
The v1 can be found from:
https://lore.kernel.org/all/cover.1731495937.git.mazziesaccount@gmail.com/
The patch 1/8 is the delay fixup mentioned above.
The patch 2/8 contains GTS helper change, which is independent from the
rest of the series. It can be applied/rejected independently.
Patch 3/8 changes kx022a to use scoped mutexes. It can also be applied
as an independent improvement even if the kx134acr-lbz support was not
added.
Patch 4/8 adds mechanisms for supporting sensors with different
g-ranges in the kx022a driver.
5-8/8 add support for new hardware, kx134acr-lbz and kx134-1211.
---
Matti Vaittinen (8):
iio: accel: kx022a: Improve reset delay
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
dt-bindings: iio: kx022a: Support KX134-1211
iio: accel: kx022a: Support KX134-1211
.../bindings/iio/accel/kionix,kx022a.yaml | 11 +-
drivers/iio/accel/kionix-kx022a-i2c.c | 4 +
drivers/iio/accel/kionix-kx022a-spi.c | 4 +
drivers/iio/accel/kionix-kx022a.c | 170 ++++++++++++------
drivers/iio/accel/kionix-kx022a.h | 6 +
drivers/iio/industrialio-gts-helper.c | 19 +-
6 files changed, 147 insertions(+), 67 deletions(-)
--
2.47.0
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next reply other threads:[~2024-11-21 8:19 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-21 8:19 Matti Vaittinen [this message]
2024-11-21 8:19 ` [PATCH v2 1/8] iio: accel: kx022a: Improve reset delay Matti Vaittinen
2024-11-23 16:34 ` Jonathan Cameron
2024-11-21 8:20 ` [PATCH v2 2/8] iio: gts: Simplify using __free Matti Vaittinen
2024-11-23 16:37 ` Jonathan Cameron
2024-11-25 9:16 ` Matti Vaittinen
2024-11-26 17:52 ` Jonathan Cameron
2024-11-27 14:14 ` Matti Vaittinen
2024-11-21 8:20 ` [PATCH v2 3/8] iio: accel: kx022a: Use cleanup.h helpers Matti Vaittinen
2024-11-23 16:42 ` Jonathan Cameron
2024-11-25 9:34 ` Matti Vaittinen
2024-11-26 17:55 ` Jonathan Cameron
2024-11-27 13:54 ` Matti Vaittinen
2024-11-21 8:20 ` [PATCH v2 4/8] iio: accel: kx022a: Support ICs with different G-ranges Matti Vaittinen
2024-11-21 8:20 ` [PATCH v2 5/8] dt-bindings: ROHM KX134ACR-LBZ Matti Vaittinen
2024-11-21 8:21 ` [PATCH v2 6/8] iio: kx022a: Support " Matti Vaittinen
2024-11-21 8:21 ` [PATCH v2 7/8] dt-bindings: iio: kx022a: Support KX134-1211 Matti Vaittinen
2024-11-21 19:55 ` Conor Dooley
2024-11-21 8:21 ` [PATCH v2 8/8] iio: accel: " Matti Vaittinen
2024-11-23 16:43 ` 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=cover.1732105157.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 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.