-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Upstream/renesas ra input capture channel b pwm #90838
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
base: main
Are you sure you want to change the base?
Upstream/renesas ra input capture channel b pwm #90838
Conversation
3d569be
to
1345d12
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, I have some comments regarding typos and duplicates.
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_RENESAS_RZ_PWM_H_ | ||
#define ZEPHYR_INCLUDE_DT_BINDINGS_RENESAS_RZ_PWM_H_ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_RENESAS_RZ_PWM_H_ | |
#define ZEPHYR_INCLUDE_DT_BINDINGS_RENESAS_RZ_PWM_H_ | |
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_RENESAS_RA_PWM_H_ | |
#define ZEPHYR_INCLUDE_DT_BINDINGS_RENESAS_RA_PWM_H_ |
boards/renesas/ek_ra4e2/ek_ra4e2.dts
Outdated
@@ -166,8 +166,8 @@ | |||
&pwm1 { | |||
pinctrl-0 = <&pwm1_default>; | |||
pinctrl-names = "default"; | |||
interrupts = <63 1>, <64 1>; | |||
interrupt-names = "gtioca", "overflow"; | |||
interrupts = <63 1>, <63 1>, <64 1>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
duplicate <63 1>
dts/bindings/pwm/renesas,ra-pwm.yaml
Outdated
interrupt-names: | ||
required: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
duplicate interrupt-names:
property, please remove this one
This commit add support for input capture feature for PWM GPT on Renesas RA MCU on GTIOCB pin This use the combination of input capture interrupt B and overflow interrupt to get pulse and period information This commit also add modify to all impact device tree config using renesas,ra-pwm node Signed-off-by: Duy Nguyen <[email protected]>
1345d12
to
5d9d20a
Compare
|
This commit add support for input capture on GPT GTIOCnB pin for Renesas RA devices