[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190121170442.GH8620@lunn.ch>
Date: Mon, 21 Jan 2019 18:04:42 +0100
From: Andrew Lunn <andrew@...n.ch>
To: gerg@...nel.org
Cc: sean.wang@...iatek.com, bjorn@...k.no,
vivien.didelot@...oirfairelinux.com, f.fainelli@...il.com,
netdev@...r.kernel.org, rene@...rst.com, john@...ozen.org,
neil@...wn.name
Subject: Re: [PATCHv3 2/3] net: dsa: mt7530: support the 7530 switch on the
Mediatek MT7621 SoC
On Mon, Jan 21, 2019 at 05:11:39PM +1000, gerg@...nel.org wrote:
> From: Greg Ungerer <gerg@...nel.org>
>
> 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@...nel.org>
Reviewed-by: Andrew Lunn <andrew@...n.ch>
Andrew
Powered by blists - more mailing lists