10-02-2019 11:29 AM
I have turned on the MDIO GPIO module, in hopes that I will be able to use it to interface with the MDIO registers through GPIO manipulation. However, I cannot find any documentation on how to use this module.
I know the ID of my Phy, and the registers I want to read/write. All I need to know is how to utilize the module to do this. I have included it in my kernel, and used insmod to insert the module "mdio_gpio" at runtime. But now I don't know how to proceed.
My end goal is to write a driver (kernel or userspace, either one would be fine) that can interface with a specific Phy, at specific registers, through MDIO. If I'm barking up the wrong tree with this mdio-gpio driver, then please point me in the right direction.
12-10-2019 02:10 PM
I did end up solving my problem without touching the GPIO pins. Here are the links that led me to my solution, hope you can find a solution as well: