net: phy: motorcomm: Add pad drive strength cfg support 27/295627/2
authorSamin Guo <samin.guo@starfivetech.com>
Tue, 25 Apr 2023 10:43:29 +0000 (18:43 +0800)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 12 Jul 2023 03:20:53 +0000 (03:20 +0000)
commitc5ac06a285f961c4872e3de0bff245d845aa9bf1
treec81beb938e488fcac27599f12fa5c3a7cc8d7792
parent599ee0458c6ef346fd2e6c11ee8476e7700bcd97
net: phy: motorcomm: Add pad drive strength cfg support

The motorcomm phy (YT8531) supports the ability to adjust the drive
strength of the rx_clk/rx_data, and the default strength may not be
suitable for all boards. So add configurable options to better match
the boards.(e.g. StarFive VisionFive 2)

Original commit: https://github.com/SaminGuo/linux/commit/3732faf2239b77478022246b9ac62902ec30c2c6

Change-Id: Ic805273b769f3ee47eab4aec1c16c6633d466ac8
Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/net/phy/motorcomm.c