Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp3101330rwb; Mon, 16 Jan 2023 03:51:52 -0800 (PST) X-Google-Smtp-Source: AMrXdXvEJCm+1QzddUrquFXr5dc2E4xd7Qw/xFf+xPI4M8BOs4+CxPzRh2PxKHiAgnUd+bLUruII X-Received: by 2002:a17:90b:3d10:b0:229:1f6d:47fc with SMTP id pt16-20020a17090b3d1000b002291f6d47fcmr13458803pjb.41.1673869912085; Mon, 16 Jan 2023 03:51:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673869912; cv=none; d=google.com; s=arc-20160816; b=iBxllQDzYaTIsY9fB/sHRfiXIA1YAmzi/WFuDq0ZGooOYzcsN29GGRtv7by8CHzS/4 SzQF9Md6QPA0loN57HzMOChQN78IN8uMbJWPfqRjq7DM0kaZ2MN6YboWon1m1UJSlMrY GExkhrnBuaIvllSJwxHHDml1LQ6ddCBOQY1KHEycCc8xIgUnNwscDUfmx1duvWgayxI0 bY3MOJ4NdfbOqJ0+Q3MY/K025x1Spq34cxGEMsR9GpFT46/TKeRa+LtRzhGYJAOJHsYs YFdaqQgUTf9d/K/4zwCUJhbZDZI/0viEl4V0gju9cGgFtK8S9AbHJTDq6PH/NM2aIk6Q G8Ow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=sZJQzJf1FPzCYsFNTrXsae7EJN3wjmK6a7W2GJN6E28=; b=vLQjEAL21riFiOPsSQJORtbwhESqOmfXgDviOMRaC6KgshULgcnFwiYk27oOVbEn0k ZprIsaVmSloUbJq7WJd5E/HPceBUohO/w/vcLMngroRo+wlMKq0+rflOLqTQDYQHjarC weWkp2knqY8AsAJ2aOf3IssyN3fmsLpUc+o2yKp6ITr3UnK8ktRJFTT7K7FkjlvQgdTJ g3B4xWXgO2jBTAbZeW3omuRUZzJRu2ZL8t8CWE8H+/OP7nZeriZFRekklXliQZa95pHd zu1IGKMTemvDa0Tm2lU8cUhZ8uZo8zWX4xEipnqDaUqHF+6ZSaEkhMYZl9DFTg+oYoDW WPTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b="bR/946Dm"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g18-20020a633752000000b004cc2dc3fb01si5155978pgn.48.2023.01.16.03.51.45; Mon, 16 Jan 2023 03:51:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b="bR/946Dm"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230426AbjAPKx0 (ORCPT + 51 others); Mon, 16 Jan 2023 05:53:26 -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 Content-Type: text/plain X-MTK: N X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_SPF_TEMPERROR,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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(+) -- 2.18.0