sdhci_xenon: improve the VCCQ voltage switch sequence
authorMarcin Wojtas <mw@FreeBSD.org>
Thu, 27 May 2021 18:39:12 +0000 (20:39 +0200)
committerMarcin Wojtas <mw@FreeBSD.org>
Wed, 2 Jun 2021 07:55:20 +0000 (09:55 +0200)
commitc80e2ca57e0c1b3647b55471584c6d32214232ea
tree43b3077b0986ce0bd8c62e51a12e5e875a78f16a
parentdf868762841b93d934413651818e510ea443def8
sdhci_xenon: improve the VCCQ voltage switch sequence

Improve the VCCQ voltage switch, so that to properly
handle the SDHCI_HOST_CONTROL2 register signaling
flags and along with manipulating the regulator.

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