diff options
author | Arınç ÜNAL <arinc.unal@arinc9.com> | 2023-03-10 10:33:38 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-03-13 17:04:18 -0700 |
commit | 0b086d76e7b011772b0ac214c6e5fd5816eff2df (patch) | |
tree | 03f91e95116ac129d361228c028063e5294668e7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | feb03fd11c5616f3a47e4714d2f9917d0f1a2edd (diff) |
net: dsa: mt7530: set PLL frequency and trgmii only when trgmii is used
As my testing on the MCM MT7530 switch on MT7621 SoC shows, setting the PLL
frequency does not affect MII modes other than trgmii on port 5 and port 6.
So the assumption is that the operation here called "setting the PLL
frequency" actually sets the frequency of the TRGMII TX clock.
Make it so that it and the rest of the trgmii setup run only when the
trgmii mode is used.
Tested rgmii and trgmii modes of port 6 on MCM MT7530 on MT7621AT Unielec
U7621-06 and standalone MT7530 on MT7623NI Bananapi BPI-R2.
Fixes: b8f126a8d543 ("net-next: dsa: add dsa support for Mediatek MT7530 switch")
Tested-by: Arınç ÜNAL <arinc.unal@arinc9.com>
Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
Link: https://lore.kernel.org/r/20230310073338.5836-2-arinc.unal@arinc9.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions