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

[TOPIC-GPIO] disk: Convert usdhc driver to new gpio api #21349

Merged
merged 1 commit into from
Dec 19, 2019
Merged

[TOPIC-GPIO] disk: Convert usdhc driver to new gpio api #21349

merged 1 commit into from
Dec 19, 2019

Conversation

MaureenHelm
Copy link
Member

Converts the usdhc driver to the new gpio api. Updates the
device tree for the mimxrt1050_evk board to set appropriate active
high/low polarity for the power and card detect pins.

Note that the driver doesn't actually support interrupts yet. It
initializes a gpio callback for the card detect pin, but never actually
enables the gpio interrupt. This incomplete behavior is left as-is,
since the purpose of this patch is only to convert the driver to the new
gpio api, not to add new features.

Signed-off-by: Maureen Helm maureen.helm@nxp.com

@JunYangNXP please review

Converts the usdhc driver to the new gpio api. Updates the
device tree for the mimxrt1050_evk board to set appropriate active
high/low polarity for the power and card detect pins.

Note that the driver doesn't actually support interrupts yet. It
initializes a gpio callback for the card detect pin, but never actually
enables the gpio interrupt. This incomplete behavior is left as-is,
since the purpose of this patch is only to convert the driver to the new
gpio api, not to add new features.

Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
@JunYangNXP
Copy link
Contributor

approved

@pabigot pabigot changed the title disk: Convert usdhc driver to new gpio api [TOPIC-GPIO] disk: Convert usdhc driver to new gpio api Dec 18, 2019
@carlescufi carlescufi merged commit 075162d into zephyrproject-rtos:topic-gpio Dec 19, 2019
@MaureenHelm MaureenHelm deleted the usdhc-gpio branch December 19, 2019 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants