Skip to content

Commit 2e876b5

Browse files
ryderlee1110Daniel Lezcano
authored andcommitted
dt-bindings: timer: mediatek: update bindings for MT7629 SoC
Update the binding for MT7629 SoC, which uses fallback compatible to MT6765 SYST, so add more descriptions to distinguish it from the other SoCs that use GPT. Signed-off-by: Ryder Lee <ryder.lee@mediatek.com> Cc: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
1 parent b930742 commit 2e876b5

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

‎Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt‎

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
1-
Mediatek Timers
1+
MediaTek Timers
22
---------------
33

4-
Mediatek SoCs have two different timers on different platforms,
4+
MediaTek SoCs have two different timers on different platforms,
55
- GPT (General Purpose Timer)
66
- SYST (System Timer)
77

88
The proper timer will be selected automatically by driver.
99

1010
Required properties:
1111
- compatible should contain:
12+
For those SoCs that use GPT
1213
* "mediatek,mt2701-timer" for MT2701 compatible timers (GPT)
1314
* "mediatek,mt6580-timer" for MT6580 compatible timers (GPT)
1415
* "mediatek,mt6589-timer" for MT6589 compatible timers (GPT)
@@ -17,7 +18,11 @@ Required properties:
1718
* "mediatek,mt8135-timer" for MT8135 compatible timers (GPT)
1819
* "mediatek,mt8173-timer" for MT8173 compatible timers (GPT)
1920
* "mediatek,mt6577-timer" for MT6577 and all above compatible timers (GPT)
20-
* "mediatek,mt6765-timer" for MT6765 compatible timers (SYST)
21+
22+
For those SoCs that use SYST
23+
* "mediatek,mt7629-timer" for MT7629 compatible timers (SYST)
24+
* "mediatek,mt6765-timer" for MT6765 and all above compatible timers (SYST)
25+
2126
- reg: Should contain location and length for timer register.
2227
- clocks: Should contain system clock.
2328

0 commit comments

Comments
 (0)