[PATCH v2 5/8] dt-bindings: net: dsa: microchip: add interrupts property for ksz switches

Leonard Göhrs posted 8 patches 2 years, 8 months ago
[PATCH v2 5/8] dt-bindings: net: dsa: microchip: add interrupts property for ksz switches
Posted by Leonard Göhrs 2 years, 8 months ago
The ksz switch driver allows specifying an interrupt line to prevent
having to periodically poll the switch for link ups/downs and other
asynchronous events.

Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
---
 Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml b/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml
index e51be1ac03623..03b5567be3897 100644
--- a/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml
+++ b/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml
@@ -49,6 +49,9 @@ properties:
       Set if the output SYNCLKO clock should be disabled. Do not mix with
       microchip,synclko-125.
 
+  interrupts:
+    maxItems: 1
+
 required:
   - compatible
   - reg
-- 
2.39.2

Re: [PATCH v2 5/8] dt-bindings: net: dsa: microchip: add interrupts property for ksz switches
Posted by Conor Dooley 2 years, 8 months ago
On Wed, Jun 14, 2023 at 02:32:19PM +0200, Leonard Göhrs wrote:
> The ksz switch driver allows specifying an interrupt line to prevent
> having to periodically poll the switch for link ups/downs and other
> asynchronous events.
> 
> Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>

Acked-by: Conor Dooley <conor.dooley@microchip.com>