-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
Add GMAC device tree binding #23045
Add GMAC device tree binding #23045
Conversation
cc @nandojve |
All checks are passing now. checkpatch (informational only, not a failure)
Tip: The bot edits this comment instead of posting a new one, so you can check the comment's history to see earlier messages. |
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.
Just a comment to make this not show in my pending review list, as I'm not authority on DT stuff.
@ulfalizer @galak Any suggested alternative for |
4fad275
to
0851259
Compare
@nandojve I am adding you as the SAM E70 platform code owner, since there currently is none and the |
We are currently seeing USB-related build errors for SAMV71B because the ASF https://gist.github.com/stephanosio/cc7dd2049a740bdb13b1acdf6c6325af ADD: These definitions have also been removed in the latest SAME70 DFP 2.4.166 SAME70B UPDATE: I will provide a fix for this tomorrow on top of #23055 in this PR. |
0851259
to
e62b4d4
Compare
e62b4d4
to
ac223b5
Compare
Rebased |
Tested on SAMV71 with samples/net/telnet using net->ping and net->dns. |
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.
If you want to pull out the commits for creating the 'B' variants that PR could get merged while the GMAC changes are still being done.
Please convert to use the new DT macro's in include/devicetree.h.
This commit adds the missing Atmel SAM-family GMAC Ethernet device binding. Signed-off-by: Stephanos Ioannidis <[email protected]>
This commit updates the Atmel SAM GMAC driver to use the device tree values for GMAC hardware configuration. Signed-off-by: Stephanos Ioannidis <[email protected]>
This commit adds a GMAC instance to the SAM E70 device tree, with the chip revision-specific hardware queue count. Signed-off-by: Stephanos Ioannidis <[email protected]>
This commit adds a new `sam_e70b_xplained` variant with the chip revision B device tree. In addition, this commit enables the newly added GMAC device tree instance. Signed-off-by: Stephanos Ioannidis <[email protected]>
This commit adds a GMAC instance to the SAM V71 device tree, with the chip revision-specific hardware queue count. Signed-off-by: Stephanos Ioannidis <[email protected]>
This commit adds a new `sam_v71_xult` variant with the chip revision B device tree. In addition, this commit enables the newly added GMAC device tree instance. Signed-off-by: Stephanos Ioannidis <[email protected]>
This commit removes the Kconfig MAC address configurations for the `sam_e70_xplained` board, as these have been migrated to use the device tree configurations. Signed-off-by: Stephanos Ioannidis <[email protected]>
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.
LGTM, comments from @galak still need to be addressed.
57ffebc
to
ea01adf
Compare
@galak I have added a new commit to convert the Atmel SAM GMAC driver to use the new DT_INST macros. |
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.
in general looks good, one change associated with where the #define DT_DRV_COMPAT
is done.
This commit converts the Atmel SAM GMAC driver to use the new DT_INST macro APIs. Signed-off-by: Stephanos Ioannidis <[email protected]>
ea01adf
to
45e3aac
Compare
@galak Fixed |
This PR adds the device tree binding for the Atmel SAM GMAC Ethernet and converts the existing compatible SoCs (SAM E70 and V71) and boards (
sam_e70_xplained
andsam_v71_xult
) to use it.Includes commits from #23055.
Fixes #22997.