1. 03 12月, 2016 3 次提交
  2. 01 12月, 2016 13 次提交
  3. 30 11月, 2016 22 次提交
  4. 28 11月, 2016 1 次提交
    • G
      Merge tag 'iio-for-4.10d' of... · 2d2139c5
      Greg Kroah-Hartman 提交于
      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
  5. 25 11月, 2016 1 次提交
    • O
      iio: magnetometer: separate the values of attributes based on their usage type... · 6f771d0b
      Ooi, Joyce 提交于
      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: NOoi, Joyce <joyce.ooi@intel.com>
      Acked-by: NSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
      Signed-off-by: NJonathan Cameron <jic23@kernel.org>
      6f771d0b