diff options
author | Jagan Teki <jagan@edgeble.ai> | 2022-08-18 14:41:20 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2022-08-22 09:51:08 +0200 |
commit | fd4ea48688c662593eb64ddf44d4a17173661672 (patch) | |
tree | 1baae228f091a704c03a17e762ed985b7ccdd475 /drivers/pinctrl/pinctrl-rockchip.h | |
parent | dt-bindings: pinctrl: rockchip: Document RV1126 pinctrl (diff) | |
download | linux-fd4ea48688c662593eb64ddf44d4a17173661672.tar.xz linux-fd4ea48688c662593eb64ddf44d4a17173661672.zip |
pinctrl: rockchip: Add RV1126 pinctrl support
RV1126 has five GPIOs groups - GPIO0 in PD_MMU and GPIO1-4
in PD_BUS.
In GPIO0, up to Lower C group GPIO0_C[3:0] is part of PMU
but rest of the groups from there are part of GRF.
Added pinctrl support for RV1126 and the pull, drv and schmitt
calculations are inferred from [1] authored by Jianqun Xu.
[1] https://github.com/rockchip-linux/kernel/blob/develop-4.19/drivers/pinctrl/pinctrl-rockchip.c
Cc: linux-gpio@vger.kernel.org
Cc: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Signed-off-by: Jagan Teki <jagan@edgeble.ai>
Link: https://lore.kernel.org/r/20220818124132.125304-8-jagan@edgeble.ai
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-rockchip.h')
-rw-r--r-- | drivers/pinctrl/pinctrl-rockchip.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pinctrl/pinctrl-rockchip.h b/drivers/pinctrl/pinctrl-rockchip.h index ec46f8815ac9..4759f336941e 100644 --- a/drivers/pinctrl/pinctrl-rockchip.h +++ b/drivers/pinctrl/pinctrl-rockchip.h @@ -186,6 +186,7 @@ enum rockchip_pinctrl_type { PX30, RV1108, + RV1126, RK2928, RK3066B, RK3128, |