-
Notifications
You must be signed in to change notification settings - Fork 7.4k
drivers: crc: initial support for renesas,ra-crc driver #87557
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: crc: initial support for renesas,ra-crc driver #87557
Conversation
The following west manifest projects have changed revision in this Pull Request:
✅ All manifest checks OK Note: This message is automatically posted and updated by the Manifest GitHub Action. |
@thenguyenyf Nice, thanks! Are you able to give a short presentation of this in an Architecture Working Group meeting? |
Hello @henrikbrixandersen . I'm willing to join and give a presentation for the new CRC subsystem. How about next week meeting? I may not be able to join this week. |
bce01eb
to
6b4d778
Compare
Please rebase to slove conflict. |
5e366bc
to
6c12cb7
Compare
d9db36b
to
ea016fb
Compare
Last push just to rebase and solve conflict |
6af150c
to
578b46a
Compare
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.
Pull Request Overview
This PR introduces initial support for the Renesas RA CRC driver by adding hardware-accelerated CRC functionality and updating board configuration files and maintainers accordingly.
- Added "crc" as a supported feature in multiple Renesas board YAML files.
- Updated the MAINTAINERS file with new CRC subsystem source file paths.
Reviewed Changes
Copilot reviewed 90 out of 100 changed files in this pull request and generated no comments.
Show a summary per file
File | Description |
---|---|
boards/renesas/ek_ra6e2/ek_ra6e2.yaml | Added "crc" to the supported list |
boards/renesas/ek_ra4w1/ek_ra4w1.yaml | Added "crc" to the supported list |
boards/renesas/ek_ra4m3/ek_ra4m3.yaml | Added "crc" to the supported list |
boards/renesas/ek_ra4m2/ek_ra4m2.yaml | Added "crc" to the supported list |
boards/renesas/ek_ra4m1/ek_ra4m1.yaml | Added "crc" to the supported list |
boards/renesas/ek_ra4l1/ek_ra4l1.yaml | Added "crc" to the supported list |
boards/renesas/ek_ra4e2/ek_ra4e2.yaml | Added "crc" to the supported list |
boards/renesas/ek_ra2l1/ek_ra2l1.yaml | Added "crc" to the supported list |
boards/renesas/ek_ra2a1/ek_ra2a1.yaml | Added "crc" to the supported list |
MAINTAINERS.yml | Updated file paths to include new CRC subsystem files |
Files not reviewed (10)
- boards/renesas/ek_ra2a1/ek_ra2a1.dts: Language not supported
- boards/renesas/ek_ra2l1/ek_ra2l1.dts: Language not supported
- boards/renesas/ek_ra4e2/ek_ra4e2.dts: Language not supported
- boards/renesas/ek_ra4l1/ek_ra4l1.dts: Language not supported
- boards/renesas/ek_ra4m1/ek_ra4m1.dts: Language not supported
- boards/renesas/ek_ra4m2/ek_ra4m2.dts: Language not supported
- boards/renesas/ek_ra4m3/ek_ra4m3.dts: Language not supported
- boards/renesas/ek_ra4w1/ek_ra4w1.dts: Language not supported
- boards/renesas/ek_ra6e2/ek_ra6e2.dts: Language not supported
- boards/renesas/ek_ra6m1/ek_ra6m1.dts: Language not supported
578b46a
to
0f47e2f
Compare
0f47e2f
to
d919d74
Compare
d919d74
to
2ef4b9e
Compare
@thenguyenyf : Please solve conflict. Thank you. |
@@ -0,0 +1,175 @@ | |||
/* | |||
* Copyright (c) 2024 Brill Power Ltd. |
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.
Is this copyright notice correct?
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.
I keep this copyright from original contributor due to this interface is inherited from #74977
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 that case, it would also be good to add Co-authored-by:
to your commit message.
And of course it's a good idea to credit yourself after the original author.
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.
I fixed it
2ef4b9e
to
040255e
Compare
- Implement CRC syscall. - Add CRC driver API. - Introduce support for the CRC driver. Co-authored-by: Zoe Kaute <zoe.kaute@brillpower.com> Signed-off-by: Duy Vo <duy.vo.xc@bp.renesas.com>
Add device tree node for CRC driver on all Renesas MCU Signed-off-by: Duy Vo <duy.vo.xc@bp.renesas.com>
Enable and add CRC node to aliases, chosen for all Renesas MCU Signed-off-by: Duy Vo <duy.vo.xc@bp.renesas.com>
Migrate support from crc library to new crc subsystem Add hardware acclerator backend for crc subsystem Signed-off-by: Duy Vo <duy.vo.xc@bp.renesas.com>
Add samples for CRC driver Signed-off-by: Duy Vo <duy.vo.xc@bp.renesas.com>
Add samples for CRC subsystem Signed-off-by: Duy Vo <duy.vo.xc@bp.renesas.com>
Add ztests for CRC driver Signed-off-by: Duy Vo <duy.vo.xc@bp.renesas.com>
Add ztests for CRC subsystem Signed-off-by: Duy Vo <duy.vo.xc@bp.renesas.com>
Due to the move of lib/crc to subsys/crc, the include path of CRC handler in this test should be updated: - tests/unit/crc Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
040255e
to
0ddbc7c
Compare
|
This PR is inherited from #74977 to add a CRC device driver with hardware accelerator. We'd like to introduce:
include/zephyr/drivers/crc.h
include/zephyr/sys/crc.h
The crc subsys implementation can be chosen as:
zephyr,crc
alias if it's defined