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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6AF9CC433F5 for ; Thu, 10 Mar 2022 07:45:42 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A27B183979; Thu, 10 Mar 2022 08:45:38 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1646898339; bh=gHJwbl/SnVPh2UfiUEDraDwM7fY6W0XA4pNc3mAYA+o=; h=Date:Subject:To:Cc:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=o/KAD7pO/wCRYVkeyj92bF+IsaDXQEI4XcsLZHwDVm924nFhjS90mmeRMv11ygkVe uJAS0/pcKvPSg9Bi9gXzaMxXNNJuqEqzVK1ko++qzuAJm6cGDMf74ggRGNiVNA0GIN EEnlrT1CrOLQLPvHz9SeMZbbBlvpKEAcllUHfwqcrmhGQzpctMZIPQBb/sK/79Wm+3 0dIfidunLKnhXrxuDSC4sslKp98p4OPzpKJI2qDyFRZk+xaaGBueB5y7vQo23LvUym d38fU+g7kDFEW95NgDjUnLA7bka2j3eZxg5DJfYPCf+C3wYHB//RkPoTrxZvTacd3e 9hrHSRKYu1gcw== Received: by phobos.denx.de (Postfix, from userid 109) id 3517880312; Thu, 10 Mar 2022 08:45:37 +0100 (CET) Received: from mout-u-107.mailbox.org (mout-u-107.mailbox.org [91.198.250.252]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id D986E80312 for ; Thu, 10 Mar 2022 08:45:33 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=sr@denx.de Received: from smtp202.mailbox.org (unknown [91.198.250.118]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-u-107.mailbox.org (Postfix) with ESMTPS id 4KDh1n5PlSz9sQg; Thu, 10 Mar 2022 08:45:33 +0100 (CET) Message-ID: <33f3207b-28a0-e05f-666e-09bfcecd7883@denx.de> Date: Thu, 10 Mar 2022 08:45:30 +0100 MIME-Version: 1.0 Subject: Re: [PATCH] doc: device-tree-bindings: watchdog: document common properties Content-Language: en-US To: Philippe Reynes , sjg@chromium.org Cc: u-boot@lists.denx.de References: <20220309135619.10334-1-philippe.reynes@softathome.com> From: Stefan Roese In-Reply-To: <20220309135619.10334-1-philippe.reynes@softathome.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean On 3/9/22 14:56, Philippe Reynes wrote: > Adds simple documentation about common properties for watchdog > in the device tree. > > Signed-off-by: Philippe Reynes Reviewed-by: Stefan Roese Thanks, Stefan > --- > doc/device-tree-bindings/watchdog/common.txt | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > create mode 100644 doc/device-tree-bindings/watchdog/common.txt > > diff --git a/doc/device-tree-bindings/watchdog/common.txt b/doc/device-tree-bindings/watchdog/common.txt > new file mode 100644 > index 0000000000..9db6dd6146 > --- /dev/null > +++ b/doc/device-tree-bindings/watchdog/common.txt > @@ -0,0 +1,12 @@ > +Common watchdog properties. > + > +Optional properties: > +- timeout-sec : Timeout of the watchdog in seconds > + If this timeout is not defined, the value of WATCHDOG_TIMEOUT_MSECS will > + be used instead. > +- hw_margin_ms : Period used to reset the watchdog in ms > + If this period is not defined, the default value is 1000. > +- u-boot,noautostart : Specify that this watchdog should not autostart > + When the config option WATCHDOG_AUTOSTART is set, all enabled > + watchdogs are started. This property allows specifying that this > + watchdog should NOT be started. Viele Grüße, Stefan Roese -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr@denx.de