1. 23 Feb, 2015 1 commit
    • Srinivas Pandruvada's avatar
      HID: hid-sensor-hub: Add support for application collection · cb67126f
      Srinivas Pandruvada authored
      Section 4.2.5 of HID Sensor hub specification allows two methods
      defining sensor devices.
      - Each sensor device by its own collection
      - A top level application collection object, including multiple
      sensors.
      In the first method, each sensor can be in its own sensor application
      collection without a physical collection.
      In the second method there is a usage id for collection type, which
      is defined as an application collection, with multiple physical
      collections in it. It is possible to define fusion sensor with this
      and may have its own handler. If there is a callback registered
      for the collection type, then forward all reports for sensors in
      its collection to this handler.
      Signed-off-by: default avatarSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      cb67126f
  2. 29 Apr, 2014 1 commit
  3. 22 Feb, 2014 2 commits
  4. 17 Feb, 2014 1 commit
  5. 03 Dec, 2013 1 commit
  6. 02 Dec, 2013 1 commit
    • Srinivas Pandruvada's avatar
      iio: hid-sensors: Fix power and report state · 751d17e2
      Srinivas Pandruvada authored
      In the original HID sensor hub firmwares all Named array enums were
      to 0-based. But the most recent hub implemented as 1-based,
      because of the implementation by one of the major OS vendor.
      Using logical minimum for the field as the base of enum. So we add
      logical minimum to the selector values before setting those fields.
      Some sensor hub FWs already changed logical minimum from 0 to 1
      to reflect this and hope every other vendor will follow.
      There is no easy way to add a common HID quirk for NAry elements,
      even if the standard specifies these field as NAry, the collection
      used to describe selectors is still just "logical".
      Signed-off-by: default avatarSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
      Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
      751d17e2
  7. 09 Nov, 2013 1 commit
  8. 05 Nov, 2013 3 commits
  9. 26 Aug, 2013 1 commit
  10. 06 Jan, 2013 1 commit
  11. 12 Dec, 2012 1 commit
  12. 06 Sep, 2012 1 commit