Skip to content

Add additional support for RA2L1 #90606

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

Merged
merged 11 commits into from
Jun 25, 2025

Conversation

thaoluonguw
Copy link
Collaborator

Update dts and configs for RA2L1 additional supports:

  • Add support for trng, spi, pwm (gpt), counter (agt), i2c (iic_master), adc and dac for RA2L1 (including samples and tests)

  • Add external interrupt for RA2L1.

  • Add 80, 64, 48 pins packages for RA2L1

#include <zephyr/dt-bindings/pwm/ra_pwm.h>

&pinctrl {

Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I fixed it. Thank you.

interrupts = <19 1>, <16 1>;
interrupt-names = "agti", "agtcmai";
renesas,prescaler = <4>;
counter0: counter {
Copy link
Collaborator

Choose a reason for hiding this comment

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

newline on line 12

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I fixed it. Thank you.

#clock-cells = <2>;
status = "disabled";
};

Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I fixed it. Thank you.

#clock-cells = <2>;
status = "disabled";
};

Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I fixed it. Thank you.

#clock-cells = <2>;
status = "disabled";
};

Copy link
Collaborator

Choose a reason for hiding this comment

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

fix in whole PR, other instances not noted

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I fixed it. Thank you.

@thaoluonguw thaoluonguw force-pushed the ra2l1_additional_supports branch 2 times, most recently from 2cfa826 to e636fa3 Compare May 31, 2025 17:30
…ra2l1

Add support for trng, spi, pwm (gpt), counter (agt), i2c (iic_master),
adc and dac for RA2L1.
Add external interrupt for RA2L1.

Signed-off-by: Thao Luong <[email protected]>
Add support for entropy, adc, dac and buttons (s1 and s2)

Signed-off-by: Thao Luong <[email protected]>
RA2L1 doesn't support for SPI Hardware Peripgheral Select.
Disable this config as default in RA2L1

Signed-off-by: Thao Luong <[email protected]>
@thaoluonguw thaoluonguw force-pushed the ra2l1_additional_supports branch from e636fa3 to 50b6ef1 Compare June 17, 2025 15:33
@thaoluonguw
Copy link
Collaborator Author

Update to solve conflict.

@thaoluonguw thaoluonguw requested a review from nordicjm June 17, 2025 15:34
@thaoluonguw thaoluonguw added this to the v4.2.0 milestone Jun 17, 2025
Add support for ek_ra2l1 on spi_loopback.

Signed-off-by: Thao Luong <[email protected]>
Add support ek_ra2l1 for i2c_api test.

Signed-off-by: Thao Luong <[email protected]>
Add support for ek_ra2l1 on pwm_api and pwm_loopback tests.

Signed-off-by: Thao Luong <[email protected]>
Add support ek_ra2l1 for adc_api and adc_accurarcy_test

Signed-off-by: Thao Luong <[email protected]>
Add support ek_ra2l1 on dac_api and dac_loopback tests.

Signed-off-by: Thao Luong <[email protected]>
Add support ek_ra2l1 for dac sample

Signed-off-by: Thao Luong <[email protected]>
Add support for RA2L1 80 pins, 64 pins and 48 pins packages.

Signed-off-by: Thao Luong <[email protected]>
Add support RA2L1 80 pins, 64 pins and 48 pins packages

Signed-off-by: Thao Luong <[email protected]>
@thaoluonguw thaoluonguw force-pushed the ra2l1_additional_supports branch from 50b6ef1 to a7042fb Compare June 18, 2025 17:15
Copy link

@thaoluonguw
Copy link
Collaborator Author

@martinjaeger , @KhiemNguyenT , @duynguyenxa : Could you please take a look ? Thank you.

@kartben kartben assigned KhiemNguyenT and soburi and unassigned martinjaeger Jun 24, 2025
@kartben kartben merged commit 434d022 into zephyrproject-rtos:main Jun 25, 2025
27 checks passed
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) area: Counter area: DAC Digital-to-Analog Converter area: I2C area: PWM Pulse Width Modulation area: Samples Samples area: SPI SPI bus platform: Renesas RA Renesas Electronics Corporation, RA
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants