From patchwork Mon Sep 4 23:15:59 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_F=C3=A4rber?= X-Patchwork-Id: 809869 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="qOlmunq8"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3xmQj24VR8z9sRV for ; Tue, 5 Sep 2017 09:16:54 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=bWByb6mrTSAA3qD53jVx+acB9dYdYeyxLzDbf34XTTI=; b=qOlmunq8gAQa5o icqQzUSmJyC2EkHgEPv1Kz9vlxIFEqI8KVjvvvjhcGdd1tPUVACvndXikx7ldqiqN+vywNRMJJzBm gNEdBqDO0BloOhoj90A1a8WkVf2K2MABwRcr1MQ31qHMsBpn3dBX3QKSmawDiQftlngB3rvzu6R55 8VaZgjpb3K5TKoOHBfljLfMQbrqzogtysd7OBmUV74Na5B3HqBjTw/swwjCnlTgAIidKh0KDbo/Ei jf5ozCkHaFgWNtFCAiKzEua1G/nini8djff6lFZBP3mBBKrcOvSl9wRnIXNKDY5EzZ2EsXy3oW7Dq 5THFRpJLG/paUgVI4vQg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dp0bq-0004J3-Ty; Mon, 04 Sep 2017 23:16:50 +0000 Received: from mx2.suse.de ([195.135.220.15] helo=mx1.suse.de) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dp0bV-00040q-2z for linux-arm-kernel@lists.infradead.org; Mon, 04 Sep 2017 23:16:31 +0000 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id CA9C0ABC3; Mon, 4 Sep 2017 23:16:06 +0000 (UTC) From: =?utf-8?q?Andreas_F=C3=A4rber?= To: Wim Van Sebroeck , Guenter Roeck , linux-watchdog@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 0/3] arm64: Realtek RTD1295 watchdog Date: Tue, 5 Sep 2017 01:15:59 +0200 Message-Id: <20170904231602.29787-1-afaerber@suse.de> X-Mailer: git-send-email 2.13.5 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170904_161629_317144_FDADA675 X-CRM114-Status: UNSURE ( 9.02 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -4.2 (----) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-4.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, medium trust [195.135.220.15 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?b?6JKL5Li955C0?= , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?q?Andreas_F=C3=A4rber?= , Roc He Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org Hello, This series adds the watchdog for the Realtek RTD1295 SoC. v2 does minor cleanups. The implementation is based on register offsets seen in the vendor DT, as well as older mach-rtk119x code published by QNAP. The DT node depends on my RTD1295 clk series. More experimental patches at: https://github.com/afaerber/linux/commits/rtd1295-next Have a lot of fun! Cheers, Andreas v1 -> v2: * Prepared remove (Guenther) * Set timeout field (Guenther) * Cleanups (Guenther, Andreas) Cc: Wim Van Sebroeck Cc: Guenter Roeck Cc: linux-watchdog@vger.kernel.org Cc: Roc He Cc: 蒋丽琴 Cc: devicetree@vger.kernel.org Andreas Färber (3): dt-bindings: watchdog: Add Realtek RTD1295 watchdog: Add Realtek RTD1295 arm64: dts: realtek: Add watchdog node for RTD1295 .../bindings/watchdog/realtek,rtd119x.txt | 17 +++ arch/arm64/boot/dts/realtek/rtd1295.dtsi | 6 + drivers/watchdog/Kconfig | 10 ++ drivers/watchdog/Makefile | 1 + drivers/watchdog/rtd119x_wdt.c | 168 +++++++++++++++++++++ 5 files changed, 202 insertions(+) create mode 100644 Documentation/devicetree/bindings/watchdog/realtek,rtd119x.txt create mode 100644 drivers/watchdog/rtd119x_wdt.c