devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] iio: imu: adis: Use spi cs inactive delay
@ 2023-10-23 14:05 Ramona Gradinariu
  2023-10-23 14:05 ` [PATCH v2 1/3] " Ramona Gradinariu
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Ramona Gradinariu @ 2023-10-23 14:05 UTC (permalink / raw)
  To: jic23, nuno.sa, robh+dt, krzysztof.kozlowski+dt, conor+dt,
	linux-iio, linux-kernel, devicetree
  Cc: Ramona Gradinariu

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


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2023-10-25  7:40 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-23 14:05 [PATCH v2 0/3] iio: imu: adis: Use spi cs inactive delay Ramona Gradinariu
2023-10-23 14:05 ` [PATCH v2 1/3] " Ramona Gradinariu
2023-10-23 14:05 ` [PATCH v2 2/3] dt-bindings: adis16475: Add 'spi-cs-inactive-delay-ns' property Ramona Gradinariu
2023-10-24 13:48   ` Krzysztof Kozlowski
2023-10-23 14:05 ` [PATCH v2 3/3] dt-bindings: adis16460: " Ramona Gradinariu
2023-10-23 14:27   ` Nuno Sá
2023-10-23 16:06     ` Conor Dooley
2023-10-24  6:53       ` Nuno Sá
2023-10-24 13:47         ` Krzysztof Kozlowski
2023-10-24 15:11           ` Conor Dooley
2023-10-25  7:41             ` Nuno Sá
2023-10-24 13:48   ` Krzysztof Kozlowski

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).