Skip to content

hal: renesas: rz: Add PWM support for RZ/T, N, V series #118

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 4 commits into
base: main
Choose a base branch
from

Conversation

nhutnguyenkc
Copy link
Contributor

@nhutnguyenkc nhutnguyenkc commented Jul 10, 2025

  • Add HAL FSP GPT files to support PWM driver for RZ/T, N, V series
  • Rename GPT capture compare isr of rzg/r_gpt from gpt_capture_a_isr, gpt_capture_b_isr to gpt_capture_compare_a_isr, gpt_capture_compare_b_isr respectively to make the PWM Zephyr driver generic

Hieu Nguyen and others added 4 commits July 10, 2025 15:27
Add HAL FSP GPT files to support PWM for RZ/V series

Signed-off-by: Hieu Nguyen <hieu.nguyen.ym@bp.renesas.com>
Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
Rename GPT capture compare isr of rzg/r_gpt from gpt_capture_a_isr,
gpt_capture_b_isr to gpt_capture_compare_a_isr, gpt_capture_compare_b_isr
respectively

Signed-off-by: Hieu Nguyen <hieu.nguyen.ym@bp.renesas.com>
Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
- Add HAL FSP GPT files to support PWM for RZ/T series
- Rename GPT capture compare isr of rzg/r_gpt from gpt_capture_a_isr,
  gpt_capture_b_isr to gpt_capture_compare_a_isr,
  gpt_capture_compare_b_isr respectively
- In Zephyr, the interrupt id starts from 0, and the 32 first id
  are for SGIs and PPIs, so the FSP_INVALID_VECTOR must be redefined
  to 31

Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
Signed-off-by: Hieu Nguyen hieu.nguyen.ym@bp.renesas.com
- Add HAL FSP GPT files to support PWM for RZ/N series
- Rename GPT capture compare isr of rzg/r_gpt from gpt_capture_a_isr,
  gpt_capture_b_isr to gpt_capture_compare_a_isr,
  gpt_capture_compare_b_isr respectively
- In Zephyr, the interrupt id starts from 0, and the 32 first id
  are for SGIs and PPIs, so the FSP_INVALID_VECTOR must be redefined
  to 31

Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
Signed-off-by: Hieu Nguyen hieu.nguyen.ym@bp.renesas.com
@nhutnguyenkc nhutnguyenkc changed the title hal: renesas: rz: Add PWM support for RZ/A, T, N, V series hal: renesas: rz: Add PWM support for RZ/T, N, V series Jul 10, 2025
@nhutnguyenkc nhutnguyenkc marked this pull request as ready for review July 10, 2025 09:56
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.

1 participant