]> git.dujemihanovic.xyz Git - u-boot.git/commit
pwm: mtk: add support for MediaTek MT7981 SoC
authorWeijie Gao <weijie.gao@mediatek.com>
Fri, 9 Sep 2022 11:59:38 +0000 (19:59 +0800)
committerTom Rini <trini@konsulko.com>
Fri, 23 Sep 2022 19:09:15 +0000 (15:09 -0400)
commit1ac479587f18f14bbf54242c1ef2769a66d4b634
tree2a6610e23a2b585b8d7e74ee8fc9f279be0150d8
parentc986dd9f5839028e445853e286525c8b19a0e506
pwm: mtk: add support for MediaTek MT7981 SoC

This patch adds PWM support for MediaTek MT7981 SoC.
MT7981 uses a different register offset so we have to add a version field
to indicate the IP core version.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
drivers/pwm/pwm-mtk.c