mbox series

[RESEND,v3,0/3] iio: gyro: adxrs290: Add triggered buffer & debugfs support

Message ID 20200910180450.29696-1-nish.malpani25@gmail.com (mailing list archive)
Headers show
Series iio: gyro: adxrs290: Add triggered buffer & debugfs support | expand

Message

Nishant Malpani Sept. 10, 2020, 6:04 p.m. UTC
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(-)

Comments

Jonathan Cameron Sept. 11, 2020, 8:14 a.m. UTC | #1
On Thu, 10 Sep 2020 23:34:47 +0530
Nishant Malpani <nish.malpani25@gmail.com> wrote:

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

Odd. The original patch one eventually made it (I'd checked it hadn't
gotten to me or to lore.kernel.org yesterday :(

Ah well, one of those quirks of life and resend does no harm.

Will catch up with this tomorrow probably.

Jonathan
Jonathan Cameron Sept. 13, 2020, 9:52 a.m. UTC | #2
On Fri, 11 Sep 2020 09:14:07 +0100
Jonathan Cameron <Jonathan.Cameron@Huawei.com> wrote:

> On Thu, 10 Sep 2020 23:34:47 +0530
> Nishant Malpani <nish.malpani25@gmail.com> wrote:
> 
> > 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(-)
> >   
> 
> Odd. The original patch one eventually made it (I'd checked it hadn't
> gotten to me or to lore.kernel.org yesterday :(
> 
> Ah well, one of those quirks of life and resend does no harm.
> 
> Will catch up with this tomorrow probably.
I picked it up from this resend version because b4 doesn't like the
earlier one due to the broken threading.  This one has Andy's tags
anyway so that all works out nicely.

Thanks,

Jonathan

> 
> Jonathan
>