diff options
author | Greg Ungerer <gerg@kernel.org> | 2019-01-30 11:24:05 +1000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-01-30 14:26:07 -0800 |
commit | ddda1ac116c852bb969541ed53cffef7255c4961 (patch) | |
tree | 35a87f9e85b0cb1c15e11d6e2b2dc5b2101022d2 /drivers/net/hippi | |
parent | 889bcbdeee57376b7724e3cff46931c1a951bf3e (diff) |
net: dsa: mt7530: support the 7530 switch on the Mediatek MT7621 SoC
The MediaTek MT7621 SoC device contains a 7530 switch, and the existing
linux kernel 7530 DSA switch driver can be used with it.
The bulk of the changes required stem from the 7621 having different
regulator and pad setup. The existing setup of these in the 7530
driver appears to be very specific to its implemtation in the Mediatek
7623 SoC. (Not entirely surprising given the 7623 is a quad core ARM
based SoC, and the 7621 is a dual core, dual thread MIPS based SoC).
Create a new devicetree type, "mediatek,mt7621", to support the 7530
switch in the 7621 SoC. There appears to be no usable ID register to
distinguish it from a 7530 in other hardware at runtime. This is used
to carry out the appropriate configuration and setup.
Signed-off-by: Greg Ungerer <gerg@kernel.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Acked-by: Sean Wang <sean.wang@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/hippi')
0 files changed, 0 insertions, 0 deletions