]> www.infradead.org Git - users/jedix/linux-maple.git/commit
pinctrl: rockchip: use dedicated pinctrl type for RK3328
authorHuang-Huang Bao <i@eh5.me>
Thu, 6 Jun 2024 12:57:54 +0000 (20:57 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 17 Jun 2024 08:36:56 +0000 (10:36 +0200)
commit01b4b1d1cec48ef4c26616c2fc4600b2c9fec05a
treeba0991a1c34550f6c806187995bd1379ff9dfb30
parent5ef6914e0bf578357b4c906ffe6b26e7eedb8ccf
pinctrl: rockchip: use dedicated pinctrl type for RK3328

rk3328_pin_ctrl uses type of RK3288 which has a hack in
rockchip_pinctrl_suspend and rockchip_pinctrl_resume to restore GPIO6-C6
at assume, the hack is not applicable to RK3328 as GPIO6 is not even
exist in it. So use a dedicated pinctrl type to skip this hack.

Fixes: 3818e4a7678e ("pinctrl: rockchip: Add rk3328 pinctrl support")
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Huang-Huang Bao <i@eh5.me>
Link: https://lore.kernel.org/r/20240606125755.53778-4-i@eh5.me
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-rockchip.c
drivers/pinctrl/pinctrl-rockchip.h