Re: [PATCH] gpiolib: return quietly from gpiod_get_direction() without .get_direction()
From: Mehmet Fide
Date: Thu Aug 20 2026 - 07:13:08 EST
Hello,
A gentle ping on this one, sent a week ago and I have not seen a reply:
https://lore.kernel.org/linux-gpio/20260813193715.2346477-1-mehmet.fide@xxxxxxxxx/
To recap: gpiod_get_direction() warns when a chip has no .get_direction(),
which is a legitimate thing for a chip to lack. On vf610 the direction is
not in the GPIO block at all, it is a bit of the pinmux pad register, so
the driver cannot implement the callback and every caller that asks for a
direction produces a WARN.
Happy to respin or take a different approach if you would rather solve it
elsewhere.
Best regards,
Mehmet Fide