[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221103143118.2199316-2-linux@rasmusvillemoes.dk>
Date: Thu, 3 Nov 2022 15:31:17 +0100
From: Rasmus Villemoes <linux@...musvillemoes.dk>
To: Andrew Lunn <andrew@...n.ch>,
Heiner Kallweit <hkallweit1@...il.com>,
Russell King <linux@...linux.org.uk>
Cc: netdev@...r.kernel.org, devicetree@...r.kernel.org,
Rob Herring <robh+dt@...nel.org>,
Rasmus Villemoes <linux@...musvillemoes.dk>
Subject: [PATCH 1/2] dt-bindings: dp83867: define ti,ledX-active-low properties
The dp83867 has three LED_X pins that can be used to drive LEDs. They
are by default driven active high, but on some boards the reverse is
needed. Add bindings to allow a board to specify that they should be
active low.
Signed-off-by: Rasmus Villemoes <linux@...musvillemoes.dk>
---
.../devicetree/bindings/net/ti,dp83867.yaml | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/Documentation/devicetree/bindings/net/ti,dp83867.yaml b/Documentation/devicetree/bindings/net/ti,dp83867.yaml
index b8c0e4b5b494..8483544e28c3 100644
--- a/Documentation/devicetree/bindings/net/ti,dp83867.yaml
+++ b/Documentation/devicetree/bindings/net/ti,dp83867.yaml
@@ -118,6 +118,21 @@ properties:
Transmitt FIFO depth- see dt-bindings/net/ti-dp83867.h for applicable
values.
+ ti,led0-active-low:
+ type: boolean
+ description: |
+ This denotes that the LED_0 pin should be driven as active low.
+
+ ti,led1-active-low:
+ type: boolean
+ description: |
+ This denotes that the LED_1 pin should be driven as active low.
+
+ ti,led2-active-low:
+ type: boolean
+ description: |
+ This denotes that the LED_2 pin should be driven as active low.
+
required:
- reg
--
2.37.2
Powered by blists - more mailing lists