[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1679009443.git.mehdi.djait.k@gmail.com>
Date: Fri, 17 Mar 2023 00:48:34 +0100
From: Mehdi Djait <mehdi.djait.k@...il.com>
To: jic23@...nel.org, mazziesaccount@...il.com
Cc: krzysztof.kozlowski+dt@...aro.org,
andriy.shevchenko@...ux.intel.com, linux-iio@...r.kernel.org,
linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
Mehdi Djait <mehdi.djait.k@...il.com>
Subject: [PATCH 0/3] iio: accel: Add support for Kionix/ROHM KX132 accelerometer
KX132 accelerometer is a sensor which:
- supports G-ranges of (+/-) 2, 4, 8, and 16G
- can be connected to I2C or SPI
- has internal HW FIFO buffer
- supports various ODRs (output data rates)
The KX132 accelerometer is very similair to the KX022A.
One key difference is number of bits to report the number of data bytes that
have been stored in the sample buffer: 8 bits for KX022A vs 10 bits for KX132.
A complete list of differences is listed in [1]
[1] https://kionixfs.azureedge.net/en/document/AN112-Transitioning-to-KX132-1211-Accelerometer.pdf1
Mehdi Djait (3):
dt-bindings: iio: Add KX132 accelerometer
iio: accel: kionix-kx022a: Add chip_info structure
iio: accel: Add support for Kionix/ROHM KX132 accelerometer
.../bindings/iio/accel/kionix,kx022a.yaml | 13 +-
drivers/iio/accel/kionix-kx022a-i2c.c | 21 +-
drivers/iio/accel/kionix-kx022a-spi.c | 24 +-
drivers/iio/accel/kionix-kx022a.c | 413 +++++++++++-------
drivers/iio/accel/kionix-kx022a.h | 181 +++++++-
5 files changed, 464 insertions(+), 188 deletions(-)
--
2.30.2
Powered by blists - more mailing lists