From: Andrew Lunn <andrew@lunn.ch>
To: gerg@kernel.org
Cc: sean.wang@mediatek.com, bjorn@mork.no,
vivien.didelot@savoirfairelinux.com, f.fainelli@gmail.com,
netdev@vger.kernel.org, rene@vdorst.com, john@phrozen.org,
neil@brown.name
Subject: Re: [PATCHv3 2/3] net: dsa: mt7530: support the 7530 switch on the Mediatek MT7621 SoC
Date: Mon, 21 Jan 2019 18:04:42 +0100 [thread overview]
Message-ID: <20190121170442.GH8620@lunn.ch> (raw)
In-Reply-To: <20190121071140.23089-3-gerg@kernel.org>
On Mon, Jan 21, 2019 at 05:11:39PM +1000, gerg@kernel.org wrote:
> From: Greg Ungerer <gerg@kernel.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@kernel.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Andrew
next prev parent reply other threads:[~2019-01-21 17:04 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-21 7:11 [PATCHv3 0/3]: net: support MT7530 switch in the MT7621 SoC gerg
2019-01-21 7:11 ` [PATCHv3 1/3] net: ethernet: mediatek: support MT7621 SoC ethernet hardware gerg
2019-01-21 7:11 ` [PATCHv3 2/3] net: dsa: mt7530: support the 7530 switch on the Mediatek MT7621 SoC gerg
2019-01-21 16:56 ` kbuild test robot
2019-01-21 17:04 ` Andrew Lunn [this message]
2019-01-22 1:28 ` Greg Ungerer
2019-01-21 7:11 ` [PATCHv3 3/3] dt-bindings: net: dsa: add new MT7530 binding to support MT7621 gerg
2019-01-21 17:05 ` Andrew Lunn
-- strict thread matches above, loose matches on Subject: below --
2019-01-21 20:10 [PATCHv3 2/3] net: dsa: mt7530: support the 7530 switch on the Mediatek MT7621 SoC Sean Wang
2019-01-21 20:10 ` Sean Wang
2019-01-22 1:33 ` Greg Ungerer
2019-01-22 21:13 ` René van Dorst
2019-01-22 22:58 ` Florian Fainelli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190121170442.GH8620@lunn.ch \
--to=andrew@lunn.ch \
--cc=bjorn@mork.no \
--cc=f.fainelli@gmail.com \
--cc=gerg@kernel.org \
--cc=john@phrozen.org \
--cc=neil@brown.name \
--cc=netdev@vger.kernel.org \
--cc=rene@vdorst.com \
--cc=sean.wang@mediatek.com \
--cc=vivien.didelot@savoirfairelinux.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.