Skip to content

vsc8541 Ethernet PHY driver issues #92553

@robhancocksed

Description

@robhancocksed

Describe the bug

The following issues were encountered during integration on a platform using the VSC8541 Ethernet PHY driver:

  • cfg_link method is not implemented, which causes issues with MAC drivers that try to use this call.
  • PHY's page register is not protected from concurrent accesses on different threads which can cause incorrect register access.
  • The MDIO bus is not enabled prior to PHY register access, causing problems with some MDIO drivers.
  • Reset GPIO sense is inverted relative to the normal convention, which is to treat a logical one as asserted and zero as de-asserted. The driver is assuming the GPIO is active low and using 0 to assert, when this should be set in the device tree using GPIO_ACTIVE_LOW.

Regression

  • This is a regression.

Steps to reproduce

No response

Relevant log output

Impact

Major – Severely degrades functionality; workaround is difficult or unavailable.

Environment

No response

Additional Context

Fixes being worked on under #91726

Metadata

Metadata

Assignees

Labels

area: EthernetbugThe issue is a bug, or the PR is fixing a bugpriority: lowLow impact/importance bug

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions