[PATCH v3 0/7] pinctrl: ingenic: Add X2600 support
From: H. Nikolaus Schaller
Date: Wed Nov 18 2026 - 02:42:17 EST
PATCH V3 2026-11-18 08:41:40:
This series adds pinctrl and GPIO support for the Lumissil X2600 SoC.
It extends the devicetree bindings, supports the X2600 GPIO register
layout with 0x1000 bank spacing and per-port shadow registers, and adds
pin groups and mux functions.
The series also fixes hardware dual-edge GPIO interrupt handling on
X1600 and X2000 in a separate patch, following review feedback.
X2600 Port E uses different pull enable/selection semantics and has
an additional Schmitt trigger control bit; these are handled separately.
Hardware testing reported by the author:
X1600: GPIO button press/release and dual-edge register readback
X2000: GPIO button press/release and dual-edge register readback
X2600: GPIO button press/release and dual-edge register readback
JZ4780 (CI20): regression testing
Changes since v2:
- suggested by https://sashiko.dev/#/patchset/cover.1794940166.git.hns@xxxxxxxxxxxxx?part=2
- add Fixes: tags
- remove redundant check for is_soc_or_above(jzgc->jzpc, ID_X2000)
PATCH V2 2026-11-17 19:29:26:
Changes since v1:
- Reorder the X1600 and X1830 IDs using Paul Cercueil's change.
- Isolate hardware dual-edge corrections from X2600 support.
- Correct GPIO mux function associations and remove empty lcd-none.
- Adjust UART mux selectors and SLCD pins following review feedback.
- Extend X2600 pull capability masks to documented GPIO pin ranges.
- Handle X2600 Port E pull enable/selection and Schmitt controls.
- Remove redundant X2600 IRQ flag-clear special case.
- Add JZ4780/CI20 regression test coverage.
Thanks to Paul Cercueil for the SoC ID reordering proposal and review,
and to Hunter Laux for reviewing the pinmux definitions and identifying
several incorrect pin assignments. Thanks also to the Sashiko bot for
additional automated review findings.
This series is based on the pinctrl-ingenic driver after Brian Masney's
subsys_platform_driver_probe() conversion, which has already been accepted
upstream.
The author used ChatGPT to assist with source review, patch organization
and commit-message wording. Development and hardware testing was performed
by the author.
PATCH V1 2026-11-13 09:13:47:
This series adds pinctrl and GPIO support for the Lumissil X2600
SoC.
It introduces the devicetree bindings, adapts the register access
and GPIO interrupt handling to the X2600 hardware, and adds the
pin groups and mux functions.
The changes also correct hardware dual-edge GPIO interrupt
configuration on X1600 and X2000.
The updated driver has been tested on X1600, X2000, and X2600
hardware including GPIO dual-edge interrupt handling by a
gpio-button.
The code has been tested by ChatGPT which also helped to formulate
the messages.
H. Nikolaus Schaller (6):
pinctrl: ingenic: Fix hardware dual-edge interrupts on X1600
dt-bindings: pinctrl: ingenic: Add X2600 support
pinctrl: ingenic: Add X2600 register and GPIO IRQ support
pinctrl: ingenic: Add X2600 pin groups and functions
pinctrl: ingenic: Handle X2600 Port E Schmitt trigger
pinctrl: ingenic: Handle X2600 Port E pull configuration
Paul Cercueil (1):
pinctrl: ingenic: Swap ID_X1600 and ID_X1830
.../bindings/pinctrl/ingenic,pinctrl.yaml | 10 +-
drivers/pinctrl/pinctrl-ingenic.c | 650 +++++++++++++++++-
2 files changed, 629 insertions(+), 31 deletions(-)
--
2.56.0