1. 16 Jun, 2024 1 commit
    • Greg Kroah-Hartman's avatar
      Merge tag 'iio-for-6.11a' of... · 2db573c5
      Greg Kroah-Hartman authored
      Merge tag 'iio-for-6.11a' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/jic23/iio into char-misc-testing
      
      Jonathan writes:
      
      IIO: 1st set of new device support, cleanups etc for 6.11
      
      Lots of new device support and 3 entirely new drivers.
      
      Early pull request this cycle to allow for clean picking up of fixes
      that are dependencies for some queued patch sets.
      
      Device support
      ==============
      
      adi,ad3552r
      - Add AD3541R and AD3551R - single output variants of already supported
        DACs.
      
      adi,ad7192
      - Add support for ad7194 24-bit ADC with integrated PGA.
      
      adi,ad7380
      - New ADC driver built up in a number of steps. Supports
        - 2 channel differential ADCs: AD7380, AD7381
        - 4 channel differential ADCs: AD7380-4, AD7381-4
        - 2 channel pseudo-differential ADCs: AD7383, AD7384
        - 4 channel pseudo-differential ADCs: AD7383-4, AD7384-4
      
      adi,adis16475
      - Support ADS16501 variant - ID and some different scale factors from
        parts already supported.
      - Driver refactoring then enables support for 6 more IMUs:
        - ADIS16575-[2,3]
        - ADIS16576-[2,3]
        - ADIS16577-[2,3]
      
      adi,adsi16480
      - Driver refactoring and feature additions leading to support for 6 more
        IMUs - with new delta angle and delta velocity feature:
        - ADIS16545-[1,2,3]
        - ADIS16547-[1,2,3]
      
      bosch,bmi160
      - Support for the bmi120 IMU: ID only. Also relax ID checking to warn
        only on mismatch allowing use of fallback compatibles for new devices.
      
      sciosense,ens160
      - New driver for this metal oxide multi-gas sensor for indoor
        air quality monitoring.
      
      sensortek,stk3110
      - Support for stk3311a and stk3311s34 light sensor variants. Relax ID
        checking to warn only on a mismatch allowing use of fallback compatibles
        for new devices.
      
      vishay,veml6040
      - New driver for this RGBW light sensor. Note that whilst the register
        interface is very different, the dt-binding similar enough that it is
        shared with the existing vishay,veml6075 binding
      
      x-powers,axp20x
      - Add support for axp192, very similar to another supported PMIC ADC variant
        but with a few more GPIO channels.
      
      Dt-binding only
      ===============
      
      ti,ads1015
      - Add binding (no driver support yet) for ti,tla2021
      
      New features
      ============
      core
      - Variable scan type support.  We have papered over this for a long time
        so good to finally resolve it.
        Some devices will change their data output format (typically resolution)
        dependent on settings such as oversampling.  A new callback is added
        to enable this. First used in the ad7380 driver.
      - Harden the core against missing callback functions.
      
      dt-binding:
      - Add a single-channel property that can be used in per channel nodes
        instead of reg to indicate which device channel.  This is important
        in devices with a mixture of differential and single ended channels
        as reg already just acted as an index for the differential channels
        making things inconsistent if it had more meaning for single ended
        channels.
      
      adi,ad7380
      - Use spi_optimize_message() to reduce reading message setup overhead.
      - Add oversampling support using the new core functionality to allow
        a device support multiple scan types.
      
      invense,icm42600
      - Support for low-power accelerometer modes.  When a given sampling
        frequency is only supported at one power mode, use that. Otherwise
        default to low power at the cost of some noise unless overridden
        via a new sysfs attribute.
      
      silicon-labs,si70720
      - Add control of the heater.
      
      Cleanups and minor fixes
      ========================
      
      core
      - Cleanup use of sizeof(struct xxxx) in favor of sizeof(*variable)
      
      Makefile
      - Resort the iio/adc/Makefile which has drifted away from alphabetical
        order.
      
      gts library
      - Fix sorting of lists with a zero in the middle. Doesn't happen with
        upstream drivers, but good to harden this code.  Add a related unit test.
      
      multiple drivers
      - Add missing MODULE_DESCRIPTION()
      - Drop some unused structure fields.
      - Drop some entirely unused structure definitions.
      - Stop pointless initialization of i2c_device_id::driver_data to 0 in drivers
        where it isn't used.
      - Use spi_get_device_match_data() to replace open-coded equivalent.
      
      adi,ad3552r
      - Fix dt gain parameter names to reflect what the driver does. Note
        discussion in patch to justify fixing it in the binding not the
        driver.
      - Tidy up some naming.
      
      adi,ad7192
      - Use read_avail() callback to handle the low pass filter.
      - Add an aincom supply for pseudo differential operation.
      
      adi,ad7606
      - Use iio_device_claim_direct_scoped() to simplify error paths.
      
      adi,ad7944
      - Drop an unused function parameter.
      
      adi,adrf6780
      - Drop unused header.
      
      adi,ad9467
      - Use a DMA safe buffer for SPI transfers.
      - Stop using tabs to pad structure field names. It was creating a lot
        of noise.
      
      adi,axi-adc
      - Prevent races between enable and disable calls.
      - Ensure the DRP (dynamic reconfiguration port) is locked. Not used
        in most real designs, but better safe than sorry.
      - Limit build to COMPILE_TEST or platforms for which the IP exists.
      
      adi,axi-dac
      - Limit build to COMPILE_TEST or platforms for which the IP exists.
      
      ams,iaq
      - Use __packed instead of ___attribute__((__packed__))
      
      bosch,bmp280
      - White space cleanup.
      - Use BME280 prefix for registers that do not exist on the BMP280.
      - Add parameter names to callback function definitions.
      - Rename measure function to better reflect what it does which is wait
        for a measurement to happen.
      - Drop a redundant error check.
      - Improve error messages
      - Make error checks consistent as if (ret)
      - Use unsigned types for inherently unsigned data.
      - Refactor reading functions to not rely on a hidden t_fine variable.
      - Make use of cleanup.h
      
      freescale,mma7660
      - Add mount matrix support.
      
      invense,icm42600
      - Enable the regmap cache to reduce bus accesses.
      
      amlogic,meson-saradc
      - Add dt-binding support for power-domains.
      
      ti,adc161s626
      - Use iio_device_claim_direct_scoped() to simplify error handling.
      
      * tag 'iio-for-6.11a' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/jic23/iio: (107 commits)
        iio: imu: inv_icm42600: add support of accel low-power mode
        iio: document inv_icm42600 driver private sysfs attributes
        MAINTAINERS: Add ScioSense ENS160
        iio: chemical: ens160: add power management support
        iio: chemical: ens160: add triggered buffer support
        iio: chemical: add driver for ENS160 sensor
        dt-bindings: iio: chemical: add ENS160 sensor
        dt-bindings: vendor-prefixes: add ScioSense
        iio: temperature: mcp9600: add threshold events support
        dt-bindings: iio: light: add VEML6040 RGBW-LS
        iio: light: driver for Vishay VEML6040
        dt-bindings: iio: adc: amlogic,meson-saradc: add optional power-domains
        iio: dac: adi-axi-dac: add platform dependencies
        iio: adc: adi-axi-adc: add platform dependencies
        iio: imu: inv_icm42600: add register caching in the regmap
        iio: adc: mcp3564: drop redundant open-coded spi_get_device_match_data()
        iio: dac: max5522: simplify with spi_get_device_match_data()
        iio: addac: ad74413r: simplify with spi_get_device_match_data()
        iio: adc: ti-tsc2046: simplify with spi_get_device_match_data()
        iio: adc: ti-ads131e08: simplify with spi_get_device_match_data()
        ...
      2db573c5
  2. 13 Jun, 2024 32 commits
  3. 08 Jun, 2024 2 commits
  4. 04 Jun, 2024 5 commits