dt-bindings: net: phy: Make LED active-low property common
authorChristian Marangi <ansuelsmth@gmail.com>
Thu, 25 Jan 2024 20:36:57 +0000 (21:36 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sat, 27 Jan 2024 05:03:31 +0000 (21:03 -0800)
commitc94d1783136eb66f2a464a6891a32eeb55eaeacc
tree74e6b513fe799f6bdd8f973f37f5141724339d74
parent5642c82b9463c3263c086efb002516244bd4c668
dt-bindings: net: phy: Make LED active-low property common

Move LED active-low property to common.yaml. This property is currently
defined multiple times by bcm LEDs. This property will now be supported
in a generic way for PHY LEDs with the use of a generic function.

With active-low bool property not defined, active-high is always
assumed.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Acked-by: Lee Jones <lee@kernel.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20240125203702.4552-2-ansuelsmth@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/devicetree/bindings/leds/common.yaml
Documentation/devicetree/bindings/leds/leds-bcm63138.yaml
Documentation/devicetree/bindings/leds/leds-bcm6328.yaml
Documentation/devicetree/bindings/leds/leds-bcm6358.txt
Documentation/devicetree/bindings/leds/leds-pwm-multicolor.yaml
Documentation/devicetree/bindings/leds/leds-pwm.yaml