-
Notifications
You must be signed in to change notification settings - Fork 7.1k
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
drivers: crc: initial support for renesas,ra-crc driver #87557
base: main
Are you sure you want to change the base?
drivers: crc: initial support for renesas,ra-crc driver #87557
Conversation
Update rev of hal_renesas to add support for crc driver Signed-off-by: Duy Vo <duy.vo.xc@bp.renesas.com>
The following west manifest projects have changed revision in this Pull Request:
⛔ DNM label due to: 1 project with PR revision 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. |
989afec
to
2415e6e
Compare
- Implement CRC syscall. - Add CRC driver API. - Introduce support for the CRC driver. 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>
- Introduce initial support for the CRC subsystem. - Create new interface crc_new by copying sys/crc.h. - Define macros for CRC polynomials. - Modify each function to include an additional parameter for retrieving the CRC result. - Update function return values: - Return 0 on success. - Return an error code on failure. 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>
2415e6e
to
bce01eb
Compare
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>
bce01eb
to
6b4d778
Compare
Please rebase to slove conflict. |
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/crc_new/crc_new.h
The crc_new subsys implementation can be chosen as:
zephyr,crc
alias if it's definedinclude/zephyr/sys/crc.h
The crc_new is an adapter layer with similar function like zephyr/include/zephyr/sys/crc.h, but has a compatible interface to the device driver model to make it work with hardware accelerators. Old libraries that are being used by other software will be retained.