[Bug 189772] [NEW DRIVER] apuled(4): LED driver on PC Engines APU (1/2/3) boards

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Aug 18 09:26:40 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=189772

--- Comment #10 from Andriy Gapon <avg at FreeBSD.org> ---
My personal opinion.

The gpio controller on APU2 is the standard AMD GPIO controller.
With the latest firmware it is advertised via ACPI, so amdgpu driver can attach
perfectly well and gpioctl can be used to control the LEDs and query the
switch.
Of course, that is not convenient at all.
But the latest firmware also describes the LEDs and the switch via ACPI.
So, we need some glue to parse the ACPI description and attach the standard
gpioled and gpiokeys drivers under amdgpu.
That would be very similar to what is done on FDT based systems.

I think that such approach would be more extensible than hardcoding everything
is a platform specific driver.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list