diff options
| author | 2025-02-19 22:04:33 +0100 | |
|---|---|---|
| committer | 2025-02-24 20:49:20 +0100 | |
| commit | 2145ba374069ee8edc9d29c2a6b56fe4a28a6e2d (patch) | |
| tree | 4071a3ab0750bfeb3893ce833062b3759bb26282 /rust/kernel/gpu/ssh:/git@git.zx2c4.com | |
| parent | gpio: virtuser: convert to use dev-sync-probe utilities (diff) | |
gpio: mmio: Add flag for calling pinctrl back-end
It turns out that with this flag we can switch over an entire
driver to use gpio-mmio instead of a bunch of custom code,
also providing get/set_multiple() to it in the process, so it
seems like a reasonable feature to add.
The generic pin control backend requires us to call the
gpiochip_generic_request(), gpiochip_generic_free(),
pinctrl_gpio_direction_output() and pinctrl_gpio_direction_input()
callbacks, so if the new flag for a pin control back-end
is set, we make sure these functions get called as
expected.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20250219-vf610-mmio-v3-1-588b64f0b689@linaro.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'rust/kernel/gpu/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
