From patchwork Mon May 31 01:51:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?546L5pOO?= X-Patchwork-Id: 12288529 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4511BC47093 for ; Mon, 31 May 2021 02:00:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0F9A461090 for ; Mon, 31 May 2021 02:00:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230002AbhEaCCT (ORCPT ); Sun, 30 May 2021 22:02:19 -0400 Received: from mail-m17639.qiye.163.com ([59.111.176.39]:50862 "EHLO mail-m17639.qiye.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229897AbhEaCCT (ORCPT ); Sun, 30 May 2021 22:02:19 -0400 X-Greylist: delayed 539 seconds by postgrey-1.27 at vger.kernel.org; Sun, 30 May 2021 22:02:18 EDT Received: from vivo-HP-ProDesk-680-G4-PCI-MT.vivo.xyz (unknown [58.251.74.232]) by mail-m17639.qiye.163.com (Hmail) with ESMTPA id 825FF380176; Mon, 31 May 2021 09:51:38 +0800 (CST) From: Wang Qing To: Wim Van Sebroeck , Guenter Roeck , Rob Herring , Matthias Brugger , linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Wang Qing Subject: [PATCH V9,RESEND,0/2] watchdog: mtk: support pre-timeout when the bark irq is available Date: Mon, 31 May 2021 09:51:33 +0800 Message-Id: <1622425895-32111-1-git-send-email-wangqing@vivo.com> X-Mailer: git-send-email 2.7.4 X-HM-Spam-Status: e1kfGhgUHx5ZQUtXWQgYFAkeWUFZS1VLWVdZKFlBSE83V1ktWUFJV1kPCR oVCBIfWUFZGU0YQ1ZMSR1JTR1CTUtMSU9VEwETFhoSFyQUDg9ZV1kWGg8SFR0UWUFZT0tIVUpKS0 hKTFVLWQY+ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6NiI6ARw5LD8PLxMfFg4RPz5L TUswC09VSlVKTUlJT0lOQ0JCSUtKVTMWGhIXVQwaFRwKEhUcOw0SDRRVGBQWRVlXWRILWUFZTkNV SU5KVUxPVUlISVlXWQgBWUFKTEtDNwY+ X-HM-Tid: 0a79c01e8f7ed994kuws825ff380176 Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.org Use the bark interrupt as the pretimeout notifier if available. The pretimeout notification shall occur at timeout-sec/2. Wang Qing (2): watchdog: mtk: support pre-timeout when the bark irq is available doc: mtk-wdt: support pre-timeout when the bark irq is available .../devicetree/bindings/watchdog/mtk-wdt.txt | 5 ++ drivers/watchdog/mtk_wdt.c | 77 ++++++++++++++++++++-- 2 files changed, 77 insertions(+), 5 deletions(-)