Skip to contentSkip to conversation

net: phy: broadcom: add support for BCM89610 PHY

PATCH In review Bhadram Varka 1 participant 2 messages May 2, 2018

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 net: phy: broadcom: add support for BCM89610 PHY

It adds support for BCM89610 (Single-Port 10/100/1000BASE-T) transceiver which is used in P3310 Tegra186 platform.

---
 drivers/net/phy/broadcom.c | 11 +++++++++++
 include/linux/brcmphy.h    |  1 +
 2 files changed, 12 insertions(+)
drivers/net/phy/broadcom.c +11 -0
index 3bb6b66..1e4b6c2 100644
@@ -720,6 +720,16 @@ static struct phy_driver broadcom_drivers[] = {
 	.get_strings	= bcm_phy_get_strings,
 	.get_stats	= bcm53xx_phy_get_stats,
 	.probe		= bcm53xx_phy_probe,
+}, {
+	.phy_id         = PHY_ID_BCM89610,
+	.phy_id_mask    = 0xfffffff0,
+	.name           = "Broadcom BCM89610",
+	.features       = PHY_GBIT_FEATURES |
+			  SUPPORTED_Pause | SUPPORTED_Asym_Pause,
+	.flags          = PHY_HAS_INTERRUPT,
+	.config_init    = bcm54xx_config_init,
+	.ack_interrupt  = bcm_phy_ack_intr,
+	.config_intr    = bcm_phy_config_intr,
 } };
 
 module_phy_driver(broadcom_drivers);
@@ -741,6 +751,7 @@ static struct mdio_device_id __maybe_unused broadcom_tbl[] = {
 	{ PHY_ID_BCMAC131, 0xfffffff0 },
 	{ PHY_ID_BCM5241, 0xfffffff0 },
 	{ PHY_ID_BCM5395, 0xfffffff0 },
+	{ PHY_ID_BCM89610, 0xfffffff0 },
 	{ }
 };
 
include/linux/brcmphy.h +1 -0
index d3339dd..b324e01 100644
@@ -25,6 +25,7 @@
 #define PHY_ID_BCM54612E		0x03625e60
 #define PHY_ID_BCM54616S		0x03625d10
 #define PHY_ID_BCM57780			0x03625d90
+#define PHY_ID_BCM89610			0x03625cd0
 
 #define PHY_ID_BCM7250			0xae025280
 #define PHY_ID_BCM7260			0xae025190
Signature · 1 line
2.7.4
#1 lore raw

Hi,

Quoted 43 lines · Bhadram Varka

It adds support for BCM89610 (Single-Port 10/100/1000BASE-T) transceiver which is used in P3310 Tegra186 platform.

---
  drivers/net/phy/broadcom.c | 11 +++++++++++
  include/linux/brcmphy.h    |  1 +
  2 files changed, 12 insertions(+)
drivers/net/phy/broadcom.c +11 -0
index 3bb6b66..1e4b6c2 100644
@@ -720,6 +720,16 @@ static struct phy_driver broadcom_drivers[] = {
  	.get_strings	= bcm_phy_get_strings,
  	.get_stats	= bcm53xx_phy_get_stats,
  	.probe		= bcm53xx_phy_probe,
+}, {
+	.phy_id         = PHY_ID_BCM89610,
+	.phy_id_mask    = 0xfffffff0,
+	.name           = "Broadcom BCM89610",
+	.features       = PHY_GBIT_FEATURES |
+			  SUPPORTED_Pause | SUPPORTED_Asym_Pause,
+	.flags          = PHY_HAS_INTERRUPT,
+	.config_init    = bcm54xx_config_init,
+	.ack_interrupt  = bcm_phy_ack_intr,
+	.config_intr    = bcm_phy_config_intr,
  } };
 
  module_phy_driver(broadcom_drivers);
@@ -741,6 +751,7 @@ static struct mdio_device_id __maybe_unused broadcom_tbl[] = {
  	{ PHY_ID_BCMAC131, 0xfffffff0 },
  	{ PHY_ID_BCM5241, 0xfffffff0 },
  	{ PHY_ID_BCM5395, 0xfffffff0 },
+	{ PHY_ID_BCM89610, 0xfffffff0 },
  	{ }
  };
 
include/linux/brcmphy.h +0 -0
index d3339dd..b324e01 100644

include/linux/brcmphy.h line 31

Quoted 7 lines
include/linux/brcmphy.h +1 -0
@@ -25,6 +25,7 @@
  #define PHY_ID_BCM54612E		0x03625e60
  #define PHY_ID_BCM54616S		0x03625d10
  #define PHY_ID_BCM57780			0x03625d90
+#define PHY_ID_BCM89610			0x03625cd0
 
  #define PHY_ID_BCM7250			0xae025280
  #define PHY_ID_BCM7260			0xae025190

Please discard this patch. Pushed other patch with proper subject prefix ([PATCH net-next] net: phy: broadcom: add support for BCM89610 PHY)

Thanks,
Bhadram.

-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------