22 Aug, 2013

1 commit

  • Add defines for common Micrel PHY setups so that other platforms
    can use them. Update imx61 and sama5 hardware to use the micrel_phy.h
    PHY defines.

    Also add support for the KSZ9021RLRN PHY.

    Signed-off-by: Dinh Nguyen
    Acked-by: Nicolas Ferre
    Acked-by: David S. Miller
    CC: Andrew Victor
    CC: Jean-Christophe Plagniol-Villard
    Cc: netdev@vger.kernel.org
    Cc: linux-arm-kernel@lists.infradead.org
    Signed-off-by: Shawn Guo

    Dinh Nguyen
     

12 Mar, 2013

1 commit

  • Micrel PHY KSZ8031 is similar to KSZ8021 and also requires the special
    initialization of "Operation Mode Strap Override" in reg 0x16
    introduced in 212ea99 (phy/micrel: Implement support for KSZ8021).

    Signed-off-by: Hector Palacios
    Reviewed-by: Marek Vasut
    Signed-off-by: David S. Miller

    Hector Palacios
     

29 Jan, 2013

1 commit


24 Nov, 2012

1 commit


25 Sep, 2012

3 commits

  • The license header was missing in micrel_phy.h . This patch adds
    one.

    Signed-off-by: Marek Vasut
    Cc: David J. Choi
    Cc: David S. Miller
    Cc: Nobuhiro Iwamatsu
    Signed-off-by: David S. Miller

    Marek Vasut
     
  • There is no such part as KS8001, KS8041 or KS8051. There are only
    KSZ8001, KSZ8041 and KSZ8051. Rename these parts as such to match
    the Micrel naming.

    Signed-off-by: Marek Vasut
    Cc: David J. Choi
    Cc: David S. Miller
    Cc: Nobuhiro Iwamatsu
    Cc: Linux ARM kernel
    Cc: Fabio Estevam
    Cc: Shawn Guo
    Signed-off-by: David S. Miller

    Marek Vasut
     
  • The KSZ8021 PHY was previously caught by KS8051, which is not correct.
    This PHY needs additional setup if it is strapped for address 0. In such
    case an reserved bit must be written in the 0x16, "Operation Mode Strap
    Override" register. According to the KS8051 datasheet, that bit means
    "PHY Address 0 in non-broadcast" and it indeed behaves as such on KSZ8021.
    The issue where the ethernet controller (Freescale FEC) did not communicate
    with network is fixed by writing this bit as 1.

    Signed-off-by: Marek Vasut
    Cc: David J. Choi
    Cc: David S. Miller
    Cc: Nobuhiro Iwamatsu
    Signed-off-by: David S. Miller

    Marek Vasut
     

23 May, 2012

1 commit


15 Feb, 2011

1 commit