[PATCH RFC v2 4/5] selftest: gpio: Add wait flag to gpio-mockup-cdev
Linus Walleij
linus.walleij at linaro.org
Mon Oct 28 07:36:37 PDT 2024
On Fri, Oct 25, 2024 at 9:46 PM Nícolas F. R. A. Prado
<nfraprado at collabora.com> wrote:
> Add a -w flag to the gpio-mockup-cdev utility that causes the program to
> wait until a signal is received before exiting, even when its behavior
> is to retrieve the GPIO value of the line. This allows using this
> utility to keep a GPIO line configured even when in input mode, which
> will be relied on in other tests.
>
> Signed-off-by: Nícolas F. R. A. Prado <nfraprado at collabora.com>
Bartosz has to look at this patch!
But overall the idea looks sound to me.
Yours,
Linus Walleij
More information about the Linux-mediatek
mailing list