kernel_samsung_a53x/drivers/net/phy
Michel Alex 5f1508a796 net: phy: dp83822: Fix reset pin definitions
commit de96f6a3003513c796bbe4e23210a446913f5c00 upstream.

This change fixes a rare issue where the PHY fails to detect a link
due to incorrect reset behavior.

The SW_RESET definition was incorrectly assigned to bit 14, which is the
Digital Restart bit according to the datasheet. This commit corrects
SW_RESET to bit 15 and assigns DIG_RESTART to bit 14 as per the
datasheet specifications.

The SW_RESET define is only used in the phy_reset function, which fully
re-initializes the PHY after the reset is performed. The change in the
bit definitions should not have any negative impact on the functionality
of the PHY.

v2:
- added Fixes tag
- improved commit message

Cc: stable@vger.kernel.org
Fixes: 5dc39fd5ef35 ("net: phy: DP83822: Add ability to advertise Fiber connection")
Signed-off-by: Alex Michel <alex.michel@wiedemann-group.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Message-ID: <AS1P250MB0608A798661549BF83C4B43EA9462@AS1P250MB0608.EURP250.PROD.OUTLOOK.COM>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-23 23:22:02 +01:00
..
mscc net: phy: mscc: macsec: reject PN update requests 2024-11-08 11:25:46 +01:00
adin.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
amd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
aquantia.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
aquantia_hwmon.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
aquantia_main.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
at803x.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ax88796b.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bcm-cygnus.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bcm-phy-lib.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bcm-phy-lib.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bcm7xxx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bcm63xx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bcm87xx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bcm54140.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bcm84881.c net: phy: bcm84881: Fix some error handling paths 2024-11-23 23:21:51 +01:00
broadcom.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cicada.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cortina.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
davicom.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dp83tc811.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dp83640.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dp83640_reg.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dp83822.c net: phy: dp83822: Fix reset pin definitions 2024-11-23 23:22:02 +01:00
dp83848.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dp83867.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dp83869.c net: phy: dp83869: fix memory corruption when enabling fiber 2024-11-23 23:21:51 +01:00
et1011c.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fixed_phy.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
icplus.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel-xway.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
linkmode.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lxt.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
marvell.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
marvell10g.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mdio-boardinfo.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mdio-boardinfo.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mdio_bus.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mdio_device.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mdio_devres.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
meson-gxl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
micrel.c net: phy: micrel: add Microchip KSZ 9477 to the device table 2024-11-19 14:19:31 +01:00
microchip.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
microchip_t1.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mii_timestamper.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
national.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nxp-tja11xx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
phy-c45.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
phy-core.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
phy.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
phy_device.c net: phy: fix phy_get_internal_delay accessing an empty array 2024-11-19 08:44:49 +01:00
phy_led_triggers.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
phylink.c net: phylink: initialize carrier state at creation 2024-11-18 11:43:30 +01:00
qsemi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
realtek.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rockchip.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sfp-bus.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sfp.c net: sfp: Always call sfp_sm_mod_remove() on remove 2024-11-19 14:19:03 +01:00
sfp.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smsc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spi_ks8995.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ste10Xp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
swphy.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
swphy.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
teranetics.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
uPD60620.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vitesse.c net: phy: vitesse: repair vsc73xx autonegotiation 2024-11-23 23:21:10 +01:00
xilinx_gmii2rgmii.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00