net: phy: add Motorcomm YT8531S phy id.
authorFrank <Frank.Sae@motor-comm.com>
Tue, 22 Nov 2022 08:42:32 +0000 (16:42 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 Nov 2022 07:54:52 +0000 (07:54 +0000)
commit813abcd98fb1b2cccf850cdfa092a4bfc50b2363
tree500e9900043b36ca2fbd9e8c64640b268166a110
parent14e5f71e31ff3925cc970fa7907393ee7f4b748d
net: phy: add Motorcomm YT8531S phy id.

We added patch for motorcomm.c to support YT8531S. This patch has
been tested on AM335x platform which has one YT8531S interface
card and passed all test cases.
The tested cases indluding: YT8531S UTP function with support of
10M/100M/1000M; YT8531S Fiber function with support of 100M/1000M;
and YT8531S Combo function that supports auto detection of media type.

Since most functions of YT8531S are similar to YT8521 and we reuse some
codes for YT8521 in the patch file.

Signed-off-by: Frank <Frank.Sae@motor-comm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/Kconfig
drivers/net/phy/motorcomm.c