summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-qixis-fpga.c
diff options
context:
space:
mode:
authorIoana Ciornei <ioana.ciornei@nxp.com>2025-10-14 18:53:53 +0300
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2025-10-16 13:04:47 +0300
commitae495810cffe29c3c30a757bd48b0bb035fc3098 (patch)
tree5f81421faa1e8795fd28aca1cf472310ff131fa8 /drivers/gpio/gpio-qixis-fpga.c
parentd5896130a8781de5ac8970dbb7083ce4cd6fe57a (diff)
downloadlinux-ae495810cffe29c3c30a757bd48b0bb035fc3098.tar.xz
gpio: regmap: add the .fixed_direction_output configuration parameter
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@nxp.com> Acked-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Reviewed-by: Michael Walle <mwalle@kernel.org> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-qixis-fpga.c')
0 files changed, 0 insertions, 0 deletions