[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231023140534.704312-1-ramona.gradinariu@analog.com>
Date: Mon, 23 Oct 2023 17:05:31 +0300
From: Ramona Gradinariu <ramona.gradinariu@...log.com>
To: <jic23@...nel.org>, <nuno.sa@...log.com>, <robh+dt@...nel.org>,
<krzysztof.kozlowski+dt@...aro.org>, <conor+dt@...nel.org>,
<linux-iio@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<devicetree@...r.kernel.org>
CC: Ramona Gradinariu <ramona.gradinariu@...log.com>
Subject: [PATCH v2 0/3] iio: imu: adis: Use spi cs inactive delay
A delay is needed each time the chip selected becomes inactive,
even after burst data readings are performed.
Currently, there is no delay added after a burst reading
and in case a new SPI transfer is performed before
the needed delay, the adis device becomes unresponsive until
reset.
First patch adds the spi cs inactive delay in case it is not set and removes
the additional chip select change delay present in adis APIs (to avoid a
double delay).
Second and third patch updates dt-bindings for the drivers which are affected
by the first patch.
Ramona Gradinariu (3):
iio: imu: adis: Use spi cs inactive delay
dt-bindings: adis16475: Add 'spi-cs-inactive-delay-ns' property
dt-bindings: adis16460: Add 'spi-cs-inactive-delay-ns' property
.../bindings/iio/imu/adi,adis16460.yaml | 6 ++++++
.../bindings/iio/imu/adi,adis16475.yaml | 6 ++++++
drivers/iio/imu/adis.c | 18 ++++++------------
3 files changed, 18 insertions(+), 12 deletions(-)
--
2.34.1
Powered by blists - more mailing lists