• Linus Torvalds's avatar
    Merge tag 'gpio-updates-for-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux · c288ea67
    Linus Torvalds authored
    Pull gpio updates from Bartosz Golaszewski:
     "The gpio-sim module is back, this time without any changes to
      configfs. This results in a less elegant user-space interface but I
      never got any follow-up on the committable items and didn't want to
      delay this module for several more months.
    
      Other than that we have support for several new models and some
      support going away. We started working on converting GPIO drivers to
      using fwnode exclusively in order to limit references to OF symbols to
      gpiolib-of.c exclusively. We also have regular tweaks and improvements
      all over the place.
    
      Summary:
    
       - new testing module: gpio-sim that is scheduled to replace
         gpio-mockup
    
       - initial changes aiming at converting all GPIO drivers to using the
         fwnode interface and limiting any references to OF symbols to
         gpiolib-of.c
    
       - add support for Tegra234 and Tegra241 to gpio-tegra186
    
       - add support for new models (SSD201 and SSD202D) to gpio-msc313
    
       - add basic support for interrupts to gpio-aggregator
    
       - add support for AMDIF031 HID device to gpio-amdpt
    
       - drop support for unused platforms in gpio-xlp
    
       - cleanup leftovers from the removal of the legacy Samsung Exynos
         GPIO driver
    
       - use raw spinlocks in gpio-aspeed and gpio-aspeed-sgpio to make
         PREEMPT_RT happy
    
       - generalize the common 'ngpios' device property by reading it in the
         core gpiolib code so that we can remove duplicate reads from
         drivers
    
       - allow line names from device properties to override names set by
         drivers
    
       - code shrink in gpiod_add_lookup_table()
    
       - add new model to the DT bindings for gpio-vf610
    
       - convert DT bindings for tegra devices to YAML
    
       - improvements to interrupt handling in gpio-rcar and gpio-rockchip
    
       - updates to intel drivers from Andy (details in the merge commit)
    
       - some minor tweaks, improvements and coding-style fixes all around
         the subsystem"
    
    * tag 'gpio-updates-for-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux: (59 commits)
      gpio: rcar: Propagate errors from devm_request_irq()
      gpio: rcar: Use platform_get_irq() to get the interrupt
      gpio: ts5500: Use platform_get_irq() to get the interrupt
      gpio: dwapb: Switch to use fwnode instead of of_node
      gpiolib: acpi: make fwnode take precedence in struct gpio_chip
      dt-bindings: gpio: samsung: drop unused bindings
      gpio: max3191x: Use bitmap_free() to free bitmap
      gpio: regmap: Switch to use fwnode instead of of_node
      gpio: tegra186: Add support for Tegra241
      dt-bindings: gpio: Add Tegra241 support
      gpio: brcmstb: Use local variable to access OF node
      gpio: Remove unused local OF node pointers
      gpio: sim: add missing fwnode_handle_put() in gpio_sim_probe()
      gpio: msc313: Add support for SSD201 and SSD202D
      gpio: msc313: Code clean ups
      dt-bindings: gpio: msc313: Add offsets for ssd20xd
      dt-bindings: gpio: msc313: Add compatible for ssd20xd
      gpio: sim: fix uninitialized ret variable
      gpio: Propagate firmware node from a parent device
      gpio: Setup parent device and get rid of unnecessary of_node assignment
      ...
    c288ea67
gpio-aspeed-sgpio.c 14.7 KB