diff options
author | Christian Marangi <ansuelsmth@gmail.com> | 2024-01-25 21:36:57 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-01-26 21:03:31 -0800 |
commit | c94d1783136eb66f2a464a6891a32eeb55eaeacc (patch) | |
tree | 74e6b513fe799f6bdd8f973f37f5141724339d74 /Documentation/devicetree/bindings/leds/leds-pwm.yaml | |
parent | 5642c82b9463c3263c086efb002516244bd4c668 (diff) |
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>
Diffstat (limited to 'Documentation/devicetree/bindings/leds/leds-pwm.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/leds/leds-pwm.yaml | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Documentation/devicetree/bindings/leds/leds-pwm.yaml b/Documentation/devicetree/bindings/leds/leds-pwm.yaml index 7de6da58be3c..113b7c218303 100644 --- a/Documentation/devicetree/bindings/leds/leds-pwm.yaml +++ b/Documentation/devicetree/bindings/leds/leds-pwm.yaml @@ -34,11 +34,6 @@ patternProperties: Maximum brightness possible for the LED $ref: /schemas/types.yaml#/definitions/uint32 - active-low: - description: - For PWMs where the LED is wired to supply rather than ground. - type: boolean - required: - pwms - max-brightness |