About phy_id_mask in PHY driver

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

About phy_id_mask in PHY driver

Jump to solution
1,170 Views
fyspkid
Contributor I

Hi Community,

I am creating a new ethernet phy driver on I.MX6.

As a lot of phy drivers in I.MX6 kernel, I found there is a "phy_id_mask" in every phy driver.

I've already known about the "phy_id", but how do I get / calculate the "phy_id_mask"? 

Could anyone please help me?

(I am using NXP tja1100 phy in I.MX6qp sabresd)

Thank you very much!!

Labels (4)
0 Kudos
Reply
1 Solution
841 Views
igorpadykov
NXP Employee
NXP Employee

Hi Timothy

please check linux documentation

linux/Documentation/networking/phy.txt

../devicetree/bindings/net/cpsw.txt

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

View solution in original post

0 Kudos
Reply
1 Reply
842 Views
igorpadykov
NXP Employee
NXP Employee

Hi Timothy

please check linux documentation

linux/Documentation/networking/phy.txt

../devicetree/bindings/net/cpsw.txt

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

0 Kudos
Reply