kernel: hack: support inverted LEDs on MaxLinear GPY211 PHY
authorDaniel Golle <daniel@makrotopia.org>
Sun, 10 Dec 2023 01:15:36 +0000 (01:15 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Fri, 15 Mar 2024 22:28:14 +0000 (23:28 +0100)
commit5c786dcb2b504e8260957592447e8088bcc35afa
tree02c64c3fca6ef78c0c00c3e4f5a9fc89d9ea3fcc
parentb3ad42e1e359b54c2b5ea85906111f813b802e6a
kernel: hack: support inverted LEDs on MaxLinear GPY211 PHY

Add downstream DT property to setup the PHY LEDs of the MaxLinear
GPY211 PHY in such way that the VDD of the LED is driven by the SoC
pin rather than the GND (which is the default).

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 90fbec89be263a3838558c5b674f3c4072cc2f1d)
[removed patches for kernel 6.1]
Signed-off-by: Tom Herbers <mail@tomherbers.de>
target/linux/generic/hack-5.15/765-mxl-gpy-control-LED-reg-from-DT.patch
target/linux/mediatek/patches-5.15/732-net-phy-mxl-gpy-don-t-use-SGMII-AN-if-using-phylink.patch