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

Support ADC driver for Renesas RA8, RA6, RA4 devices #80719

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

Conversation

khoa-nguyen-18
Copy link
Contributor

@khoa-nguyen-18 khoa-nguyen-18 commented Nov 1, 2024

Add support for ADC driver for RA8M1, RA8T1, RA6M1, RA6M2, RA6M3, RA6M4, RA6M5, RA6E1, RA6E2, RA4M2, RA4M3, RA4W1, RA4E2

  • Add ADC driver support.
  • Add support tests/drivers/adc/adc_accuracy_test and tests/drivers/adc/adc_api.

@khoa-nguyen-18 khoa-nguyen-18 marked this pull request as ready for review November 1, 2024 07:42
@zephyrbot zephyrbot added area: ADC Analog-to-Digital Converter (ADC) platform: Renesas RA Renesas Electronics Corporation, RA labels Nov 1, 2024
@khoa-nguyen-18 khoa-nguyen-18 changed the title Support ADC driver for Renesas RA6, RA4 devices Support ADC driver for Renesas RA8, RA6, RA4 devices Nov 7, 2024
- Add "channel-available-mask" property in ADC node in Renesas RA
device tree to help detect which channels are available to use

- Change the condition to detect the used channel
is supported in the source code of ADC.

- Enable Addition/Average Mode, average 4 samples to
improve the accuracy.

Signed-off-by: Khoa Nguyen <[email protected]>
@khoa-nguyen-18
Copy link
Contributor Author

khoa-nguyen-18 commented Nov 7, 2024

Add a commit to:

  • Support ADC RA8D1, RA8T1
  • Add the missing ADC doc for EK-RA8M1
  • Remove the test device id of EK-RA8M1 in testcase.yaml of adc_accuracy_test

- Add support ADC for EK-RA8D1 and MCK-RA8T1.
- Add missing description for ADC in EK-RA8M1 document
- Remove test id device of ek_ra8m1 in testcase.yaml of
adc_accuracy_test

Signed-off-by: Khoa Nguyen <[email protected]>
Signed-off-by: Thao Luong <[email protected]>
- Support ADC for RA6M1, RA6M2, RA6M3, RA6M4, RA6M5, RA6E1, RA6E2
- Initial overlays for RA6 in test app adc_accuracy_test and
adc_api

Signed-off-by: Khoa Nguyen <[email protected]>
- Support ADC for RA4E2, RA4M2, RA4M3, RA4W1
- Initial overlays for RA4 in test app adc_accuracy_test,
adc_api

Signed-off-by: Khoa Nguyen <[email protected]>
@khoa-nguyen-18
Copy link
Contributor Author

Rebase main and solve the conflicts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: ADC Analog-to-Digital Converter (ADC) platform: Renesas RA Renesas Electronics Corporation, RA
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants