-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers: sdhc: add driver support for emmc host controller
add host controller driver support for emmc version 5.1. The driver expose zephyr sdhc api interface for emmc host controller. Signed-off-by: Najumon B.A <najumon.ba@intel.com>
- Loading branch information
1 parent
91c51b9
commit ada3f5e
Showing
6 changed files
with
1,711 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
# Copyright (c) 2023 Intel Corporation | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
config INTEL_EMMC_HOST | ||
bool "EMMC driver" | ||
select SDHC_SUPPORTS_NATIVE_MODE | ||
select EVENTS | ||
default y | ||
depends on DT_HAS_INTEL_EMMC_HOST_ENABLED | ||
help | ||
EMMC driver support. Though this driver can be easily port to | ||
any HW which is complaint to eMMC spec, currently it is only | ||
validated using intel's EMMC host controller. | ||
|
||
if INTEL_EMMC_HOST | ||
config INTEL_EMMC_HOST_INTR | ||
bool "EMMC host controller interrupt mode" | ||
default y | ||
help | ||
EMMC host controller interrupt mode support. | ||
|
||
config INTEL_EMMC_HOST_DMA | ||
bool "EMMC host controller DMA mode" | ||
select DCACHE | ||
help | ||
EMMC host controller DMA mode support. | ||
|
||
config INTEL_EMMC_HOST_ADMA | ||
bool "EMMC host controller ADMA mode" | ||
depends on INTEL_EMMC_HOST_DMA | ||
help | ||
EMMC host controller ADMA mode support. | ||
|
||
config INTEL_EMMC_HOST_ADMA_DESC_SIZE | ||
int "EMMC host controller ADMA Descriptor size" | ||
default 32 | ||
help | ||
EMMC host controller ADMA Descriptor size. | ||
|
||
config INTEL_EMMC_HOST_AUTO_STOP | ||
bool "auto stop command mode" | ||
default y | ||
help | ||
Auto stop command mode support. | ||
|
||
config INTEL_EMMC_HOST_BLOCK_GAP | ||
bool "Block gap mode" | ||
depends on INTEL_EMMC_HOST_DMA | ||
help | ||
Block gap mode support. | ||
|
||
config INTEL_EMMC_HOST_TUNING | ||
bool "Host tuning" | ||
help | ||
Host tuning support. | ||
|
||
endif |
Oops, something went wrong.