[Bug 2069410] Re: On the StarFive VisionFive 2 the card detect GPIO is not set to input
Heinrich Schuchardt
2069410 at bugs.launchpad.net
Mon Jun 17 12:39:05 UTC 2024
Patch sent upstream. Waiting for review.
[PATCH 1/1] mmc: consider cd-gpios in Synopsys DesignWare driver
https://lore.kernel.org/u-boot/20240614142102.123715-1-heinrich.schuchardt@canonical.com/
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to u-boot in Ubuntu.
https://bugs.launchpad.net/bugs/2069410
Title:
On the StarFive VisionFive 2 the card detect GPIO is not set to input
Status in u-boot package in Ubuntu:
Confirmed
Bug description:
The card detect pin of the SD card slot needs to be a GPIO input. But
command
gpio status GPIO41
shows that it is output.
This leads to showing errors
Card did not respond to voltage select! : -110
if not SD-Card is inserted.
Switching to input is the task of the MMC driver. Other drivers have a
call
gpio_request_by_name(dev, "cd-gpios", 0, &priv->cd_gpio,
GPIOD_IS_IN);
This is missing in drivers/mmc/snps_dw_mmc.c.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/u-boot/+bug/2069410/+subscriptions
More information about the foundations-bugs
mailing list