Page MenuHomeFreeBSD

iichid: Consume GPIO interrupts via cousin interrupt mechanism
Needs ReviewPublic

Authored by obiwac on Tue, Sep 15, 12:55 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Oct 3, 11:55 PM
Unknown Object (File)
Thu, Oct 1, 7:42 PM
Unknown Object (File)
Thu, Oct 1, 7:57 AM
Unknown Object (File)
Thu, Oct 1, 5:54 AM
Unknown Object (File)
Thu, Oct 1, 3:15 AM
Unknown Object (File)
Wed, Sep 30, 2:55 AM
Unknown Object (File)
Tue, Sep 29, 4:26 AM
Unknown Object (File)
Sun, Sep 27, 11:59 PM

Details

Reviewers
aokblast
Summary

When the normal IRQ resource allocation fails (e.g. on x86 when the
touchpad interrupt comes from a cousin GPIO controller rather than an
ancestor PIC), register as a cousin interrupt consumer.

When the GPIO interrupt source attaches later, the setup callback
disables sampling mode in favor of the direct interrupt. If the source
detaches, re-register the request and fall back to sampling.

Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 76912
Build 73795: arc lint + arc unit