HomeFreeBSD

arm: allwinner: Add support for bank supply

Description

arm: allwinner: Add support for bank supply

Each GPIO bank is powered by a different pin and so can be powered at different
voltage from different regulators.
Add a new config that now hold the pinmux data and the banks available on each
SoCs.
Since the aw_gpio driver being also the pinmux one it's attached before the PMIC
so add a config_intrhook_oneshot function that will enable the needed regulators
when the system is fully functional.

MFC after: 2 weeks

Details

Provenance
manuAuthored on
Parents
rS356799: axp8xx: Add a regnode_init method
Branches
Unknown
Tags
Unknown