[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y211tK/kjSAL4qKb@lunn.ch>
Date: Thu, 10 Nov 2022 23:05:40 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Lukasz Majewski <lukma@...x.de>
Cc: Vivien Didelot <vivien.didelot@...il.com>,
Florian Fainelli <f.fainelli@...il.com>,
Vladimir Oltean <olteanv@...il.com>,
"David S . Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>, netdev@...r.kernel.org,
Matthias Schiffer <matthias.schiffer@...tq-group.com>
Subject: Re: [PATCH 1/9] net: dsa: allow switch drivers to override default
slave PHY addresses
> It depends if the HW designer set this bootstrap pin low or high :-)
> (often this pin is not concerned until mainline/BSP driver is not
> working :-) )
>
> As it costs $ to fix this - it is easier to add "quirk" to the code.
Can you read the strapping configuration via the scratch registers?
Then you can detect it at probe time and do the right thing.
Andrew
Powered by blists - more mailing lists