public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: "Russell King (Oracle)" <linux@armlinux•org.uk>
To: arinc9.unal@gmail•com
Cc: "Sean Wang" <sean.wang@mediatek•com>,
	"Landen Chao" <Landen.Chao@mediatek•com>,
	"DENG Qingfang" <dqfext@gmail•com>,
	"Andrew Lunn" <andrew@lunn•ch>,
	"Florian Fainelli" <f.fainelli@gmail•com>,
	"Vladimir Oltean" <olteanv@gmail•com>,
	"David S. Miller" <davem@davemloft•net>,
	"Eric Dumazet" <edumazet@google•com>,
	"Jakub Kicinski" <kuba@kernel•org>,
	"Paolo Abeni" <pabeni@redhat•com>,
	"Matthias Brugger" <matthias.bgg@gmail•com>,
	"AngeloGioacchino Del Regno"
	<angelogioacchino.delregno@collabora•com>,
	"Arınç ÜNAL" <arinc.unal@arinc9•com>,
	"René van Dorst" <opensource@vdorst•com>,
	"Alexander Couzens" <lynxis@fe80•eu>,
	"Ilya Lipnitskiy" <ilya.lipnitskiy@gmail•com>,
	"Richard van Schagen" <richard@routerhints•com>,
	"Frank Wunderlich" <frank-w@public-files•de>,
	erkin.bozoglu@xeront•com, netdev@vger•kernel.org,
	linux-kernel@vger•kernel.org,
	linux-arm-kernel@lists•infradead.org,
	linux-mediatek@lists•infradead.org
Subject: Re: [RFC PATCH net] net: dsa: mt7530: move PLL setup out of port 6 pad configuration
Date: Sat, 4 Mar 2023 13:04:01 +0000	[thread overview]
Message-ID: <ZANBwZryFXDEVEtG@shell.armlinux.org.uk> (raw)
In-Reply-To: <20230304125453.53476-1-arinc.unal@arinc9.com>

On Sat, Mar 04, 2023 at 03:54:54PM +0300, arinc9.unal@gmail•com wrote:
> From: Arınç ÜNAL <arinc.unal@arinc9•com>
> 
> Move the PLL setup of the MT7530 switch out of the pad configuration of
> port 6 to mt7530_setup, after reset.
> 
> This fixes the improper initialisation of the switch when only port 5 is
> used as a CPU port.
> 
> Add supported phy modes of port 5 on the PLL setup.
> 
> Remove now incorrect comment regarding P5 as GMAC5.

If this is what is necessary, you're taking some of the configuration
out of phylink's control, effectively making port 6 a fixed-interface
mode port. In that case, there should only ever be one interface
mode set in port 6's supported_interface mask, so that phylink knows
that no other interface modes can be selected for that port.

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!

  reply	other threads:[~2023-03-04 13:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-04 12:54 [RFC PATCH net] net: dsa: mt7530: move PLL setup out of port 6 pad configuration arinc9.unal
2023-03-04 13:04 ` Russell King (Oracle) [this message]
2023-03-06 13:18   ` Arınç ÜNAL
2023-03-06 13:19 ` Arınç ÜNAL
2023-03-06 15:45 ` Vladimir Oltean
2023-03-06 17:03   ` Arınç ÜNAL
2023-03-06 20:19     ` Vladimir Oltean
2023-03-07 11:26       ` Arınç ÜNAL
2023-03-07 11:37         ` Vladimir Oltean
2023-03-07 11:51           ` Arınç ÜNAL

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=ZANBwZryFXDEVEtG@shell.armlinux.org.uk \
    --to=linux@armlinux$(echo .)org.uk \
    --cc=Landen.Chao@mediatek$(echo .)com \
    --cc=andrew@lunn$(echo .)ch \
    --cc=angelogioacchino.delregno@collabora$(echo .)com \
    --cc=arinc.unal@arinc9$(echo .)com \
    --cc=arinc9.unal@gmail$(echo .)com \
    --cc=davem@davemloft$(echo .)net \
    --cc=dqfext@gmail$(echo .)com \
    --cc=edumazet@google$(echo .)com \
    --cc=erkin.bozoglu@xeront$(echo .)com \
    --cc=f.fainelli@gmail$(echo .)com \
    --cc=frank-w@public-files$(echo .)de \
    --cc=ilya.lipnitskiy@gmail$(echo .)com \
    --cc=kuba@kernel$(echo .)org \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-mediatek@lists$(echo .)infradead.org \
    --cc=lynxis@fe80$(echo .)eu \
    --cc=matthias.bgg@gmail$(echo .)com \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=olteanv@gmail$(echo .)com \
    --cc=opensource@vdorst$(echo .)com \
    --cc=pabeni@redhat$(echo .)com \
    --cc=richard@routerhints$(echo .)com \
    --cc=sean.wang@mediatek$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox