Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: net: sparx5: do not require phys when RGMII is used

LAN969x has 2 dedicated RGMII ports, so regular SERDES lanes are not used
for RGMII.

So, lets not require phys to be defined when any of the rgmii phy-modes are
set.

Signed-off-by: Robert Marko <robert.marko@sartura.hr>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20260115114021.111324-11-robert.marko@sartura.hr
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Robert Marko and committed by
Jakub Kicinski
3cc3ca6d 49743f27

+14 -1
+14 -1
Documentation/devicetree/bindings/net/microchip,sparx5-switch.yaml
··· 151 151 152 152 required: 153 153 - reg 154 - - phys 155 154 - phy-mode 156 155 - microchip,bandwidth 156 + 157 + if: 158 + not: 159 + properties: 160 + phy-mode: 161 + contains: 162 + enum: 163 + - rgmii 164 + - rgmii-id 165 + - rgmii-rxid 166 + - rgmii-txid 167 + then: 168 + required: 169 + - phys 157 170 158 171 oneOf: 159 172 - required: