1. 03 Dec, 2016 3 commits
  2. 01 Dec, 2016 13 commits
  3. 30 Nov, 2016 2 commits
  4. 29 Nov, 2016 20 commits
  5. 28 Nov, 2016 1 commit
    • Greg Kroah-Hartman's avatar
      Merge tag 'iio-for-4.10d' of... · 2d2139c5
      Greg Kroah-Hartman authored
      Merge tag 'iio-for-4.10d' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into staging-next
      
      Jonathan writes:
      
      Fourth set of IIO new device support, features and cleaups for the 4.10 cycle.
      
      Probably the final set before the merge window unless things get significantly
      delayed.
      
      New device support
      * STM32 ADC core
        - new driver.  Interesting device with up to 3 ADCs with complex triggering
          options that will follow later. Note split into an 'mfd like' core that
          handles the interrupt sharing etc between the various instances present and
          a per ADC section that is instantiated as many times as needed.
        - device tree bindings.
      
      Cleanups and minor fixes
      * st_accel
        - inline per sensor data as the defines don't add any meaning and make it
          much harder to check if a given sensor has the right values.
      * hid-magnetometer
        - sort out the associations of the associated attributes with the two types.
      2d2139c5
  6. 24 Nov, 2016 1 commit
    • Ooi, Joyce's avatar
      iio: magnetometer: separate the values of attributes based on their usage type... · 6f771d0b
      Ooi, Joyce authored
      iio: magnetometer: separate the values of attributes based on their usage type for HID compass sensor
      
      There are 2 usage types (Magnetic Flux and Heading data field) for HID
      compass sensor, thus the values of offset, scale, and sensitivity should
      be separated according to their respective usage type. The changes made
      are as below:
      1. Hysteresis: A struct hid_sensor_common rot_attributes is created in
      struct magn_3d_state to contain the sensitivity for IIO_ROT.
      2. Scale: scale_pre_decml and scale_post_decml are separated for IIO_MAGN
      and IIO_ROT.
      3. Offset: Same as scale, value_offset is separated for IIO_MAGN and
      IIO_ROT.
      
      For sensitivity, HID_USAGE_SENSOR_ORIENT_MAGN_FLUX and
      HID_USAGE_SENSOR_ORIENT_MAGN_HEADING are used for sensivitity fields based
      on the HID Sensor Usages specifications. Hence, these changes are added on
      the sensitivity field.
      Signed-off-by: default avatarOoi, Joyce <joyce.ooi@intel.com>
      Acked-by: default avatarSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
      Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
      6f771d0b