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

dt-bindings: net: mediatek: remove wrongly added clocks and SerDes

Several clocks as well as both sgmiisys phandles were added by mistake
to the Ethernet bindings for MT7988. Also, the total number of clocks
didn't match with the actual number of items listed.

This happened because the vendor driver which served as a reference uses
a high number of syscon phandles to access various parts of the SoC
which wasn't acceptable upstream. Hence several parts which have never
previously been supported (such SerDes PHY and USXGMII PCS) are going to
be implemented by separate drivers. As a result the device tree will
look much more sane.

Quickly align the bindings with the upcoming reality of the drivers
actually adding support for the remaining Ethernet-related features of
the MT7988 SoC.

Fixes: c94a9aabec36 ("dt-bindings: net: mediatek,net: add mt7988-eth binding")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/1569290b21cc787a424469ed74456a7e976b102d.1715084326.git.daniel@makrotopia.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Daniel Golle and committed by
Jakub Kicinski
cc349b07 02754103

+2 -20
+2 -20
Documentation/devicetree/bindings/net/mediatek,net.yaml
··· 337 337 minItems: 4 338 338 339 339 clocks: 340 - minItems: 34 341 - maxItems: 34 340 + minItems: 24 341 + maxItems: 24 342 342 343 343 clock-names: 344 344 items: ··· 351 351 - const: ethwarp_wocpu1 352 352 - const: ethwarp_wocpu0 353 353 - const: esw 354 - - const: netsys0 355 - - const: netsys1 356 - - const: sgmii_tx250m 357 - - const: sgmii_rx250m 358 - - const: sgmii2_tx250m 359 - - const: sgmii2_rx250m 360 - - const: top_usxgmii0_sel 361 - - const: top_usxgmii1_sel 362 - - const: top_sgm0_sel 363 - - const: top_sgm1_sel 364 - - const: top_xfi_phy0_xtal_sel 365 - - const: top_xfi_phy1_xtal_sel 366 354 - const: top_eth_gmii_sel 367 355 - const: top_eth_refck_50m_sel 368 356 - const: top_eth_sys_200m_sel ··· 363 375 - const: top_netsys_sync_250m_sel 364 376 - const: top_netsys_ppefb_250m_sel 365 377 - const: top_netsys_warp_sel 366 - - const: wocpu1 367 - - const: wocpu0 368 378 - const: xgp1 369 379 - const: xgp2 370 380 - const: xgp3 371 - 372 - mediatek,sgmiisys: 373 - minItems: 2 374 - maxItems: 2 375 381 376 382 patternProperties: 377 383 "^mac@[0-1]$":