Skip to contentSkip to conversation

iio: gyro: adxrs290: Add triggered buffer & debugfs support

PATCH Superseded Nishant Malpani 3 participants 3 messages Sep 10, 2020 IIO

lore
Share & tools
lore
#0 lore raw

v3 cover iio: gyro: adxrs290: Add triggered buffer & debugfs support

Introduce DATA_RDY trigger for triggered buffer setup; this enables continuous data capture. Additionally, add support for direct register access using the debugfs iio interface.

The device-tree bindings documentation illustrates an example of using a GPIO irq line to trigger a data capture.

Nishant Malpani (3):
iio: gyro: adxrs290: Add triggered buffer support
dt-bindings: iio: gyro: adxrs290: Add interrupts support
iio: gyro: adxrs290: Add debugfs register access support

 .../bindings/iio/gyroscope/adi,adxrs290.yaml  |   6 +
 drivers/iio/gyro/Kconfig                      |   2 +
 drivers/iio/gyro/adxrs290.c                   | 237 ++++++++++++++++--
 3 files changed, 231 insertions(+), 14 deletions(-)
Signature · 1 line
2.20.1
#1 lore raw
Quoted 12 lines · On Thu, 10 Sep 2020 17:59:57 +0530 Nishant Malpani <[email protected]>…

Introduce DATA_RDY trigger for triggered buffer setup; this enables continuous data capture. Additionally, add support for direct register access using the debugfs iio interface.

The device-tree bindings documentation illustrates an example of using a GPIO irq line to trigger a data capture.

Nishant Malpani (3):
iio: gyro: adxrs290: Add triggered buffer support
dt-bindings: iio: gyro: adxrs290: Add interrupts support
iio: gyro: adxrs290: Add debugfs register access support

Quoted 5 lines
 .../bindings/iio/gyroscope/adi,adxrs290.yaml  |   6 +
 drivers/iio/gyro/Kconfig                      |   2 +
 drivers/iio/gyro/adxrs290.c                   | 237 ++++++++++++++++--
 3 files changed, 231 insertions(+), 14 deletions(-)

Hi Nishant,

Something odd went on with this version. It's not come across threaded and patch 1 is missing. Please resend.

Thanks,

Jonathan

Reviewed-by on the v3 series
#2 lore raw
In reply to Nishant Malpani
Quoted 8 lines · Nishant Malpani

Introduce DATA_RDY trigger for triggered buffer setup; this enables continuous data capture. Additionally, add support for direct register access using the debugfs iio interface.

The device-tree bindings documentation illustrates an example of using a GPIO irq line to trigger a data capture.

Patches 1 and 3 looks good to me now

Quoted 13 lines

Nishant Malpani (3):
iio: gyro: adxrs290: Add triggered buffer support
dt-bindings: iio: gyro: adxrs290: Add interrupts support
iio: gyro: adxrs290: Add debugfs register access support

 .../bindings/iio/gyroscope/adi,adxrs290.yaml  |   6 +
 drivers/iio/gyro/Kconfig                      |   2 +
 drivers/iio/gyro/adxrs290.c                   | 237 ++++++++++++++++--
 3 files changed, 231 insertions(+), 14 deletions(-)

--
2.20.1

Signature · 2 lines
With Best Regards,
Andy Shevchenko