--- zzzz-none-000/linux-4.9.279/drivers/mmc/host/Kconfig 2021-08-08 06:38:54.000000000 +0000 +++ puma7-atom-6591-750/linux-4.9.279/drivers/mmc/host/Kconfig 2023-02-08 11:43:42.000000000 +0000 @@ -48,6 +48,17 @@ If unsure, say N. +config AVM_MMC_SDHCI_ERRORSTATS + bool "SDHCI error statistics" + depends on MMC_SDHCI + help + This enables sdhci error statistics for the mmc host, adding + counters for the error flags in the SDHCI Error Interrupt Status + Register. The statistics can be read from debugfs, and are logged + to the console. + + This is an AVM extension. + config MMC_SDHCI_IO_ACCESSORS bool depends on MMC_SDHCI @@ -97,6 +108,7 @@ config MMC_SDHCI_ACPI tristate "SDHCI support for ACPI enumerated SDHCI controllers" depends on MMC_SDHCI && ACPI + select MMC_SDHCI_IO_ACCESSORS select IOSF_MBI if X86 help This selects support for ACPI enumerated SDHCI controllers, @@ -107,6 +119,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