Page MenuHomeFreeBSD

a10_gpio: Add support for more modern pin configuration
ClosedPublic

Authored by kevans on Nov 28 2017, 3:11 PM.
Tags
None
Referenced Files
F166293555: D13284.id.diff
Wed, Aug 12, 5:26 PM
Unknown Object (File)
Wed, Aug 12, 12:36 AM
Unknown Object (File)
Sun, Aug 9, 7:36 PM
Unknown Object (File)
Sun, Aug 9, 1:10 PM
Unknown Object (File)
Fri, Aug 7, 1:16 PM
Unknown Object (File)
Thu, Jul 16, 12:43 PM
Unknown Object (File)
Jul 10 2026, 4:48 PM
Unknown Object (File)
Jul 9 2026, 10:38 AM
Subscribers

Details

Summary

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: Banana Pi-M3 (a83t)
Obtained from: NetBSD (partially)

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This looks ok at first glance, I'll review more carefully and test tonight.
Thanks !

This revision is now accepted and ready to land.Dec 1 2017, 8:04 PM
This revision was automatically updated to reflect the committed changes.