Linux IIO development
 help / color / mirror / Atom feed
* [PATCH v3 0/6] iio: pressure: hsc030pa: cleanup and triggered buffer
@ 2024-02-11  7:56 Petre Rodan
  2024-02-11  7:56 ` [PATCH v3 1/6] dt-bindings: iio: pressure: honeywell,hsc030pa.yaml add spi props Petre Rodan
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Petre Rodan @ 2024-02-11  7:56 UTC (permalink / raw)
  To: linux-iio, linux-kernel; +Cc: Petre Rodan, Jonathan Cameron, Lars-Peter Clausen

This set of patches covers the following:

 - small cleanup
 - mandatory 2ms delay between readings
 - support for triggered buffer readings

The support for devices that have "sleep mode" factory option that was
present in v1 of this patchset was removed, for a few reasons:

 - a Honeywell employee told me that this chip variant is extremely
    unlikely to be found in the wild, which also makes testing the
    driver functionality impossible
 - I found no reliable way of generating i2c/spi bus traffic with no
    payload (toggle CS for SPI case, send i2c packet containing only
    the address byte) that are required for the wakeup sequence.

Petre Rodan (6):
  dt-bindings: iio: pressure: honeywell,hsc030pa.yaml add spi props
  iio: pressure: hsc030pa: use signed type to hold div_64() result
  iio: pressure: hsc030pa: include cleanup
  iio: pressure: hsc030pa: update datasheet URLs
  iio: pressure: hsc030pa add mandatory delay
  iio: pressure: hsc030pa add triggered buffer

 .../iio/pressure/honeywell,hsc030pa.yaml      |  3 ++
 drivers/iio/pressure/Kconfig                  |  2 +
 drivers/iio/pressure/hsc030pa.c               | 49 ++++++++++++++++++-
 drivers/iio/pressure/hsc030pa.h               |  7 +++
 drivers/iio/pressure/hsc030pa_i2c.c           |  9 +++-
 drivers/iio/pressure/hsc030pa_spi.c           |  7 ++-
 6 files changed, 73 insertions(+), 4 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2024-02-16 15:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-11  7:56 [PATCH v3 0/6] iio: pressure: hsc030pa: cleanup and triggered buffer Petre Rodan
2024-02-11  7:56 ` [PATCH v3 1/6] dt-bindings: iio: pressure: honeywell,hsc030pa.yaml add spi props Petre Rodan
2024-02-11  7:56 ` [PATCH v3 2/6] iio: pressure: hsc030pa: use signed type to hold div_64() result Petre Rodan
2024-02-11  7:56 ` [PATCH v3 3/6] iio: pressure: hsc030pa: include cleanup Petre Rodan
2024-02-11  7:56 ` [PATCH v3 4/6] iio: pressure: hsc030pa: update datasheet URLs Petre Rodan
2024-02-11  7:56 ` [PATCH v3 5/6] iio: pressure: hsc030pa add mandatory delay Petre Rodan
2024-02-11  7:56 ` [PATCH v3 6/6] iio: pressure: hsc030pa add triggered buffer Petre Rodan
2024-02-16 15:00 ` [PATCH v3 0/6] iio: pressure: hsc030pa: cleanup and " Jonathan Cameron

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