Page MenuHomeFreeBSD

BCM2835 (Raspberry Pi 3) sdhost device driver
ClosedPublic

Authored by k_7he.at on Feb 2 2018, 10:46 AM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 14 2024, 4:37 AM
Unknown Object (File)
Dec 22 2023, 12:04 AM
Unknown Object (File)
Dec 20 2023, 1:42 AM
Unknown Object (File)
Dec 19 2023, 3:19 PM
Unknown Object (File)
Dec 10 2023, 10:24 PM
Unknown Object (File)
Nov 6 2023, 7:55 PM
Unknown Object (File)
Oct 30 2023, 3:36 PM
Unknown Object (File)
Oct 26 2023, 10:49 PM

Details

Summary

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.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

sys/arm/broadcom/bcm2835/bcm2835_sdhost.c
264

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.

539

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.

  • 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

This variable (and the one after) are not used and cause compilation to fail.

Removed unused variables ''node'' and ''cell'' in bcm_sdhost_attach().

This revision is now accepted and ready to land.Jun 28 2018, 6:14 PM
This revision was automatically updated to reflect the committed changes.