Skip to content

Commit c2bb4bd

Browse files
khoatranyjhenrikbrixandersen
authored andcommitted
drivers: pwm: Add initial polarity value for Renesas RA GPT PWM
Add initial polarity value for Renesas RA GPT PWM Signed-off-by: Khoa Tran <[email protected]>
1 parent 00d18a6 commit c2bb4bd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/pwm/pwm_renesas_ra.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -604,6 +604,8 @@ static int pwm_renesas_ra_init(const struct device *dev)
604604
.capture_filter_gtiocb = GPT_CAPTURE_FILTER_NONE, \
605605
.p_pwm_cfg = NULL, \
606606
.gtior_setting.gtior = (0x0U), \
607+
.gtioca_polarity = GPT_GTIOC_POLARITY_NORMAL, \
608+
.gtiocb_polarity = GPT_GTIOC_POLARITY_NORMAL, \
607609
}; \
608610
static struct pwm_renesas_ra_data pwm_renesas_ra_data_##index = { \
609611
.fsp_cfg = \

0 commit comments

Comments
 (0)