[PATCH 3/3] dt-bindings: net: dsa: add new bindings MT7530

2018-11-29 Thread gerg
From: Greg Ungerer Add descriptive entries for the new bindings introduced to support the MT7530 implementation in the MediaTek MT7621 SoC. New bindings added for: mediatek,no-clock-regulator mediatek,mfc-has-cpuport Signed-off-by: Greg Ungerer ---

[PATCH 1/3] net: dsa: mt7530: make clock/regulator setup optional

2018-11-29 Thread gerg
From: Greg Ungerer At least one device that contains the MediaTek MT7530 switch module does not need the clock and regulator setup parts of the MT7530 DSA driver. That setup looks to be very specific to the MT7623. The MediaTek MT7621 SoC device contains a 7530 switch, but its MIPS CPU cores

[PATCH 2/3] net: dsa: mt7530: optional setting CPU field in MFC register

2018-11-29 Thread gerg
From: Greg Ungerer Some versions of the MediaTek MT7530 switch have a CPU port number and enable bit in their MFC register. The MT7530 instance on the MediaTek MT7621 SoC is one that does for example. The switch will not work without these fields being correctly setup on these devices. Create a

[PATCH 0/3]: net: dsa: mt7530: support MT7530 in the MT7621 SoC

2018-11-29 Thread gerg
I have been working towards supporting the MT7530 switch as used in the MediaTek MT7621 SoC. Unlike the MediaTek MT7623 the MT7621 is built around a dual core MIPS CPU architecture. But underneath it is what appears to be the same 7530 switch. The following 3 patches are more of an RFC than