-
Notifications
You must be signed in to change notification settings - Fork 8.2k
drivers: eth: microchip: Introduce G1 Ethernet Driver #98627
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
drivers: eth: microchip: Introduce G1 Ethernet Driver #98627
Conversation
Added Support for Ethernet Driver. Signed-off-by: Himanshu Seth <[email protected]>
Added File related to EEPROM feature for Ethernet driver. Signed-off-by: Himanshu Seth <[email protected]>
Added Support for MDIO Driver. Signed-off-by: Himanshu Seth <[email protected]>
Incorporated review comments with respect to clock usage in mdio and ethernet driver code. Signed-off-by: Himanshu Seth <[email protected]>
Incorporated review comments on MDIO and Ethernet Driver Signed-off-by: Himanshu Seth <[email protected]>
Moved Rx packet handling from ISR to Worker Thread in Ethernet Driver Signed-off-by: Himanshu Seth <[email protected]>
…iver. Incorporated more review comments on MDIO and Ethernet Driver. Signed-off-by: Himanshu Seth <[email protected]>
Changed function names for MDIO and Ethernet Driver. Signed-off-by: Himanshu Seth <[email protected]>
Add the device tree node and the binding file for
microchip eth G1 Peripheral.
Signed-off-by: Himanshu Seth <[email protected]>
Add Eth driver for Microchip eth G1 Peripherals.
Signed-off-by: Himanshu Seth <[email protected]>
Add required DTS changes to enable Eth on sam_e54_xpro.
Signed-off-by: Himanshu Seth <[email protected]>
Add the device tree node and the binding file for
microchip mdio G1 Peripheral.
Signed-off-by: Himanshu Seth <[email protected]>
Add mdio driver for Microchip mdio G1 Peripherals.
Signed-off-by: Himanshu Seth <[email protected]>
…build Fixed the compilation issue with the latest build for eth Driver. Signed-off-by: Himanshu Seth <[email protected]>
Removed do while(0) for Microchip mdio G1 Peripherals. Signed-off-by: Himanshu Seth <[email protected]>
…eripherals Removed dependecy of i2c driver for eth G1 Peripherals. Signed-off-by: Himanshu Seth <[email protected]>
|
Hello @himanshuseth-microchip, and thank you very much for your first pull request to the Zephyr project! |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it looks very similar to eth_sam_gmac.c, wasn't it possible to integrate that
| config ETH_MCHP_MAC_I2C_EEPROM | ||
| default y | ||
| select I2C | ||
| bool "Read from an I2C EEPROM" | ||
| help | ||
| Read MAC address from an I2C EEPROM. | ||
|
|
||
| if ETH_MCHP_MAC_I2C_EEPROM | ||
|
|
||
| config ETH_MCHP_MAC_I2C_INT_ADDRESS | ||
| hex "I2C EEPROM internal address" | ||
| default 0x9A | ||
| range 0 0xffffffff | ||
| help | ||
| Internal address of the EEPROM chip where the MAC address is stored. | ||
| Chips with 1 to 4 byte internal address size are supported. Address | ||
| size has to be configured in a separate Kconfig option. | ||
|
|
||
| config ETH_MCHP_MAC_I2C_INT_ADDRESS_SIZE | ||
| int "I2C EEPROM internal address size" | ||
| default 1 | ||
| range 1 4 | ||
| help | ||
| Size (in bytes) of the internal EEPROM address. | ||
|
|
||
| endif # ETH_MCHP_MAC_I2C_EEPROM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, see #91040 (comment) for more infos



This pull request adds Ethernet and MDIO driver support for the Microchip GMAC peripheral. It introduces the Ethernet and MDIO driver implementation and updates the devicetree for the SAM D5x/E5x series to include the required node and bindings.