Re: [PATCH v4 2/2] gpio: Add Cortina Systems CS75xx GPIO driver

From: Fil Dunsky

Date: Thu Nov 19 2026 - 06:02:46 EST


Hi Bart,

On Thu, Nov 19, 2026 at 11:32:23AM +0100, Bartosz Golaszewski wrote:
> Can you please address sashiko comments?

Yes. The spurious edge IRQ is fixed in v5: after programming the trigger
and polarity, set_type clears the latched interrupt status before the
line can be unmasked. This was tested on the Almond+ reset button, with
the pin mux configured separately by the test kernel.

ARCH_CORTINA_ACCESS is defined in arch/arm/mach-goldengate/Kconfig by the
CS75xx platform series [1], which is still under review and not in
mainline yet. The GPIO driver has no code dependency on it and can be
built independently with COMPILE_TEST. The architecture symbol allows
enabling the driver normally once the platform support is present.
I have clarified this in the v5 cover letter.

I am sending v5 with the IRQ fix and the updated explanation.

[1] https://lore.kernel.org/all/20261114-b4-cs75xx-v7-0-8f17f38821b4@xxxxxxxxx/

Thanks,
Fil