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

Sam Edwards cfsworks at gmail.com
Wed Aug 9 22:14:31 CEST 2023


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 abstract the new D1 pinctrl more easily.
> 
> Signed-off-by: Andre Przywara <andre.przywara at arm.com>
Reviewed-by: Sam Edwards <CFSworks at gmail.com>
Tested-by: Sam Edwards <CFSworks at gmail.com>

Thanks,
Sam


More information about the U-Boot mailing list