Files
u-boot/drivers
T Karthik Reddy 9b529a972d net: phy: Fix rgmii-id phy reset timeout issue
While creating a phy device using phy_device_create(), we need to
provide a valid phyaddr instead of 0 causing phy address being
registered as 0 with mdio bus and shows mdio phy list as below

ZynqMP>  mdio list
eth0:
0 - TI DP83867 <--> ethernet@ff0b0000
eth1:
0 - TI DP83867 <--> ethernet@ff0c0000

Also PHY soft reset is being requested on 0 instead of valid
address causing "PHY reset timed out" error.

So add phyaddr argument to phy_connect_phy_id() and to its prototype
to create phy device with valid phyaddress.

Fixes: a744a284e3 ("net: phy: Add support for ethernet-phy-id with gpio reset")
Signed-off-by: T Karthik Reddy <t.karthik.reddy@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Link: https://lore.kernel.org/r/fe35fddb9faa5af577ffdfabaec6879c935a30f8.1648562755.git.michal.simek@xilinx.com
2022-04-05 15:10:54 +02:00
..
2021-09-25 09:46:15 -06:00
2021-10-05 08:50:15 -04:00
2022-01-13 07:57:49 -05:00
2022-03-28 12:36:49 -04:00
2022-03-28 08:22:17 -04:00
2022-03-28 12:36:49 -04:00
2022-01-13 07:57:49 -05:00
2022-03-28 20:16:46 +02:00
2022-03-30 14:50:47 +02:00
2022-03-28 12:36:49 -04:00
2022-02-25 01:41:04 -05:00
2022-01-19 18:11:34 +01:00
2022-03-15 17:43:11 +08:00
2022-01-19 18:11:34 +01:00
2022-03-28 20:29:58 +02:00
2022-01-19 18:11:34 +01:00
2021-10-01 21:08:18 -04:00
2021-10-31 08:46:44 -04:00
2021-10-31 08:46:44 -04:00