Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
The purpose of this page is to introduce two methods for interacting with GPIO from user space on Zynq-7000 and Zynq Ultrascale+ MPSoC: the SysFs interface and the Linux kernel drivers (gpio-keys, leds-gpio).The GPIO subsystem is documented in the kernel documentation in Documentation/gpio/.Note: The SysFs driver has been tested and is working. It has been accepted into the mainline kernel and the old char mode GPIO driver that didn't work with arch/powerpc has been removed from the tree.

...

This driver is currently in sync with mainline kernel driver.


Change Log

2024.1

summary

  • restore zynq_gpio_irq_reqres/zynq_gpio_irq_relres callbacks

commits

180b10bgpio: zynq: restore zynq_gpio_irq_reqres/zynq_gpio_irq_relres callbacks

2023.2

summary

  • Fix for zynqmp_gpio not an immutable chip warning
  • Remove unused zynq_gpio_irq_reqres/zynq_gpio_irq_relres

commits

2f674fa - gpio: zynq: fix zynqmp_gpio not an immutable chip warning

f79565a - gpio: synq: remove unused zynq_gpio_irq_reqres/zynq_gpio_irq_relres

2023.1

  • None

2022.2

  • None

2022.1

...

  • None

2020.1

Summary

  • gpio:zynq: Remove error prints in EPROBE_DEFER
  • gpio:zynq:use module_platform_driver to simplify the code

commits

9b515a08 - Remove error prints in EPROBE_DEFER

5230a062 - use module_platform_driver to simplify the code

2019.2

summary

  • gpio: zynq: Add pmc gpio support

commits

9d496bd2 - Add pmc gpio support

2019.1

summary:

  • gpio: zynq: Configured zynq gpio's in boot loader stage.
  • gpio: zynq: Added support runtime PM for GPIO
  • gpio: zynq: Disable the irq if it is not a wakeup source

commits:

81e13db - Report gpio direction at boot

d2fe433 - properly support runtime PM for GPIO used as interrupts

65b9290 - Disable the irq if it is not a wakeup source

2018.3

Summary:
  • Remove call to platform_get_irq
  • simplifly getting drvdata
  • Setup chip->base based on alias ID
Commits:

52b64a2 - gpio: zynq: Remove call to platform_get_irq 

eb816d4 - gpio: zynq: simplifly getting drvdata

5dd4162 - gpio: zynq: Setup chip->base based on alias ID

2018.2
Summary:

  • Protect direction in/out with a spinlock

...