Re: [PATCH v5 07/12] gpio: regmap: add the .fixed_direction_output configuration parameter
From: Michael Walle
Date: Mon Sep 22 2025 - 10:32:27 EST
> There are GPIO controllers such as the one present in the LX2160ARDB
> QIXIS FPGA which have fixed-direction input and output GPIO lines mixed
> together in a single register. This cannot be modeled using the
> gpio-regmap as-is since there is no way to present the true direction of
> a GPIO line.
>
> In order to make this use case possible, add a new configuration
> parameter - fixed_direction_output - into the gpio_regmap_config
> structure. This will enable user drivers to provide a bitmap that
> represents the fixed direction of the GPIO lines.
>
> Signed-off-by: Ioana Ciornei <ioana.ciornei@xxxxxxx>
Reviewed-by: Michael Walle <mwalle@xxxxxxxxxx>
Attachment:
signature.asc
Description: PGP signature