26 Sep, 2018

1 commit

  • On some boards using TI CPSW, it may be possible that
    PHY address was not latched correctly, and the actual
    address that the phy responds on is different from that
    set in device-tree. For example, see this problem report
    on beaglebone black:

    https://groups.google.com/d/msg/beagleboard/9mctrG26Mc8/1FuI_i5KW10J

    Add support to check for this condition and use the
    detected phy address when its safe to do so.

    Also, add a public API that exposes the phy address of
    a given slave. This can be used to update device-tree that
    is passed to Linux kernel.

    Signed-off-by: Sekhar Nori
    Reviewed-by: Tom Rini

    Sekhar Nori
     

14 Oct, 2016

1 commit


25 May, 2016

2 commits

  • Add the ability to read the phy-handle node of the
    cpsw slave. Upon reading this handle the phy-id
    can be stored based on the reg node in the DT.

    The phy-handle also needs to be stored and passed
    to the phy to access any phy data that is available.

    Signed-off-by: Dan Murphy
    Tested-by: Mugunthan V N
    Acked-by: Joe Hershberger

    Dan Murphy
     
  • Different TI platforms has to read with different combination to
    get the mac address from efuse. So add support to read mac address
    based on machine/device compatibles.

    The code is taken from Linux drivers/net/ethernet/ti/cpsw-common.c
    done by Tony Lindgren.

    Signed-off-by: Mugunthan V N
    Reviewed-by: Tom Rini
    Acked-by: Joe Hershberger

    Mugunthan V N
     

23 Oct, 2015

1 commit


26 Jul, 2014

1 commit


04 Mar, 2014

1 commit


27 Jul, 2013

1 commit


01 Sep, 2012

1 commit

  • CPSW is an on-chip ethernet switch that is found on various SoCs from Texas
    Instruments. This patch adds a simple driver (based on the Linux driver) for
    this hardware module.

    This patch also adds support to clean and flush dcache during packet send
    and receive.

    Changes by Sandhya: Added support to clean and flush dcache during packet
    send/receive and added timeouts.

    Signed-off-by: Cyril Chemparathy
    Signed-off-by: Chandan Nath
    Signed-off-by: Satyanarayana, Sandhya
    [Ilya: Cleaned cache handling, some style cleanup, some small
    fixes, use of internal RAM for descriptors]
    Signed-off-by: Ilya Yanok

    Cyril Chemparathy