Skip to content

hal: renesas: rz: Add ADC support for RZ/A, T, N, V series #116

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

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

Conversation

nhutnguyenkc
Copy link
Contributor

Add HAL FSP ADC files for RZ/A, T, N, V series

Comment on lines 62 to 77
* Rename adc_scan_end_isr to adc_c_scan_end_isr.
Rename g_adc_on_adc to g_adc_on_adc_c with _c suffix.
Impacted files:
drivers/rz/fsp/src/rza/r_adc_c/r_adc_c.c
drivers/rz/fsp/inc/instances/rza/r_adc_c.h
Copy link
Member

Choose a reason for hiding this comment

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

@nhutnguyenkc , I think it would be better to also describe the background of the change here, and also separate the commit of modifying this, so that later maintenance for these files are easier

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@duynguyenxa , I added the reason behind the renaming. The main benefit is to make the Zephyr RZ ADC driver to generic for both ADC and ADC_C.

I also added a separate commit for the renaming.

@nhutnguyenkc nhutnguyenkc force-pushed the rz_support_adc branch 2 times, most recently from 738a804 to 672299c Compare August 12, 2025 07:21
Phuc Pham and others added 6 commits August 12, 2025 14:30
Add HAL FSP ADC files for RZ/A series

Signed-off-by: Phuc Pham <[email protected]>
Signed-off-by: Nhut Nguyen <[email protected]>
Rename adc_scan_end_isr, g_adc_on_adc to adc_c_scan_end_isr,
g_adc_on_adc_c with _c suffix respectively to match with ADC_C FSP
driver and make the Zephyr RZ ADC driver generic

Signed-off-by: Nhut Nguyen <[email protected]>
Add HAL FSP ADC files for RZ/T series

Signed-off-by: Phuc Pham <[email protected]>
Signed-off-by: Nhut Nguyen <[email protected]>
Add HAL FSP ADC files for RZ/N series

Signed-off-by: Phuc Pham <[email protected]>
Signed-off-by: Nhut Nguyen <[email protected]>
Add HAL FSP ADC files for RZ/V series

Signed-off-by: Phuc Pham <[email protected]>
Signed-off-by: Nhut Nguyen <[email protected]>
Rename g_adc_on_adc to g_adc_on_adc_c with _c suffix

Signed-off-by: Nhut Nguyen <[email protected]>
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.

3 participants