freebsd-skq/sys/dev/sdhci
Emmanuel Vadot af2253f61c mmccam: Add two new XPT for MMC and use them in mmc_sim and sdhci
For the discovery phase of SD/eMMC we need to do some transaction in a async
way.
The classic CAM XPT_{GET,SET}_TRAN_SETTING cannot be used in a async way.
This also allow us to split the discovery phase into a more complete state
machine and we don't mtx_sleep with a random number to wait for completion
of the tasks.
For mmc_sim we now do the SET_TRAN_SETTING in a taskqueue so we can call
the needed function for regulators/clocks without the cam lock(s). This part is
still needed to be done for sdhci.
We also now save the host OCR in the discovery phase as it wasn't done before and
only worked because the same ccb was reused.

Reviewed by:	imp, kibab, bz
Differential Revision:	https://reviews.freebsd.org/D30038
2021-05-21 17:34:05 +02:00
..
fsl_sdhci.c sdhci: clean up empty lines in .c and .h files 2020-09-01 21:54:16 +00:00
sdhci_acpi.c
sdhci_fdt_gpio.c
sdhci_fdt_gpio.h
sdhci_fdt.c sdhci: clean up empty lines in .c and .h files 2020-09-01 21:54:16 +00:00
sdhci_fsl_fdt.c sdhci_fsl_fdt: Skip vccq reconfiguration without regulator 2021-05-20 11:21:53 +02:00
sdhci_if.m Regularize my copyright notice 2019-12-04 16:56:11 +00:00
sdhci_pci.c sdhci(4): Recognize the Texas Instruments PCIxx12 card reader. 2020-08-25 18:32:43 +00:00
sdhci_xenon.c Add support for the GPIO SD Card VCC regulator/switch and the GPIO SD Card 2019-06-10 21:50:07 +00:00
sdhci_xenon.h
sdhci.c mmccam: Add two new XPT for MMC and use them in mmc_sim and sdhci 2021-05-21 17:34:05 +02:00
sdhci.h