summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/pinctrl-rockchip.h
Commit message (Collapse)AuthorAgeFilesLines
* gpio/rockchip: support next version gpio controllerJianqun Xu2021-08-171-0/+2
| | | | | | | | | The next version gpio controller on SoCs like rk3568 have more write mask bits for registers. Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com> Link: https://lore.kernel.org/r/20210816012123.1119179-1-jay.xu@rock-chips.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
* gpio/rockchip: use struct rockchip_gpio_regs for gpio controllerJianqun Xu2021-08-171-0/+38
| | | | | | | | | | Store register offsets in the struct rockchip_gpio_regs, this patch prepare for the driver update for new gpio controller. Reviewed-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com> Link: https://lore.kernel.org/r/20210816012111.1119125-1-jay.xu@rock-chips.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
* pinctrl/rockchip: add pinctrl device to gpio bank structJianqun Xu2021-08-171-0/+2
| | | | | | | | Store a pointer from the pinctrl device for the gpio bank. Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com> Link: https://lore.kernel.org/r/20210816011948.1118959-4-jay.xu@rock-chips.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
* pinctrl/rockchip: separate struct rockchip_pin_bank to a head fileJianqun Xu2021-08-171-0/+245
Separate struct rockchip_pin_bank to pinctrl-rockchip.h file, which will be used by gpio-rockchip driver in the future. Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com> Link: https://lore.kernel.org/r/20210816011948.1118959-3-jay.xu@rock-chips.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>