@@ -554,26 +554,36 @@ static const struct meson_pwm_data pwm_gxbb_ao_data = {
554
554
static const struct meson_pwm_data pwm_axg_ee_data = {
555
555
.parent_names = { "xtal" , "fclk_div5" , "fclk_div4" , "fclk_div3" },
556
556
.channels_init = meson_pwm_init_channels_meson8b_legacy ,
557
+ .has_constant = true,
558
+ .has_polarity = true,
557
559
};
558
560
559
561
static const struct meson_pwm_data pwm_axg_ao_data = {
560
562
.parent_names = { "xtal" , "axg_ao_clk81" , "fclk_div4" , "fclk_div5" },
561
563
.channels_init = meson_pwm_init_channels_meson8b_legacy ,
564
+ .has_constant = true,
565
+ .has_polarity = true,
562
566
};
563
567
564
568
static const struct meson_pwm_data pwm_g12a_ee_data = {
565
569
.parent_names = { "xtal" , NULL , "fclk_div4" , "fclk_div3" },
566
570
.channels_init = meson_pwm_init_channels_meson8b_legacy ,
571
+ .has_constant = true,
572
+ .has_polarity = true,
567
573
};
568
574
569
575
static const struct meson_pwm_data pwm_g12a_ao_ab_data = {
570
576
.parent_names = { "xtal" , "g12a_ao_clk81" , "fclk_div4" , "fclk_div5" },
571
577
.channels_init = meson_pwm_init_channels_meson8b_legacy ,
578
+ .has_constant = true,
579
+ .has_polarity = true,
572
580
};
573
581
574
582
static const struct meson_pwm_data pwm_g12a_ao_cd_data = {
575
583
.parent_names = { "xtal" , "g12a_ao_clk81" , NULL , NULL },
576
584
.channels_init = meson_pwm_init_channels_meson8b_legacy ,
585
+ .has_constant = true,
586
+ .has_polarity = true,
577
587
};
578
588
579
589
static const struct meson_pwm_data pwm_meson8_v2_data = {
@@ -582,10 +592,14 @@ static const struct meson_pwm_data pwm_meson8_v2_data = {
582
592
583
593
static const struct meson_pwm_data pwm_meson_axg_v2_data = {
584
594
.channels_init = meson_pwm_init_channels_meson8b_v2 ,
595
+ .has_constant = true,
596
+ .has_polarity = true,
585
597
};
586
598
587
599
static const struct meson_pwm_data pwm_s4_data = {
588
600
.channels_init = meson_pwm_init_channels_s4 ,
601
+ .has_constant = true,
602
+ .has_polarity = true,
589
603
};
590
604
591
605
static const struct of_device_id meson_pwm_matches [] = {
0 commit comments