From patchwork Mon Jun 27 19:00:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sander Vanheule X-Patchwork-Id: 12897013 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1DA18C43334 for ; Mon, 27 Jun 2022 19:08:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240625AbiF0TIF (ORCPT ); Mon, 27 Jun 2022 15:08:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54272 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240358AbiF0TH0 (ORCPT ); Mon, 27 Jun 2022 15:07:26 -0400 X-Greylist: delayed 379 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Mon, 27 Jun 2022 12:07:24 PDT Received: from polaris.svanheule.net (polaris.svanheule.net [84.16.241.116]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA5EC2721 for ; Mon, 27 Jun 2022 12:07:24 -0700 (PDT) Received: from terra.. (unknown [IPv6:2a02:a03f:eaf9:8401:aa9f:5d01:1b2a:e3cd]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: sander@svanheule.net) by polaris.svanheule.net (Postfix) with ESMTPSA id B617A2EFBDA; Mon, 27 Jun 2022 21:01:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=svanheule.net; s=mail1707; t=1656356463; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=wn0bl7AEtoo27Tv0nyM7ZfJLPJSTh5NOhrQjwguJzO8=; b=WMGJ/pdTnDkhYUfFQaZZUsMUFPsVhJlYBA/iZtUIwFPySOxQECxly9teX15XZfryJ5GMqI V63LyvRM5Y3RkZKW2r47TgHfjsl7sn9/Jsa/HZmvjYnaM1ZKXX8NtWSZ5VAJttVw6W62UI DDbWFHOhT4Vg7EFElW7ZP98YbIdzkwM3t16lQlUbbEshA2eUFh5Qeg+6LmmHTbsRn6+fZC bb6/3n8R64rNI4B2AtemgicEX8RO2GzFfEBsMxF2zq7nSIITpTnpY1YegQciuFdRedBIFt OkBLgM/N/bd6AUBNUNoQjuSPUYVmnTLlzwSS5b4Ca2lObuEQYETXJ29w+ZerLQ== From: Sander Vanheule To: linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org Cc: Wim Van Sebroeck , Guenter Roeck , Rob Herring , Krzysztof Kozlowski , linux-kernel@vger.kernel.org, Sander Vanheule Subject: [PATCH 1/2] dt-bindings: watchdog: realtek,otto-wdt: add RTL9310 Date: Mon, 27 Jun 2022 21:00:55 +0200 Message-Id: <84d873d7dd375cd2392f89fa6bd9e0fe5dda4e1c.1656356377.git.sander@svanheule.net> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.org Add the realtek,rtl9310-wdt compatible to the Realtek Otto watchdog binding. Signed-off-by: Sander Vanheule Acked-by: Krzysztof Kozlowski Reviewed-by: Guenter Roeck --- Documentation/devicetree/bindings/watchdog/realtek,otto-wdt.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/watchdog/realtek,otto-wdt.yaml b/Documentation/devicetree/bindings/watchdog/realtek,otto-wdt.yaml index 11b220a5e0f6..099245fe7b10 100644 --- a/Documentation/devicetree/bindings/watchdog/realtek,otto-wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/realtek,otto-wdt.yaml @@ -29,6 +29,7 @@ properties: - realtek,rtl8380-wdt - realtek,rtl8390-wdt - realtek,rtl9300-wdt + - realtek,rtl9310-wdt reg: maxItems: 1 From patchwork Mon Jun 27 19:00:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sander Vanheule X-Patchwork-Id: 12897014 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 81701CCA473 for ; Mon, 27 Jun 2022 19:08:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240358AbiF0TIG (ORCPT ); Mon, 27 Jun 2022 15:08:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240352AbiF0THZ (ORCPT ); Mon, 27 Jun 2022 15:07:25 -0400 X-Greylist: delayed 377 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Mon, 27 Jun 2022 12:07:24 PDT Received: from polaris.svanheule.net (polaris.svanheule.net [IPv6:2a00:c98:2060:a004:1::200]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA589271D for ; Mon, 27 Jun 2022 12:07:24 -0700 (PDT) Received: from terra.. (unknown [IPv6:2a02:a03f:eaf9:8401:aa9f:5d01:1b2a:e3cd]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: sander@svanheule.net) by polaris.svanheule.net (Postfix) with ESMTPSA id 3A8F42EFBDC; Mon, 27 Jun 2022 21:01:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=svanheule.net; s=mail1707; t=1656356464; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=X/nk/AcDmx82xo8RzTdRHcXyQgpM8xWRgDJSooyf8KA=; b=lXkikKT3QYWdAtg1FNl5bFN3FOKVw1Hl0xcjP5ham0WTgbyh0v/mVK/3kyFGr8ZqCGm6dd ojkwMcq9sdaGQzK4Qfm7oYy0x8UxJrq2JfNqX7MpDYK2MKlPYMgdQeSlDNJk96Z1q/x/He /UpR3cfOcx/+ajoo5s4dl9Uc8s7jxKd4Vjw0Pk2SifAW0BrgKoRfsdxdsC5ZseOd2rNI3Z dLWuwzuifIBCEROuJCDVaECEEYDHMSWNNeL6T5L2e05hd5E/LKgenqwTrV5ZPe7oVqP6OU vKXVXmByFnyL7tj+as8NEux7BjKf612cX5RCsBYq2+zAGZ2jSh4QduW6TC4Asw== From: Sander Vanheule To: linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org Cc: Wim Van Sebroeck , Guenter Roeck , Rob Herring , Krzysztof Kozlowski , linux-kernel@vger.kernel.org, Sander Vanheule Subject: [PATCH 2/2] watchdog: realtek-otto: add RTL9310 support Date: Mon, 27 Jun 2022 21:00:56 +0200 Message-Id: <629e95e16c8dc812dc5a4ea34a2e2e1ff2faf88c.1656356377.git.sander@svanheule.net> X-Mailer: git-send-email 2.36.1 In-Reply-To: <84d873d7dd375cd2392f89fa6bd9e0fe5dda4e1c.1656356377.git.sander@svanheule.net> References: <84d873d7dd375cd2392f89fa6bd9e0fe5dda4e1c.1656356377.git.sander@svanheule.net> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.org The RTL9310 SoC series has a watchdog timer identical to the already supported SoCs. The peripheral is memory mapped at 0x18003260 and driven by the Lexra bus clock. Signed-off-by: Sander Vanheule Reviewed-by: Guenter Roeck --- drivers/watchdog/realtek_otto_wdt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/watchdog/realtek_otto_wdt.c b/drivers/watchdog/realtek_otto_wdt.c index 60058a0c3ec4..2a5298c5e8e4 100644 --- a/drivers/watchdog/realtek_otto_wdt.c +++ b/drivers/watchdog/realtek_otto_wdt.c @@ -366,6 +366,7 @@ static const struct of_device_id otto_wdt_ids[] = { { .compatible = "realtek,rtl8380-wdt" }, { .compatible = "realtek,rtl8390-wdt" }, { .compatible = "realtek,rtl9300-wdt" }, + { .compatible = "realtek,rtl9310-wdt" }, { } }; MODULE_DEVICE_TABLE(of, otto_wdt_ids);