linux-stable/drivers/net/phy
Oleksij Rempel 0cda1acfa2 net: phy: dp83td510: add cable testing support
This patch implements the TDR test procedure as described in
"Application Note DP83TD510E Cable Diagnostics Toolkit revC", section 3.2.

The procedure was tested with "draka 08 signalkabel 2x0.8mm". The reported
cable length was 5 meters more for each 20 meters of actual cable length.
For instance, a 20-meter cable showed as 25 meters, and a 40-meter cable
showed as 50 meters. Since other parts of the diagnostics provided by this
PHY (e.g., Active Link Cable Diagnostics) require accurate cable
characterization to provide proper results, this tuning can be implemented
in a separate patch/interface.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
changes v2:
- add comments
- change post silence time to 1000ms
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20240712152848.2479912-1-o.rempel@pengutronix.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-07-13 16:00:44 -07:00
..
aquantia net: phy: aquantia: add support for aqr115c 2024-07-10 04:57:28 +01:00
mscc net: phy: extend PHY package API to support multiple global address 2023-12-17 20:10:07 +00:00
qcom net: revert partially applied PHY topology series 2024-05-13 18:35:02 -07:00
adin1100.c net: phy: adin1100: Add interrupt support for link change 2024-01-31 16:22:29 -08:00
adin.c net: phy: adin: allow control of Fast Link Down 2023-11-29 19:49:38 -08:00
air_en8811h.c net: phy: air_en8811h: reset netdev rules when LED is set manually 2024-05-13 13:51:17 -07:00
amd.c net: phy: amd: Support the Altima AMI101L 2023-10-03 11:44:09 +02:00
ax88796b_rust.rs net: phy: add Rust Asix PHY driver 2023-12-15 09:35:50 +00:00
ax88796b.c net: phy: fix regression with AX88772A PHY driver 2023-09-19 17:03:44 +02:00
bcm7xxx.c net: phy: bcm7xxx: Add missing 16nm EPHY statistics 2023-10-18 18:13:13 -07:00
bcm63xx.c
bcm87xx.c net: phy: fill in missing MODULE_DESCRIPTION()s 2023-11-01 21:50:56 -07:00
bcm54140.c net: phy: extend PHY package API to support multiple global address 2023-12-17 20:10:07 +00:00
bcm84881.c net: phy: bcm84881: fill in possible_interfaces 2023-11-27 18:04:12 -08:00
bcm-cygnus.c
bcm-phy-lib.c net: phy: broadcom: Add support for setting LED brightness 2023-06-09 10:38:43 +01:00
bcm-phy-lib.h net: phy: broadcom: Add support for setting LED brightness 2023-06-09 10:38:43 +01:00
bcm-phy-ptp.c net: partial revert of the "Make timestamping selectable: series 2023-11-18 18:42:37 -08:00
broadcom.c net: phy: provide whether link has changed in c37_read_status 2024-02-10 15:36:19 +00:00
cicada.c
cortina.c
davicom.c
dp83tc811.c
dp83td510.c net: phy: dp83td510: add cable testing support 2024-07-13 16:00:44 -07:00
dp83tg720.c net: phy: dp83tg720: get master/slave configuration in link down state 2024-06-18 17:51:45 -07:00
dp83640_reg.h
dp83640.c net: partial revert of the "Make timestamping selectable: series 2023-11-18 18:42:37 -08:00
dp83822.c net: phy: dp8382x: keep WOL settings across suspends 2024-04-09 16:57:55 -07:00
dp83848.c
dp83867.c net: phy: dp83867: Add support for active-low LEDs 2024-02-02 10:12:21 +00:00
dp83869.c net: phy: dp83869: Fix MII mode failure 2024-04-25 11:25:07 +01:00
et1011c.c
fixed_phy.c net: phy: fixed_phy: set phy_mask before calling mdiobus_register() 2022-06-13 23:11:24 -07:00
icplus.c
intel-xway.c
Kconfig net: phy: air_en8811h: Add the Airoha EN8811H PHY driver 2024-03-29 12:06:44 -07:00
linkmode.c
lxt.c
Makefile net: revert partially applied PHY topology series 2024-05-13 18:35:02 -07:00
marvell10g.c net: revert partially applied PHY topology series 2024-05-13 18:35:02 -07:00
marvell-88q2xxx.c net: phy: marvell-88q2xxx: add support for Rev B1 and B2 2024-05-08 12:18:25 +01:00
marvell-88x2222.c net: revert partially applied PHY topology series 2024-05-13 18:35:02 -07:00
marvell.c net: revert partially applied PHY topology series 2024-05-13 18:35:02 -07:00
mdio_bus.c net: mdio_bus: Remove unused of_gpio.h 2024-03-11 13:45:12 -07:00
mdio_device.c net: phy: mdio_device: Reset device only when necessary 2023-11-30 23:11:21 -08:00
mdio_devres.c net: fill in MODULE_DESCRIPTION()s for mdio_devres 2024-02-15 08:03:46 -08:00
mdio-boardinfo.c
mdio-boardinfo.h
mdio-open-alliance.h drivers/net/phy: add helpers to get/set PLCA configuration 2023-01-11 08:35:02 +00:00
mediatek-ge-soc.c net: phy: mediatek-ge-soc: follow netdev LED trigger semantics 2024-04-24 11:50:49 +01:00
mediatek-ge.c net: phy: mediatek-ge: do not disable EEE advertisement 2024-04-17 10:44:20 +01:00
meson-gxl.c net: phy: meson-gxl: enable edpd tunable support for G12A internal PHY 2023-04-04 18:56:01 -07:00
micrel.c net: phy: micrel: add Microchip KSZ 9477 to the device table 2024-06-23 10:06:58 +01:00
microchip_t1.c net: phy: microchip: lan87xx: reinit PHY after cable test 2024-07-08 20:22:13 -07:00
microchip_t1s.c net: phy: microchip_t1s: add support for Microchip LAN865x Rev.B0 PHYs 2023-05-30 11:49:55 +02:00
microchip.c net: phy: microchip: lan937x: add support for 100BaseTX PHY 2024-07-09 15:12:04 +02:00
mii_timestamper.c
motorcomm.c net: phy: motorcomm: Add pad drive strength cfg support 2023-07-24 10:36:45 +01:00
mxl-gpy.c net: phy: mxl-gpy: Remove interrupt mask clearing from config_init 2024-06-18 12:04:23 +02:00
national.c
ncn26000.c drivers/net/phy: add driver for the onsemi NCN26000 10BASE-T1S PHY 2023-01-11 08:35:03 +00:00
nxp-c45-tja11xx-macsec.c net: phy: nxp-c45-tja11xx: implement mdo_insert_tx_tag 2023-12-27 13:08:10 +00:00
nxp-c45-tja11xx.c net: phy: nxp-c45-tja11xx: add MACsec support 2023-12-27 13:08:10 +00:00
nxp-c45-tja11xx.h net: phy: nxp-c45-tja11xx: add MACsec support 2023-12-27 13:08:10 +00:00
nxp-cbtx.c net: phy: add basic driver for NXP CBTX PHY 2023-04-21 20:04:09 -07:00
nxp-tja11xx.c net: Convert some ethtool_sprintf() to ethtool_puts() 2023-12-08 10:56:25 +00:00
phy_device.c net: phy: fix potential use of NULL pointer in phy_suspend() 2024-07-01 20:14:13 -07:00
phy_led_triggers.c
phy-c45.c net: phy: Immediately call adjust_link if only tx_lpi_enabled changes 2024-03-05 19:21:17 -08:00
phy-core.c net: phy: introduce core support for phy-mode = "10g-qxgmii" 2024-06-18 13:28:26 +02:00
phy.c net: move ethtool-related netdev state into its own struct 2024-06-28 18:53:17 -07:00
phylink.c net: move ethtool-related netdev state into its own struct 2024-06-28 18:53:17 -07:00
qsemi.c
realtek.c net: phy: realtek: Add support for PHY LEDs on RTL8211F 2024-07-01 09:37:01 +01:00
rockchip.c
sfp-bus.c net: revert partially applied PHY topology series 2024-05-13 18:35:02 -07:00
sfp.c net: sfp: Always call sfp_sm_mod_remove() on remove 2024-06-06 17:34:03 -07:00
sfp.h net: sfp: Remove unused function declaration sfp_link_configure() 2023-08-07 08:53:55 +01:00
smsc.c net: Convert some ethtool_sprintf() to ethtool_puts() 2023-12-08 10:56:25 +00:00
spi_ks8995.c net: phy: ks8995: drop of_match_ptr for ID table 2023-03-15 08:11:02 +00:00
ste10Xp.c
stubs.c net: phy: provide phylib stubs for hardware timestamping operations 2023-08-02 19:11:06 -07:00
swphy.c
swphy.h
teranetics.c
uPD60620.c
vitesse.c
xilinx_gmii2rgmii.c net: phy: xilinx-gmii2rgmii: Adopt clock support 2024-05-29 13:10:57 +01:00