commit | 6e632100fe63568637a52555c2c39bc135f2051a | [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 | 82d307ce10337976ee3fc2801f90a528c155238f [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>