This is a device driver for the second SDHCI on Raspberry Pi 3 / BCM2835.
It allows the Arasan SDHCI to be used for other purposes, e.g. driving
the radio (wlan) module.
Details
Details
- Reviewers
gonzo - Commits
- rS335779: [rpi] Add SDHOST device driver for Raspberry Pi
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
sys/arm/broadcom/bcm2835/bcm2835_sdhost.c | ||
---|---|---|
263 ↗ | (On Diff #38776) | As it was previously discussed on mailing list, direct gpio pin muxing should be replaced by proper pinctrl. It's in review at the moment , D14104. I added dependency for this review. |
538 ↗ | (On Diff #38776) | It's OK in some cases to prevent detach of the device with EBUSY but in this case do not destroy mutex, because it's still going to be required. |
Comment Actions
- Removed all of the ''swap pins'' stuff.
- Not destroying the mutex in bcm_sdhost_detach().
- Added comment about pin configurations. Without the pull-ups the card will not be recognized !
sys/arm/broadcom/bcm2835/bcm2835_sdhost.c | ||
---|---|---|
405 ↗ | (On Diff #39706) | This variable (and the one after) are not used and cause compilation to fail. |