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 v3 0/7] Support ROHM KX134ACR-LBZ
Date: Thu, 28 Nov 2024 11:01:22 +0200 [thread overview]
Message-ID: <cover.1732783834.git.mazziesaccount@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1901 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 also converts the kx022a driver to use __cleanup - based
scoped unlock operations.
The last patch depends on the if_not_cond_guard() - which is not yet in
iio/testing. All other patches should be working as they are.
Revision history:
v2 => v3:
- Drop applied reset delay time fix
- Drop the part converting the gts-helpers to use cleanup
- Add patch which gets rid of the lock+disable and unlock+enable
functions. This depends on not yet in IIO-tree if_not_cond_guard().
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
---
Matti Vaittinen (7):
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
iio: accel: kx022a: align with subsystem way
.../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 | 262 ++++++++++--------
drivers/iio/accel/kionix-kx022a.h | 6 +
5 files changed, 170 insertions(+), 117 deletions(-)
base-commit: a61ff7eac77e86de828fe28c4e42b8ae9ec2b195
--
2.47.0
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next reply other threads:[~2024-11-28 9:01 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-28 9:01 Matti Vaittinen [this message]
2024-11-28 9:01 ` [PATCH v3 1/7] iio: accel: kx022a: Use cleanup.h helpers Matti Vaittinen
2024-11-30 18:05 ` Jonathan Cameron
2024-11-28 9:02 ` [PATCH v3 2/7] iio: accel: kx022a: Support ICs with different G-ranges Matti Vaittinen
2024-12-02 10:25 ` Mehdi Djait
2024-12-02 11:05 ` Matti Vaittinen
2024-11-28 9:02 ` [PATCH v3 3/7] dt-bindings: ROHM KX134ACR-LBZ Matti Vaittinen
2024-11-28 9:02 ` [PATCH v3 4/7] iio: kx022a: Support " Matti Vaittinen
2024-11-30 18:06 ` Jonathan Cameron
2024-11-28 9:03 ` [PATCH v3 5/7] dt-bindings: iio: kx022a: Support KX134-1211 Matti Vaittinen
2024-11-28 9:03 ` [PATCH v3 6/7] iio: accel: " Matti Vaittinen
2024-11-30 18:07 ` Jonathan Cameron
2024-11-28 9:03 ` [PATCH v3 7/7] iio: accel: kx022a: align with subsystem way Matti Vaittinen
2024-11-28 17:20 ` kernel test robot
2024-11-30 18:08 ` Jonathan Cameron
2024-11-28 17:31 ` kernel test robot
2024-11-28 17:52 ` kernel test robot
2024-11-30 18:15 ` Jonathan Cameron
2024-11-30 18:26 ` Jonathan Cameron
2024-12-02 6:46 ` 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.1732783834.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).