--- zzzz-none-000/linux-5.15.111/drivers/mmc/host/Kconfig 2023-05-11 14:00:40.000000000 +0000 +++ puma7-arm-6670-761/linux-5.15.111/drivers/mmc/host/Kconfig 2024-02-07 09:27:48.000000000 +0000 @@ -120,6 +120,7 @@ config MMC_SDHCI_ACPI tristate "SDHCI support for ACPI enumerated SDHCI controllers" depends on MMC_SDHCI && ACPI && PCI + select MMC_SDHCI_IO_ACCESSORS select IOSF_MBI if X86 help This selects support for ACPI enumerated SDHCI controllers, @@ -130,6 +131,22 @@ If unsure, say N. +config MMC_SDHCI_ACPI_FORCE_POWER_ON + bool "Force Power On through ACPI methods" + depends on X86_PUMA7 + depends on MMC_SDHCI_ACPI + help + This forces the controller and all connected devices to + power on before probing. This is done using ACPI. + + Some devices may have separate enabling lines that are + controlled through GPIO. By calling the ACPI _PS0 method, + these devices will be powered on and enabled before + probing. This is to ensure all devices connected can be + seen by the controller. + + If unsure, say N. + config MMC_SDHCI_PLTFM tristate "SDHCI platform and OF driver helper" depends on MMC_SDHCI @@ -274,6 +291,23 @@ If unsure, say N. +config MMC_SDHCI_PUMA7 + bool "SDHCI support on the Cougar Mountain SoC" + depends on MMC_SDHCI_PLTFM + select MMC_SDHCI_IO_ACCESSORS + help + This selects the SDHCI support for eMMC on Cougar Mountain System-on-Chip devices. + + If unsure, say N. + +config ARCH_GEN3 + bool "SDHCI support Intel Gen3 - support some eMMC 4.4 feature" + depends on MMC_SDHCI_PUMA7 + help + This selects the eMMC support for some eMMC 4.4 feature. + + If unsure, say N. + config MMC_SDHCI_ESDHC_IMX tristate "SDHCI support for the Freescale eSDHC/uSDHC i.MX controller" depends on ARCH_MXC || COMPILE_TEST