Re: [PATCH 06/12] net: phy: add phy_device_atomic_register helper
From: Andrew Lunn
Date: Fri Apr 07 2023 - 11:03:01 EST
Lets try again....
There are a number of things i don't like about this patchset.
It does too many different things.
It pulls workarounds into the core.
I don't like the phy_device_config. It would make sense if there were
more than 6 arguments to pass to a function, but not for less.
I don't like the name phy_device_atomic_register(), but that is bike
shedding.
There is no really strong argument to change the API.
There is no really strong argument to move to fwnode.
The problem you are trying to solve is to call phy_device_reset()
earlier, before reading the ID registers. Please produce a patchset
which is only focused on that. Nothing else.
Andrew