Re: [PATCH net-next v5 2/9] dt-bindings: net: dsa: microchip,ksz: add interrupt property

2020-12-09 Thread Rob Herring
On Thu, 03 Dec 2020 11:21:10 +0100, Christian Eggers wrote:
> The devices have an optional interrupt line.
> 
> Signed-off-by: Christian Eggers 
> ---
>  .../devicetree/bindings/net/dsa/microchip,ksz.yaml | 7 +++
>  1 file changed, 7 insertions(+)
> 

Reviewed-by: Rob Herring 


[PATCH net-next v5 2/9] dt-bindings: net: dsa: microchip,ksz: add interrupt property

2020-12-03 Thread Christian Eggers
The devices have an optional interrupt line.

Signed-off-by: Christian Eggers 
---
 .../devicetree/bindings/net/dsa/microchip,ksz.yaml | 7 +++
 1 file changed, 7 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml 
b/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml
index 9f7d131bbcef..c3235110156a 100644
--- a/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml
+++ b/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml
@@ -35,6 +35,11 @@ properties:
   Should be a gpio specifier for a reset line.
 maxItems: 1
 
+  interrupts:
+description:
+  Interrupt specifier for the INTRP_N line from the device.
+maxItems: 1
+
   microchip,synclko-125:
 $ref: /schemas/types.yaml#/definitions/flag
 description:
@@ -49,6 +54,7 @@ unevaluatedProperties: false
 examples:
   - |
 #include 
+#include 
 
 // Ethernet switch connected via SPI to the host, CPU port wired to eth0:
 eth0 {
@@ -70,6 +76,7 @@ examples:
 compatible = "microchip,ksz9477";
 reg = <0>;
 reset-gpios = < 0 GPIO_ACTIVE_LOW>;
+interrupts-extended = < 1 IRQ_TYPE_LEVEL_LOW>;  /* INTRP_N 
line */
 
 spi-max-frequency = <4400>;
 
-- 
Christian Eggers
Embedded software developer

Arnold & Richter Cine Technik GmbH & Co. Betriebs KG
Sitz: Muenchen - Registergericht: Amtsgericht Muenchen - Handelsregisternummer: 
HRA 57918
Persoenlich haftender Gesellschafter: Arnold & Richter Cine Technik GmbH
Sitz: Muenchen - Registergericht: Amtsgericht Muenchen - Handelsregisternummer: 
HRB 54477
Geschaeftsfuehrer: Dr. Michael Neuhaeuser; Stephan Schenk; Walter Trauninger; 
Markus Zeiler