Message ID | 20230116105305.31818-2-allen-kh.cheng@mediatek.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | mtk-wdt: Add reset-by-toprgu support | expand |
Il 16/01/23 11:53, Allen-KH Cheng ha scritto: > In some applications, the mtk-wdt requires the toprgu (TOP Reset > Generation Unit) to reset timer after system resets. Add optional > mediatek,reset-by-toprgu property to enable it. > > Signed-off-by: Allen-KH Cheng <allen-kh.cheng@mediatek.com> > --- > .../devicetree/bindings/watchdog/mediatek,mtk-wdt.yaml | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/Documentation/devicetree/bindings/watchdog/mediatek,mtk-wdt.yaml b/Documentation/devicetree/bindings/watchdog/mediatek,mtk-wdt.yaml > index b3605608410c..b4de6b134ce1 100644 > --- a/Documentation/devicetree/bindings/watchdog/mediatek,mtk-wdt.yaml > +++ b/Documentation/devicetree/bindings/watchdog/mediatek,mtk-wdt.yaml > @@ -52,6 +52,12 @@ properties: > description: Disable sending output reset signal > type: boolean > > + mediatek,reset-by-toprgu: > + description: The top reset generate unit (toprgu) generates reset signals TOPRGU = Top Reset Generation Unit Please fix the description... The Top Reset Generation Unit (TOPRGU) generate reset signals and distributes them to each IP. If present, the watchdog timer will be reset by TOPRGU once system resets. Apart from that: Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
diff --git a/Documentation/devicetree/bindings/watchdog/mediatek,mtk-wdt.yaml b/Documentation/devicetree/bindings/watchdog/mediatek,mtk-wdt.yaml index b3605608410c..b4de6b134ce1 100644 --- a/Documentation/devicetree/bindings/watchdog/mediatek,mtk-wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/mediatek,mtk-wdt.yaml @@ -52,6 +52,12 @@ properties: description: Disable sending output reset signal type: boolean + mediatek,reset-by-toprgu: + description: The top reset generate unit (toprgu) generates reset signals + and distributes them to each system. If present, means the watchdog + timer will reset by toprgu once system resets. + type: boolean + '#reset-cells': const: 1
In some applications, the mtk-wdt requires the toprgu (TOP Reset Generation Unit) to reset timer after system resets. Add optional mediatek,reset-by-toprgu property to enable it. Signed-off-by: Allen-KH Cheng <allen-kh.cheng@mediatek.com> --- .../devicetree/bindings/watchdog/mediatek,mtk-wdt.yaml | 6 ++++++ 1 file changed, 6 insertions(+)