blob: a791d3ab4ed140c91a37c89958c293bbbf977c1b [file] [log] [blame]
developer8b9f2852021-06-03 21:53:08 +08001diff --git a/drivers/pwm/pwm-mediatek.c b/drivers/pwm/pwm-mediatek.c
2index b94e0d0..35a0db2 100644
3--- a/drivers/pwm/pwm-mediatek.c
4+++ b/drivers/pwm/pwm-mediatek.c
5@@ -302,6 +302,11 @@ static const struct pwm_mediatek_of_data mt7629_pwm_data = {
6 .pwm45_fixup = false,
7 };
8
9+static const struct pwm_mediatek_of_data mt7986_pwm_data = {
10+ .num_pwms = 2,
11+ .pwm45_fixup = false,
12+};
13+
14 static const struct pwm_mediatek_of_data mt8516_pwm_data = {
15 .num_pwms = 5,
16 .pwm45_fixup = false,
17@@ -313,6 +318,7 @@ static const struct of_device_id pwm_mediatek_of_match[] = {
18 { .compatible = "mediatek,mt7623-pwm", .data = &mt7623_pwm_data },
19 { .compatible = "mediatek,mt7628-pwm", .data = &mt7628_pwm_data },
20 { .compatible = "mediatek,mt7629-pwm", .data = &mt7629_pwm_data },
21+ { .compatible = "mediatek,mt7986-pwm", .data = &mt7986_pwm_data },
22 { .compatible = "mediatek,mt8516-pwm", .data = &mt8516_pwm_data },
23 { },
24 };