1. 05 Sep, 2019 30 commits
  2. 04 Sep, 2019 5 commits
  3. 03 Sep, 2019 5 commits
    • Greg Kroah-Hartman's avatar
      Merge tag 'iio-for-5.4b-take3' of... · 74eb9c06
      Greg Kroah-Hartman authored
      Merge tag 'iio-for-5.4b-take3' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into staging-next
      
      Jonathan writes:
      
      Second set of new device support, cleanups and features for IIO in the 5.4 cycle
      
      Revised pull request to fix up a missing Signed-off-by and roll in
      a fix in the lsm9ds1 support after I broke it when applying.
      Revised again because the fix changed a hash meaning a fix
      that previously followed it now had the wrong fixes tag.
      
      A few fixes in here that could have gone a faster path but aren't quite
      worth the rush for 5.3.
      
      New device support
      * ad7606
        - Support the ad7606b which adds a software controlled mode alongside
          the pin controlled only approach of the ad7606. Including dt-bindings.
      * lsm6dsx
        - Add support for the gyro and accelerometer part of the lsm9ds1 which is
          a compound device also including a magnetometer (st_sensors driver).
          Includes bindings and precursor rework of the driver.
      
      Features
      * ad7192
        - Add support for low pass filter control.
        - DT binding docs.
      
      Cleanups and minor fixes
      * MAINTAINERS
        - Fix a typo in a path.
        - Add entry for ad7606
      * ad5380
        - Fix a failure to dereference a pointer before atempting to assign the
          value.
      * ad7192
        - Drop platform data as not used in mainline and we now have full DT bindings.
      * ad7606
        - YAML conversion for dt-bindings.
      * adis16240
        - Rework write_raw to make it more readable using GENMASK.
      * adis16460
        - Fix and issue with an unsigned variable holding potential negatives.
      * cros_ec
        - Fix missing default of calibration vector so that we get 'something'
          before calibration is complete on a given axis.
      * hid-sensors
        - Use int_pow instead of opencoding.
      * isl29501
        - rename dt-binding docs to include renesas inline with other renesas parts
          and general current convention.
      * kxcjk1013
        - Improve comments on the 'unusual' ACPI ids used to identify which sensor
          is which in certain laptops.
      * lsm6dsx
        - Add one bit to the fifo status masks for a number of parts.
        - Drop a reserved entry from the sensitivity values to tidy up interface.
        - Use core conversion macro from G to m/s^2 for lsm9ds1 to make it easier
          to relate to the datasheet and consistent with other parts supported.
      * max1027
        - Use device managed APIs to avoid manual error handling and cleanup.
      * rfd77402
        - Typo in Kconfig help.
      * sc27xx
        - Switch to polling mode from interrupts as interrupt handling typically
          to slow for very short sleeps.
      * st-sensors
        - Fix some missing selects for regmap.
      * tools
        - Add a .gitignore containing the binary outputs.
      
      * tag 'iio-for-5.4b-take3' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio: (27 commits)
        iio: imu: st_lsm6dsx: rely on IIO_G_TO_M_S_2 for gain definition for LSM9DS1
        iio: imu: st_lsm6dsx: remove invalid gain value for LSM9DS1
        iio: cros_ec: set calibscale for 3d MEMS to unit vector
        iio: dac: ad5380: fix incorrect assignment to val
        iio: imu: st_lsm6dsx: Fix FIFO diff mask for tagged fifo
        dt-bindings: iio: imu: st_lsm6dsx: add lsm9ds1 device bindings
        iio: imu: st_lsm6dsx: add support for accel/gyro unit of lsm9ds1
        iio: imu: st_lsm6dsx: move register definitions to sensor_settings struct
        iio: imu: st_lsm6dsx: introduce update_fifo function pointer
        dt-bindings: iio: light: isl29501: Rename bindings documentation file
        Kconfig: Fix the reference to the RFD77402 ToF sensor in the 'help' section
        iio: st_sensors: Fix build error
        dt-bindings: iio: adc: Add AD7606B ADC documentation
        dt-bindings: iio: adc: Migrate AD7606 documentation to yaml
        MAINTAINERS: Add Beniamin Bia for AD7606 driver
        iio: adc: ad7606: Add support for AD7606B ADC
        tools: iio: add .gitignore
        iio: adc: sc27xx: Change to polling mode to read data
        iio: hid-sensor-attributes: Convert to use int_pow()
        iio: adc: max1027: Use device-managed APIs
        ...
      74eb9c06
    • Lorenzo Bianconi's avatar
      iio: imu: st_lsm6dsx: rely on IIO_G_TO_M_S_2 for gain definition for LSM9DS1 · 6fa02948
      Lorenzo Bianconi authored
      Rely on IIO_G_TO_M_S_2 macro for LSM9DS1 accelerometer gain definitions
      Signed-off-by: default avatarLorenzo Bianconi <lorenzo@kernel.org>
      Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
      6fa02948
    • Lorenzo Bianconi's avatar
      iio: imu: st_lsm6dsx: remove invalid gain value for LSM9DS1 · 0f7e1728
      Lorenzo Bianconi authored
      Get rid of invalid sensitivity value for LSM9DS1 gyro sensor
      
      Fixes: 52f4b1f1 ("iio: imu: st_lsm6dsx: add support for accel/gyro unit of lsm9ds1")
      Signed-off-by: default avatarLorenzo Bianconi <lorenzo@kernel.org>
      Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
      0f7e1728
    • Valentin Vidic's avatar
      staging: exfat: drop local TRUE/FALSE defines · dfa5b30b
      Valentin Vidic authored
      Replace with bool where it makes sense. Also drop unused local
      variable lossy in fat_find_dir_entry.
      Reported-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      Signed-off-by: default avatarValentin Vidic <vvidic@valentin-vidic.from.hr>
      Link: https://lore.kernel.org/r/20190903185537.25099-1-vvidic@valentin-vidic.from.hrSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      dfa5b30b
    • Valentin Vidic's avatar
      staging: exfat: fix spelling errors in comments · ab050766
      Valentin Vidic authored
      Fixes checkpatch.pl warnings:
      
        CHECK: 'consistancy' may be misspelled - perhaps 'consistency'?
        CHECK: 'stuct' may be misspelled - perhaps 'struct'?
      Signed-off-by: default avatarValentin Vidic <vvidic@valentin-vidic.from.hr>
      Link: https://lore.kernel.org/r/20190903165408.16010-1-vvidic@valentin-vidic.from.hrSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      ab050766