TJA1101 with iMX6S

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

TJA1101 with iMX6S

2,605 Views
mykelagoo
Contributor I

We are using an iMX6S and a TJA1101 as the Ethernet PHY wired for RMII. The Linux kernel is based on 4.9.9 and we are building with Yocto and the rocko branch. Our hardware is not done yet but we are trying to get as much in place as possible before that event. A couple questions I've not found the answer to yet.

  1. Has anyone used this PHY with that Kernel version (4.9.9)? Any advice if so?
  2. What is the correct driver to use for the PHY? We've found three so far for the TJA1101. One is referred to in 470139 and is in the git repository at http://git.freescale.com/git/cgit.cgi/auto/linux.git/tree/drivers/net/phy/nxp. Another referred to from the TJA1101 products page in the git repository at https://source.codeaurora.org/external/autoivnsw/tja110x_linux_phydev/. The third was just an Internet search that turned up a driver at https://lwn.net/Articles/775045. (The first two may just be different versions. I've not checked yet.)
  3. Are there plans to place this driver (or whichever one of these drivers) into the Linux kernel source at some point? Maybe it already there and I've missed it, but I searched several branches and didn't see it

Basically, we want to understand the best way to use this phy with the imx6.

Thanks in advance for any advice!

Labels (3)
0 Kudos
Reply
2 Replies

1,678 Views
igorpadykov
NXP Employee
NXP Employee

Hi Buster

one can try TJA1101 driver from latest nxp linux L4.14.78_1.0.0 

tja110x.c\phy\net\drivers - linux-imx - i.MX Linux kernel 

AN12088 Application hints for TJA1100 Automotive Ethernet PHY

https://www.nxp.com/docs/en/application-note/AN12088.pdf 

Seems latest i.MX8 processors drivers support it:

linux/arch/arm64/boot/dts/freescale/fsl-imx8qxp-enet2-tja1100.dtsi

fsl-imx8qxp-enet2-tja1100.dtsi\freescale\dts\boot\arm64\arch - linux-imx - i.MX Linux kernel 


Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

1,678 Views
mykelagoo
Contributor I

Thanks. That was one of the drivers I mentioned (and, in fact, the one I used) so that's helpful.

0 Kudos
Reply