kernel: backport GPIO LED patch for MT7530
authorRosen Penev <rosenp@gmail.com>
Thu, 23 Sep 2021 02:16:32 +0000 (19:16 -0700)
committerChristian Lamparter <chunkeey@gmail.com>
Sat, 23 Oct 2021 16:50:31 +0000 (18:50 +0200)
commit360c181dd747f033cb61f83915ce277c6497720f
tree0394b71f0583b8fe4757f8bd79adbe71b325fa88
parent85a42fa9cb9431728efde4252b61de423f2ca12c
kernel: backport GPIO LED patch for MT7530

This allows to specify and control switch LEDs on devices using mt7530
(typically mediatek and ramips targets).

Normally these LED GPIOs are 0, 3, 6, 9, and 12. wan/lan assignment is
per device. GPIO 9 is normally inverted. so GPIO_ACTIVE_HIGH instead of
GPIO_ACTIVE_LOW.

Tested on Linksys E7350.

Refreshed all patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
target/linux/generic/backport-5.10/781-v5.12-net-dsa-mt7530-MT7530-optional-GPIO-support.patch [new file with mode: 0644]
target/linux/generic/backport-5.10/781-v5.13-net-dsa-mt7530-Add-support-for-EEE-features.patch