net: phy: aquantia: correctly describe LED polarity override
authorDaniel Golle <daniel@makrotopia.org>
Thu, 10 Oct 2024 12:55:00 +0000 (13:55 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 15 Oct 2024 09:24:21 +0000 (11:24 +0200)
commit9d55e68b19f222e6334ef4021c5527998f5ab537
tree497ae6e4d4d73448dad1b0cff28f3046c51d4c3f
parenta274465cc3bef2dfd9c9ea5100848dda0a8641e1
net: phy: aquantia: correctly describe LED polarity override

Use newly defined 'active-high' property to set the
VEND1_GLOBAL_LED_DRIVE_VDD bit and let 'active-low' clear that bit. This
reflects the technical reality which was inverted in the previous
description in which the 'active-low' property was used to actually set
the VEND1_GLOBAL_LED_DRIVE_VDD bit, which means that VDD (ie. supply
voltage) of the LED is driven rather than GND.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/86a413b4387c42dcb54f587cc2433a06f16aae83.1728558223.git.daniel@makrotopia.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/phy/aquantia/aquantia.h
drivers/net/phy/aquantia/aquantia_leds.c
drivers/net/phy/aquantia/aquantia_main.c