diff options
| author | Tom Rini <[email protected]> | 2024-03-28 11:05:30 -0400 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-03-28 11:05:30 -0400 |
| commit | 7761226e6aebfa20f32a8a6396bc9f18a1dd7643 (patch) | |
| tree | 73a4e1f0bb16dd59e65876e39f420e5cc3984f22 /include | |
| parent | 24eb391e1ae4b8886e9db4f71417b44030325eb9 (diff) | |
| parent | ba291718d7ab9ca0dc1c3c357d817bb12f587af0 (diff) | |
Merge branch '2024-03-28-assorted-net-changes' into next
- A few ncsi PHY fixes, clean up PHY GPIO reset code, support LEDs on
BCM54210E PHY, fix a signed shift overflow in the PHY code, hifemac
updates, E1000 i225-IT support, improve DM_MDIO+DM_PHY support and
enable it on the BeaglePlay platform.
Diffstat (limited to 'include')
| -rw-r--r-- | include/pci_ids.h | 2 | ||||
| -rw-r--r-- | include/phy.h | 9 |
2 files changed, 11 insertions, 0 deletions
diff --git a/include/pci_ids.h b/include/pci_ids.h index b63bf45168d..f1886c3a751 100644 --- a/include/pci_ids.h +++ b/include/pci_ids.h @@ -2710,6 +2710,8 @@ #define PCI_DEVICE_ID_INTEL_I211_COPPER 0x1539 #define PCI_DEVICE_ID_INTEL_I210_COPPER_FLASHLESS 0x157b #define PCI_DEVICE_ID_INTEL_I210_SERDES_FLASHLESS 0x157c +#define PCI_DEVICE_ID_INTEL_I225_UNPROGRAMMED 0x15dF +#define PCI_DEVICE_ID_INTEL_I225_IT 0x0d9f #define PCI_DEVICE_ID_INTEL_80960_RP 0x1960 #define PCI_DEVICE_ID_INTEL_82840_HB 0x1a21 #define PCI_DEVICE_ID_INTEL_82845_HB 0x1a30 diff --git a/include/phy.h b/include/phy.h index ae23814bbf3..90b7e364101 100644 --- a/include/phy.h +++ b/include/phy.h @@ -184,6 +184,15 @@ struct fixed_link { int phy_reset(struct phy_device *phydev); /** + * phy_gpio_reset() - Resets the specified PHY using GPIO reset + * Toggles the optional PHY reset GPIO + * + * @dev: PHY udevice to reset + * @return: 0 if OK, -ve on error + */ +int phy_gpio_reset(struct udevice *dev); + +/** * phy_find_by_mask() - Searches for a PHY on the specified MDIO bus * The function checks the PHY addresses flagged in phy_mask and returns a * phy_device pointer if it detects a PHY. |
