commit | 6dde4a28993fc95ace3afd676bea18c3530869d1 | [log] [tgz] |
---|---|---|
author | Samuel Holland <samuel@sholland.org> | Wed Oct 20 23:52:55 2021 -0500 |
committer | Andre Przywara <andre.przywara@arm.com> | Sun Jan 30 01:25:00 2022 +0000 |
tree | a8f079bb871c54015f38e2cb1e5b46be2552d7aa | |
parent | 41abadc47017486ccbb5edd6d14048a0b11cd49c [diff] |
sunxi: gpio: Add per-bank drive and pull setters The GPIO and pinctrl drivers need these setters for pin configuration. Since they are DM drivers, they should not be using hardcoded base addresses. Factor out variants of the setter functions which take a pointer to the GPIO bank's MMIO registers. Signed-off-by: Samuel Holland <samuel@sholland.org> Signed-off-by: Andre Przywara <andre.przywara@arm.com>