Skip to content

Commit ff997bf

Browse files
Suraj JaiswalNipaLocal
Suraj Jaiswal
authored and
NipaLocal
committed
dt-bindings: net: qcom,ethqos: add binding doc for safety IRQ for sa8775p
Add binding doc for safety IRQ. The safety IRQ will be triggered for ECC(error correction code), DPP(data path parity), FSM(finite state machine) error. Signed-off-by: Suraj Jaiswal <[email protected]> Reviewed-by: Rob Herring <[email protected]> Signed-off-by: NipaLocal <nipa@local>
1 parent 1ce743f commit ff997bf

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

Documentation/devicetree/bindings/net/qcom,ethqos.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,14 @@ properties:
3737
items:
3838
- description: Combined signal for various interrupt events
3939
- description: The interrupt that occurs when Rx exits the LPI state
40+
- description: The interrupt that occurs when HW safety error triggered
4041

4142
interrupt-names:
4243
minItems: 1
4344
items:
4445
- const: macirq
45-
- const: eth_lpi
46+
- enum: [eth_lpi, sfty]
47+
- const: sfty
4648

4749
clocks:
4850
maxItems: 4
@@ -89,8 +91,9 @@ examples:
8991
<&gcc GCC_ETH_PTP_CLK>,
9092
<&gcc GCC_ETH_RGMII_CLK>;
9193
interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
92-
<GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
93-
interrupt-names = "macirq", "eth_lpi";
94+
<GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
95+
<GIC_SPI 782 IRQ_TYPE_LEVEL_HIGH>;
96+
interrupt-names = "macirq", "eth_lpi", "sfty";
9497
9598
rx-fifo-depth = <4096>;
9699
tx-fifo-depth = <4096>;

Documentation/devicetree/bindings/net/snps,dwmac.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,13 +107,15 @@ properties:
107107
- description: Combined signal for various interrupt events
108108
- description: The interrupt to manage the remote wake-up packet detection
109109
- description: The interrupt that occurs when Rx exits the LPI state
110+
- description: The interrupt that occurs when HW safety error triggered
110111

111112
interrupt-names:
112113
minItems: 1
113114
items:
114115
- const: macirq
115-
- enum: [eth_wake_irq, eth_lpi]
116-
- const: eth_lpi
116+
- enum: [eth_wake_irq, eth_lpi, sfty]
117+
- enum: [eth_wake_irq, eth_lpi, sfty]
118+
- enum: [eth_wake_irq, eth_lpi, sfty]
117119

118120
clocks:
119121
minItems: 1

0 commit comments

Comments
 (0)