zephyr/drivers/disk
Rich Barlow 9f2a65e74e disk: sdhc: Switch to clock frequency from DTS
The "spi-max-frequency" property already exists, but was unused. This
now sets the SPI clock frequency to this value (limited to 24MHz) once
initialisation is complete.

Due to the nature of the SPI API, it is necessary to have two separate
configuration structures to switch clock speed as some SPI drivers only
compare pointers to detect changes.

Fixes: #32996

Signed-off-by: Rich Barlow <rich@bennellick.com>
2021-03-26 08:34:43 -04:00
..
CMakeLists.txt
flashdisk.c include: move disk driver interface to own header 2021-03-23 12:16:01 +01:00
Kconfig
Kconfig.flash
Kconfig.ram
Kconfig.sdmmc
ramdisk.c include: move disk driver interface to own header 2021-03-23 12:16:01 +01:00
sdmmc_sdhc.h
sdmmc_spi.c disk: sdhc: Switch to clock frequency from DTS 2021-03-26 08:34:43 -04:00
sdmmc_stm32.c include: move disk driver interface to own header 2021-03-23 12:16:01 +01:00
usdhc.c include: move disk driver interface to own header 2021-03-23 12:16:01 +01:00