summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/sunxi/Makefile
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2022-07-13 04:52:32 +0200
committerLinus Walleij <linus.walleij@linaro.org>2022-07-18 11:39:33 +0200
commit622b681ef9d9e7d636108cda4e45a2a7695ebe92 (patch)
treec55fd5e6388deb1ef966c72214e6470158a8ce2c /drivers/pinctrl/sunxi/Makefile
parentpinctrl: sunxi: Refactor register/offset calculation (diff)
downloadlinux-622b681ef9d9e7d636108cda4e45a2a7695ebe92.tar.xz
linux-622b681ef9d9e7d636108cda4e45a2a7695ebe92.zip
pinctrl: sunxi: Make some layout parameters dynamic
Starting with the D1/D1s/T113 SoC, Allwinner changed the layout of the pinctrl registers. This new layout widens the drive level field, which affects the pull register offset and the overall bank size. In order to support multiple register layouts, some of the layout parameters need to be set based on the pinctrl variant. This requires passing the pinctrl struct pointer to the register/offset calculation functions. Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com> Reviewed-by: Heiko Stuebner <heiko@sntech.de> Tested-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Samuel Holland <samuel@sholland.org> Link: https://lore.kernel.org/r/20220713025233.27248-6-samuel@sholland.org Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/sunxi/Makefile')
0 files changed, 0 insertions, 0 deletions