[PATCH v3 00/11] gpio: vf610: fix clocks and misc cleanup

From: Peng Fan (OSS)

Date: Wed Nov 04 2026 - 23:25:04 EST


Per i.MX8ULP/93/95 and etc reference mannual, there is only one
clock for a GPIO controller, so drop the 2nd 'port' clock.
And for i.MX8ULP, the 'port' clock is for digital filter for iomuxc
PAD, not for gpio controller. If we need to support digital filter,
we need to add the support in pinctrl driver.

With binding fixed, to avoid dt-schema failure, correct gpio node for
i.MX8ULP/93/95/94/952.

While at here, a few misc gpio driver cleanup patches are also
included, more info could be found in each commit log.

Signed-off-by: Peng Fan <peng.fan@xxxxxxx>
---
Changes in v3:
- patch 1: update dt-binding to include vf610 clocks rules, update commit
- patch 6: update commit and subject for MAINTAINER update.
- patch 2, 3: Add () for functions in subject
- Link to v2: https://patch.msgid.link/20261103-gpio-vf610-fixes-v2-0-7c71fb36e184@xxxxxxx

Changes in v2:
- Drop patch 2 "gpio: vf610: propagate return value to callers"
- Add R-b
- Minor subject/commit style change per Frank and Krzysztof.
- Rebase to linux-next/master
- Link to v1: https://patch.msgid.link/20261029-gpio-vf610-fixes-v1-0-45b484b4c434@xxxxxxx

---
Peng Fan (11):
dt-bindings: gpio: vf610: fix clock requirements per SoC
gpio: vf610: simplify with irq_set_irq_wake()
gpio: vf610: use devm_clk_get_optional_enabled() for clock handling
gpio: vf610: drop unneeded header
gpio: vf610: drop unnecessary wrappers
MAINTAINERS: Add VF610 GPIO driver support
arm64: dts: imx8ulp: fix gpio clocks
arm64: dts: imx93: fix gpio clocks
arm64: dts: imx95: fix gpio clocks
arm64: dts: imx952: fix gpio clocks
arm64: dts: imx94: add clocks for gpio controller

.../devicetree/bindings/gpio/gpio-vf610.yaml | 41 ++++++++++++
MAINTAINERS | 2 +
arch/arm64/boot/dts/freescale/imx8ulp.dtsi | 15 ++---
arch/arm64/boot/dts/freescale/imx91_93_common.dtsi | 20 +++---
arch/arm64/boot/dts/freescale/imx94.dtsi | 12 ++++
arch/arm64/boot/dts/freescale/imx95.dtsi | 25 +++----
arch/arm64/boot/dts/freescale/imx952.dtsi | 25 +++----
drivers/gpio/gpio-vf610.c | 78 +++++-----------------
8 files changed, 107 insertions(+), 111 deletions(-)
---
base-commit: 8b7179210b22f8e48a82c5ceacb9d56a9c4cfec4
change-id: 20261029-gpio-vf610-fixes-c56439785fcd

Best regards,
--
Peng Fan <peng.fan@xxxxxxx>