diff options
author | Tamas Balogh <tamasbalogh@hotmail.com> | 2022-04-15 11:16:37 +0200 |
---|---|---|
committer | Sungbo Eo <mans0n@gorani.run> | 2022-05-01 13:40:13 +0900 |
commit | 65dc9e0980255b15402c45b840f239b85be59b3d (patch) | |
tree | be0078187f5ccd344fe45df17de2cf010ded358f /target/Config.in | |
parent | 55553a45f8620b716eb3e8a67db3f426bc481a5b (diff) | |
download | upstream-65dc9e0980255b15402c45b840f239b85be59b3d.tar.gz upstream-65dc9e0980255b15402c45b840f239b85be59b3d.tar.bz2 upstream-65dc9e0980255b15402c45b840f239b85be59b3d.zip |
ramips: ethernet: ralink: add led_source dts-binding
this adds the new dts-binding "mediatek,led_source"
currently for MT7628AN and MT7688 built-in switches,
which is documented as a 3-bit field configuring the
switch LEDs for various control schemes from 0 to 3.
Normally this is not needed, but e.g. for Asus RT-AC1200-V2
it is a must to set it to the anyway undocumented value
of 4, to have the switch LEDs react correctly on link/act
events. This is an MT7628DAN device, but I doubt this is
a speciality of this particular SoC.
Also added the RT305X_ESW_LED_OFF value to LED states.
Did also rename the register RT5350_EWS_REG_LED_POLARITY
to RT5350_EWS_REG_LED_CONTROL, which is the correct name.
Also making use of defines for some hardcoded values.
Signed-off-by: Tamas Balogh <tamasbalogh@hotmail.com>
Diffstat (limited to 'target/Config.in')
0 files changed, 0 insertions, 0 deletions