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
Unknown Object (File)
Sat, Nov 16, 4:44 AM
Unknown Object (File)
Sat, Nov 9, 7:18 PM
Unknown Object (File)
Sat, Nov 9, 7:15 PM
Unknown Object (File)
Fri, Nov 8, 4:07 PM
Unknown Object (File)
Fri, Nov 8, 11:33 AM
Unknown Object (File)
Mon, Nov 4, 10:01 AM
Unknown Object (File)
Thu, Oct 31, 8:23 PM
Unknown Object (File)
Oct 21 2024, 11:48 PM
Subscribers

Details

Summary

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

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

manu added inline comments.
sys/arm/broadcom/bcm2835/raspberrypi_gpio.c
172 ↗(On Diff #75066)

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