mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 06:00:43 +00:00
pwm: mtk: add support for MediaTek MT7986 SoC
This patch adds PWM support for MediaTek MT7986 SoC. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
This commit is contained in:
parent
bc15e30346
commit
c986dd9f58
1 changed files with 6 additions and 0 deletions
|
@ -171,10 +171,16 @@ static const struct mtk_pwm_soc mt7629_data = {
|
|||
.pwm45_fixup = false,
|
||||
};
|
||||
|
||||
static const struct mtk_pwm_soc mt7986_data = {
|
||||
.num_pwms = 2,
|
||||
.pwm45_fixup = false,
|
||||
};
|
||||
|
||||
static const struct udevice_id mtk_pwm_ids[] = {
|
||||
{ .compatible = "mediatek,mt7622-pwm", .data = (ulong)&mt7622_data },
|
||||
{ .compatible = "mediatek,mt7623-pwm", .data = (ulong)&mt7623_data },
|
||||
{ .compatible = "mediatek,mt7629-pwm", .data = (ulong)&mt7629_data },
|
||||
{ .compatible = "mediatek,mt7986-pwm", .data = (ulong)&mt7986_data },
|
||||
{ }
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue