Re: [PATCH v2 08/24] gpio: Add ZTE ZX279128S GPIO driver

From: Navid Ghahremani

Date: Fri Nov 13 2026 - 01:11:57 EST


Hi Stefan,

Stefan Dösinger wrote:
> Fyi, there is also Documentation/devicetree/bindings/gpio/gpio-mmio.yaml,
> which allows you to put this directly into the DTS without a driver shim.

I looked at it. gpio-mmio.yaml has no clocks property, and on this SoC
the GPIO bank has a register clock gate in lsp0crpm. If no driver holds
that clock, the clock framework turns it off as unused at the end of
boot, so I would rather keep the small driver.

The other open question is the IRQs. You and Linus talked in the RFC
thread about whether this GPIO block has working IRQs. I have not
tested that yet and will reply in that thread once I have.

Best regards,
Navid