mirror-linux/include/linux/gpio
Ioana Ciornei 00aaae60fa 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>
2025-10-22 08:52:17 +02:00
..
aspeed.h
consumer.h gpio: constify arguments of gpiod_is_equal() 2025-06-30 08:58:26 +02:00
driver.h gpio: generic: move GPIO_GENERIC_ flags to the correct header 2025-09-24 13:52:35 +02:00
forwarder.h gpio: aggregator: add possibility to attach data to the forwarder 2025-08-11 15:39:31 +02:00
generic.h gpio: generic: move GPIO_GENERIC_ flags to the correct header 2025-09-24 13:52:35 +02:00
gpio-nomadik.h gpio: nomadik: fix the debugfs helper stub 2025-09-17 10:55:57 +02:00
gpio-reg.h
legacy-of-mm-gpiochip.h
machine.h
property.h
regmap.h gpio: regmap: add the .fixed_direction_output configuration parameter 2025-10-22 08:52:17 +02:00