1. 05 7月, 2016 1 次提交
    • J
      iio: accel: st_accel: Add lis3l02dq support · 4e68cfbf
      Jonathan Cameron 提交于
      Time to finally kill off the venerable (it was one of my first drivers)
      lis3l02dq driver in favour of adding support in the st sensors framework.
      
      This does loose us the event support that driver always had, but I think
      that will reappear at some point and in the meantime the maintenance
      advantages of dropping the 'special' driver for this one part outweigh
      the issues.
      
      It's worth noting this part is ancient and I may well be the only person
      who still has any on hardware running recent kernels.
      
      It has a few 'quirks'.
       - No WAI register so that just became optional.
       - A BDU option that really does block updates.  Completely.
         Whatever you do, you don't get any more data with it set.
         It is documented the same as more modern parts but I presume they
         are actually clearing for updates after a read of both bytes!
       - Fixed scale.
       - It's too quick.  Even at slowest rate (280Hz) I can't read out fast
         enough on my board (stargate 2) to beat new data coming in. Linus'
         repeat read patch doesn't help in this case. It just means I get 10
         readings before dying... So in reality this will get used with
         software triggers only unless someone has this long out of production
         device on a quick board.
      Signed-off-by: NJonathan Cameron <jic23@kernel.org>
      Reviewed-by: NLinus Walleij <linus.walleij@linaro.org>
      Cc: Denis CIOCCA <denis.ciocca@st.com>
      Cc: Crestez Dan Leonard <leonard.crestez@intel.com>
      Signed-off-by: NJonathan Cameron <jic23@kernel.org>
      4e68cfbf
  2. 03 7月, 2016 21 次提交
  3. 01 7月, 2016 11 次提交
  4. 30 6月, 2016 1 次提交
    • G
      Merge tag 'iio-for-4.8b' of... · 3c9a6793
      Greg Kroah-Hartman 提交于
      Merge tag 'iio-for-4.8b' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into staging-next
      
      Jonathan writes:
      
      Second round of new iio device support, features and cleanups in the 4.8 cycle
      
      Firstly some contact detail updates:
      * NXP took over freescale. Update the mma8452 header to reflect this.
      * Martin Kepplinger email address change in mma8452 header.
      * Adriana Reus has changed email address. Update .mailmap.
      * Matt Ranostay has changed email address. Update .mailmap.
      
      New Device Support
      * max1363
        - add the missing i2c_device_ids for a couple of parts so they can actually
          be used.
      * ms5867
        - add device ids for ms5805 and ms5837 parts.
      
      New Features
      * ad5755
        - DT support.  This one was a bit controversial and under review for a long
          time.  Still no one could come up with a better solution.
      * stx104
        - add gpio support
      * ti-adc081c
        - Add ACPI device ID matching.
      
      Core changes
      * Refuse to register triggers with duplicate names.  There is no way to
        distinguish between them so this makes no sense.  A few drivers do not
        generate unique names for each instance of the device present.  We can't
        fix this without changing ABI so leave them and wait for someone to
        actually take the rare step of two identical accelerometers on the same
        board.
      * buffer-dma
        - use ARRAY_SIZE in a few appropriate locations.
      
      Tools
      * Fix the fact that the --trigger-num option in generic_buffer didn't allow
        0 which is perfectly valid in the ABI.
      
      Cleanups
      * as3935
        - improve error reporting.
        - remove redundant zeroing of a field in iio_priv.
      * gp2ap020a00f
        - use the iio_device_claim_*_mode helpers rather than open coding locking
        around mode changes.
      * isl29125
        - use the iio_device_claim_*_mode helpers rather than open coding locking.
      * lidar
        - use the iio_device_claim_*_mode helpers rather than open coding locking.
      * mma8452
        - more detail in devices supported description in comments (addresses and
        similar)
      * sca3000
        - add a missing error check.
      * tcs3414
        - use the iio_device_claim_*_mode helpers rather than open coding locking.
      * tcs3472
        - use the iio_device_claim_*_mode helpers rather than open coding locking.
      3c9a6793
  5. 28 6月, 2016 6 次提交