u-boot/drivers/net/phy
Vladimir Oltean 107b14e36e net: phy: dp83867: avoid error in dp83867_of_init() when PHY has no OF node
A DM_ETH driver may use phy_connect() towards a PHY address on an MDIO
bus which is not specified in the device tree, as evidenced by:

pfe_eth_probe
-> pfe_phy_configure
   -> phy_connect

When this happens, the PHY will have an invalid OF node.

The dp83867_config() method has extra initialization steps which are
bypassed when the PHY lacks an OF node, which is undesirable because it
will lead to broken networking. Allow the rest of the code to run.

Fixes: 085445ca41 ("net: phy: ti: Allow the driver to be more configurable")
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
2022-04-10 08:44:12 +03:00
..
aquantia.c net: freescale: replace usage of phy-mode = "sgmii-2500" with "2500base-x" 2021-09-28 18:50:56 +03:00
atheros.c phy: atheros: ar8035: Fix clock output calculation 2020-06-22 17:40:41 +02:00
b53.c global: Convert simple_strtoul() with decimal to dectoul() 2021-08-02 13:32:14 -04:00
broadcom.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
ca_phy.c net: phy: ca_phy: Add driver for CAxxxx SoCs 2021-01-27 10:47:47 -05:00
cortina.c Convert CONFIG_ENV_SPI_BUS et al to Kconfig 2021-12-27 08:40:33 -05:00
davicom.c net: phy: Clean up includes of common.h 2018-07-26 14:08:22 -05:00
dp83867.c net: phy: dp83867: avoid error in dp83867_of_init() when PHY has no OF node 2022-04-10 08:44:12 +03:00
dp83869.c net: phy: add TI DP83869HM ethernet driver 2022-01-15 18:50:16 +02:00
et1011c.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ethernet_id.c net: phy: Add support for ethernet-phy-id with gpio reset 2022-03-09 12:43:16 +01:00
fixed.c net: phy: fixed: Support the old DT binding 2021-04-15 14:22:17 +05:30
generic_10g.c net: phy: Clean up includes of common.h 2018-07-26 14:08:22 -05:00
Kconfig Convert CONFIG_BITBANGMII_MULTI to Kconfig 2022-04-01 10:28:46 -04:00
lxt.c net: phy: Clean up includes of common.h 2018-07-26 14:08:22 -05:00
Makefile net: phy: Add support for ethernet-phy-id with gpio reset 2022-03-09 12:43:16 +01:00
marvell.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
meson-gxl.c WS cleanup: remove trailing white space 2021-09-30 08:08:56 -04:00
micrel_ksz8xxx.c net: phy: micrel: ksz8061 implement errata 80000688A fix 2020-06-12 13:17:23 -04:00
micrel_ksz90x1.c net: phy: micrel: Try default PHY ofnode first 2021-01-27 10:47:54 -05:00
miiphybb.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mscc.c net: phy: mscc: add support for VSC8502 in dual RGMII mode 2021-11-23 09:57:55 +02:00
mv88e61xx.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
mv88e6352.c global: Convert simple_strtoul() with decimal to dectoul() 2021-08-02 13:32:14 -04:00
natsemi.c net: phy: Clean up includes of common.h 2018-07-26 14:08:22 -05:00
ncsi.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
nxp-c45-tja11xx.c phy: add nxp tja1103 phy driver 2021-07-06 05:22:41 +03:00
phy.c Convert CONFIG_PHY_RESET_DELAY to Kconfig 2022-03-25 12:01:15 +00:00
realtek.c net: phy: realtek: Add tx/rx delay config for 8211e 2021-11-23 09:57:56 +02:00
smsc.c net: phy: Clean up includes of common.h 2018-07-26 14:08:22 -05:00
teranetics.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
ti_phy_init.c net: phy: add TI DP83869HM ethernet driver 2022-01-15 18:50:16 +02:00
ti_phy_init.h net: phy: add TI DP83869HM ethernet driver 2022-01-15 18:50:16 +02:00
vitesse.c net: phy: Clean up includes of common.h 2018-07-26 14:08:22 -05:00
xilinx_gmii2rgmii.c net: phy: xilinx: Be compatible with live OF tree 2021-04-15 14:22:17 +05:30
xilinx_phy.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00