Devicetree
 help / color / mirror / Atom feed
* [PATCH v3 0/3] iio: imu: adis: Use spi cs inactive delay
@ 2023-10-27 14:03 Ramona Gradinariu
  2023-10-27 14:03 ` [PATCH v3 1/3] " Ramona Gradinariu
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Ramona Gradinariu @ 2023-10-27 14:03 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.

This commit is adding the needed delay directly to the spi driver,
using the cs_inactive parameter, in case it is not set and is
removing the additional chip select change delay present in adis
APIs to remove the double delay.

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        |  4 ++++
 .../bindings/iio/imu/adi,adis16475.yaml        |  4 ++++
 drivers/iio/imu/adis.c                         | 18 ++++++------------
 3 files changed, 14 insertions(+), 12 deletions(-)

--
2.34.1


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

end of thread, other threads:[~2023-10-28 15:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-27 14:03 [PATCH v3 0/3] iio: imu: adis: Use spi cs inactive delay Ramona Gradinariu
2023-10-27 14:03 ` [PATCH v3 1/3] " Ramona Gradinariu
2023-10-27 14:03 ` [PATCH v3 2/3] dt-bindings: adis16475: Add 'spi-cs-inactive-delay-ns' property Ramona Gradinariu
2023-10-27 14:03 ` [PATCH v3 3/3] dt-bindings: adis16460: " Ramona Gradinariu
2023-10-28 15:23 ` [PATCH v3 0/3] iio: imu: adis: Use spi cs inactive delay Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox