Message ID | 20230117014023.2993-1-allen-kh.cheng@mediatek.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1500047wrn; Mon, 16 Jan 2023 17:42:25 -0800 (PST) X-Google-Smtp-Source: AMrXdXsP0tqvKjmGXZuzTyseLqrbWocf6/5Qi6l4TB5TN4s4O9yQMUpymtoLTllw3HRV7f2hkPad X-Received: by 2002:a17:907:6281:b0:7c4:f752:e95c with SMTP id nd1-20020a170907628100b007c4f752e95cmr1648950ejc.1.1673919745398; Mon, 16 Jan 2023 17:42:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673919745; cv=none; d=google.com; s=arc-20160816; b=vD92hiacLC3YSrQyjkubntpNAxZ4Bma/Rpc1mdW/zRUx0pL2Tnmmkh5l+188bIUAO8 AGVCEpHlBRysUFlNE8a/Jefjc+LJyyt1gc84l8w+6dqzXh4L0PE2iXyW+mC6uxGVi3VO ZC9XNGBHqJgFuAaZtuKlAXfCspzVofOOsN4JISlAj7nKFYcEJOUvXP1ojQUktfWlBQSA sJewIQGcg4J2j+EfHrbVI4G9Sr/zFyIBIybxiq8ovZfwqY9v1MyIRLckvUkWIZZtouA7 SDdSOuJiNVWrnMBB+f6M4gg4EQiRWv4gy7qxMyUFRcRBAprsFdR4KHviTNDS5y8vcMkE 6zdw== 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=260WfMFmV7gTCf7bcdowdVdB4l4oCLTurwzBetm6Z5c=; b=Ac3UV0UCgIgy0gOuRTGAPHJeE6wb2bXuvZ3rVP8oPPb3FKzJh4yBzi7sgZ2DuwBcWh 3COWl3GJ6sXbMJgDxG7LBzKJVPjaWGVfu+UagDN/g2uOMvjmeyqwgndOlX1gC41zJrHk dhT3kt3Lp99mRuz1/ZlZ/sPXC/12DRh2DWLT8u9Ts9aNjpmR11uolL3ipmyz5uEi6CfL SnnS5DGc2T7VibFZNIjsZd2mA5BP5TbFDdGJas6V4sFIdMdyNqJm3Khh0yLVMJFnD3Wx M6YpYtIr23uB/u1578BuphYRyJgRzMifSK3k7e62qpJipiiE9LRr40+0uY1ilPyz4xAb lCEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=XvB2a6Ho; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ne5-20020a1709077b8500b007fcfcf3b89esi33653223ejc.368.2023.01.16.17.42.01; Mon, 16 Jan 2023 17:42:25 -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=XvB2a6Ho; 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 S235150AbjAQBky (ORCPT <rfc822;stefanalexe802@gmail.com> + 99 others); Mon, 16 Jan 2023 20:40:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44218 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234031AbjAQBkj (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 16 Jan 2023 20:40:39 -0500 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3276F26584; Mon, 16 Jan 2023 17:40:29 -0800 (PST) X-UUID: ea832008960711eda06fc9ecc4dadd91-20230117 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=260WfMFmV7gTCf7bcdowdVdB4l4oCLTurwzBetm6Z5c=; b=XvB2a6HoY/C8stvxCVhWQU0spQxLCzxF88rvHN6cSRSpuRdKPEg8SqqqSMEWRJONs+rz/P5DH7phDtpgZEbpImnZEh6ok2RSToodrdXXLNmL5D17rOeo2NyLc1fUuT3J1I2Ckai1SZN/21Lks9gIc6XZFBtQOQ1C9qGwzaV2F9A=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.18,REQID:2332aea3-cf25-4b84-b007-8f7d0d6da977,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION: release,TS:0 X-CID-META: VersionHash:3ca2d6b,CLOUDID:2f23fef5-ff42-4fb0-b929-626456a83c14,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0,OSA:0 X-CID-BVR: 0 X-UUID: ea832008960711eda06fc9ecc4dadd91-20230117 Received: from mtkmbs11n1.mediatek.inc [(172.21.101.185)] by mailgw01.mediatek.com (envelope-from <allen-kh.cheng@mediatek.com>) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 55876540; Tue, 17 Jan 2023 09:40:26 +0800 Received: from mtkmbs11n1.mediatek.inc (172.21.101.185) by mtkmbs13n2.mediatek.inc (172.21.101.108) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Tue, 17 Jan 2023 09:40:25 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs11n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.792.15 via Frontend Transport; Tue, 17 Jan 2023 09:40:25 +0800 From: Allen-KH Cheng <allen-kh.cheng@mediatek.com> To: Wim Van Sebroeck <wim@linux-watchdog.org>, Guenter Roeck <linux@roeck-us.net>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Matthias Brugger <matthias.bgg@gmail.com>, Rob Herring <robh+dt@kernel.org>, <linux-watchdog@vger.kernel.org> CC: <Project_Global_Chrome_Upstream_Group@mediatek.com>, <devicetree@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org>, <linux-mediatek@lists.infradead.org>, Allen-KH Cheng <allen-kh.cheng@mediatek.com> Subject: [PATCH v3 0/2] mtk-wdt: Add reset-by-toprgu support Date: Tue, 17 Jan 2023 09:40:21 +0800 Message-ID: <20230117014023.2993-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=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,UNPARSEABLE_RELAY autolearn=no 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755232070740118865?= X-GMAIL-MSGID: =?utf-8?q?1755232070740118865?= |
Series |
mtk-wdt: Add reset-by-toprgu support
|
|
Message
Allen-KH Cheng
Jan. 17, 2023, 1:40 a.m. UTC
This series is based on next-20230116. TOPRGU = Top Reset Generation Unit 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 v2: - Correct the description 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(+)