1. 19 May, 2022 1 commit
    • Greg Kroah-Hartman's avatar
      Merge tag 'iio-for-5.19a' of... · bcfa9546
      Greg Kroah-Hartman authored
      Merge tag 'iio-for-5.19a' of https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into char-misc-next
      
      Jonathan writes:
      
      First set of IIO new device support, features and cleanup for 5.19
      
      Usual mixed bag. Stand out this time is Andy Shevchenko's continuing
      effort to move drivers over the generic firmware interfaces.
      
      Device support
      * sprd,sc2720
        - upm9620 binding addition.
        - Refactor and support for sc2720, sc2721 and sc2730.
      * ti,ads1015
        - Refactor driver and add support for TLA2024.
      
      Device support (IDs only)
      * invensense,mpu6050
        - Add ID for ICM-20608-D.
      * st,accel:
        -  Add ID for lis302dl.
      * st,lsm6dsx
        - Add support for ASM330LHHX (can fallback to LSM6DSR.)
      
      Features
      * convert drivers to device properties
        - IIO core
        - adi,ad7266
        - adi,adis16480
        - adi,adxl355
        - bosch,bmi160
        - domintech,dmard06
        - fsl,fxas21002c
        - invensense,mpu3050
        - linear,ltc2983
        - linear,ltc2632
        - maxbotix,mb1232
        - maxim,max31856
        - maxim,max31865
        - multiplexer
        - ping
        - rescale
        - taos,tsl2772
      * core
        - Add runtime check on whether realbits fit in storagebits for each
          channel.
      * adi,ad_sigma_delta
        - Add sequencer support and relevant update_scan_mode callbacks for
          adi,ad7192 and adi,ad7124.
      
      Cleanup and minor fixes
      * MAINTAINERS
        - Update Lorenzo Bianconi's email address for IIO drivers.
        - Add entry for ad3552r and update maintainer in dt-binding doc.
      * tree-wide
        - Replace strtobool() with kstrtobool().
        - Drop false OF dependencies.
      * core
        - Tidy up and document IIO modes.
        - Take iio_buffer_enabled() out of header allowing current_mode to be
          moved to the opaque structure.
        - As all kfifo buffers use the same mode value, drop that parameter
          and set it unconditionally.
        - White space fixes and similar.
        - Drop use of list iterator variable for
          list_for_each_entry_continue_reverse and use list_prepare_entry to
          restart.
      * sysfs-trigger
        - Replace use of 'found' variable with dedicate list iterator variable.
      * adi,ad7124
        - Drop misleading shift.
      * adi,ad2s1210
        - Remove redundant local variable assignment.
      * adi,adis16480
        - Use local device pointer to reduce repetition.
        - Improve handling of clocks.
      * domintech,dmard09
        - White space.
      * dummy driver
        - Improve error handling.
      * fsl,mma8452
        - Add missing documentation of name element.
      * invensense,mpu3050
        - Stop remove() returning non 0.
      * kionix,kxsd9
        - White space.
      * linear,ltc2688
        - Use local variable for struct device.
        - Combine of_node_put() error handling paths.
      * linear,ltc2983
        - Avoid use of constants in messages where a define is available.
      * microchip,mcp4131
        - Fix compatible in dt example.
      * pni,rm3100
        - Stop directly accessing iio_dev->current_mode just to find out
          if the buffer is enabled.
      * renesas,rzg2l
        - Relax kconfig constraint to include newer devices.
      * sprd,sc27xx
        - Fix wrong scaling mask.
        - Improve the calibration values.
      * samsung,ssp
        - Replace a 'found' variable in favor of an explicit value that was
          found.
      * sensortek,stk3xx
        - Add proximity-near-level binding and driver support.
      * st,st_sensors:
        - Drop unused accel_type enum.
        - Return early in *_write_raw()
        - Drop unnecessary locking in _avail functions.
        - Add local lock to protect odr against concurrent updates allowing
          mlock to no longer be used outside of the core.
        - Use iio_device_claim_direct_mode() rather than racy checking of
          the current mode.
      * st,stmpe-adc
        - Fix checks on wait_for_completion_timeout().
        - Allow use of of_device_id for matching.
      * st,stm32-dfsdm
        - Stop accessing iio_dev->current_mode to find out if the buffer
          is enabled (so we can hide that variable in the opaque structure)
      * st,vl53l0x
        - Fix checks on wait_for_completion_timeout.
      * ti,ads1015
        - Add missing ID for ti,ads1115 in binding doc.
        - Convert from repeated chip ID look up to selecting static const
          data.
        - Switch to read_avail() callback.
      * ti,ads8688
        - Use of_device_id for driver matching.
      * ti,palmas-adc
        - Drop a warning on minor calibration mismatch leading to slightly
          negative values after applying the calibration.
      
      * tag 'iio-for-5.19a' of https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio: (95 commits)
        iio: ti-ads8688: use of_device_id for OF matching
        iio: stmpe-adc: use of_device_id for OF matching
        dt-bindings: iio: Fix incorrect compatible strings in examples
        iio: gyro: mpu3050: Make mpu3050_common_remove() return void
        iio: dac: ltc2632: Make use of device properties
        iio: temperature: max31865: Make use of device properties
        iio: proximity: mb1232: Switch to use fwnode_irq_get()
        iio: imu: adis16480: Improve getting the optional clocks
        iio: imu: adis16480: Use temporary variable for struct device
        iio: imu: adis16480: Make use of device properties
        staging: iio: ad2s1210: remove redundant assignment to variable negative
        iio: adc: sc27xx: add support for PMIC sc2730
        iio: adc: sc27xx: add support for PMIC sc2720 and sc2721
        iio: adc: sc27xx: refactor some functions for support more PMiCs
        iio: adc: sc27xx: structure adjustment and optimization
        iio: adc: sc27xx: Fine tune the scale calibration values
        iio: adc: sc27xx: fix read big scale voltage not right
        dt-bindings:iio:adc: add sprd,ump9620-adc dt-binding
        iio: proximity: stk3310: Export near level property for proximity sensor
        dt-bindings: iio: light: stk33xx: Add proximity-near-level
        ...
      bcfa9546
  2. 09 May, 2022 24 commits
  3. 02 May, 2022 1 commit
  4. 01 May, 2022 9 commits
  5. 30 Apr, 2022 5 commits
    • Linus Torvalds's avatar
      Merge tag 'driver-core-5.18-rc5' of... · 57ae8a49
      Linus Torvalds authored
      Merge tag 'driver-core-5.18-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core
      
      Pull driver core fixes from Greg KH:
       "Here are some small driver core and kernfs fixes for some reported
        problems. They include:
      
         - kernfs regression that is causing oopses in 5.17 and newer releases
      
         - topology sysfs fixes for a few small reported problems.
      
        All of these have been in linux-next for a while with no reported
        issues"
      
      * tag 'driver-core-5.18-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core:
        kernfs: fix NULL dereferencing in kernfs_remove
        topology: Fix up build warning in topology_is_visible()
        arch_topology: Do not set llc_sibling if llc_id is invalid
        topology: make core_mask include at least cluster_siblings
        topology/sysfs: Hide PPIN on systems that do not support it.
      57ae8a49
    • Linus Torvalds's avatar
      Merge tag 'char-misc-5.18-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc · e2e5ebec
      Linus Torvalds authored
      Pull char/misc driver fixes from Greg KH:
       "Here are a small number of char/misc/other driver fixes for 5.18-rc5
      
        Nothing major in here, this is mostly IIO driver fixes along with some
        other small things:
      
         - at25 driver fix for systems without a dma-able stack
      
         - phy driver fixes for reported issues
      
         - binder driver fixes for reported issues
      
        All of these have been in linux-next without any reported problems"
      
      * tag 'char-misc-5.18-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (31 commits)
        eeprom: at25: Use DMA safe buffers
        binder: Gracefully handle BINDER_TYPE_FDA objects with num_fds=0
        binder: Address corner cases in deferred copy and fixup
        phy: amlogic: fix error path in phy_g12a_usb3_pcie_probe()
        iio: imu: inv_icm42600: Fix I2C init possible nack
        iio: dac: ltc2688: fix voltage scale read
        interconnect: qcom: sdx55: Drop IP0 interconnects
        interconnect: qcom: sc7180: Drop IP0 interconnects
        phy: ti: Add missing pm_runtime_disable() in serdes_am654_probe
        phy: mapphone-mdm6600: Fix PM error handling in phy_mdm6600_probe
        phy: ti: omap-usb2: Fix error handling in omap_usb2_enable_clocks
        bus: mhi: host: pci_generic: Flush recovery worker during freeze
        bus: mhi: host: pci_generic: Add missing poweroff() PM callback
        phy: ti: tusb1210: Fix an error handling path in tusb1210_probe()
        phy: samsung: exynos5250-sata: fix missing device put in probe error paths
        phy: samsung: Fix missing of_node_put() in exynos_sata_phy_probe
        phy: ti: Fix missing of_node_put in ti_pipe3_get_sysctrl()
        phy: ti: tusb1210: Make tusb1210_chg_det_states static
        iio:dac:ad3552r: Fix an IS_ERR() vs NULL check
        iio: sx9324: Fix default precharge internal resistance register
        ...
      e2e5ebec
    • Linus Torvalds's avatar
      Merge tag 'tty-5.18-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty · a6b5c5dc
      Linus Torvalds authored
      Pull tty/serial fixes from Greg KH:
       "Here are some small serial driver fixes, and a larger number of GSM
        line discipline fixes for 5.18-rc5.
      
        These include:
      
         - lots of tiny n_gsm fixes for issues to resolve a number of reported
           problems. Seems that people are starting to actually use this code
           again.
      
         - 8250 driver fixes for some devices
      
         - imx serial driver fix
      
         - amba-pl011 driver fix
      
        All of these have been in linux-next for a while with no reported
        issues"
      
      * tag 'tty-5.18-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty: (27 commits)
        tty: n_gsm: fix sometimes uninitialized warning in gsm_dlci_modem_output()
        serial: 8250: Correct the clock for EndRun PTP/1588 PCIe device
        serial: 8250: Also set sticky MCR bits in console restoration
        tty: n_gsm: fix software flow control handling
        tty: n_gsm: fix invalid use of MSC in advanced option
        tty: n_gsm: fix broken virtual tty handling
        Revert "serial: sc16is7xx: Clear RS485 bits in the shutdown"
        tty: n_gsm: fix missing update of modem controls after DLCI open
        serial: 8250: Fix runtime PM for start_tx() for empty buffer
        serial: imx: fix overrun interrupts in DMA mode
        serial: amba-pl011: do not time out prematurely when draining tx fifo
        tty: n_gsm: fix incorrect UA handling
        tty: n_gsm: fix reset fifo race condition
        tty: n_gsm: fix missing tty wakeup in convergence layer type 2
        tty: n_gsm: fix wrong signal octets encoding in MSC
        tty: n_gsm: fix wrong command frame length field encoding
        tty: n_gsm: fix wrong command retry handling
        tty: n_gsm: fix missing explicit ldisc flush
        tty: n_gsm: fix wrong DLCI release order
        tty: n_gsm: fix insufficient txframe size
        ...
      a6b5c5dc
    • Linus Torvalds's avatar
      Merge tag 'usb-5.18-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb · da1b4042
      Linus Torvalds authored
      Pull USB fixes from Greg KH:
       "Here are a number of small USB driver fixes for 5.18-rc5 for some
        reported issues and new quirks. They include:
      
         - dwc3 driver fixes
      
         - xhci driver fixes
      
         - typec driver fixes
      
         - new usb-serial driver ids
      
         - added new USB devices to existing quirk tables
      
         - other tiny fixes
      
        All of these have been in linux-next for a while with no reported
        issues"
      
      * tag 'usb-5.18-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (31 commits)
        usb: phy: generic: Get the vbus supply
        usb: dwc3: gadget: Return proper request status
        usb: dwc3: pci: add support for the Intel Meteor Lake-P
        usb: dwc3: core: Only handle soft-reset in DCTL
        usb: gadget: configfs: clear deactivation flag in configfs_composite_unbind()
        usb: misc: eud: Fix an error handling path in eud_probe()
        usb: core: Don't hold the device lock while sleeping in do_proc_control()
        usb: dwc3: Try usb-role-switch first in dwc3_drd_init
        usb: dwc3: core: Fix tx/rx threshold settings
        usb: mtu3: fix USB 3.0 dual-role-switch from device to host
        xhci: Enable runtime PM on second Alderlake controller
        usb: dwc3: fix backwards compat with rockchip devices
        dt-bindings: usb: samsung,exynos-usb2: add missing required reg
        usb: misc: fix improper handling of refcount in uss720_probe()
        USB: Fix ehci infinite suspend-resume loop issue in zhaoxin
        usb: typec: tcpm: Fix undefined behavior due to shift overflowing the constant
        usb: typec: rt1719: Fix build error without CONFIG_POWER_SUPPLY
        usb: typec: ucsi: Fix role swapping
        usb: typec: ucsi: Fix reuse of completion structure
        usb: xhci: tegra:Fix PM usage reference leak of tegra_xusb_unpowergate_partitions
        ...
      da1b4042
    • Linus Torvalds's avatar
      Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · e9512f36
      Linus Torvalds authored
      Pull SCSI fix from James Bottomley:
       "One fix for an endless error loop with the target driver affecting
        tapes"
      
      * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
        scsi: target: pscsi: Set SCF_TREAT_READ_AS_NORMAL flag only if there is valid data
      e9512f36