Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the 3B LED support #5805

Merged
merged 2 commits into from
Dec 21, 2023
Merged

Update the 3B LED support #5805

merged 2 commits into from
Dec 21, 2023

Conversation

pelwell
Copy link
Contributor

@pelwell pelwell commented Dec 21, 2023

As reported in https://forums.raspberrypi.com/viewtopic.php?p=2171315#p2171315, the Pi 3B LEDs were broken in rpi-6.6.y. This is because the downstream brcmvirt-gpio driver (used to optimise the activity LED handling) needed some work to make it 6.6-compatible. It's also been brought slightly more up to date in general.

The gpio subsystem is happier if the gpiochip is given a parent, and
if it doesn't have a fixed base gpio number. While we're in here,
use the fact that the firmware node is the parent to locate it,
and use the devm_ version of rpi_firmware_get.

Signed-off-by: Phil Elwell <[email protected]>
The driver makes use of the fact that the firmware node is its parent,
so we'd better make it so.

Signed-off-by: Phil Elwell <[email protected]>
@popcornmix
Copy link
Collaborator

LGTM

@pelwell pelwell merged commit a78422f into raspberrypi:rpi-6.6.y Dec 21, 2023
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants