-
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 native driver support for emmc host controller
add native 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
38d3839
commit bb732dc
Showing
6 changed files
with
1,699 additions
and
1 deletion.
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,60 @@ | ||
# Copyright (c) 2023 Intel Corporation | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
config EMMC_HOST | ||
bool "EMMC driver" | ||
select SDHC_SUPPORTS_NATIVE_MODE | ||
select EVENTS | ||
default y | ||
depends on DT_HAS_EMMC_HOST_ENABLED | ||
help | ||
EMMC driver support. | ||
|
||
if EMMC_HOST | ||
config EMMC_HOST_INTR | ||
bool "EMMC host controller interrupt mode" | ||
default y | ||
help | ||
EMMC host controller interrupt mode support. | ||
|
||
config EMMC_HOST_DMA | ||
bool "EMMC host controller DMA mode" | ||
select DCACHE | ||
help | ||
EMMC host controller DMA mode support. | ||
|
||
config EMMC_HOST_ADMA | ||
bool "EMMC host controller ADMA mode" | ||
depends on EMMC_HOST_DMA | ||
help | ||
EMMC host controller ADMA mode support. | ||
|
||
config EMMC_HOST_ADMA_DESC_SIZE | ||
int "EMMC host controller ADMA Descriptor size" | ||
depends on EMMC_HOST_DMA | ||
default 32 | ||
help | ||
EMMC host controller ADMA Descriptor size. | ||
|
||
config EMMC_HOST_AUTO_STOP | ||
bool "auto stop command mode" | ||
default y | ||
help | ||
Auto stop command mode support. | ||
|
||
config EMMC_HOST_BLOCK_GAP | ||
bool "Block gap mode" | ||
depends on EMMC_HOST_DMA | ||
help | ||
Block gap mode support. | ||
|
||
config EMMC_HOST_TUNING | ||
bool "Host tuning" | ||
help | ||
Host tuning support. | ||
|
||
module = EMMC_HOST | ||
module-str = emmc_host | ||
source "subsys/logging/Kconfig.template.log_config" | ||
|
||
endif |
Oops, something went wrong.