mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-09-04 20:19:47 +08:00 
			
		
		
		
	net: phy: bcm7xxx: Add entry for Broadcom BCM7435
Add a PHY entry for the Broadcom BCM7435 chips, this is a 40nm generation Ethernet PHY which is analogous to its 7425 and 7429 counter parts. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
		
							parent
							
								
									0ba4435102
								
							
						
					
					
						commit
						9458ceab49
					
				| @ -360,6 +360,19 @@ static struct phy_driver bcm7xxx_driver[] = { | |||||||
| 	.suspend        = bcm7xxx_suspend, | 	.suspend        = bcm7xxx_suspend, | ||||||
| 	.resume         = bcm7xxx_config_init, | 	.resume         = bcm7xxx_config_init, | ||||||
| 	.driver         = { .owner = THIS_MODULE }, | 	.driver         = { .owner = THIS_MODULE }, | ||||||
|  | }, { | ||||||
|  | 	.phy_id         = PHY_ID_BCM7435, | ||||||
|  | 	.phy_id_mask    = 0xfffffff0, | ||||||
|  | 	.name           = "Broadcom BCM7435", | ||||||
|  | 	.features       = PHY_GBIT_FEATURES | | ||||||
|  | 			  SUPPORTED_Pause | SUPPORTED_Asym_Pause, | ||||||
|  | 	.flags          = PHY_IS_INTERNAL, | ||||||
|  | 	.config_init    = bcm7xxx_config_init, | ||||||
|  | 	.config_aneg    = genphy_config_aneg, | ||||||
|  | 	.read_status    = genphy_read_status, | ||||||
|  | 	.suspend        = bcm7xxx_suspend, | ||||||
|  | 	.resume         = bcm7xxx_config_init, | ||||||
|  | 	.driver         = { .owner = THIS_MODULE }, | ||||||
| }, { | }, { | ||||||
| 	.phy_id		= PHY_BCM_OUI_4, | 	.phy_id		= PHY_BCM_OUI_4, | ||||||
| 	.phy_id_mask	= 0xffff0000, | 	.phy_id_mask	= 0xffff0000, | ||||||
| @ -395,6 +408,7 @@ static struct mdio_device_id __maybe_unused bcm7xxx_tbl[] = { | |||||||
| 	{ PHY_ID_BCM7425, 0xfffffff0, }, | 	{ PHY_ID_BCM7425, 0xfffffff0, }, | ||||||
| 	{ PHY_ID_BCM7429, 0xfffffff0, }, | 	{ PHY_ID_BCM7429, 0xfffffff0, }, | ||||||
| 	{ PHY_ID_BCM7439, 0xfffffff0, }, | 	{ PHY_ID_BCM7439, 0xfffffff0, }, | ||||||
|  | 	{ PHY_ID_BCM7435, 0xfffffff0, }, | ||||||
| 	{ PHY_ID_BCM7445, 0xfffffff0, }, | 	{ PHY_ID_BCM7445, 0xfffffff0, }, | ||||||
| 	{ PHY_BCM_OUI_4, 0xffff0000 }, | 	{ PHY_BCM_OUI_4, 0xffff0000 }, | ||||||
| 	{ PHY_BCM_OUI_5, 0xffffff00 }, | 	{ PHY_BCM_OUI_5, 0xffffff00 }, | ||||||
|  | |||||||
| @ -26,6 +26,7 @@ | |||||||
| #define PHY_ID_BCM7366			0x600d8490 | #define PHY_ID_BCM7366			0x600d8490 | ||||||
| #define PHY_ID_BCM7425			0x600d86b0 | #define PHY_ID_BCM7425			0x600d86b0 | ||||||
| #define PHY_ID_BCM7429			0x600d8730 | #define PHY_ID_BCM7429			0x600d8730 | ||||||
|  | #define PHY_ID_BCM7435			0x600d8750 | ||||||
| #define PHY_ID_BCM7439			0x600d8480 | #define PHY_ID_BCM7439			0x600d8480 | ||||||
| #define PHY_ID_BCM7439_2		0xae025080 | #define PHY_ID_BCM7439_2		0xae025080 | ||||||
| #define PHY_ID_BCM7445			0x600d8510 | #define PHY_ID_BCM7445			0x600d8510 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Florian Fainelli
						Florian Fainelli