[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20260113110020.37013-1-angelogioacchino.delregno@collabora.com>
Date: Tue, 13 Jan 2026 12:00:20 +0100
From: AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>
To: devicetree@...r.kernel.org
Cc: andrew@...n.ch,
olteanv@...il.com,
davem@...emloft.net,
edumazet@...gle.com,
kuba@...nel.org,
pabeni@...hat.com,
robh@...nel.org,
krzk+dt@...nel.org,
conor+dt@...nel.org,
matthias.bgg@...il.com,
angelogioacchino.delregno@...labora.com,
arinc.unal@...nc9.com,
Landen.Chao@...iatek.com,
dqfext@...il.com,
sean.wang@...iatek.com,
daniel@...rotopia.org,
netdev@...r.kernel.org,
linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org,
kernel@...labora.com
Subject: [PATCH] dt-bindings: net: dsa: mt7530: Allow interrupts-extended dependency
When the MT7530 switch is configured as an interrupt-controller it
also needs an interrupt but, in this case, only "interrupts" was
allowed.
Some devicetrees instead use the interrupts-extended property as a
shorter form, and in place of "interrupts" and "interrupt-parent",
as an equivalent.
For this reason, when interrupt-controller is present, depend on
either `interrupts` or `interrupts-extended`; this also resolves
some dtbs_check warnings.
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>
---
.../devicetree/bindings/net/dsa/mediatek,mt7530.yaml | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml b/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml
index 815a90808901..ffeb8d5836fe 100644
--- a/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml
+++ b/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml
@@ -279,8 +279,11 @@ allOf:
- resets
- reset-names
- - dependencies:
- interrupt-controller: [ interrupts ]
+ - anyOf:
+ - dependencies:
+ interrupt-controller: [ interrupts ]
+ - dependencies:
+ interrupt-controller: [ interrupts-extended ]
- if:
properties:
--
2.52.0
Powered by blists - more mailing lists