From patchwork Sat Mar 20 18:16:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?J=2E_Neusch=C3=A4fer?= X-Patchwork-Id: 12152585 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 20D11C433C1 for ; Sat, 20 Mar 2021 18:20:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EA42A6186A for ; Sat, 20 Mar 2021 18:20:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229933AbhCTSUP (ORCPT ); Sat, 20 Mar 2021 14:20:15 -0400 Received: from mout.gmx.net ([212.227.15.19]:52515 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230050AbhCTST7 (ORCPT ); Sat, 20 Mar 2021 14:19:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1616264379; bh=TU6WBAPzVDO7B00swZvzPrRfFyWpLBe23Iol3zeiJoA=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=g3OXfFxr6Xow5CZNl88mopUYU5Diqe0zCqCjZlXb5mnmUvvSJ5ln3YsxrXUaakdoP lZs4De0U4Bwacb4vxvuxtDx1ZultLJ0TNkh9frnTHXwPSUf8goUcFwPQHIDim4XruQ 5uqA7CY5AihreseWZFJ6peBqC18vNZcR9jQ5hNhs= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from longitude ([37.201.215.134]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1M6llE-1lJnm91ygA-008Fum; Sat, 20 Mar 2021 19:19:39 +0100 From: =?utf-8?q?Jonathan_Neusch=C3=A4fer?= To: openbmc@lists.ozlabs.org Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, =?utf-8?q?Jonathan_Neusch=C3=A4fer?= , Avi Fishman , Tomer Maimon , Tali Perry , Patrick Venture , Nancy Yuen , Benjamin Fair , Wim Van Sebroeck , Guenter Roeck , Rob Herring , linux-watchdog@vger.kernel.org Subject: [PATCH 06/14] dt-bindings: watchdog: npcm: Add nuvoton,wpcm450-wdt Date: Sat, 20 Mar 2021 19:16:02 +0100 Message-Id: <20210320181610.680870-7-j.neuschaefer@gmx.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210320181610.680870-1-j.neuschaefer@gmx.net> References: <20210320181610.680870-1-j.neuschaefer@gmx.net> MIME-Version: 1.0 X-Provags-ID: V03:K1:MRosn5bF+g2SROwPwzbUHCsmCbOlyjOQUv2THarZOxmQaAQQD2k ncOXTCTNLO+wo+uPNy3hLdjHN55PtLYzCJmQ5ocSo/HSaqr4GtNrkEpr3kTSJnbrANeygaB tNeGmhoYB0mWXfQacs1TyMqSuHlO2J09Z0c/QPBvgC3CKoAmbUmyJ4e9CDCouRQ/Z7U0y/f 394jjgpg25611JSlFjsTA== X-UI-Out-Filterresults: notjunk:1;V03:K0:E91Xlxs4Jbk=:6CjXgrMerJph80qMnjXQQI Q7zLVho92ScyYf4apBUipa4iEEnZl+paOl3U54UTG+cEHBR9CzrFJKUwTHc3tx9ZHcMA+AZHt 3jgoZiVhRuvAPMtBligZdne3FoFme9lwwt1psL1PC9RS1iz1okZQPNKjIoY8Y56o8dHvyLU7A dUXD6hUgfzl9dEiF1VCxtgatyE3dYrneRgHxd17yg6rCRh7J81P+Vl7jDcgHpNHTNAay+JqL2 uOH/vsh9WbUPQuueguhOsh2D9CnIRtljaoMjS0ZZLznaF6MGtPE0fZzMGHdSZSr46pST0V4P5 q8juzrYYVa5JAAqnYpdeYzRurCfBHksa6Q6fsaTU/g70Gxeue7WAgwpykAIP0YIr1+6+fOGB5 p3aidSRlOCsr67ckYK5oKnzQ2dl7C3zSO/mI7p5eeTD+vjVhKd0+ggm5s/yTr7KIUk0rgz9jb K3IXDNTGaTw9GYc5VsnV1mOjpZxKR5cLf+NF21s+VEPtjwxooGQwydhSN8FE7ijUtWMMCtefD CVjaC75v9x+v3zdLD9b4N4aWREV0mTYEvXQ+rrRti8VS1Fyqv0NPaMMHwKbJps8WZseVmwPHR PwuFiEVGxcs+yrKbCGCEFfHgI63146kIz3blIN6ZlTQ+J0t3FHEG4dJhKL0JLaWG6bIYOPHHs tikGQYevsJWZiXOeIs7knsKzPl+NYIshzYcSKkgqNRBr9kkiISEW3gZwba+Ve5VHy9KiaSDTe UsHkWx8nEvCBUSrDBlf+I80YvCb7kmH2i2XRdURnnrNvRE8LJl6G+9+CRvJSxIqvS+DO4ejAD 1znD8lvE+ziydkZvojNTfm8fh/iASFyAGBcsnFyxKIQEMe2WSKufKEygL7TZpDCbzED4/G2Hx W0+o0MOWwN26l0wJxBWw== Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.org Add a compatible string for the WPCM450 SoC, which has the same watchdog timer. Signed-off-by: Jonathan Neuschäfer Acked-by: Rob Herring --- .../devicetree/bindings/watchdog/nuvoton,npcm-wdt.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.30.2 diff --git a/Documentation/devicetree/bindings/watchdog/nuvoton,npcm-wdt.txt b/Documentation/devicetree/bindings/watchdog/nuvoton,npcm-wdt.txt index 6d593003c933b..9059f54dc023d 100644 --- a/Documentation/devicetree/bindings/watchdog/nuvoton,npcm-wdt.txt +++ b/Documentation/devicetree/bindings/watchdog/nuvoton,npcm-wdt.txt @@ -5,7 +5,8 @@ The watchdog supports a pre-timeout interrupt that fires 10ms before the expiry. Required properties: -- compatible : "nuvoton,npcm750-wdt" for NPCM750 (Poleg). +- compatible : "nuvoton,npcm750-wdt" for NPCM750 (Poleg), or + "nuvoton,wpcm450-wdt" for WPCM450 (Hermon). - reg : Offset and length of the register set for the device. - interrupts : Contain the timer interrupt with flags for falling edge. From patchwork Sat Mar 20 18:16:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?J=2E_Neusch=C3=A4fer?= X-Patchwork-Id: 12152605 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 21F65C433C1 for ; Sat, 20 Mar 2021 18:24:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E9CEB61949 for ; Sat, 20 Mar 2021 18:23:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229905AbhCTSX2 (ORCPT ); Sat, 20 Mar 2021 14:23:28 -0400 Received: from mout.gmx.net ([212.227.17.21]:51021 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229944AbhCTSXT (ORCPT ); Sat, 20 Mar 2021 14:23:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1616264581; bh=uf3ILqEMg6eC6bi0iqi0XBLwUk3OVexnnKIhLAryQMA=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=XQSlMn4kuzlmWcAPBTKcY67lkjpiViE/Ywb6X1KT8TxnpV9XuonTO4BtTZPuZ08C0 DmYKPBbWUKs7bwa+QvYXfwi//OZ015z43XzBnr30seZ9QLJJtWyVUPMvQlffs/LI3f 6dZ8dzAAmTUxylYkPFhrm2trPGNWkjvM4daMcfJU= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from longitude ([37.201.215.134]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MowGU-1m1u272fwU-00qSea; Sat, 20 Mar 2021 19:23:01 +0100 From: =?utf-8?q?Jonathan_Neusch=C3=A4fer?= To: openbmc@lists.ozlabs.org Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, =?utf-8?q?Jonathan_Neusch=C3=A4fer?= , Avi Fishman , Tomer Maimon , Tali Perry , Patrick Venture , Nancy Yuen , Benjamin Fair , Wim Van Sebroeck , Guenter Roeck , linux-watchdog@vger.kernel.org Subject: [PATCH 11/14] watchdog: npcm: Add support for WPCM450 Date: Sat, 20 Mar 2021 19:16:07 +0100 Message-Id: <20210320181610.680870-12-j.neuschaefer@gmx.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210320181610.680870-1-j.neuschaefer@gmx.net> References: <20210320181610.680870-1-j.neuschaefer@gmx.net> MIME-Version: 1.0 X-Provags-ID: V03:K1:hw/P9HKeJHarfyFvwAmBp8Mam8myqgk157QR4E1NS3d3ZRPHh/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CjUyV1ANP8J5NZYbCbZ/699HjxCsI08HnuVVBHbk ajFhmJKwCbsgp3VzyMmA== Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.org Signed-off-by: Jonathan Neuschäfer --- drivers/watchdog/npcm_wdt.c | 1 + 1 file changed, 1 insertion(+) -- 2.30.2 diff --git a/drivers/watchdog/npcm_wdt.c b/drivers/watchdog/npcm_wdt.c index 765577f11c8db..28a24caa2627c 100644 --- a/drivers/watchdog/npcm_wdt.c +++ b/drivers/watchdog/npcm_wdt.c @@ -229,6 +229,7 @@ static int npcm_wdt_probe(struct platform_device *pdev) #ifdef CONFIG_OF static const struct of_device_id npcm_wdt_match[] = { + {.compatible = "nuvoton,wpcm450-wdt"}, {.compatible = "nuvoton,npcm750-wdt"}, {}, };