freebsd-dev/sys/dev/sdhci
Ian Lepore 49dfdf633a Relax the sdhci(4) check that filters out the 1.8v voltage option unless
the slot is flagged as 'embedded'.

The features related to embedded and shared slots were added in v3.0 of
the sdhci spec.  Hardware prior to v3 sometimes supported 1.8v on non-
removable devices in embedded systems, but had no way to indicate that
via the standard sdhci registers (instead they use out of band metadata
such as FDT data).

This change adds the controller specification version to the check for
whether to filter out the 1.8v selection.  On older hardware, the 1.8v
option is allowed to remain.  On 3.0 or later it still requires the
embedded-slot flag to remain.

This is part of the fix for PR 241301 (eMMC not detected on Beaglebone).
Changes to the sdhci_ti driver are also needed for a full fix.

PR:		241301
2019-10-16 16:03:19 +00:00
..
fsl_sdhci.c o Don't allocate resources for SDMA in sdhci(4) if the controller or the 2018-12-30 23:08:06 +00:00
sdhci_acpi.c o Don't allocate resources for SDMA in sdhci(4) if the controller or the 2018-12-30 23:08:06 +00:00
sdhci_fdt_gpio.c
sdhci_fdt_gpio.h
sdhci_fdt.c Add emmc support for Rockchip RK3399 SoC. 2019-07-20 02:53:06 +00:00
sdhci_if.m
sdhci_pci.c o Don't allocate resources for SDMA in sdhci(4) if the controller or the 2018-12-30 23:08:06 +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 Add support to the Marvell Xenon SDHCI controller. 2018-08-14 16:33:30 +00:00
sdhci.c Relax the sdhci(4) check that filters out the 1.8v voltage option unless 2019-10-16 16:03:19 +00:00
sdhci.h Align struct sdhci_slot MMCCAM members. 2019-03-21 10:23:02 +00:00