net: phy: add Motorcomm YT8531S phy id. 98/291098/2
authorFrank <Frank.Sae@motor-comm.com>
Tue, 22 Nov 2022 08:42:32 +0000 (16:42 +0800)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 10 Apr 2023 04:14:36 +0000 (13:14 +0900)
commitbf19a8f6c6de8f73ae384a9de0dbae9c7bb39925
tree9fc91eb2a9114cc435ded28e0cf3ccf641f005f0
parent025d67cfd7eb92a535426c05e75b54e315a60bf3
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>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Change-Id: Ic52d4469045c2bfbf97250e137004729fc6dea46
drivers/net/phy/Kconfig
drivers/net/phy/motorcomm.c