We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

Showing results for 
Search instead for 
Did you mean: 
Observer eliezer
Registered: ‎03-21-2019

How to use the mdio gpio driver?

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.


0 Kudos