Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iio: gyro: adxrs290: Add triggered buffer support #1131

Merged

Commits on Aug 21, 2020

  1. iio: gyro: adxrs290: Insert missing mutex initialization call

    Insert a missing mutex_init() call during the probe that initializes
    the driver's local lock to unlocked state.
    
    Fixes: ac98be7 ("iio: gyro: Update ADXRS290 driver for channels support")
    Signed-off-by: Nishant Malpani <nish.malpani25@gmail.com>
    layman-n-ish committed Aug 21, 2020
    Configuration menu
    Copy the full SHA
    605e1d6 View commit details
    Browse the repository at this point in the history
  2. iio: gyro: adxrs290: Add triggered buffer support

    Provide a way for continuous data capture by setting up buffer support. The
    data ready signal exposed at the SYNC pin of the ADXRS290 is exploited as
    a hardware interrupt which triggers to fill the buffer.
    
    Triggered buffer setup was tested with both hardware trigger (DATA_RDY) and
    software triggers (sysfs-trig & hrtimer).
    
    Signed-off-by: Nishant Malpani <nish.malpani25@gmail.com>
    layman-n-ish committed Aug 21, 2020
    Configuration menu
    Copy the full SHA
    c7f2cf0 View commit details
    Browse the repository at this point in the history
  3. arm: dts: overlays: adxrs290: Enable GPIO interrupt line

    Configure ADXRS290 to use a GPIO interrupt line as a DATA_RDY trigger
    signal.
    
    Signed-off-by: Nishant Malpani <nish.malpani25@gmail.com>
    layman-n-ish committed Aug 21, 2020
    Configuration menu
    Copy the full SHA
    324bf3b View commit details
    Browse the repository at this point in the history
  4. dt-bindings: iio: gyro: adxrs290: Add required interrupts property

    Append 'interrupts' as a required property and provide a suitable example
    for using a GPIO interrupt line.
    
    Signed-off-by: Nishant Malpani <nish.malpani25@gmail.com>
    layman-n-ish committed Aug 21, 2020
    Configuration menu
    Copy the full SHA
    6d65cd0 View commit details
    Browse the repository at this point in the history
  5. iio: gyro: adxrs290: Add debugfs register access support

    Extend support to read/write byte data from/to the device using
    debugfs iio interface.
    
    Signed-off-by: Nishant Malpani <nish.malpani25@gmail.com>
    layman-n-ish committed Aug 21, 2020
    Configuration menu
    Copy the full SHA
    b350993 View commit details
    Browse the repository at this point in the history