OSDN Git Service

pinctrl/rockchip: support deferring other gpio params
authorCaleb Connolly <kc@postmarketos.org>
Mon, 28 Mar 2022 00:50:02 +0000 (01:50 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 22 Apr 2022 20:55:41 +0000 (22:55 +0200)
commit8ce5ef64546850294b021497046588a7abcebe96
treec0107aa7d42b487facc1093c23f2d4a8888a9059
parentbf3e7f49b49b659aaa0d3b2f231eb18da7794fa2
pinctrl/rockchip: support deferring other gpio params

Add support for deferring other params like PIN_CONFIG_INPUT_ENABLE.
This will be used to add support for PIN_CONFIG_INPUT_ENABLE to the
driver.

Fixes: e7165b1dff06 ("pinctrl/rockchip: add a queue for deferred pin output settings on probe")
Fixes: 59dd178e1d7c ("gpio/rockchip: fetch deferred output settings on probe")
Signed-off-by: Caleb Connolly <kc@postmarketos.org>
Link: https://lore.kernel.org/r/20220328005005.72492-2-kc@postmarketos.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-rockchip.c
drivers/pinctrl/pinctrl-rockchip.c
drivers/pinctrl/pinctrl-rockchip.h