• Linus Torvalds's avatar
    Merge tag 'gpio-v5.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio · a409ed15
    Linus Torvalds authored
    Pull GPIO updates from Linus Walleij:
     "This is the bulk of the GPIO changes for the v5.11 kernel cycle:
    
      Core changes:
    
       - Retired the old set-up function for GPIO IRQ chips. All chips now
         use the template struct gpio_irq_chip and pass that to the core to
         be set up alongside the gpio_chip. We can finally get rid of the
         old cruft.
    
       - Some refactoring and clean up of the core code.
    
       - Support edge event timestamps to be stamped using REALTIME (wall
         clock) timestamps. We have found solid use cases for this, so we
         support it.
    
      New drivers:
    
       - MStar MSC313 GPIO driver.
    
       - HiSilicon GPIO driver.
    
      Driver improvements:
    
       - The PCA953x driver now also supports the NXP PCAL9554B/C chips.
    
       - The mockup driver can now be probed from the device tree which is
         pretty useful for virtual prototyping of devices.
    
       - The Rcar driver now supports .get_multiple()
    
       - The MXC driver dropped some legacy and became a pure device tree
         client.
    
       - The Exar driver was moved over to the IDA interface for
         enumerating, and also switched over to using regmap for register
         access"
    
    * tag 'gpio-v5.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio: (87 commits)
      MAINTAINERS: Remove reference to non-existing file
      gpio: hisi: Do not require ACPI for COMPILE_TEST
      MAINTAINERS: Add maintainer for HiSilicon GPIO driver
      gpio: gpio-hisi: Add HiSilicon GPIO support
      gpio: cs5535: Simplify the return expression of cs5535_gpio_probe()
      gpiolib: irq hooks: fix recursion in gpiochip_irq_unmask
      dt-bindings: mt7621-gpio: convert bindings to YAML format
      gpiolib: cdev: Flag invalid GPIOs as used
      gpio: put virtual gpio device into their own submenu
      drivers: gpio: amd8111: use SPDX-License-Identifier
      drivers: gpio: amd8111: prefer dev_err()/dev_info() over raw printk
      drivers: gpio: bt8xx: prefer dev_err()/dev_warn() over of raw printk
      gpio: Add TODO item for debugfs interface
      gpio: just plain warning when nonexisting gpio requested
      tools: gpio: add option to report wall-clock time to gpio-event-mon
      tools: gpio: add support for reporting realtime event clock to lsgpio
      gpiolib: cdev: allow edge event timestamps to be configured as REALTIME
      gpio: msc313: MStar MSC313 GPIO driver
      dt-bindings: gpio: Binding for MStar MSC313 GPIO controller
      dt-bindings: gpio: Add a binding header for the MSC313 GPIO driver
      ...
    a409ed15
gpiolib.c 116 KB