twx-linux/include/linux/gpio
Clément Le Goffic deefc70834 gpio: mmio: add BGPIOF_NO_INPUT flag for GPO gpiochip
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.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Clément Le Goffic <clement.legoffic@foss.st.com>
Link: https://lore.kernel.org/r/20250613-hdp-upstream-v5-1-6fd6f0dc527c@foss.st.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
2025-06-19 09:05:33 +02:00
..
aspeed.h
consumer.h gpio updates for v6.16-rc1 2025-05-27 15:22:01 -07:00
driver.h gpio: mmio: add BGPIOF_NO_INPUT flag for GPO gpiochip 2025-06-19 09:05:33 +02:00
gpio-nomadik.h drivers/gpio/nomadik: move dummy nmk_gpio_dbg_show_one() to header 2024-03-12 12:53:35 +01:00
gpio-reg.h
legacy-of-mm-gpiochip.h
machine.h
property.h spi: Updates for v6.10 2024-05-14 14:41:01 -07:00
regmap.h gpio: regmap: Allow ngpio to be read from the property 2025-02-21 09:42:45 +01:00