# 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 eMMC using device tree properties To enable eMMC, add the following lines in the `&sdhc_1` node in the SoC-specific DTSI file. &sdhc_1 { status = "okay"; pinctrl-names = "default", "sleep"; pinctrl-0 = <&sdc1_on>; pinctrl-1 = <&sdc1_off>; vmmc-supply = <&vreg_l19a_2p9>; vqmmc-supply = <&vreg_l12a_1p8>; }; Copy to clipboard Update the following files as per the SoC device tree path `/kernel_platform/kernel/arch/arm64/boot/dts/qcom/`: - `qcs6490-addons-rb3gen2.dts` - `qcs6490-rb3gen2.dts` - `qcs6490-addons-rb3gen2.dtsi` - `qcs6490-addons-rb3gen2-ia-mezz.dts` - `qcs6490-addons-rb3gen2-ptz-mezz.dts` - `qcs6490-addons-rb3gen2-video-mezz.dts` - `qcs6490-addons-rb3gen2-vision-mezz.dts` - `qcs6490-addons-rb3gen2-vision-mezz-hsp.dts` # 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` | Yes | Enables support for the MMC Crypto Engine | Last Published: Jun 22, 2026 [Previous Topic Configure storage features](https://docs.qualcomm.com/bundle/publicresource/80-70030-6/topics/configuration.md) [Next Topic Modify UFS device power management states](https://docs.qualcomm.com/bundle/publicresource/80-70030-6/topics/power-management-states.md)