This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM3352: Backporting DP83867 driver to kernel v3.14

Part Number: AM3352

Tool/software: Linux

Hi, TI Team

How to porting DP83867 driver  to linux-3.14.26 (ti-sdk-am335x-evm-08.00.00.00).

Does TI have any user guide for porting driver?

DP83867 Linux driver.
www.ti.com/.../ethernet-sw

  • Hi,

    There is no user guide for porting kernel driver from TI. I advise you to check the community guides, i.e.:www.tldp.org/.../x121.html.

    In general you should add the following lines to drivers/net/phy/Kconfig:
    + config DP83867_PHY
    + tristate "Texas Instruments DP83867 Gigabit PHY"
    + ---help---
    + Currently supports the DP83867 PHY.

    Modify the drivers/net/phy/Makefile, as described in www.tldp.org/.../x121.html. In other words add the bellow line in the makefile:
    + obj-$(CONFIG_DP83867_PHY)       += dp83867.o

    Add the driver to the defconfig file (arch/arm/configs/tisdk_am335x-evm_defconfig):
    +CONFIG_DP83867_PHY=y

    And rebuild your kernel.

    The dp83867.c driver is integrated in the latest TI Processor SDK linux. You can refer to it.

    Best Regards,
    Yordan