Skip to content

stm42f412 "Failed to enable SDMMC domain clock" #94934

@fariouche

Description

@fariouche

Describe the bug

Hello,

Using zephyr 4.2, I have an error when calling disk_access_init (more precisely the ioctl version) and I get the error "Failed to enable SDMMC domain clock".
Disk name is "sdio1".
Of course, the dts node is enabled by default, and I have the config DISK_ACCESS and SDMMC_STM32

A workaround is to remove the second clock in the sdmmc dts node like in my overlay:

&sdmmc1 {
	clocks = <&rcc STM32_CLOCK(APB2, 11U)>;
};

I don't know the implications of that or what I'm missing to avoir the above error

Thanks

Regression

  • This is a regression.

Steps to reproduce

Just call disk_access_ioctl("sdio1" DISK_IOCTL_CTRL_INIT, NULL);
Using an stm32f412_discovery board

Relevant log output

E: Failed to enable SDMMC domain clock
E: failed to init clocks

Impact

Annoyance – Major; cannot use functionality.

Environment

No response

Additional Context

No response

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions