| b46f74d4 | 05-May-2021 |
Yann Gautier <yann.gautier@foss.st.com> |
feat(st-sdmmc2): define FIFO size
Instead of using hard-coded values in stm32_sdmmc2_read() function, use a defined SDMMC_FIFO_SIZE, which is 64 on STM32MP1.
Signed-off-by: Yann Gautier <yann.gauti
feat(st-sdmmc2): define FIFO size
Instead of using hard-coded values in stm32_sdmmc2_read() function, use a defined SDMMC_FIFO_SIZE, which is 64 on STM32MP1.
Signed-off-by: Yann Gautier <yann.gautier@foss.st.com> Change-Id: I1ace0a28fbddae474379f0187371b9c360ceb7b3
show more ...
|
| 8324b16c | 03-May-2022 |
Yann Gautier <yann.gautier@foss.st.com> |
feat(st-sdmmc2): make reset property optional
Although not recommended, the reset property could be made optional. This way the driver will probe even if no reset property is provided in an sdmmc no
feat(st-sdmmc2): make reset property optional
Although not recommended, the reset property could be made optional. This way the driver will probe even if no reset property is provided in an sdmmc node in DT. This reset is already optional in Linux.
Signed-off-by: Yann Gautier <yann.gautier@foss.st.com> Change-Id: I6e63ff00118d9497f505d6379982334dd62686ca
show more ...
|
| 54019a35 | 12-Jun-2020 |
Yann Gautier <yann.gautier@st.com> |
mmc: st: clear some flags before sending a command
The ICR static flags are cleared before sending a command. The SDMMC_DCTRLR register is set to 0 if no data is expected on a given command or on th
mmc: st: clear some flags before sending a command
The ICR static flags are cleared before sending a command. The SDMMC_DCTRLR register is set to 0 if no data is expected on a given command or on the next command in case of CMD55.
Change-Id: I5ae172a484218f53160e98b3684967c6960475a6 Signed-off-by: Yann Gautier <yann.gautier@st.com>
show more ...
|
| d9d803e0 | 11-Jun-2019 |
Yann Gautier <yann.gautier@st.com> |
mmc: stm32_sdmmc2: correctly manage block size
DBLOCKSIZE should be filled such as the data size is 2^DBLOCKSIZE. Hence it is calculated with __builtin_ctz.
Change-Id: Id6b5ff9b594afc4fc523a388011b
mmc: stm32_sdmmc2: correctly manage block size
DBLOCKSIZE should be filled such as the data size is 2^DBLOCKSIZE. Hence it is calculated with __builtin_ctz.
Change-Id: Id6b5ff9b594afc4fc523a388011beed307e6abd1 Signed-off-by: Yann Gautier <yann.gautier@st.com>
show more ...
|
| dfdb057a | 14-Feb-2019 |
Yann Gautier <yann.gautier@st.com> |
stm32mp1: use new functions to manage timeouts
Remove the previously use function: get_timer, and use new functions timeout_init_us and timeout_elapsed.
Change-Id: I4e95b123648bff7ca91e40462a2a3ae2
stm32mp1: use new functions to manage timeouts
Remove the previously use function: get_timer, and use new functions timeout_init_us and timeout_elapsed.
Change-Id: I4e95b123648bff7ca91e40462a2a3ae24cfe1697 Signed-off-by: Yann Gautier <yann.gautier@st.com> Signed-off-by: Etienne Carriere <etienne.carriere@st.com> Signed-off-by: Nicolas LE BAYON <nicolas.le.bayon@st.com>
show more ...
|