Re: [RFC 0/5] microchip mpfs/pic64gx pinctrl questions
From: Linus Walleij
Date: Mon Oct 13 2025 - 09:28:10 EST
On Thu, Oct 9, 2025 at 5:55 PM Conor Dooley <conor@xxxxxxxxxx> wrote:
> So, what I ended up doing is moving the "gpio2" stuff to use
> functions/groups as your gemini stuff does, so each function contains
> one group containing all the pins it needs - except for the gpio
> function which contains analogues for each of the function's groups.
I don't know exactly what you mean by this, but if it entails any
entanglement of the GPIO function with another function, then
there is the recent patch from Bartosz in commit
11aa02d6a9c222260490f952d041dec6d7f16a92
which makes it possible to give the pin control framework
an awareness of what a GPIO function is by reading hardware
properties, and that it is sometimes separate from other functions.
Yours,
Linus Walleij