Thread (3 messages) 3 messages, 3 authors, 2023-03-30
STALE1170d

[PATCH v2] dt-bindings: mt76: add active-low property for led

From: Frank Wunderlich <hidden>
Date: 2023-02-07 13:35:19
Also in: linux-arm-kernel, linux-devicetree, linux-mediatek, linux-wireless, lkml
Subsystem: mediatek mt76 wireless lan driver, networking drivers (wireless), open firmware and flattened device tree bindings, the rest · Maintainers: Felix Fietkau, Lorenzo Bianconi, Ryder Lee, Johannes Berg, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Linus Torvalds

From: Frank Wunderlich <redacted>

LEDs can be in low-active mode, driver already supports it, but
documentation is missing. Add documentation for the dt property.

Signed-off-by: Frank Wunderlich <redacted>
---
v2:
- change commit message to mention that driver already support this
---
 .../devicetree/bindings/net/wireless/mediatek,mt76.yaml      | 5 +++++
 1 file changed, 5 insertions(+)
diff --git a/Documentation/devicetree/bindings/net/wireless/mediatek,mt76.yaml b/Documentation/devicetree/bindings/net/wireless/mediatek,mt76.yaml
index f0c78f994491..212508672979 100644
--- a/Documentation/devicetree/bindings/net/wireless/mediatek,mt76.yaml
+++ b/Documentation/devicetree/bindings/net/wireless/mediatek,mt76.yaml
@@ -112,6 +112,11 @@ properties:
     $ref: /schemas/leds/common.yaml#
     additionalProperties: false
     properties:
+      led-active-low:
+        description:
+          LED is enabled with ground signal.
+        type: boolean
+
       led-sources:
         maxItems: 1
 
-- 
2.34.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help