Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

39 lines
852 B

# Copyright 2023 Nikhef
# SPDX-License-Identifier: Apache-2.0
config SAM_HSMCI
bool "ATMEL SAM HSMCI driver"
default y
depends on DT_HAS_ATMEL_SAM_HSMCI_ENABLED
select PINCTRL
select SDHC_SUPPORTS_NATIVE_MODE
help
Enable the ATMEL SAM HSMCI MMC/SD card driver.
if SAM_HSMCI
config SAM_HSMCI_PDCMODE
bool "Use PDC if available"
default y if SOC_SERIES_SAM4E
help
Use peripheral DMA controller, if supported
config SAM_HSMCI_PWRSAVE
bool "Power save during card inactive"
default y
help
Power-save mode reduces the clock-speed during SD card
inactivity.
if SAM_HSMCI_PWRSAVE
config SAM_HSMCI_PWRSAVE_DIV
int "Divisor value of clock when in power-save mode"
default 7
help
SD clock frequency is divided by 2**(N+1) where N
is the divisor value. Valid values are 0 to 7.
endif # SAM_HSMCI_PWRSAVE
endif # SAM_HSMCI