Page MenuHomeFreeBSD

mmc: Add mmc-pwrseq driver
ClosedPublic

Authored by manu on May 16 2021, 3:13 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 15, 11:48 PM
Unknown Object (File)
Fri, Dec 6, 2:45 PM
Unknown Object (File)
Nov 19 2024, 7:03 PM
Unknown Object (File)
Oct 2 2024, 5:07 PM
Unknown Object (File)
Oct 2 2024, 3:02 PM
Unknown Object (File)
Oct 2 2024, 1:56 PM
Unknown Object (File)
Oct 1 2024, 6:59 AM
Unknown Object (File)
Sep 27 2024, 12:19 PM

Details

Summary

This driver is used to power up sdio card or eMMC.
It handle the reset-gpio, clocks and needed delays for powerup/powerdown.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

manu requested review of this revision.May 16 2021, 3:13 PM
andrew added inline comments.
sys/dev/mmc/mmc_pwrseq.c
152

What are the units for post_power_on_delay and power_off_delay? They seem to be different if for former has * 1000 but not the latter.

sys/dev/mmc/mmc_pwrseq.c
152

ms and us respectively as noted in the binding names, I'll append the unit in the variable too so it's more clear.

Add units to the variable name.
While here fix getting the power_off one.

afedorov added inline comments.
sys/dev/mmc/mmc_pwrseq.c
1

SPDX-License-Identifier?

This revision was not accepted when it landed; it landed in state Needs Review.May 21 2021, 4:04 PM
This revision was automatically updated to reflect the committed changes.