Tool/software: TI C/C++ Compiler
The TI SDK (linux kernel) has a line of code for the PHY Driver .
That function "genphy_5" is it generic for all (brands) PHY chips. or it is a function specific for TI PHY chip DP 83867?
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.
Tool/software: TI C/C++ Compiler
The TI SDK (linux kernel) has a line of code for the PHY Driver .
That function "genphy_5" is it generic for all (brands) PHY chips. or it is a function specific for TI PHY chip DP 83867?
Hi,
I have to apologize as I am not following what you are asking. Could you please reference the file that you are looking at for the genphy_5 question? Overall are you asking if there is support in the Linux for a particular driver such as the DP83867?
Best Regards,
Schuyler
In uboot section in file .../drivers/net/phy/marvell.c
which has the marvell driver implementation where in these implementation
is referring function such as genphy_update_link() genphy_parse_link() , genphy_config_aneg()
etc .. , these function are implemented in .../drivers/net/phy/phy.c file
If I check the genphy_xxxx_xxxx() function implementation , the register set read and write operation done in these function is are specific to DP83867 PHY chip .
query : genphy_xxxx_xxxx() is specific to DP83867 PHY chip or is it generic to all PHY implementation ?
Hi,
Thanks for the code references. As you have pointed out overall the U-Boot driver model has a generic PHY driver the genphy_xxxx_xxx for all PHY implementations. I apologize since I am not sure I follow what you are asking in terms of being specifically written to the DP83867.
The drivers/net/phy/ti.c is written specifically at the moment for the DP83867. This driver makes calls into the genphy driver similar to the marvell PHY you referenced as well as register writes to the PHY.
Which TI SDK are you using?
Best Regards,
Schuyler
Hi,
Did my previous post answer your question concerning the genphy_ function?
Best Regards,
Schuyler