Page MenuHomeFreeBSD

Add a GPIO driver for the Raspberry Pi firmware GPIOs
ClosedPublic

Authored by andrew on Jul 28 2020, 2:33 PM.
Tags
None
Referenced Files
F149076551: D25858.diff
Sun, Mar 22, 4:11 AM
F148990658: D25858.id75318.diff
Sat, Mar 21, 2:30 PM
Unknown Object (File)
Fri, Mar 20, 10:02 AM
Unknown Object (File)
Sat, Mar 7, 4:27 PM
Unknown Object (File)
Thu, Mar 5, 6:19 PM
Unknown Object (File)
Thu, Mar 5, 4:19 AM
Unknown Object (File)
Feb 14 2026, 4:48 PM
Unknown Object (File)
Feb 11 2026, 4:56 PM
Subscribers

Details

Summary

These exist on the Raspberry Pi 3 and 4 and control and external IO
expander.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 32726
Build 30169: arc lint + arc unit

Event Timeline

manu added inline comments.
sys/arm/broadcom/bcm2835/raspberrypi_gpio.c
173

Is all this needed ? Can't you just test that the pin isn't > RPI_FW_GPIO_PINS and if not return DEFAULT_CAPS ?

Always return RPI_FW_GPIO_DEFAULT_CAPS from getcaps.

This revision is now accepted and ready to land.Aug 3 2020, 5:14 PM