10 May, 2014

1 commit

  • Without ANON_INODES, we get this build error:

    drivers/built-in.o: In function `iio_event_getfd':
    :(.text+0x14bf18): undefined reference to `anon_inode_getfd'

    All other users explicitly select this symbol, so we should
    do the same thing here.

    Signed-off-by: Arnd Bergmann
    Cc: Jonathan Cameron
    Cc: linux-iio@vger.kernel.org
    Signed-off-by: Jonathan Cameron

    Arnd Bergmann
     

17 Mar, 2014

1 commit


04 Dec, 2013

2 commits


13 Sep, 2013

1 commit


17 Aug, 2013

1 commit

  • the TI TMP006 is a non-contact temperature sensor with I2C interface;
    it measures the surface temperature of a distance object using a
    thermopile to absorb IR energy emitted from the object

    the sensor has two channels: IR sensor voltage (16-bit) and reference
    temperature of the chip (14-bit); datasheet is here:
    http://www.ti.com/lit/ds/symlink/tmp006.pdf

    v2 (thanks to Grygorii Strashko, Lars-Peter Clausen, Jonathan Cameron
    for review comments):
    * power down device on driver remove
    * use sign_extend32()
    * style cleanup
    * add comments what channel raw LSBs mean
    * spelling of thermopile

    Signed-off-by: Peter Meerwald
    Cc: Grygorii Strashko
    Cc: Lars-Peter Clausen
    Cc: Jonathan Cameron
    Cc: LM Sensors
    Signed-off-by: Jonathan Cameron

    Peter Meerwald
     

05 Aug, 2013

1 commit

  • This reverts commit 98a5e9e99d05e9b6a14778b85631b55e8e349990.

    IIO, like the rest of the kernel, should rely on dynamic debugging, not
    have a special config option for it. That way, no user has to rebuild
    their kernel to have debug messages, which is a good thing, let's not
    revert back to the bad old days of the 2000's.

    Cc: Otavio Salvador
    Cc: Jonathan Cameron
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     

04 Aug, 2013

3 commits


06 Jun, 2013

1 commit


23 May, 2013

1 commit


20 Nov, 2012

1 commit


10 Nov, 2012

1 commit


20 Oct, 2012

1 commit


07 Sep, 2012

5 commits

  • Added usage id processing for ALS. This uses IIO
    interfaces for triggered buffer to present data to user
    mode.This uses HID sensor framework for registering callback
    events from the sensor hub.

    Signed-off-by: srinivas pandruvada
    Signed-off-by: Jonathan Cameron

    srinivas pandruvada
     
  • Added usage id processing for Compass 3D. This uses IIO
    interfaces for triggered buffer to present data to user
    mode.This uses HID sensor framework for registering callback
    events from the sensor hub.

    Signed-off-by: srinivas pandruvada
    Signed-off-by: Jonathan Cameron

    srinivas pandruvada
     
  • Added usage id processing for Gyroscope 3D. This uses IIO
    interfaces for triggered buffer to present data to user
    mode.This uses HID sensor framework for registering callback
    events from the sensor hub.

    Signed-off-by: srinivas pandruvada
    Signed-off-by: Jonathan Cameron

    srinivas pandruvada
     
  • Added usage id processing for Accelerometer 3D.This uses IIO
    interfaces for triggered buffer to present data to user
    mode.This uses HID sensor framework for registering callback
    events from the sensor hub.

    Signed-off-by: srinivas pandruvada
    Signed-off-by: Jonathan Cameron

    srinivas pandruvada
     
  • This patch contains the common code, which is used by all HID sensors.
    There are some common set of attributes, which every hid sensor
    needs it. This patch contains all such attributes processing.
    Also the trigger interface is common among all HID sensors. This
    patch contains common trigger functions utilized by all HID sensors.

    Signed-off-by: srinivas pandruvada
    Signed-off-by: Jonathan Cameron

    srinivas pandruvada
     

04 Sep, 2012

1 commit


26 Jun, 2012

1 commit


19 Jun, 2012

1 commit


15 Jun, 2012

1 commit


05 Jun, 2012

3 commits

  • The IIO DAC drivers are in a reasonably good shape. They all make use of channel
    spec and non of them provides non-documented sysfs attributes. Code style should
    be OK as well, both checkpatch and coccicheck only report trivial issues.

    So lets move the whole folder out of staging.

    Signed-off-by: Lars-Peter Clausen
    Acked-by: Jonathan Cameron
    Signed-off-by: Greg Kroah-Hartman

    Lars-Peter Clausen
     
  • Changes since V1:

    Apply Jonathan's review feedback:
    Revise device status attribute names, and split documentation into two sections.
    Add additional comments, and fix indention issues.
    Remove pointless zero initializations.
    Revise return value handling.
    Simplify some code sections.
    Split store_eeprom and sync handling into separate functions.
    Use strtobool where applicable.
    Document platform data structures using kernel-doc style.

    Use dev_to_iio_dev
    write_raw IIO_CHAN_INFO_FREQUENCY: Reject values
    Acked-by: Jonathan Cameron
    Signed-off-by: Greg Kroah-Hartman

    Michael Hennerich
     
  • Add sub-driver for the ambient-light-sensor interface on National
    Semiconductor / TI LM3533 lighting power chips.

    The sensor interface can be used to control the LEDs and backlights of
    the chip through defining five light zones and three sets of
    corresponding output-current values.

    The driver provides raw and mean adc readings along with the current
    light zone through sysfs. A threshold event can be generated on zone
    changes. The ALS-control output values can be set per zone for the three
    current output channels.

    Signed-off-by: Johan Hovold
    Acked-by: Jonathan Cameron
    Signed-off-by: Greg Kroah-Hartman

    Johan Hovold
     

15 May, 2012

2 commits


26 Apr, 2012

1 commit

  • Take the core support + the kfifo buffer implentation out of
    staging. Whilst we are far from done in improving this subsystem
    it is now at a stage where the userspae interfaces (provided by
    the core) can be considered stable.

    Drivers will follow over a longer time scale.

    Signed-off-by: Jonathan Cameron
    Signed-off-by: Greg Kroah-Hartman

    Jonathan Cameron