-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dt-bindings: gpio: revise drive strength flags for generality
The documentation and design for drive strength was based on Nordic GPIO capabilities, and presumed that the default state was standard while the alternate state was high. The Semtech SX15088/SX1509B GPIO extender went the other way, with default being high and alternate being low. Rework the flags so that low and high are distinct from default. Update the two in-tree GPIO implementations that currently support drive strength to make use of these flags. Deprecate the ALT flag but define it to implement the documented selection (high drive) in case it's being used by out-of-tree systems. Signed-off-by: Peter A. Bigot <pab@pabigot.com>
- Loading branch information
Showing
3 changed files
with
89 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters