1. 28 Feb, 2024 6 commits
  2. 25 Feb, 2024 1 commit
    • Greg Kroah-Hartman's avatar
      Merge tag 'iio-for-6.9a' of... · d4551c18
      Greg Kroah-Hartman authored
      Merge tag 'iio-for-6.9a' of http://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into char-misc-next
      
      Jonathan writes:
      
      IIO: 1st set of new device support, features and cleanup for 6.9
      
      IIO Backend support
      ===================
      
      New approach from Nuno Sa to the problem of reuse of drivers with
      IIO devices that are actually the combination of a highspeed chip
      and an FPGA core handling the data capture and flows. It will hopefully
      also apply to some other split designs. The ad9467 and axi-adi drivers
      are converted over to this framework.
      
      New device support
      ==================
      
      adi,admfm2000
      - New driver for this dual microwave down converter.
      ams,as73211
      - Add support for as7331 UV sensor.
      richtek,rtq6056
      - Add support for related parts RTQ6053 and RTQ6059
      st,lsm6dsx
      - Add ASM330LHHXG1 accelerometer and gyro support (mainly IDs)
      ti,ads1298
      - New driver for this medical ADC.
      
      Features
      ========
      
      tests
      - Unit tests for the gain-time-scale helper library.
      bosch,bmi088
      - I2C support.
      bosh,bmi160
      - Add 10EC5280 ACPI ID. Used in a number of devices that won't get fixed.
        The ID is actually a PCI ID belonging to realtech. No response was received
        to earlier attempts to notify them of this.
        The manufacturers of some devices have replied to say they will not fix
        this incorrect ID. Add the ID and hope it isn't a problem.
      bosch,bmi323
      - Add BOSC0200 ACPI ID. Note this is a duplicate of one in the bmc150
        driver (it appears these parts share a windows driver).
        Both drivers perform an ID check that is safe on the other part before
        successfully probing.
      hid-sensors-als
      - Add color temperature and chromaticity support. Note this is a replacement
        for the series reverted in 6.8 that correctly handles all the potential
        channel combinations.
      honeywell,hsc030pa
      - Triggered buffer support (after driver cleanup).
      honeywell,mprls00025pa
      - Improved error handling.
      - New DT binding to allow use of part number triplet as provided in data sheet
        to specify equivalent of most of the binding more efficiently.
      - SPI support.
      memsic,mxc4005
      - ACPI ID MDA6655 as seen in the Chuwi Minibook X 2023
      ti,hdc3020
      - Add threshold event support (after some driver cleanup)
      veml,vcnl4000
      - Switch to high resolution proximity measurement.
      
      Cleanup
      =======
      Various minor typo fixes and better use of defines etc.
      
      Treewide
      - Stop using ACPI_PTR(). The savings in space are small and not worth
        the complexity of __maybe_unused of ifdef guards.  To avoid use in
        new IIO drivers based on copy and paste, clean it out.
      - cleanup.h based handling of iio_device_claim_direct_mode()/
        iio_device_release_direct_mode() using scope_cond_guard().
        In many drivers this is combined with other automated cleanup
        to give maximum simplifications.
        An initial set of drivers are converted over to this infrastructure.
      
      Tools
      - Use rewinddir() instead of seekdir() to return to start of file.
      
      core
      - Make iio_bus_type constant.
      
      adi,ad16475
      - Use irq_get_trigger_type() instead of opencoding.
      adi,ad16480
      - Use irq_get_trigger_type() instead of opencoding.
      adi,ad-sigma-delta
      - Avoid overwriting IRQ flags if provided by firmware.
      ams,as73211
      - Use IIO_VAL_FRACTIONAL for scales to simplify the code and potentially
        improve accuracy.
      gts-library
      - Use a div64_u64() instead of a loop to do a division.
      honeywell,mprls00025pa
      - Clean up dt-binding doc.
      - Drop defaults when DT binding not providing values. Very unlikely
        these were useful given they were wrong for vast majority of supported
        devices.
      - Whitespace cleanup
      miramems,da280
      - Use i2c_get_match_data() to replace hand rolled ACPI matching code.
      semtech,sx9324
      - Avoid unnecessary copying of property strings.
      st,lsm6dsx
      - Improve docs, particularly wrt to making addition of new device
        support less noisy.
      st,lsm9ds0
      - Use dev_err_probe() in all probe() error handling.
      - Improved header includes.
      - Tidy up termination of ID tables.
      ti,ads1014
      - Correct upper bound on PGA (wrong value had no actual impact)
      ti,afe4403/4404
      - devm_ useage to simplify error handling in probe() and allow() remove to
        be dropped.
      voltage-divider
      - Add dt-binding for io-channel-cells to allow such a device to be both
        an IIO consumer and IIO producer at the same time.
      
      * tag 'iio-for-6.9a' of http://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio: (106 commits)
        iio: imu: bmi323: Add ACPI Match Table
        iio: accel: bmc150: Document duplicate ACPI entries with bmi323 driver
        iio: adc: ti-ads1298: Add driver
        dt-bindings: iio: adc: ti-ads1298: Add bindings
        iio: pressure: hsc030pa add triggered buffer
        iio: pressure: hsc030pa add mandatory delay
        iio: pressure: hsc030pa: update datasheet URLs
        iio: pressure: hsc030pa: include cleanup
        iio: pressure: hsc030pa: use signed type to hold div_64() result
        dt-bindings: iio: pressure: honeywell,hsc030pa.yaml add spi props
        iio: st_sensors: lsm9ds0: Use common style for terminator in ID tables
        iio: st_sensors: lsm9ds0: Don't use "proxy" headers
        iio: st_sensors: lsm9ds0: Use dev_err_probe() everywhere
        iio: adc: adi-axi-adc: move to backend framework
        iio: adc: ad9467: convert to backend framework
        iio: add the IIO backend framework
        iio: buffer-dmaengine: export buffer alloc and free functions
        of: property: add device link support for io-backends
        dt-bindings: adc: axi-adc: update bindings for backend framework
        dt-bindings: adc: ad9467: add new io-backend property
        ...
      d4551c18
  3. 19 Feb, 2024 22 commits
  4. 18 Feb, 2024 8 commits
  5. 17 Feb, 2024 3 commits
    • Linus Torvalds's avatar
      Merge tag 'bcachefs-2024-02-17' of https://evilpiepirate.org/git/bcachefs · f2667e0c
      Linus Torvalds authored
      Pull bcachefs fixes from Kent Overstreet:
       "Mostly pretty trivial, the user visible ones are:
      
         - don't barf when replicas_required > replicas
      
         - fix check_version_upgrade() so it doesn't do something nonsensical
           when we're downgrading"
      
      * tag 'bcachefs-2024-02-17' of https://evilpiepirate.org/git/bcachefs:
        bcachefs: Fix missing va_end()
        bcachefs: Fix check_version_upgrade()
        bcachefs: Clamp replicas_required to replicas
        bcachefs: fix missing endiannes conversion in sb_members
        bcachefs: fix kmemleak in __bch2_read_super error handling path
        bcachefs: Fix missing bch2_err_class() calls
      f2667e0c
    • Linus Torvalds's avatar
      Merge tag 'driver-core-6.8-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core · ced59052
      Linus Torvalds authored
      Pull driver core fixes from Greg KH:
       "Here are some driver core fixes, a kobject fix, and a documentation
        update for 6.8-rc5. In detail these changes are:
      
         - devlink fixes for reported issues with 6.8-rc1
      
         - topology scheduling regression fix that has been reported by many
      
         - kobject loosening of checks change in -rc1 is now reverted as some
           codepaths seemed to need the checks
      
         - documentation update for the CVE process. Has been reviewed by
           many, the last minute change to the document was to bring the .rst
           format back into the the new style rules, the contents did not
           change.
      
        All of these, except for the documentation update, have been in
        linux-next for over a week. The documentation update has been reviewed
        for weeks by a group of developers, and in public for a week and the
        wording has stabilized for now. If future changes are needed, we can
        do so before 6.8-final is out (or anytime after that)"
      
      * tag 'driver-core-6.8-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core:
        Documentation: Document the Linux Kernel CVE process
        Revert "kobject: Remove redundant checks for whether ktype is NULL"
        driver core: fw_devlink: Improve logs for cycle detection
        driver core: fw_devlink: Improve detection of overlapping cycles
        driver core: Fix device_link_flag_is_sync_state_only()
        topology: Set capacity_freq_ref in all cases
      ced59052
    • Linus Torvalds's avatar
      Merge tag 'char-misc-6.8-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc · 7efc0eb8
      Linus Torvalds authored
      Pull char / miscdriver fixes from Greg KH:
       "Here is a small set of char/misc and IIO driver fixes for 6.8-rc5.
      
        Included in here are:
      
         - lots of iio driver fixes for reported issues
      
         - nvmem device naming fixup for reported problem
      
         - interconnect driver fixes for reported issues
      
        All of these have been in linux-next for a while with no reported the
        issues (the nvmem patch was included in a different branch in
        linux-next before sent to me for inclusion here)"
      
      * tag 'char-misc-6.8-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (21 commits)
        nvmem: include bit index in cell sysfs file name
        iio: adc: ad4130: only set GPIO_CTRL if pin is unused
        iio: adc: ad4130: zero-initialize clock init data
        interconnect: qcom: x1e80100: Add missing ACV enable_mask
        interconnect: qcom: sm8650: Use correct ACV enable_mask
        iio: accel: bma400: Fix a compilation problem
        iio: commom: st_sensors: ensure proper DMA alignment
        iio: hid-sensor-als: Return 0 for HID_USAGE_SENSOR_TIME_TIMESTAMP
        iio: move LIGHT_UVA and LIGHT_UVB to the end of iio_modifier
        staging: iio: ad5933: fix type mismatch regression
        iio: humidity: hdc3020: fix temperature offset
        iio: adc: ad7091r8: Fix error code in ad7091r8_gpio_setup()
        iio: adc: ad_sigma_delta: ensure proper DMA alignment
        iio: imu: adis: ensure proper DMA alignment
        iio: humidity: hdc3020: Add Makefile, Kconfig and MAINTAINERS entry
        iio: imu: bno055: serdev requires REGMAP
        iio: magnetometer: rm3100: add boundary check for the value read from RM3100_REG_TMRC
        iio: pressure: bmp280: Add missing bmp085 to SPI id table
        iio: core: fix memleak in iio_device_register_sysfs
        interconnect: qcom: sm8550: Enable sync_state
        ...
      7efc0eb8