[PATCH net-next v5 6/9] dt-bindings: net: snps,dwmac: add safety irq support

From: Jisheng Zhang
Date: Thu Aug 17 2023 - 13:10:33 EST


The snps dwmac IP support safety features, and those Safety Feature
Correctible Error and Uncorrectible Error irqs may be separate irqs.

Signed-off-by: Jisheng Zhang <jszhang@xxxxxxxxxx>
---
.../devicetree/bindings/net/snps,dwmac.yaml | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/net/snps,dwmac.yaml b/Documentation/devicetree/bindings/net/snps,dwmac.yaml
index ddf9522a5dc2..ee9174f77d97 100644
--- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml
+++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml
@@ -103,17 +103,26 @@ properties:

interrupts:
minItems: 1
+ maxItems: 5
+ additionalItems: true
items:
- description: Combined signal for various interrupt events
- description: The interrupt to manage the remote wake-up packet detection
- description: The interrupt that occurs when Rx exits the LPI state
+ - description: The interrupt that occurs when Safety Feature Correctible Errors happen
+ - description: The interrupt that occurs when Safety Feature Uncorrectible Errors happen

interrupt-names:
minItems: 1
+ maxItems: 5
+ additionalItems: true
items:
- const: macirq
- - enum: [eth_wake_irq, eth_lpi]
- - const: eth_lpi
+ - enum:
+ - eth_wake_irq
+ - eth_lpi
+ - sfty_ce
+ - sfty_ue

clocks:
minItems: 1
--
2.40.1