Skip to content

vf610: Add GPIO support

Stefan Agner linux-arm-kernel linux-gpio lkml 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest4 patches 4 repliesIn review
  2. v44 patches 1 replySuperseded
  3. v35 patches 5 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v25 patches11 repliesSuperseded
v14 patches10 repliesSuperseded

Changes in v5 from the cover letter

- Rebased on gpio devel branch

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4pinctrl: imx: add gpio pinmux support for vf610drivers/pinctrl/freescale/pinctrl-imx.c+72 -01 reply
2/4gpio: vf610: add gpiolib/IRQ chip driver for Vybriddrivers/gpio/Kconfig drivers/gpio/Makefile drivers/gpio/gpio-vf610.c+303 -01 reply
3/4ARM: dts: vf610: use new GPIO supportarch/arm/boot/dts/vf610-colibri.dtsi arch/arm/boot/dts/vf610-twr.dts arch/arm/boot/dts/vf610.dtsi+11 -01 reply
4/4Documentation: dts: add bindings for Vybrid GPIO/PORT moduleDocumentation/devicetree/bindings/gpio/gpio-vf610.txt+56 -01 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchShawn GuoLinus Walleij
1/4A-b
2/4A-b
3/4A-b
4/4A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/4] vf610: Add GPIO support

Rebased version on top of Linus Walleij's gpio branch.

Shawn, on Friday, Sep 26th you wrote that you applied patch 3/4 (ARM: dts: vf610: use new GPIO support), however it did not yet appear on your dt tree so far, but newer patches already did. Maybe I'm wrong here, but can you check?

Since 3rd version of the GPIO support for Vybrid now also includes the wakeup support which was part of the suspend/resume patchset I sent earlier this week.

Changes in v5:
- Rebased on gpio devel branch

Changes in v4:
- Rebased on pinctrl devel branch (which has one patch already applied hence is not part of this version now)

Changes in v3:
- Configure the pin completely on imx_pmx_gpio_request_enable
- Drop the GPIO_CONTROL flag in favor of using the existing SHARE_MUX_CONF_REG flag
- Extend GPIO driver to also include wakeup support
- Cleanup includes in GPIO driver file
- Add brackets in PORT_PCR define
- Use platform_get_irq in favor of irq_of_parse_and_map
- Use device_initcall instead of subsys_initicall

Changes in v2:
- Use bit operations in GPIO driver
- Use VF610_ prefix for GPIOS_PER_PORT define
- Drop irq in drivers struct
- Use arch/subsys_initicall for GPIO/pinctrl driver
- Fix log message title
- Add documentation for GPIO/PORT module bindings
- Extended GPIO device tree bindings for Colibri VF61

Stefan Agner (4):
pinctrl: imx: add gpio pinmux support for vf610
gpio: vf610: add gpiolib/IRQ chip driver for Vybrid
ARM: dts: vf610: use new GPIO support
Documentation: dts: add bindings for Vybrid GPIO/PORT module

 .../devicetree/bindings/gpio/gpio-vf610.txt        |  56 ++++
 arch/arm/boot/dts/vf610-colibri.dtsi               |   9 +
 arch/arm/boot/dts/vf610-twr.dts                    |   1 +
 arch/arm/boot/dts/vf610.dtsi                       |   1 +
 drivers/gpio/Kconfig                               |   7 +
 drivers/gpio/Makefile                              |   1 +
 drivers/gpio/gpio-vf610.c                          | 295 +++++++++++++++++++++
 drivers/pinctrl/freescale/pinctrl-imx.c            |  72 +++++
 8 files changed, 442 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/gpio/gpio-vf610.txt
 create mode 100644 drivers/gpio/gpio-vf610.c
Signature · 1 line
2.1.2