Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sunxi-gpio driver enhancements #148

Closed
smaeul opened this issue Apr 11, 2018 · 0 comments
Closed

sunxi-gpio driver enhancements #148

smaeul opened this issue Apr 11, 2018 · 0 comments
Assignees

Comments

@smaeul
Copy link
Member

smaeul commented Apr 11, 2018

Type of issue

Feature

Description

The sunxi-gpio driver can set the pull mode and drive strength for its pins. It should use the remaining bits in the mode parameter to set these properties in addition to the pin function. It should provide macros that can be used in device descriptions to pack the function, pull, and drive into a uint8_t. It should use complimentary private macros to extract the values and apply them in sunxi_gpio_set_mode.

Dependencies

#147 depends on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant