net: phy: motorcomm: Add pad drive strength cfg support
authorSamin Guo <samin.guo@starfivetech.com>
Tue, 25 Apr 2023 10:43:29 +0000 (18:43 +0800)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 24 Jul 2023 23:25:20 +0000 (08:25 +0900)
commite232734045ac81214b546aa6bc63f66cd8a25f84
treec0dcbe2abc5bbdad99ad23a0f54feec1ca85f1dc
parent60da2c9e6679d4a140ee3a1e943bcf50dbc078ae
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