1. 04 9月, 2016 1 次提交
    • W
      iio: stx104: Add IIO support for the ADC channels · 4075a283
      William Breathitt Gray 提交于
      The Apex Embedded Systems STX104 features 16 channels of single-ended (8
      channels of true differential) 16-bit analog input. Differential input
      configuration may be selected via a physical jumper on the device.
      Similarly, input polarity (unipolar/bipolar) is configured via a
      physical jumper on the device.
      
      Input gain selection is available to the user via software, thus
      allowing eight possible input ranges: +-10V, +-5V, +-2.5V, +-1.25V,
      0 to 10V, 0 to 5V, 0 to 2.5V, and 0 to 1.25V. Four input gain
      configurations are supported: x1, x2, x4, and x8.
      
      This ADC resolution is 16-bits (1/65536 of full scale). Analog input
      samples are taken on software trigger; neither FIFO sampling nor
      interrupt triggering is supported by this driver.
      
      The Apex Embedded Systems STX104 is primarily an analog-to-digital
      converter device. The STX104 IIO driver was initially placed in the DAC
      directory because only the DAC portion of the STX104 was supported at
      the time. Now that ADC support has been added to the STX104 IIO driver,
      the driver should be moved to the more appropriate ADC directory.
      Signed-off-by: NWilliam Breathitt Gray <vilhelm.gray@gmail.com>
      Signed-off-by: NJonathan Cameron <jic23@kernel.org>
      4075a283
  2. 03 9月, 2016 3 次提交
  3. 01 9月, 2016 1 次提交
  4. 30 8月, 2016 12 次提交
  5. 29 8月, 2016 4 次提交
  6. 24 8月, 2016 1 次提交
    • G
      Merge tag 'iio-for-4.9a' of... · d5bd1eba
      Greg Kroah-Hartman 提交于
      Merge tag 'iio-for-4.9a' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into work-testing
      
      Jonathan writes:
      
      First round of new features, device support and cleanups for IIO in the 4.9 cycle.
      
      Device support
      
      * ak8974
        - New driver and bindings for this 2009 vintage magnetometer (it was very
          popular back then!)
      * atlas-ph-sensor
        -  ORP sensor support(I had to look up what one of these was)
      * cio-dac
        - New driver for Measurement Computing DAC boards
      * dmard06
        - New driver for Domintech DMARDO6 accelerometer. Also vendor prefix.
      * dmard09
        - New driver for Domintech DMARD09 accelerometer.
      * maxim-thermocouple
        - max6675 and max31855 new driver
      * mt6577 auxdac
        - new driver for this Mediatek chip mt2701, mt6577 and mt8173 have this
          hardware.
      * ti-adc161s626
        - new driver for this TI single channel differential ADC.
      * vcnl4000
        - support vcnl4010 and vcnl4020 which are compatible for all features
          currently supported by this driver.
      
      New features
      
      * Core
        - Allow retrieving of underlying iio_dev from a callback buffer handle.
          This is needed to allow client drivers to perform operations such as
          configuring the trigger used.
      * hid-sensors
        - asynchronous resume support to avoid really long resume times.
      * kxcjk-1013
        - add the mysterious KIOX000A ACPI id seen in the wild.
      * Tools
        - lsiio now enumerates processed as well as raw channels.
      
      Cleanup
      
      * ad7298
        - use iio_device_claim_direct_mode and friends to simplify locking around
          mode switching and drop some boilerplate.
      * ad7793
        - use iio_device_claim_direct_mode and friends to simplify locking around
          mode switching and drop some boilerplate.
      * ade7854
        - checkpatch fixups (alignment of parameters)
      * atlas-ph-sensor
        - use iio_device_claim_direct_mode and friends to simplify locking around
          mode switching and drop some boilerplate.
        - Switch to REGCACHE_NONE as there are no useful register to cache.
      * bma180
        - use iio_device_claim_direct_mode and friends to simplify locking around
          mode switching and drop some boilerplate.
      * hdc100x
        - Add mention of the HDC1000 and HDC1008 to the Kconfig help text.
      * isl29018
        - Add driver specific prefixes to defines and function names.
        - Remove excessive logging.
        - Drop newlines which add nothing to readability.
        - General tidying up of comments.
        - Drop I2C_CLASS_HWMON as irrelevant to driver.
      * isl29028
        - Add driver specific prefixes to defines, enums and function names.
        - Drop comma's from available attribute output as not ABI compliant.
        - Drop I2C_CLASS_HWMON as irrelevant to driver.
      * kxsd9
        - devicetree bindings.
      * mag3110
        - This one wasn't locking to protect against mode switches during
          raw_reads.  Use the iio_claim_direct_mode function to fix this buglet.
      * maxim-theromcouple
        - Fix missing selects for triggered buffer support in Kconfig.
      * nau7802
        - Use complete instead of complete_all as only one completion at a time.
      * sx9500
        - Use complete instead of complete_all as only one completion at a time.
      * us5182d
        - Add a missing error code asignment instead of checking the result of
          an already checked statement.
      * vcnl4000
        - Use BIT macro where appropriate.
        - Refactor return codes in read_raw callback.
        - Add some missing locking for concurrent accesses to the device.
      d5bd1eba
  7. 23 8月, 2016 2 次提交
  8. 22 8月, 2016 16 次提交