[PATCH v3 2/3] pinctrl: cix: Add pin-controller support for sky1

Linus Walleij linus.walleij at linaro.org
Thu Oct 16 15:51:06 PDT 2025


On Thu, Oct 16, 2025 at 7:41 AM Gary Yang <gary.yang at cixtech.com> wrote:

> GPIO IP on Sky1 is Cadence, not Synopsys designware. We wants to do
> it when upstream GPIO driver in the future.
> Are you agree?

Yes no problem. (I misremembered that it was Cadence, not Synopsys...)

When I look at the Cadence driver I see it needs some modifications
if it should work properly with GPIO ranges and interoperate with
pin controllers. It needs to call gpiochip_generic_request() and
gpiochip_generic_free() from its request/free functions, and
preferably also gpiochip_generic_config() which will extend
the gpiolib to call down to the pin controller and take control
over line properties.

But let's do that in a separate patch!

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list