net: phy: mxl-gpy: correctly describe LED polarity
authorDaniel Golle <daniel@makrotopia.org>
Thu, 10 Oct 2024 12:55:17 +0000 (13:55 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 15 Oct 2024 09:24:21 +0000 (11:24 +0200)
commiteb89c79c1b8f17fc1611540768678e60df89ac42
tree2fce2c9546e0b5ab878872532a88940c4e3be169
parent9d55e68b19f222e6334ef4021c5527998f5ab537
net: phy: mxl-gpy: correctly describe LED polarity

According the datasheet covering the LED (0x1b) register:
0B Active High LEDx pin driven high when activated
1B Active Low LEDx pin driven low when activated

Make use of the now available 'active-high' property and correctly
reflect the polarity setting which was previously inverted.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/180ccafa837f09908b852a8a874a3808c5ecd2d0.1728558223.git.daniel@makrotopia.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/phy/mxl-gpy.c