Re: [PATCH V6 2/2] doc: mtk-wdt: support pre-timeout when the bark irq is available

From: Guenter Roeck
Date: Wed Apr 21 2021 - 23:32:31 EST


On 4/21/21 7:45 PM, Wang Qing wrote:
> Add description of pre-timeout in mtk-wdt.
>
> Signed-off-by: Wang Qing <wangqing@xxxxxxxx>
> ---
> Documentation/devicetree/bindings/watchdog/mtk-wdt.txt | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/watchdog/mtk-wdt.txt b/Documentation/devicetree/bindings/watchdog/mtk-wdt.txt
> index e36ba60..ae57d6c
> --- a/Documentation/devicetree/bindings/watchdog/mtk-wdt.txt
> +++ b/Documentation/devicetree/bindings/watchdog/mtk-wdt.txt
> @@ -1,5 +1,8 @@
> Mediatek SoCs Watchdog timer
>
> +The watchdog supports a pre-timeout interrupt that fires timeout-sec/2
> +before the expiry.
> +

Seems to me the interrupt should be listed as optional property.

Guenter

> Required properties:
>
> - compatible should contain:
>