Re: [PATCH 03/20] pinctrl: sunxi: add GPIO in/out wrappers

2023-08-09 Thread Sam Edwards
On 7/21/23 07:45, Andre Przywara wrote: 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 abs

[PATCH 03/20] pinctrl: sunxi: add GPIO in/out wrappers

2023-07-21 Thread Andre Przywara
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. Sig