[PATCH v4 1/9] gpio: mmio: add BGPIOF_NO_INPUT flag for GPO gpiochip
Linus Walleij
linus.walleij at linaro.org
Thu Jun 5 05:59:34 PDT 2025
On Wed, May 28, 2025 at 3:33 PM Clément Le Goffic
<clement.legoffic at foss.st.com> wrote:
> When using bgpio_init with a gpiochip acting as a GPO (output only), the
> gpiochip ops `direction_input` was set to `bgpio_simple_dir_in` by
> default but we have no input ability.
>
> Adding this flag allows to set a valid ops for the `direction_output`
> ops without setting a valid ops for `direction_input` by default.
>
> Signed-off-by: Clément Le Goffic <clement.legoffic at foss.st.com>
Reviewed-by: Linus Walleij <linus.walleij at linaro.org>
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list