HomeFreeBSD

mccomphy: add support for YT8531

Description

mccomphy: add support for YT8531

Reviewed by: mhorne
Tested by: mhorne
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D45600

Event Timeline

Behind the link below is a solution which follows an example of vscphy.c. It adds three #if clauses to bypass the FDT code. Functions and return instructions are included also without FDT since they are needed to avoid compiler errors. This solution assumes that functions are only used by computers which use FDT. The devices that use the other Motorcomm YT8511 revision seem to be Rockchip SoCs so the assumption looks safe at this point.
mcommphy.c