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

--- Comment #10 from Andriy Gapon <[email protected]> ---
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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to