# Enable UFS device feature using kernel configuration

The following table lists the default values of the kernel configuration to enable UFS device.

UFS device kernel configuration

| Configuration | Enabled by default (yes/no) | Description |
| --- | --- | --- |
| `CONFIG_UFS_FAULT_INJECTION` | No | Injects the failure command for debugging. |
| `CONFIG_SCSI_UFSHCD` | Yes | Enables the UFS host control driver in the kernel. |
| `CONFIG_SCSI_UFSHCD_PLATFORM` | Yes | Supports the UFS controller from the platform bus. |
| `CONFIG_SCSI_UFS_QCOM` | Yes | Enables a Qualcomm-specific addition to access the PHY configuration and vendor-specific registers. |
| `CONFIG_PHY_QCOM_QMP` | Yes | Supports UFS device QMP PHY driver. |
| `CONFIG_SCSI_UFS_BSG` | Yes | Enables UFS device BSG device node. |
| `CONFIG_SCSI_UFS_CRYPTO` | Yes | Supports UFS device crypto engine. |

# Enable SDHCI using kernel configuration

The following table lists the default values of kernel configuration to enable SD card functionality.

SDHC kernel configuration

| Configuration | Enabled by default (yes/no) | Comments |
| --- | --- | --- |
| `CONFIG_MMC` | Yes | Enables MMC driver |
| `CONFIG_MMC_DEBUG` | No | Enables driver debug messages |
| `CONFIG_MMC_SDHCI` | Yes | Detects SDHCI driver |
| `CONFIG_MMC_CQHCI` | Yes | Enables Command Queue Host Control Interface |
| `CONFIG_MMC_SDHCI_MSM` | Yes | Enables MSM SDHCI driver |
| `CONFIG_MMC_BLOCK` | Yes | Enables MMC block driver |
| `CONFIG_MMC_CRYPTO` | No | Enables support for the MMC Crypto Engine |

Note

- Only Qualcomm Dragonwing™ IQ-8275 supports the `CONFIG_MMC_CRYPTO` configuration.
- The Qualcomm Inline Crypto Engine (ICE) is currently not enabled for eMMC in QCS5430 and QCS6490.

    - You can disable the ICE-related configurations from `defconfig`. To disable the ICE configuration, update as follows: `CONFIG_MMC_CRYPTO=n`.
    - You can re-enable the configuration after activating the ICE feature.

Last Published: Jun 27, 2025

[Previous Topic
Configure storage features](https://docs.qualcomm.com/bundle/publicresource/80-70020-6/topics/configuration.md) [Next Topic
Modify UFS device power management states](https://docs.qualcomm.com/bundle/publicresource/80-70020-6/topics/power-management-states.md)