About phy_id_mask in PHY driver

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

About phy_id_mask in PHY driver

跳至解决方案
1,797 次查看
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!!

标签 (4)
0 项奖励
回复
1 解答
1,468 次查看
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 项奖励
回复
1 回复
1,469 次查看
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 项奖励
回复