Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: phy: broadcom: Add BCM54616S phy entry

Signed-off-by: Alessio Igor Bogani <alessio.bogani@elettra.eu>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Alessio Igor Bogani and committed by
David S. Miller
3bca4cf6 1ec1e23d

+17 -2
+2 -2
drivers/net/phy/Kconfig
··· 68 68 config BROADCOM_PHY 69 69 tristate "Drivers for Broadcom PHYs" 70 70 ---help--- 71 - Currently supports the BCM5411, BCM5421, BCM5461, BCM5464, BCM5481 72 - and BCM5482 PHYs. 71 + Currently supports the BCM5411, BCM5421, BCM5461, BCM54616S, BCM5464, 72 + BCM5481 and BCM5482 PHYs. 73 73 74 74 config BCM63XX_PHY 75 75 tristate "Drivers for Broadcom 63xx SOCs internal PHY"
+14
drivers/net/phy/broadcom.c
··· 549 549 .config_intr = bcm54xx_config_intr, 550 550 .driver = { .owner = THIS_MODULE }, 551 551 }, { 552 + .phy_id = PHY_ID_BCM54616S, 553 + .phy_id_mask = 0xfffffff0, 554 + .name = "Broadcom BCM54616S", 555 + .features = PHY_GBIT_FEATURES | 556 + SUPPORTED_Pause | SUPPORTED_Asym_Pause, 557 + .flags = PHY_HAS_MAGICANEG | PHY_HAS_INTERRUPT, 558 + .config_init = bcm54xx_config_init, 559 + .config_aneg = genphy_config_aneg, 560 + .read_status = genphy_read_status, 561 + .ack_interrupt = bcm54xx_ack_interrupt, 562 + .config_intr = bcm54xx_config_intr, 563 + .driver = { .owner = THIS_MODULE }, 564 + }, { 552 565 .phy_id = PHY_ID_BCM5464, 553 566 .phy_id_mask = 0xfffffff0, 554 567 .name = "Broadcom BCM5464", ··· 673 660 { PHY_ID_BCM5411, 0xfffffff0 }, 674 661 { PHY_ID_BCM5421, 0xfffffff0 }, 675 662 { PHY_ID_BCM5461, 0xfffffff0 }, 663 + { PHY_ID_BCM54616S, 0xfffffff0 }, 676 664 { PHY_ID_BCM5464, 0xfffffff0 }, 677 665 { PHY_ID_BCM5482, 0xfffffff0 }, 678 666 { PHY_ID_BCM5482, 0xfffffff0 },
+1
include/linux/brcmphy.h
··· 11 11 #define PHY_ID_BCM5421 0x002060e0 12 12 #define PHY_ID_BCM5464 0x002060b0 13 13 #define PHY_ID_BCM5461 0x002060c0 14 + #define PHY_ID_BCM54616S 0x03625d10 14 15 #define PHY_ID_BCM57780 0x03625d90 15 16 16 17 #define PHY_ID_BCM7250 0xae025280