diff options
author | Andre Przywara <andre.przywara@arm.com> | 2022-09-06 10:07:18 +0100 |
---|---|---|
committer | Andre Przywara <andre.przywara@arm.com> | 2023-10-22 23:40:56 +0100 |
commit | 316ec7ffbd52b3e3d7ddcb0618f231c1ded28bf2 (patch) | |
tree | df1e0e16d9148e723e06a733d05ca1461be7a390 /drivers/gpio/axp_gpio.c | |
parent | 20b78c55e74dc69a2530c7b76c0912777197caf5 (diff) |
pinctrl: sunxi: add GPIO in/out wrappers
So far we were open-coding the pincontroller's GPIO output/input access
in each function using that.
Provide functions that wrap that nicely, and follow the existing pattern
(set/get_{bank,}), so users don't need to know about the internals, and
we can abstract the new D1 pinctrl more easily.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Samuel Holland <samuel@sholland.org>
Diffstat (limited to 'drivers/gpio/axp_gpio.c')
0 files changed, 0 insertions, 0 deletions