Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp3232307ybf; Tue, 3 Mar 2020 02:04:07 -0800 (PST) X-Google-Smtp-Source: ADFU+vu957Fs+9HMaPnXpiQesE8ozIpol2u/3FNqTyc+iENC71kUA2J6xkVHYQj1lcckin5TmdQI X-Received: by 2002:a05:6830:147:: with SMTP id j7mr2780141otp.12.1583229846941; Tue, 03 Mar 2020 02:04:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583229846; cv=none; d=google.com; s=arc-20160816; b=KQx045ykIlg4jU38cqHGQRc3X1SixoXWCHxt7lWj2AsjjA0z9h3wT/8R0NaZdW5c8l 4s1kuSkj6y1S5wn50pMgmYsDa+PuOMWfYj3ZrL/UwxKxpAeM/P1u0SUsZNei7Gv53B3a RGaJB5t6BfiUpRtuXWadU7ko6MB5YQ3aT3wGWeyjauOOcTnqZk7Z1SBIX+mnAyMF29Ne BquiNzgED3SbwsEAsAon/zETtXE+aaMF2S02Y7m6FP7Gl1r1We2AEMLrRvJeseIpTChS z5/rFLFyuUFugVhHU3Vlxa6cbZIA/5PH9KWJTwKyfL7wcUd+48uJFotTZiEp6eMWeD/r yqhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=DFw3JV+jEk8lFIFXD21RegtZa1eXkHOvKm2y1Cyg6Ts=; b=EWJ0aJDJ4bRIoXYnJKynje0HFP0eCP23w1OQJ6pH2XyiBh73jKFRV/zk7gO9L9b2Wc mHaie2sCCwoeBL8/TZQ9AubKtuYPtjaDrzxJhFNiIelI3zYosP3M7mKfWPSeigy1DERs 84y658TtP3JLPXtWxuK+K1KbuSpLpgCam9PwaK/rHw6cAaoQwPjtAkGry3gb3TCuLt/+ 6ZDZps5O2OM7+UQN9BohaK0M2NWLaxGuapxrzp/CGgOx4OLxlYCFtaTz4W52QNflYRp0 W2aZGmeprsG9bzvsvUw0WLlfKywvX1/qoHiPE4BCNCtjREEs2TrzXQdhOa9LCxkTfM2E GXpg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h25si2757524otr.186.2020.03.03.02.03.54; Tue, 03 Mar 2020 02:04:06 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728396AbgCCKCk (ORCPT + 99 others); Tue, 3 Mar 2020 05:02:40 -0500 Received: from 212.199.177.27.static.012.net.il ([212.199.177.27]:38681 "EHLO herzl.nuvoton.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726694AbgCCKCi (ORCPT ); Tue, 3 Mar 2020 05:02:38 -0500 Received: from taln60.nuvoton.co.il (ntil-fw [212.199.177.25]) by herzl.nuvoton.co.il (8.13.8/8.13.8) with ESMTP id 023A1H7U019841; Tue, 3 Mar 2020 12:01:17 +0200 Received: by taln60.nuvoton.co.il (Postfix, from userid 10070) id 166016032F; Tue, 3 Mar 2020 12:01:17 +0200 (IST) From: Tomer Maimon To: wim@linux-watchdog.org, linux@roeck-us.net, robh+dt@kernel.org, mark.rutland@arm.com, joel@jms.id.au, avifishman70@gmail.com, tali.perry1@gmail.com, yuenn@google.com, benjaminfair@google.com Cc: linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org, Tomer Maimon Subject: [PATCH v2 1/3] dt-binding: watchdog: add bootstatus reset type documentation Date: Tue, 3 Mar 2020 12:01:12 +0200 Message-Id: <20200303100114.87786-2-tmaimon77@gmail.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20200303100114.87786-1-tmaimon77@gmail.com> References: <20200303100114.87786-1-tmaimon77@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add device tree three bootstatus reset types documentation. Signed-off-by: Tomer Maimon --- .../bindings/watchdog/nuvoton,npcm-wdt.txt | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/Documentation/devicetree/bindings/watchdog/nuvoton,npcm-wdt.txt b/Documentation/devicetree/bindings/watchdog/nuvoton,npcm-wdt.txt index 6d593003c933..65e24a80ee70 100644 --- a/Documentation/devicetree/bindings/watchdog/nuvoton,npcm-wdt.txt +++ b/Documentation/devicetree/bindings/watchdog/nuvoton,npcm-wdt.txt @@ -17,6 +17,33 @@ Required clocking property, have to be one of: Optional properties: - timeout-sec : Contains the watchdog timeout in seconds +- nuvoton,card-reset-type : "porst|corst|wd0|wd1|wd2|sw1|sw2|sw3|sw4" + Contains the card reset type for checking and indicating + the last card reset status (WDIOF_CARDRESET) + + If 'nuvoton,card-reset-type' is not specified the default is porst + + Reset types: + - porst: Power reset + - corst: Core reset + - wdX : Watchdog reset X (X represante 0-2) + - swX : Software reset X (X represante 1-4) + +- nuvoton,ext1-reset-type : "porst|corst|wd0|wd1|wd2|sw1|sw2|sw3|sw4" + Contains the external 2 reset type for checking and indicating + the last external 2 reset status (WDIOF_EXTERN1) + + If 'nuvoton,card-reset-type' is not specified the default is wd0. + + Reset types are the same as in nuvoton,card-reset-type property. + +- nuvoton,ext2-reset-type : "porst|corst|wd0|wd1|wd2|sw1|sw2|sw3|sw4" + Contains the external 2 reset type for checking and indicating + the last external 2 reset status (WDIOF_EXTERN2) + + If 'nuvoton,card-reset-type' is not specified the default is sw1. + + Reset types are the same as in nuvoton,card-reset-type property. Example: @@ -25,4 +52,7 @@ timer@f000801c { interrupts = ; reg = <0xf000801c 0x4>; clocks = <&clk NPCM7XX_CLK_TIMER>; + nuvoton,card-reset-type = "porst"; + nuvoton,ext1-reset-type = "wd1"; + nuvoton,ext2-reset-type = "sw2"; }; -- 2.22.0