openwrt / mt76

mac80211 driver for MediaTek MT76x0e, MT76x2e, MT7603, MT7615, MT7628 and MT7688
751 stars 342 forks source link

[Q] Support for LED(s) #9

Closed pepe2k closed 7 years ago

pepe2k commented 9 years ago

Hello,

I have a device based on MT7621AT with MT7602EN and MT7612EN. I have almost finished support for it in OpenWrt, but I don't know how to control LEDs for both radios.

They are connected directly to pin 50 on both MTK radio chips (I have found that it's GPIO/LEDA I/O, at least in MT7612E, I wasn't able to find information about second chip) and are "active in low" (connected to VCC over current limiting resistor).

How does it look with that kind of setup, is control of LED/GPIO I/Os supported (or planned) in mt76 driver (I wasn't able to find anything specific in sources)?

Thanks for any advice!

new-joiner commented 8 years ago

[Uploading 001-led-pacth.txt…]() [Uploading 001-led-pacth.txt…]()

it seems that MTK SDK enable led directly inside the driver code.. see attached patch file

chrismonks commented 8 years ago

Any update on this, the patch file is an invalid link.

nbd168 commented 7 years ago

mt76 now has proper mac80211 LED support for 7612 and 7603