author | Grygorii Strashko <grygorii.strashko@ti.com> | |
Thu, 19 Dec 2019 11:55:42 +0000 (13:55 +0200) | ||
committer | Sekhar Nori <nsekhar@ti.com> | |
Thu, 9 Jan 2020 10:08:01 +0000 (15:38 +0530) | ||
commit | da9bbcfb070b8097e0c6aea2c277bba8f4b9bdec | |
tree | 29dbaae880fa03365e62a91fbfdbf8031296f92e | tree | snapshot (tar.xz tar.gz zip) |
parent | b0ca76e847f1897f881a7b617819ebe3c58dc758 | commit | diff |
net: phy: dp83867: w/a for fld detect threshold bootstrapping issue
When the Phy is strapped to enable Fast Link Drop (FLD) feature
STRAP_STS2.STRAP_ FLD (reg 0x006F bit 10), the Energy Lost Thershold for
FLD Energy Lost Mode FLD_THR_CFG.ENERGY_LOST_FLD_THR (reg 0x002e bits 2:0)
will be defaulted to 0x2. This may cause the phy link to be unstable.
DM recommends to always restore ENERGY_LOST_FLD_THR to 0x1.
Hence, restore default value of FLD_THR_CFG.ENERGY_LOST_FLD_THR to 0x1 when
FLD is enabled by bootstrapping as recommended by DM.
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
When the Phy is strapped to enable Fast Link Drop (FLD) feature
STRAP_STS2.STRAP_ FLD (reg 0x006F bit 10), the Energy Lost Thershold for
FLD Energy Lost Mode FLD_THR_CFG.ENERGY_LOST_FLD_THR (reg 0x002e bits 2:0)
will be defaulted to 0x2. This may cause the phy link to be unstable.
DM recommends to always restore ENERGY_LOST_FLD_THR to 0x1.
Hence, restore default value of FLD_THR_CFG.ENERGY_LOST_FLD_THR to 0x1 when
FLD is enabled by bootstrapping as recommended by DM.
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
drivers/net/phy/dp83867.c | diff | blob | history |