[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGp9LzqqeJRtqtavMJQ3vokBWnpiJYaPuFWYgPr+BP4h6hTr0g@mail.gmail.com>
Date: Tue, 29 Jan 2019 19:55:12 -0800
From: Sean Wang <sean.wang@...nel.org>
To: Florian Fainelli <f.fainelli@...il.com>
Cc: gerg@...nel.org,
Sean Wang (王志亘) <sean.wang@...iatek.com>,
linux-mediatek@...ts.infradead.org, bjorn@...k.no,
Andrew Lunn <andrew@...n.ch>,
vivien.didelot@...oirfairelinux.com, netdev@...r.kernel.org,
neil@...wn.name, rene@...rst.com, John Crispin <john@...ozen.org>
Subject: Re: [PATCHv4 2/3] net: dsa: mt7530: support the 7530 switch on the
Mediatek MT7621 SoC
On Tue, Jan 29, 2019 at 7:39 PM Florian Fainelli <f.fainelli@...il.com> wrote:
>
>
>
> On 1/29/19 5:24 PM, 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>
>
> Reviewed-by: Florian Fainelli <f.fainelli@...il.com>
Acked-by: Sean Wang <sean.wang@...nel.org>
> --
> Florian
>
> _______________________________________________
> Linux-mediatek mailing list
> Linux-mediatek@...ts.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-mediatek
Powered by blists - more mailing lists