I am using TJA1100 Ethernet PHY in imx6q without any MCU and we need to set mode to Managed mode as a default.
As AH1310 application hints, I need to follow the steps of chapter 8 in this document to write TJA1100 driver in my imx6q kernel.
Can I follow the steps in AH1310 chapter 8 and the Linux PHY driver structure (such as Atheros PHY / at803x.c) in BSP source to create my own TJA1100 driver?
Because the steps in chapter 8 and the structure of Linux PHY driver seem different.
I am kinda new to this field, could you please help me or give me some advices ?
Best regards and many thanks in advance!