-
Notifications
You must be signed in to change notification settings - Fork 7.8k
drivers: ethernet: phy: use default speeds props on the other phys #91572
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
drivers: ethernet: phy: use default speeds props on the other phys #91572
Conversation
2785c29
to
b76ec40
Compare
185bb90
to
0a2ddba
Compare
62e692e
to
dda4d30
Compare
2f6c139
to
5e306fb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
move adi,adin1110.yaml adi,adin2111.yaml from the phy subdir back into the ethernet dir. They are ethernet controller bindings, not phy bindings. Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
fixed link mode is a mode where we don't comunicate with the phy, therefore we don't need it in other phys as the generic phy_mii one. Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
split ethernet-phy.yaml, so that parts, that are used by other phys are separated. Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
remove the use of phy_configure_link() in the ethernet drivers. The user can now select the default speeds via DT prop, doing another phy_configure_link() in the eth driver would overwrite that. Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
put the macro to get the default speeds into a shared header for the phys. Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
use default speeds from dt to configure phy on init. Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
use default speeds from dt to configure phy on init. Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
use default speeds from dt to configure phy on init. Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
use default speeds from dt to configure phy on init. Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
use default speeds from dt to configure phy on init. Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
use default speeds dt prop Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
5e306fb
to
edc6013
Compare
@clamattia #91726 contained the two commit too and it it now merged, so this PR no longer has these commits. Rebased because of that and because there were confilcts. |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good as far as I can see.
use the default speeds dt prop introduced here #89210 for phy_mii also on the other phys.