aparcar / openwrt

Staging tree of Paul Spooren
Other
8 stars 1 forks source link

FS#1319 - Support of PC Engines APU1 #1137

Open aparcar opened 6 years ago

aparcar commented 6 years ago

zokl:

Is it possible to use LEDs and GPIOs on PC Engines APU1? APU2 works, but APU1 have not drivers.

01_led and 02_network in x86 platform have a support for APU1 but I am not able to find a kernel module as in apu2 platform.

Thanks for answer, Zbynek Kocur

aparcar commented 6 years ago

chunkeey:

As a informed bystander: I have some good news.

Somebody actually bothered to make a custom LED driver for both (apu2 and apu1). Furthermore: he sent it upstream! Want more? Well: it was accepted too!!1

It's available from 4.15 on wards. [[https://elixir.free-electrons.com/linux/v4.15/source/drivers/leds/leds-apu.c|leds-apu.c]]

So, if you (or someone else) want to help out and get easy "contributor" status: You can make a slam-dunk Pull Request on [[https://github.com/openwrt/openwrt|OpenWrt's github]] (or sent a patch through the ML).

aparcar commented 6 years ago

zokl:

Thank you for your reply.