HomeFreeBSD

sdhci: Provide devmethod for software reset

Description

sdhci: Provide devmethod for software reset

Some sdhci controllers require custom software reset logic. Accommodate
this need by introducing a new SDHCI_RESET devmethod. Move the existing
reset logic into sdhci_generic_reset and use it as a default for the
aforementioned method.

Obtained from: Semihalf
Sponsored by: Alstom Group
Differeential revision: https://reviews.freebsd.org/D32704

Details

Provenance
ar_semihalf.comAuthored on Nov 5 2021, 9:14 AM
wmaCommitted on Nov 5 2021, 9:18 AM
Parents
rG7bb3c927f7d9: libpfct: be consistent with u_int vs. uint
Branches
Unknown
Tags
Unknown