Page MenuHomeFreeBSD

gpio: add GPIO_GET_PIN_LIST
ClosedPublic

Authored by vexeduxr on Aug 26 2025, 7:24 PM.
Tags
None
Referenced Files
F138030081: D52172.diff
Fri, Nov 28, 8:16 AM
Unknown Object (File)
Wed, Nov 26, 1:27 AM
Unknown Object (File)
Mon, Nov 24, 7:43 PM
Unknown Object (File)
Mon, Nov 24, 7:43 PM
Unknown Object (File)
Mon, Nov 24, 7:43 PM
Unknown Object (File)
Mon, Nov 24, 7:42 PM
Unknown Object (File)
Thu, Nov 20, 9:12 PM
Unknown Object (File)
Wed, Nov 19, 3:36 PM
Subscribers

Details

Summary

While most GPIO controllers provide pins from 0 .. N in a sequential
manner, not all controllers start with pin 0, and not all controllers
order their pins sequentially. Allow callers to get a pin list from the
controller. The default behaviour is to fill pin_list with pins 0 to
GPIO_PIN_MAX().

Suggested by: mmel

Diff Detail

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