[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240322003713.6918-1-l.rubusch@gmail.com>
Date: Fri, 22 Mar 2024 00:37:10 +0000
From: Lothar Rubusch <l.rubusch@...il.com>
To: lars@...afoo.de,
Michael.Hennerich@...log.com,
jic23@...nel.org,
robh+dt@...nel.org,
krzysztof.kozlowski+dt@...aro.org,
conor+dt@...nel.org
Cc: linux-iio@...r.kernel.org,
devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
eraretuya@...il.com,
l.rubusch@...il.com
Subject: [PATCH v2 0/3] iio: adxl345: add spi-3wire
Move driver wide constants and fields into the header. Reduce
redundant info struct definitions. Allow to pass a function
pointer from SPI/I2C specific probe, and smaller refactorings.
Apply regmap_update_bits() in the core file replaces the
regmap_write() to format_data.
Signed-off-by: Lothar Rubusch <l.rubusch@...il.com>
---
V1 -> V2: split into spi-3wire and refactoring
Lothar Rubusch (3):
iio: accel: adxl345: Update adxl345
iio: accel: adxl345: Add spi-3wire feature
dt-bindings: iio: accel: adxl345: Add spi-3wire
.../bindings/iio/accel/adi,adxl345.yaml | 2 +
drivers/iio/accel/adxl345.h | 44 ++++++-
drivers/iio/accel/adxl345_core.c | 117 ++++++++++--------
drivers/iio/accel/adxl345_i2c.c | 30 ++---
drivers/iio/accel/adxl345_spi.c | 38 +++---
5 files changed, 146 insertions(+), 85 deletions(-)
--
2.25.1
Powered by blists - more mailing lists