Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp3144586rwb; Mon, 16 Jan 2023 04:26:07 -0800 (PST) X-Google-Smtp-Source: AMrXdXuPparC9ekc1Ux7BE7JGws8EdQwka7ZkVIZR9MDsx98teGVPhQPyJyyEMZSi+dAQkBCDTD7 X-Received: by 2002:a62:db44:0:b0:58c:8bdd:2e3c with SMTP id f65-20020a62db44000000b0058c8bdd2e3cmr7358318pfg.20.1673871967006; Mon, 16 Jan 2023 04:26:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673871966; cv=none; d=google.com; s=arc-20160816; b=eYEFEwWGseVTtFE2+gr32XtPInEpkvDnmut3n0IB3V4C0pAt842oDjPaWmnxpYyT7h ofCdyXY8Zww7r0e5gNeRm+H2EJNCYaryihqslXCmkoZfZz+4/Wng2f8oOwF8QuZPY5s4 9HqRo56EBwS+9iLP7vGVbC7AZCtXvMgzgioBMpvd10oh2mnA3RSce2DFhOZeoYiTrMCP 2YJxJIFl62L2mrzS4DL7sPMqcQ75GsHD0T8gk6DE8Xo1Zr2gx+kTcaMTw5VyX84cmFrE ejaaDu8QyiNQg9/S1Bjh3k1vRG+WVi+3r4LuD6ACYZJ4AN2/9h9sWBIlAhIRJ91f8sdN YvgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=i9JPOCLbPSYdlBQh8f4nW/+w7XlzZIDopk5i3Ysv/I4=; b=nnzI6faQ0eI67snWgN5+S6PFuZJ+V+UoEhO/7B2l/pbjbY39y1Dsc29bAJz0+Dn2Ze PAzVVeH3Ycq07NhmfhZKnQQ623OljrlG3S2Nhz1etlqoQFKHnqk2yWlHmq89NfKVmwNO wdyGx1vaPTSFiTDEhVbQWjKshSh3H88uotFjOXrJQ+oJdC9wo81VY9qS9hhH6DmV7w0u 6Tx/2cNrzcD8AMH60avWLi3iZH1m+COXtNYbf77+BKGSA4GtpjS/5DbG1hKTBe4NO+m3 4LuKhMCQfmIkE+nFNXg+RVHukh7OsZfuHP6lvRlctVx1Yk7q1E/ZdwyAXKKM9g4wTysG 7YWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=mP+c1p5k; 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=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t31-20020a056a00139f00b0056e4c95266bsi7701839pfg.77.2023.01.16.04.26.01; Mon, 16 Jan 2023 04:26:06 -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=@collabora.com header.s=mail header.b=mP+c1p5k; 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=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229947AbjAPMGc (ORCPT + 51 others); Mon, 16 Jan 2023 07:06:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45370 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229491AbjAPMG3 (ORCPT ); Mon, 16 Jan 2023 07:06:29 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8798C1ABFE; Mon, 16 Jan 2023 04:06:28 -0800 (PST) Received: from [192.168.1.100] (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 8AC37660035A; Mon, 16 Jan 2023 12:06:26 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1673870787; bh=yHR1rnQBHPsnUcjrAlXmmewlqZnVelc/M9hoJD2YZ7s=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=mP+c1p5kIStdMYgRCtoDoTqhh7t3qaDfuXmAWSjwVkevbm0kOJ4SGtk2BcD26TBvg /woqsIieFDLYga48oaOaxH8BuWL5ptuDlmnPB9HMZKwqTnj33TNSRCHuKS/oF5xw5K BG1ymj4QP65EyQK2lgoTtjxyAHRpTnUEFg4lb+5pBgekeIFUhEOR9KwkszHzwPenT6 vpdr/HkXleBJe7eO8feCeV+hWxa/FRTfk/HKiNHGp8XsaEbNLs+fTWi/mIE96ql9Rk WzKdiZ5wZzEgpAMIei4y+qwjfEW8Uzb/U3D/FsltkICj2O8YVf93rrMcxHkz3WRjD3 K24BND5awdkTg== Message-ID: <366d06e5-11d7-7e1f-0ed6-4f370496d338@collabora.com> Date: Mon, 16 Jan 2023 13:06:23 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: [PATCH v2 1/2] dt-bindings: watchdog: mtk-wdt: Add reset-by-toprgu support Content-Language: en-US To: Allen-KH Cheng , Wim Van Sebroeck , Guenter Roeck , Krzysztof Kozlowski , Matthias Brugger , Rob Herring , 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 References: <20230116105305.31818-1-allen-kh.cheng@mediatek.com> <20230116105305.31818-2-allen-kh.cheng@mediatek.com> From: AngeloGioacchino Del Regno In-Reply-To: <20230116105305.31818-2-allen-kh.cheng@mediatek.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS 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 Il 16/01/23 11:53, Allen-KH Cheng ha scritto: > In some applications, the mtk-wdt requires the toprgu (TOP Reset > Generation Unit) to reset timer after system resets. Add optional > mediatek,reset-by-toprgu property to enable it. > > Signed-off-by: Allen-KH Cheng > --- > .../devicetree/bindings/watchdog/mediatek,mtk-wdt.yaml | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/Documentation/devicetree/bindings/watchdog/mediatek,mtk-wdt.yaml b/Documentation/devicetree/bindings/watchdog/mediatek,mtk-wdt.yaml > index b3605608410c..b4de6b134ce1 100644 > --- a/Documentation/devicetree/bindings/watchdog/mediatek,mtk-wdt.yaml > +++ b/Documentation/devicetree/bindings/watchdog/mediatek,mtk-wdt.yaml > @@ -52,6 +52,12 @@ properties: > description: Disable sending output reset signal > type: boolean > > + mediatek,reset-by-toprgu: > + description: The top reset generate unit (toprgu) generates reset signals TOPRGU = Top Reset Generation Unit Please fix the description... The Top Reset Generation Unit (TOPRGU) generate reset signals and distributes them to each IP. If present, the watchdog timer will be reset by TOPRGU once system resets. Apart from that: Reviewed-by: AngeloGioacchino Del Regno