Page MenuHomeFreeBSD

sdhci_xenon: add UHS support
ClosedPublic

Authored by mw on May 31 2021, 8:00 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jan 14, 8:21 AM
Unknown Object (File)
Sat, Jan 11, 11:46 AM
Unknown Object (File)
Dec 9 2024, 3:02 PM
Unknown Object (File)
Dec 2 2024, 12:43 PM
Unknown Object (File)
Nov 4 2024, 11:53 PM
Unknown Object (File)
Oct 24 2024, 9:27 AM
Unknown Object (File)
Oct 24 2024, 9:27 AM
Unknown Object (File)
Oct 24 2024, 9:26 AM
Subscribers

Details

Summary

This patch adds the necessary methods resolution to the sdhci_xenon
driver which are required to configure UHS modes for SD/MMC devices.
Apart from the two generic routines, the custom sdhci_xenon_set_uhs_timing
function is responsible for setting the SDHCI_HOST_CONTROL2 register
with appropriate mode select values - in case of HS200 and HS400
they are non-standard.

Test Plan

This is the end of entire series, HS200/HS400 and proper disabling of UHS via DT tested on:
MacchiatoBin
CN913x-DB
Marvell AC5x switch (CA55 with Xenon included)
Armada 8040 DB.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable