Skip to content
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

Initial support for RA Ethernet hal #34

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

thaoluonguw
Copy link
Collaborator

This PR add RA Ethernet and Ethernet PHY drivers to hal_renesas

@duynguyenxa duynguyenxa force-pushed the support_renesas_ra8_ethernet branch 2 times, most recently from 4bcdef0 to c5e4e42 Compare October 25, 2024 05:47
@duynguyenxa
Copy link
Member

@soburi , now we are changing the design of Ethernet driver, Ethernet Phy driver now will be use as mdio to communicate with configure phy chip using Zephyr phy API, Ethernet now will not call to Ethernet phy anymore.

Copy link
Collaborator

@KhiemNguyenT KhiemNguyenT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I reviewed the implementation and agreed with this.
Will need @soburi comment to move next steps.

@@ -54,3 +54,18 @@ Patch List:
* Allows custom implementation of option setting memory
Impacted files:
drivers/ra/fsp/src/bsp/mcu/all/bsp_rom_registers.c

* Add in ETHER_CFG_USE_CUSTOM_PHY_DRIVER to Etherent controller driver to skip the phy control and allow the use of Zephyr phy driver.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Etherent -> Ethernet

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's fixed

thaoluonguw and others added 2 commits November 27, 2024 14:03
Initial support for Ethernet and Ethernet phy driver

Signed-off-by: Duy Phuong Hoang. Nguyen <[email protected]>
Signed-off-by: Thao Luong <[email protected]>
This update is for Ethernet driver to better fit into Zephyr
standard.
Add in ETHER_CFG_USE_CUSTOM_PHY_DRIVER to Ethernet controller
driver to skip the phy control and allow the use of Zephyr
phy driver.
Add phy link speed to Ethernet controller driver instance
control.
Add phy_lsi_address to Ethernet phy instance control to
allow the control of phy address as input

Signed-off-by: Duy Nguyen <[email protected]>
@thaoluonguw
Copy link
Collaborator Author

Rebase with main branch to solve conflict.

@KhiemNguyenT KhiemNguyenT self-requested a review November 27, 2024 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants