Dear NXP ,
HW:imx8mplus
SW SDK version: 5.10.9
I use mdio-tool to write eth/eth1 register
example:
./mdio-tool w eth0 0x1f 0x0d04 // write eth0 reg:0x1f , value:0x0d04
./mdio-tool w eth1 0x1f 0x0d04 // write eth1 reg:0x1f , value:0x0d04
It can use mdio-tool to write the value to the register .
I want to know how to call api function in kernel driver to complete writing eth0 and eth1 register .