]> git.dujemihanovic.xyz Git - u-boot.git/commit
pinctrl: rockchip: rv1126: Fix support for IOMUX_L_SOURCE_PMU flag
authorJonas Karlman <jonas@kwiboo.se>
Sun, 12 May 2024 12:16:15 +0000 (12:16 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 14 Jun 2024 09:02:49 +0000 (17:02 +0800)
commit264475514c90de2d432af1953c2d55c86c4e48ac
tree606ade20bd7aed03a2ed1abf7a73a68717e437d5
parent4b488940f5d10833d8bd898db4b7615587a5f86e
pinctrl: rockchip: rv1126: Fix support for IOMUX_L_SOURCE_PMU flag

GPIO0_C0-C4 iomux is set using PMUGRF_GPIO0C_IOMUX_L reg on RV1126. This
is indicated using the IOMUX_L_SOURCE_PMU flag. Fix reading current mux
by fully adopting the IOMUX_L_SOURCE_PMU related code in Linux kernel.

Based on Linux commit fd4ea48688c6 ("pinctrl: rockchip: Add RV1126
pinctrl support").

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
drivers/pinctrl/rockchip/pinctrl-rockchip-core.c