Page MenuHomeFreeBSD

Backend changes to add interrupt support to GPIO pins on bcm2835_gpio (RPi)
ClosedPublic

Authored by loos on Oct 23 2014, 5:51 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jan 23, 5:33 AM
Unknown Object (File)
Thu, Jan 23, 5:02 AM
Unknown Object (File)
Thu, Jan 9, 8:12 PM
Unknown Object (File)
Tue, Jan 7, 5:34 PM
Unknown Object (File)
Dec 18 2024, 4:11 AM
Unknown Object (File)
Dec 18 2024, 3:21 AM
Unknown Object (File)
Dec 3 2024, 6:32 PM
Unknown Object (File)
Dec 2 2024, 11:50 PM
Subscribers

Details

Summary

These are the changes to the backend GPIO driver on RPi, it allow the use of
GPIO interrupts for kernel devices (together with the changes on D999).

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

loos retitled this revision from to Backend changes to add interrupt support to GPIO pins on bcm2835_gpio (RPi).
loos updated this object.
loos edited the test plan for this revision. (Show Details)
loos added reviewers: ARM, adrian.

There are a bunch of empty lines that you might want to remove.

sys/arm/broadcom/bcm2835/bcm2835_gpio.c
3

You should update the copyright year.

1053

Why do we need this check? If this is false, we end up using the previous 'reg' value below.

sys/arm/broadcom/bcm2835/bcm2835_gpio.c
3

right!

1053

That's the idea, reuse the previous value of 'reg'.

Each 'reg' reading return the interrupt status of a full bank (32 bits - 32 pins), so reading it only once per bank should suffice.

loos updated this revision to Diff 3635.

Closed by commit rS278215 (authored by @loos).