On Thu, Nov 16, 2023 at 06:47:08PM +0800, Jie Luo wrote: > > > On 11/16/2023 12:20 AM, Andrew Lunn wrote: > > On Wed, Nov 15, 2023 at 11:25:14AM +0800, Luo Jie wrote: > > > The PHY & PCS clocks need to be enabled and the reset > > > sequence needs to be completed to make qca8084 PHY > > > probeable by MDIO bus. > > > > Is all this guaranteed to be the same between different boards? Can > > the board be wired differently and need a different configuration? > > > > Andrew > > Hi Andrew, > This configuration sequence is specified to the qca8084 chip, > not related with the platform(such as ipq5332). > > All these configured registers are located in qca8084 chip, we need > to complete these configurations to make MDIO bus being able to > scan the qca8084 PHY(PHY registers can be accessed). So nothing here has anything to do with the actual PHYs on the bus? The only clock exposed here is MDC, and that runs at the standard 2.5MHz? All the clock tree configuration is completely internal to the SOC? What we don't want is some hard coded configuration which only works for one specific reference design. Andrew