commit | 316ec7ffbd52b3e3d7ddcb0618f231c1ded28bf2 | [log] [tgz] |
---|---|---|
author | Andre Przywara <andre.przywara@arm.com> | Tue Sep 06 10:07:18 2022 +0100 |
committer | Andre Przywara <andre.przywara@arm.com> | Sun Oct 22 23:40:56 2023 +0100 |
tree | df1e0e16d9148e723e06a733d05ca1461be7a390 | |
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>