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.Recently sent few patches, Those are applied on mainline, Xilinx 5.10 repo contains those changes.


Change Log

2023.2

    • summary
      • gpio: zynq: fix zynqmp_gpio not an immutable chip warning
      • gpio: synq: remove unused zynq_gpio_irq_reqres/zynq_gpio_irq_relres
    • commits
      • 2f674fa: fix zynqmp_gpio not an immutable chip warning
      • f79565a: remove unused zynq_gpio_irq_reqres/zynq_gpio_irq_relres

2023.1

  • None

2022.2

  • None

2022.1

...

  • Summary
    • 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

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:
    • 81e13dbReport gpio direction at boot
    • d2fe433:  properly support runtime PM for GPIO used as interrupts
    • 65b9290Disable the irq if it is not a wakeup source

2018.3

Summary:
  • gpio: zynq: Remove call to platform_get_irq
  • gpio: zynq: simplifly getting drvdata
  • gpio: zynq: 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:

  • gpio: zynq: protect direction in/out with a spinlock

...