Skip to content

Card detect via GPIO for the SDHC SPI driver #98242

@siddhantmodi

Description

@siddhantmodi

Summary

Currently, the sdhc_spi driver does not support detection of an SD card via a cd_gpio pin.

Describe the solution you'd like

I want to add support for the cd-gpios property for the sdhc_spi driver and update the sdhc_spi_get_card_present function to check the GPIO pin if it has been added.

Alternatives

No response

Additional Context

No response

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions