[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20260109-axiado-ax3000-cadence-gpio-support-v2-0-fc1e28edf68a@axiado.com>
Date: Fri, 09 Jan 2026 01:26:05 -0800
From: Swark Yang <syang@...ado.com>
To: Linus Walleij <linus.walleij@...aro.org>,
Bartosz Golaszewski <brgl@...nel.org>
Cc: linux-gpio@...r.kernel.org, linux-kernel@...r.kernel.org,
openbmc@...ts.ozlabs.org, Swark Yang <syang@...ado.com>,
Tzu-Hao Wei <twei@...ado.com>, Linus Walleij <linusw@...nel.org>
Subject: [PATCH v2 0/2] gpio: cadence: Add Axiado AX3000 support and edge
interrupts
This patch series updates the gpio-cadence driver to support the Axiado
AX3000 platform and extends its interrupt capabilities.
On the Axiado AX3000 platform, pinmux and pin configuration (such as
direction and output enable) are configured by the hardware/firmware at
boot time before Linux boots. To support this architecture, this series
introduces a platform-specific quirk to skip default pin initialization
during the probe sequence, preserving the pre-boot configuration.
The series also enables support for edge-triggered interrupts (rising,
falling, and both edges). The Cadence IP6508 hardware supports these
modes via its IRQ registers, but they were previously unimplemented in
the driver.
Patch breakdown:
- Patch 1 adds a quirk for the Axiado AX3000 platform
- Patch 2 enables edge-triggered interrupt support
These patches are expected to go via the GPIO subsystem tree.
Feedback is welcome.
Signed-off-by: Swark Yang <syang@...ado.com>
---
Changes in v2:
- Patch 1: Refactored quirk handling to use "struct cdns_gpio_quirks"
and "device_get_match_data()" instead of bitmasks, as suggested by
Linus Walleij and Bartosz Golaszewski.
- Patch 1: Moved Copyright notice to the correct location.
- Patch 2: Added a comment table explaining the interrupt trigger
behavior, as suggested by Linus Walleij.
- Patch 2: Collected Reviewed-by tag from Linus Walleij.
- Link to v1: https://lore.kernel.org/r/20251222-axiado-ax3000-cadence-gpio-support-v1-0-c9ef8e0d0bce@axiado.com
---
Swark Yang (1):
gpio: cadence: Add quirk for Axiado AX3000 platform
Tzu-Hao Wei (1):
gpio: cadence: Add support for edge-triggered interrupts
drivers/gpio/gpio-cadence.c | 76 ++++++++++++++++++++++++++++++++++++---------
1 file changed, 61 insertions(+), 15 deletions(-)
---
base-commit: 4d70843ea1294cf8ff78492643c73ddbe4663aea
change-id: 20251215-axiado-ax3000-cadence-gpio-support-7549bc46ef48
Best regards,
--
Swark Yang <syang@...ado.com>
Powered by blists - more mailing lists