Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1575712

Re: [PATCH v3 3/3] net: phy: dp83867: Recover from "port mirroring" N/A MODE4

From Andrew Lunn <andrew@lunn.ch>
Newsgroups linux.kernel
Subject Re: [PATCH v3 3/3] net: phy: dp83867: Recover from "port mirroring" N/A MODE4
Date 2017-02-07 14:10 +0100
Message-ID <t8dGZ-3hn-115@gated-at.bofh.it> (permalink)
References <t86vM-6Us-7@gated-at.bofh.it> <t86vM-6Us-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Feb 07, 2017 at 06:20:24AM +0100, Lukasz Majewski wrote:
> The DP83867 when not properly bootstrapped - especially with LED_0 pin -
> can enter N/A MODE4 for "port mirroring" feature.
> 
> To provide normal operation of the PHY, one needs not only to explicitly
> disable the port mirroring feature, but as well stop some IC internal
> testing (which disables RGMII communication).
> 
> To do that the STRAP_STS1 (0x006E) register must be read and RESERVED bit
> 11 examined. When it is set, the another RESERVED bit (11) at PHYCR
> (0x0010) register must be clear to disable testing mode and enable RGMII
> communication.
> 
> Thorough explanation of the problem can be found at following e2e thread:
> "DP83867IR: Problem with RESERVED bits in PHY Control Register (PHYCR) -
> Linux driver"
> 
> https://e2e.ti.com/support/interface/ethernet/f/903/p/571313/2096954#2096954
> 
> Signed-off-by: Lukasz Majewski <lukma@denx.de>

Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v3 2/3] net: phy: dp83867: Add lane swapping support in the DP83867 TI's PHY driver Lukasz Majewski <lukma@denx.de> - 2017-02-07 06:30 +0100
  [PATCH v3 3/3] net: phy: dp83867: Recover from "port mirroring" N/A MODE4 Lukasz Majewski <lukma@denx.de> - 2017-02-07 06:30 +0100
    Re: [PATCH v3 3/3] net: phy: dp83867: Recover from "port mirroring"  N/A MODE4 Andrew Lunn <andrew@lunn.ch> - 2017-02-07 14:10 +0100
    Re: [PATCH v3 3/3] net: phy: dp83867: Recover from "port  mirroring" N/A MODE4 David Miller <davem@davemloft.net> - 2017-02-07 20:10 +0100
  Re: [PATCH v3 2/3] net: phy: dp83867: Add lane swapping support in  the DP83867 TI's PHY driver Andrew Lunn <andrew@lunn.ch> - 2017-02-07 14:10 +0100
  Re: [PATCH v3 2/3] net: phy: dp83867: Add lane swapping support in  the DP83867 TI's PHY driver Andrew Lunn <andrew@lunn.ch> - 2017-02-07 14:20 +0100
  Re: [PATCH v3 2/3] net: phy: dp83867: Add lane swapping support in  the DP83867 TI's PHY driver David Miller <davem@davemloft.net> - 2017-02-07 20:10 +0100

csiph-web