[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5f7d58ba-60c8-f635-a06d-a041588f64da@arinc9.com>
Date: Sat, 15 Apr 2023 16:40:19 +0300
From: Arınç ÜNAL <arinc.unal@...nc9.com>
To: Vladimir Oltean <olteanv@...il.com>
Cc: Daniel Golle <daniel@...rotopia.org>,
Frank Wunderlich <frank-w@...lic-files.de>,
netdev <netdev@...r.kernel.org>, erkin.bozoglu@...ont.com,
Thibaut <hacks@...shdirt.org>
Subject: Re: mt7530: dsa_switch_parse_of() fails, causes probe code to run
twice
On 15.04.2023 16:38, Vladimir Oltean wrote:
> On Sat, Apr 15, 2023 at 04:19:46PM +0300, Arınç ÜNAL wrote:
>> While speaking here, let's discuss what should be considered probing.
>>
>> One thing that complicates this is that the MT7530 switch has got a unique
>> feature, PHY muxing. I want to be able to use this feature without
>> registering the switch at all. And that requires the switch to be at least
>> reset.
>
> All DSA switch drivers end their probing with a successful call to
> dsa_register_switch(). I would appreciate if you wouldn't start adding
> exceptions to that.
My wording was not great there. What I meant is that PHY muxing will be
configured before dsa_register_switch() is run.
Arınç
Powered by blists - more mailing lists