developer | 29344f1 | 2022-10-17 12:01:44 +0800 | [diff] [blame] | 1 | diff --git a/drivers/pwm/pwm-mediatek.c b/drivers/pwm/pwm-mediatek.c |
| 2 | index 3a5a456..6d6206e 100644 |
| 3 | --- a/drivers/pwm/pwm-mediatek.c |
| 4 | +++ b/drivers/pwm/pwm-mediatek.c |
| 5 | @@ -350,6 +350,12 @@ static const struct pwm_mediatek_of_data mt7986_pwm_data = { |
| 6 | .reg_ver = REG_V2, |
| 7 | }; |
| 8 | |
| 9 | +static const struct pwm_mediatek_of_data mt7988_pwm_data = { |
| 10 | + .num_pwms = 8, |
| 11 | + .pwm45_fixup = false, |
| 12 | + .reg_ver = REG_V2, |
| 13 | +}; |
| 14 | + |
| 15 | static const struct pwm_mediatek_of_data mt8516_pwm_data = { |
| 16 | .num_pwms = 5, |
| 17 | .pwm45_fixup = false, |
| 18 | @@ -364,6 +370,7 @@ static const struct of_device_id pwm_mediatek_of_match[] = { |
| 19 | { .compatible = "mediatek,mt7629-pwm", .data = &mt7629_pwm_data }, |
| 20 | { .compatible = "mediatek,mt7981-pwm", .data = &mt7981_pwm_data }, |
| 21 | { .compatible = "mediatek,mt7986-pwm", .data = &mt7986_pwm_data }, |
| 22 | + { .compatible = "mediatek,mt7988-pwm", .data = &mt7988_pwm_data }, |
| 23 | { .compatible = "mediatek,mt8516-pwm", .data = &mt8516_pwm_data }, |
| 24 | { }, |
| 25 | }; |