HomeFreeBSD

a10_gpio: Add support for more modern pin configuration

Description

a10_gpio: Add support for more modern pin configuration

a10_gpio previously accepted only {allwinner,}drive and {allwinner,}pull for
drive/bias setting, while newer DTS is using drive-strength and
bias-{disable,pull-up,pull-down} properties. Accept these properties as
well.

Additionally make bias and drive strength optional rather than required; not
setting them should just indicate that we do not need to configure these
properties.

Tested on: BananaPi-M3 (a83t)
Reviewed by: manu
Approved by: emaste (implicit)
Obtained from: NetBSD (partially)
Differential Revision: https://reviews.freebsd.org/D13284

Details

Provenance
kevansAuthored on
Reviewer
manu
Differential Revision
D13284: a10_gpio: Add support for more modern pin configuration
Parents
rS326432: Add support for SIOCGIFXMEDIA to iflib
Branches
Unknown
Tags
Unknown