From patchwork Mon Jan 16 10:53:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Allen-KH Cheng X-Patchwork-Id: 13102905 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DD345C54EBE for ; Mon, 16 Jan 2023 10:53:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230388AbjAPKxY (ORCPT ); Mon, 16 Jan 2023 05:53:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59676 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230367AbjAPKxV (ORCPT ); Mon, 16 Jan 2023 05:53:21 -0500 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 863AC196A0; Mon, 16 Jan 2023 02:53:14 -0800 (PST) X-UUID: f62a4f70958b11eda06fc9ecc4dadd91-20230116 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=sZJQzJf1FPzCYsFNTrXsae7EJN3wjmK6a7W2GJN6E28=; b=bR/946DmFnl8g2XdGXwf+h3mQiQ4vPCW8N9EaO/Gn0T3OYB/6hO0s0wt2dQ9Cs1qvRQqObuc7HohzrlRYfu6IV3nyWDJyD3ZJy98/cqKjpehLWGBNXgUS5WE8njbwoMyyvG+rUU2Bjv/KQiO9Q4aBsi6/jqO49fj7ob1ljO52Bk=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.18,REQID:9af11f6a-e934-41f0-b033-db9b26dbe006,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:95,FILE:0,BULK:0,RULE:Release_Ham,ACTION :release,TS:95 X-CID-INFO: VERSION:1.1.18,REQID:9af11f6a-e934-41f0-b033-db9b26dbe006,IP:0,URL :0,TC:0,Content:0,EDM:0,RT:0,SF:95,FILE:0,BULK:0,RULE:Spam_GS981B3D,ACTION :quarantine,TS:95 X-CID-META: VersionHash:3ca2d6b,CLOUDID:a96ef2f5-ff42-4fb0-b929-626456a83c14,B ulkID:230116185310DZXA5TCP,BulkQuantity:0,Recheck:0,SF:38|28|17|19|48,TC:n il,Content:0,EDM:-3,IP:nil,URL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OS I:0,OSA:0 X-CID-BVR: 0 X-UUID: f62a4f70958b11eda06fc9ecc4dadd91-20230116 Received: from mtkmbs13n1.mediatek.inc [(172.21.101.193)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1398069662; Mon, 16 Jan 2023 18:53:08 +0800 Received: from mtkmbs13n1.mediatek.inc (172.21.101.193) by mtkmbs11n1.mediatek.inc (172.21.101.185) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Mon, 16 Jan 2023 18:53:06 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs13n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.792.15 via Frontend Transport; Mon, 16 Jan 2023 18:53:06 +0800 From: Allen-KH Cheng To: Wim Van Sebroeck , Guenter Roeck , Krzysztof Kozlowski , Matthias Brugger , Rob Herring , CC: , , , , , Allen-KH Cheng Subject: [PATCH v2 0/2] mtk-wdt: Add reset-by-toprgu support Date: Mon, 16 Jan 2023 18:53:03 +0800 Message-ID: <20230116105305.31818-1-allen-kh.cheng@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.org This series is based on next-20230116. In some cases, we may need toprgu to reset the wdt timer after system resets. Provide a reset_by_toprgu parameter for configuration. We can disable or enable it by adding reset_by_toprgu in dts. Changes since v1: - Add more information in bindings - Modify some words in the commit message Allen-KH Cheng (2): dt-bindings: watchdog: mtk-wdt: Add reset-by-toprgu support watchdog: mtk_wdt: Add reset_by_toprgu support .../devicetree/bindings/watchdog/mediatek,mtk-wdt.yaml | 6 ++++++ drivers/watchdog/mtk_wdt.c | 7 +++++++ 2 files changed, 13 insertions(+)