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
F139292247: D25858.id75316.diff
Wed, Dec 10, 12:46 PM
Unknown Object (File)
Tue, Dec 9, 6:34 AM
Unknown Object (File)
Sat, Dec 6, 11:00 PM
Unknown Object (File)
Thu, Dec 4, 1:30 AM
Unknown Object (File)
Thu, Dec 4, 1:29 AM
Unknown Object (File)
Thu, Dec 4, 1:29 AM
Unknown Object (File)
Thu, Dec 4, 1:28 AM
Unknown Object (File)
Tue, Dec 2, 5:02 AM
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 32612
Build 30068: arc lint + arc unit

Event Timeline

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

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