]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
sdhci_xenon: add UHS support
authorMarcin Wojtas <mw@FreeBSD.org>
Tue, 4 May 2021 23:47:37 +0000 (01:47 +0200)
committerMarcin Wojtas <mw@FreeBSD.org>
Wed, 2 Jun 2021 07:55:20 +0000 (09:55 +0200)
commit4fa977f854e27c93c22acfa6a3ba38f5c4959e15
treec230645f51bbf476d7333a0c803b4c8d852f44fe
parentc80e2ca57e0c1b3647b55471584c6d32214232ea
sdhci_xenon: add UHS support

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.

Reviewed by: manu
Obtained from: Semihalf
Sponsored by: Marvell
Differential Revision: https://reviews.freebsd.org/D30565
MFC after: 2 weeks
sys/dev/sdhci/sdhci_xenon.c
sys/dev/sdhci/sdhci_xenon.h