Page MenuHomeFreeBSD

pca963x: add support for the PCA9633 4-bit Fm+ I2C-bus LED driver
Needs ReviewPublic

Authored by bz on Mar 12 2024, 9:41 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jun 20, 3:36 PM
Unknown Object (File)
Tue, Jun 4, 10:30 AM
Unknown Object (File)
May 14 2024, 5:52 PM
Unknown Object (File)
Apr 26 2024, 4:09 AM
Unknown Object (File)
Mar 15 2024, 7:19 PM
Unknown Object (File)
Mar 15 2024, 1:11 AM

Details

Reviewers
andrew
manu
Group Reviewers
arm64
Summary

In the absence of a full LED framework, allow the LEDs to be toggled
on/off using gpiobus.
We do not support any brightness control currently, blinking, group
settings, etc.
The feature we do support, given I missed to toggle it on first pass
and stared at the blank darkness, is low power mode, so that the
osciallator stays off if no LEDs are on.

This allows us to at least signal some status using the LEDs present
on SoCs even if we cannot easily morse or disco.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 56567
Build 53455: arc lint + arc unit

Event Timeline

bz requested review of this revision.Mar 12 2024, 9:41 PM

Anyone any comments? Otherwise I'll put that in soon.

I don't understand enough to review in depth but looks OK. One nit I noticed in a comment.

sys/dev/iicbus/gpio/pca963x.c
31