1. 04 12月, 2013 1 次提交
  2. 12 10月, 2013 1 次提交
  3. 01 10月, 2013 1 次提交
  4. 15 9月, 2013 1 次提交
    • P
      iio: Add INT_TIME (integration time) channel info attribute · 899d90bd
      Peter Meerwald 提交于
      Integration time is in seconds; it controls the measurement
      time and influences the gain of a sensor.
      
      There are two typical ways that scaling is implemented in a device:
      1) input amplifier,
      2) reference to the ADC is changed.
      These both result in the accuracy of the ADC varying (by applying its
      sampling over a more relevant range).
      
      Integration time is a way of dealing with noise inherent in the analog
      sensor itself.  In the case of a light sensor, a mixture of photon noise
      and device specific noise.  Photon noise is dealt with by either improving
      the efficiency of the sensor, (more photons actually captured) which is not
      easily varied dynamically, or by integrating the measurement over a longer
      time period.  Note that this can also be thought of as an averaging of a
      number of individual samples and is infact sometimes implemented this way.
      Altering integration time implies that the duration of a measurement changes,
      a fact the device's user may be interested in.
      
      Hence it makes sense to distinguish between integration time and simple
      scale. In some devices both types of control are present and whilst they
      will have similar effects on the amplitude of the reading, their effect
      on the noise of the measurements will differ considerably.
      
      Used by adjd_s311, tsl4531, tcs3472
      The following drivers have similar controls (and could be adapted):
      * tsl2563 (integration time is controlled via CALIBSCALE among other things)
      * tsl2583 (has integration_time device_attr, but driver doesn't use channels yet)
      * tsl2x7x (has integration_time attr)
      Signed-off-by: NPeter Meerwald <pmeerw@pmeerw.net>
      Cc: Jon Brenner <jon.brenner@ams.com>
      Signed-off-by: NJonathan Cameron <jic23@kernel.org>
      899d90bd
  5. 29 8月, 2013 1 次提交
  6. 04 8月, 2013 2 次提交
  7. 12 6月, 2013 1 次提交
  8. 21 11月, 2012 1 次提交
  9. 08 7月, 2012 1 次提交
  10. 16 6月, 2012 1 次提交
  11. 13 6月, 2012 1 次提交
  12. 05 6月, 2012 1 次提交
  13. 15 5月, 2012 1 次提交
  14. 26 4月, 2012 3 次提交
  15. 25 4月, 2012 1 次提交
  16. 14 4月, 2012 1 次提交
  17. 28 11月, 2011 1 次提交
  18. 06 10月, 2011 1 次提交
  19. 27 9月, 2011 2 次提交
  20. 07 9月, 2011 2 次提交
  21. 24 8月, 2011 2 次提交
  22. 26 4月, 2011 1 次提交
    • J
      staging: iio: TAOS tsl258x: Device driver · ac4f6eee
      Jon Brenner 提交于
      Added suspend/resume functions.
      Changed attribute names to match existing where applicable and updated
      or documented new ABI as discussed.
      Changed integration time ABI from using index (0 to 3) to use actual
      gain values (1x,8x, etc.).
      Removed various unused variables, declarations, and functions.
      Revised code to accommodate different endianess (le16_to_cpu).
      Updated error return codes in various functions.
      Changed from mdelay to msleep after determining that longer wait would
      be acceptable.
      
      V5: Makefile and Kconfig cleanups by Jonathan Cameron.
      Signed-off-by: NJon August Brenner <jbrenner@taosinc.com>
      Acked-by: NJonathan Cameron <jic23@cam.ac.uk>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      ac4f6eee
  23. 21 4月, 2011 1 次提交
  24. 10 3月, 2011 1 次提交
  25. 01 3月, 2011 1 次提交
  26. 24 2月, 2011 1 次提交
    • M
      staging: IIO: ADC: New driver for AD7606/AD7606-6/AD7606-4 · b9618c0c
      Michael Hennerich 提交于
      This patch adds support for the:
      AD7606/AD7606-6/AD7606-4 8/6/4-Channel Data Acquisition
      system (DAS) with 16-Bit, Bipolar, Simultaneous Sampling ADC.
      
      Changes since V1:
      IIO: ADC: New driver for AD7606/AD7606-6/AD7606-4: Apply review feedback
      
      Rename sysfs node oversampling to oversampling_ratio.
      Kconfig: Add GPIOLIB dependency.
      Use range in mV to better match HWMON.
      Rename ad7606_check_oversampling.
      Fix various comments and style.
      Reorder is_visible cases.
      Use new gpio_request_one/array and friends.
      Drop check for SPI max_speed_hz.
      
      Changes since V2:
      IIO: ADC: New driver for AD7606/AD7606-6/AD7606-4: Apply review feedback
      
      Documentation: specify unit
      Avoid raise condition in ad7606_scan_direct()
      Check return value of bus ops read_block()
      
      Changes since V3:
      IIO: ADC: New driver for AD7606/AD7606-6/AD7606-4: Add missing include file
      
      Add linux/sched.h
      
      Changes since V4:
      IIO: ADC: New driver for AD7606/AD7606-6/AD7606-4: Fix kconfig declaration
      
      consistently use tristate to avoid configuration mismatches
      Signed-off-by: NMichael Hennerich <michael.hennerich@analog.com>
      Acked-by: NJonathan Cameron <jic23@cam.ac.uk>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      b9618c0c
  27. 21 1月, 2011 1 次提交
  28. 30 11月, 2010 1 次提交
  29. 08 10月, 2010 1 次提交
  30. 22 9月, 2010 1 次提交
  31. 05 9月, 2010 1 次提交
  32. 01 9月, 2010 1 次提交
  33. 12 5月, 2010 2 次提交