]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gpio: rockchip: Call pinctrl for gpio config
authorMatthijs Kooijman <matthijs@stdin.nl>
Mon, 2 Mar 2026 20:17:17 +0000 (21:17 +0100)
committerLinus Walleij <linusw@kernel.org>
Tue, 3 Mar 2026 07:35:27 +0000 (08:35 +0100)
commitbf64b1bae2a555043c8360836c6e708339ac078f
tree70e10bc13b1548229d84bb44bdb40f8afd2381d0
parent8f72335002db29fb593f8c2c25761feb3b947eb3
gpio: rockchip: Call pinctrl for gpio config

Pinctrl is responsible for bias settings and possibly other pin config,
so call gpiochip_generic_config to apply such config values. This might
also include settings that pinctrl does not support, but then it can
return ENOTSUPP as appropriate.

Signed-off-by: Matthijs Kooijman <matthijs@stdin.nl>
Signed-off-by: Linus Walleij <linusw@kernel.org>
drivers/gpio/gpio-rockchip.c