net: phy: DP83TC811: Introduce support for the DP83TC811 phy
Subsystems (3)
PATCH v3 1/1 net: phy: DP83TC811: Introduce support for the DP83TC811 phy
Add support for the DP83811 phy.
The DP83811 supports both rgmii and sgmii interfaces. There are 2 part numbers for this the DP83TC811R does not reliably support the SGMII interface but the DP83TC811S will.
There is not a way to differentiate these parts from the hardware or register set. So this is controlled via the DT to indicate which phy mode is required. Or the part can be strapped to a certain interface.
Data sheet can be found here:
http://www.ti.com/product/DP83TC811S-Q1/description
http://www.ti.com/product/DP83TC811R-Q1/description
---
v3 - Variable length alignment - https://patchwork.kernel.org/patch/10389657/
v2 - Remove extra config_init in reset, update config_init call back function
fix a checkpatch alignment issue, add SGMII check in autoneg api - https://patchwork.kernel.org/patch/10389323/
drivers/net/phy/Kconfig | 5 + drivers/net/phy/Makefile | 1 + drivers/net/phy/dp83tc811.c | 347 ++++++++++++++++++++++++++++++++++++ 3 files changed, 353 insertions(+) create mode 100644 drivers/net/phy/dp83tc811.c
drivers/net/phy/Kconfig +5 -0
@@ -285,6 +285,11 @@ config DP83822_PHY ---help--- Supports the DP83822 PHY. +config DP83TC811_PHY + tristate "Texas Instruments DP83TC822 PHY" + ---help--- + Supports the DP83TC822 PHY. + config DP83848_PHY tristate "Texas Instruments DP83848 PHY" ---help---
drivers/net/phy/Makefile +1 -0
@@ -57,6 +57,7 @@ obj-$(CONFIG_CORTINA_PHY) += cortina.o obj-$(CONFIG_DAVICOM_PHY) += davicom.o obj-$(CONFIG_DP83640_PHY) += dp83640.o obj-$(CONFIG_DP83822_PHY) += dp83822.o +obj-$(CONFIG_DP83TC811_PHY) += dp83tc811.o obj-$(CONFIG_DP83848_PHY) += dp83848.o obj-$(CONFIG_DP83867_PHY) += dp83867.o obj-$(CONFIG_FIXED_PHY) += fixed_phy.o
drivers/net/phy/dp83tc811.c new file +347 -0
347 lines not on this page · raw message
Signature · 1 line
2.17.0.582.gccdcbd54c
Andrew Lunn
maintainerQuoted 11 lines · Dan Murphy
Add support for the DP83811 phy.
The DP83811 supports both rgmii and sgmii interfaces. There are 2 part numbers for this the DP83TC811R does not reliably support the SGMII interface but the DP83TC811S will.
There is not a way to differentiate these parts from the hardware or register set. So this is controlled via the DT to indicate which phy mode is required. Or the part can be strapped to a certain interface.
Quoted 5 lines
Data sheet can be found here:
http://www.ti.com/product/DP83TC811S-Q1/description
http://www.ti.com/product/DP83TC811R-Q1/descriptionSigned-off-by Dan Murphy <[email protected]>
Hi Dan
It is normal to add any Reviewed-by, or Tested-by: tags you received, so long as you don't make major changes.
Andrew
Andrew
Quoted 16 lines · Andrew Lunn
Quoted 15 lines · Dan Murphy
Add support for the DP83811 phy.
The DP83811 supports both rgmii and sgmii interfaces. There are 2 part numbers for this the DP83TC811R does not reliably support the SGMII interface but the DP83TC811S will.
There is not a way to differentiate these parts from the hardware or register set. So this is controlled via the DT to indicate which phy mode is required. Or the part can be strapped to a certain interface.
Data sheet can be found here:
http://www.ti.com/product/DP83TC811S-Q1/description
http://www.ti.com/product/DP83TC811R-Q1/description
Quoted 7 lines
Quoted 1 line
Signed-off-by Dan Murphy <[email protected]>Hi Dan
It is normal to add any Reviewed-by, or Tested-by: tags you received, so long as you don't make major changes.
Thanks for the reminder.
I usually add them if I get them explicitly stated in the review.
I have not seen any Reviewed-by or Tested-by tags in any of the replies for the patch. But I may have missed it.
Dan
Quoted 2 lines
Andrew
Signature · 2 lines
------------------ Dan Murphy
Quoted 23 lines · Dan Murphy
Andrew
Quoted 20 lines · Andrew Lunn
Quoted 11 lines · Dan Murphy
Add support for the DP83811 phy.
The DP83811 supports both rgmii and sgmii interfaces. There are 2 part numbers for this the DP83TC811R does not reliably support the SGMII interface but the DP83TC811S will.
There is not a way to differentiate these parts from the hardware or register set. So this is controlled via the DT to indicate which phy mode is required. Or the part can be strapped to a certain interface.
Quoted 5 lines
Data sheet can be found here:
http://www.ti.com/product/DP83TC811S-Q1/description
http://www.ti.com/product/DP83TC811R-Q1/descriptionSigned-off-by Dan Murphy <[email protected]>Hi Dan
Quoted 7 lines
Quoted 3 lines
It is normal to add any Reviewed-by, or Tested-by: tags you received, so long as you don't make major changes.
Thanks for the reminder.
I usually add them if I get them explicitly stated in the review.
Humm, i thought i had given one. But i cannot find it in the mail archive. Going senile :-(
Andrew
Quoted 11 lines · Dan Murphy
Add support for the DP83811 phy.
The DP83811 supports both rgmii and sgmii interfaces. There are 2 part numbers for this the DP83TC811R does not reliably support the SGMII interface but the DP83TC811S will.
There is not a way to differentiate these parts from the hardware or register set. So this is controlled via the DT to indicate which phy mode is required. Or the part can be strapped to a certain interface.
Quoted 5 lines
Data sheet can be found here:
http://www.ti.com/product/DP83TC811S-Q1/description
http://www.ti.com/product/DP83TC811R-Q1/descriptionSigned-off-by Dan Murphy <[email protected]>
Signature · 1 line
Florian
David Miller
maintainerFrom: Andrew Lunn <[email protected]>
Date: Fri, 11 May 2018 21:10:11 +0200
Quoted 2 lines
Humm, i thought i had given one. But i cannot find it in the mail archive. Going senile :-(
You aren't going senile, there is just are a huge number of patches being submitted since net-next openned up.
From: Dan Murphy <[email protected]>
Date: Fri, 11 May 2018 13:08:19 -0500
Quoted 11 lines
Add support for the DP83811 phy.
The DP83811 supports both rgmii and sgmii interfaces. There are 2 part numbers for this the DP83TC811R does not reliably support the SGMII interface but the DP83TC811S will.
There is not a way to differentiate these parts from the hardware or register set. So this is controlled via the DT to indicate which phy mode is required. Or the part can be strapped to a certain interface.
Quoted 5 lines
Data sheet can be found here:
http://www.ti.com/product/DP83TC811S-Q1/description
http://www.ti.com/product/DP83TC811R-Q1/descriptionSigned-off-by Dan Murphy <[email protected]>
Applied to net-next, thank you.