From patchwork Tue Apr 6 12:09:15 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: 416245 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 DBEA3C433ED for ; Tue, 6 Apr 2021 12:11:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BBA32613C9 for ; Tue, 6 Apr 2021 12:11:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343803AbhDFMLT (ORCPT ); Tue, 6 Apr 2021 08:11:19 -0400 Received: from mout.gmx.net ([212.227.17.22]:58715 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238665AbhDFMLS (ORCPT ); Tue, 6 Apr 2021 08:11:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1617711038; bh=fthXQXzWvCMySNmq6wm38LQ0LqGN8oEvRSStBerzpuU=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=Xg/9ts60YSdd3/C6in+KG15rIxD4RevfSm7iAB+WGopCwxYxMZiXl2IK1QKl6k5C5 yv77tCYEnAa/kCNd5KLxQCOidFJcYid9BL6Q+1DIMI4H/Rj994JcnduqGnH+E7DKSX 8V1W10IJn/+YflUWxZOfI6oM4q1Szrfk/sea5Hws= 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 1MfpSb-1m5ZBs3tFp-00gKMF; Tue, 06 Apr 2021 14:10:38 +0200 From: =?utf-8?q?Jonathan_Neusch=C3=A4fer?= To: openbmc@lists.ozlabs.org Cc: Tomer Maimon , Joel Stanley , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, =?utf-8?q?Jonathan_Neusch=C3=A4fer?= , Rob Herring , Avi Fishman , Tali Perry , Patrick Venture , Nancy Yuen , Benjamin Fair , Wim Van Sebroeck , Guenter Roeck , Rob Herring , linux-watchdog@vger.kernel.org Subject: [PATCH v2 04/10] dt-bindings: watchdog: npcm: Add nuvoton, wpcm450-wdt Date: Tue, 6 Apr 2021 14:09:15 +0200 Message-Id: <20210406120921.2484986-5-j.neuschaefer@gmx.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210406120921.2484986-1-j.neuschaefer@gmx.net> References: <20210406120921.2484986-1-j.neuschaefer@gmx.net> MIME-Version: 1.0 X-Provags-ID: V03:K1:yIfwVUR13YRMBQna2k6oVWyExk6FvAxtgtrGA4cgaIZWJEAyBsI 0UqJFDwJUzYg1OvkIDG0+uOrS1WoglGzfKeTZEf4fuEXfRxNezopYkZxk/5qo9B6GYRzJyk To7zZlSI2G6+kdkXEF7jIXxeN5jJpw0AI4KjQaHmooLPBbY/hVMeiLt8DKmb0fXZh9P1q0D D2RJZwP5tPENqwcDztg2w== X-UI-Out-Filterresults: notjunk:1; V03:K0:K6urnD8rZBc=:mc+8NA74aIxaTrKe389mGS wdioQ6Z6T/vZ07iTlnFwrTrxZkqIHt/akxC22dzsbh5LVgaa3l0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kF+ukkBirdQUhC+sGSMGYz5KE6Rybb1Dn6va/Ef3RXFLmgc0 3n2FMuXXZotJPhtojWEcyYCSgJ5b+OIE51iNcZraosYxUilxQZNAaOXRykJiGHD/KbRhIZkrW 3C8fliv3l88cHwtk5 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 --- v2: - Added Rob's ACK --- .../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 Tue Apr 6 12:09:18 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: 417188 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 2AB00C433ED for ; Tue, 6 Apr 2021 12:12:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 04B2161042 for ; Tue, 6 Apr 2021 12:12:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343834AbhDFMMY (ORCPT ); Tue, 6 Apr 2021 08:12:24 -0400 Received: from mout.gmx.net ([212.227.15.18]:44133 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243044AbhDFMMW (ORCPT ); Tue, 6 Apr 2021 08:12:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1617711105; bh=sbEdNJUiAhwtj5rGjgPfJDS3A/vpWsY/KcoBwkRzp80=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=EU+mmHoEDmQVyPu64op+qtGXH6gp4t1h5GsZPYswQNAJ97zPz+pRr7UsjeMiNnuMd B/iPnRc/OJsKwUR1P/IA6W9eIKApj7DENS2iVYMHjMlezCbifnJpdL2zNFNamqIVUI sdm0a8cnSLfiC6TPBbrDoXxYat4igThPdbr47o0Q= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from longitude ([37.201.215.134]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MNKm0-1lEpHH0d34-00OqtQ; Tue, 06 Apr 2021 14:11:45 +0200 From: =?utf-8?q?Jonathan_Neusch=C3=A4fer?= To: openbmc@lists.ozlabs.org Cc: Tomer Maimon , Joel Stanley , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, =?utf-8?q?Jonathan_Neusch=C3=A4fer?= , Avi Fishman , Tali Perry , Patrick Venture , Nancy Yuen , Benjamin Fair , Wim Van Sebroeck , Guenter Roeck , linux-watchdog@vger.kernel.org Subject: [PATCH v2 07/10] watchdog: npcm: Add support for WPCM450 Date: Tue, 6 Apr 2021 14:09:18 +0200 Message-Id: <20210406120921.2484986-8-j.neuschaefer@gmx.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210406120921.2484986-1-j.neuschaefer@gmx.net> References: <20210406120921.2484986-1-j.neuschaefer@gmx.net> MIME-Version: 1.0 X-Provags-ID: V03:K1:qZY8oJY7NkhnKY4leyppi18GLlbrzfWSOi/r8Wy4SNSnJlMIpV9 Xg4Cp5YsA+0icEMrEY0AA4llHUKwEHoreTA1FzYBBf1D9NgwlksCMtVmI4XvCprgghVbVN5 /46YMC+7AxYLxuxpLMBf+g6R6NtLLYcrtmI3S0vWiSYh1/1v4RM7vWTyKzu0GGVEK45XpFd 895QgW8nCAHDSx8g8BiYg== X-UI-Out-Filterresults: notjunk:1; V03:K0:ELqMY9kWInQ=:2dNlMXKeM1D9B0uIjQaFpY +lijOwwkHDOXw88BUT0W4bhaUx1uP+iOvq5sfECwtvgGLp9hMQwiCJkgKYkE3RAvZUAMDw56Q 3Ca6EXYpyMggshoU1M6KarhyrJJVrk2d89TVSQUpV9v8RrfAPwZPt5nlZRcJwAvPx06bEPxr2 Wpn69jRiRKQRmp483t+3KkGDmUDbK55aoYsLVMVsDrOELMRpvpSXFF6k6aTYwenjqC4pS0LAr V/p0i5c17xYjKHyXvrl/6Kra7gjpLW0P4Qzp8rlT/pH26Su6z2y0T5i7Kp/E3gggu85eKjD0g Tp/V7XeH3hCMjNDI6Ei1gvQ/xozrPHnJcVWtudQAivlT7eJb6wTpTK0AmOx0qYNEFr7S72Npu YPIVzNWrk8Cqdx5qdLrdTBj/NHmupqhVe24cpBUVJsrZHQv1LWZGTtwuIPti/4iy6sIyxlBAq lmVXYOzdWr3x182PgcTa7crlaDawwL0eBt+3BV4zuqLiFq82NzsoiPk9WaeYWvZYu0j9xAJil cx4Eb/gUakhXgDsJlyO+dZabXNHPM3A60UF2w32aWSjvqdgwYnhnwy+9lS6AXR0KEK2snAK+G aSPohZYsnPBT/eOnBFUs+0GP1UeY7Mf5qpa0VutQ8FYH4wZCF+l7c36pJGbjPkXOqNhvXRv4r IB9W6YCovdKeB2w+577klVAM6C76vtjUQAjU/D27oL3qWJnEitLjNiob1gEtvGGRSg/axi2ql iT2NwhjDynijHZIJFfkG1t40RJgBFfw9onxI9lbJ/j2gA0WtSaVOP4EFVEwDZtTmYYvYUbM0U ANOWx8rjxQP56b72AmUBP+4N2E1QrL+9swpQSrlpcvnMsASPeTd6pfNEA08DRR0M/GmfEIw30 YEnfwsTDm8L4Wmjiud2l/xt9yLV6TTdvU87EExSecBUJCDEtlKT9TTOM9RW1GiLHP3WdfA4dl 7f75nUMVy7V9qMOZ/NfBSi2bRx9pjK2TiTG6npbKzuSwZ58oRJA8Vqwa9SvqmUoZY63Hw0J3v 3A5FRO1gERSUUgKItfvwL6Duf5150MnA31zlLSzfijkNJB7hfWuwWjCvt6sRCWJOxMi/YKld1 zQUPCd7mNdd7y2DagBiRve27VR0qG8E19gMzJGPxdHDOIxLyMFReuaT5z+6ZaQNG2qMLV8s2s T5fiHfjCWL+i90vwBBtA67GkHsiPu57+FVZj0TQcjwqXvDWOGKYAvU4gaPe5vAs4nomq97hLz bi26b5P+zzY9eNJPc Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.org Add a compatible string for WPCM450, which has essentially the same watchdog mechanism as NPCM750. Signed-off-by: Jonathan Neuschäfer --- v2: - Added patch description --- 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"}, {}, };