[PATCH RFC 3/4] ARM: bcm2835: specify card detect pin for RPi B

Stephen Warren swarren at wwwdotorg.org
Tue Dec 1 19:44:11 PST 2015


On 11/19/2015 09:06 AM, Stefan Wahren wrote:
> Only the Raspberry Pi B has a card detect pin. Specify it
> on board level because it's not free to use.

This seems fine, but it should have no effect in practice; when the SD
controller driver gpio_get()s the GPIO, the same setting will be
programmed into HW. There's a requirement to use the pinctrl bindings to
configure pins to non-GPIO mux settings, but no actual requirement to do
so for GPIOs.

However, the new node sdhci_cd should be added to some pinctrl-0
property or it won't be used.



More information about the linux-rpi-kernel mailing list