Hi everybody,
I'm using iMX93QSB and i'm tryng to debug GPIO interface of the processor using prebuild linux image. I would like to change the P2_6 pin of the GPIO expander PCAL6524HEAZ which drives the selection pin fo the TMUX used on the board.
Thanks to the driver I can see the GPIO expander as the gpiochip 4 and I should be able to move the pins by using libgpiod commands like: gpioset -t0 -c 4 22=1 .
But when I try to access to pin 22 (that is corresponding to P2_6) I receive the following message:

so I checked the gpioinfo and I notice pin 22 is used by "consumer = ?":

I cannot understand why isn't possible to change a gpio pin that's routed in order to be a selection pin.


Can you help me? How can I change my selection mode from command line?
Regards,
Roberto