From patchwork Tue Jun 13 01:14:56 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Keiji Hayashibara X-Patchwork-Id: 103681 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp179684qgd; Mon, 12 Jun 2017 18:15:32 -0700 (PDT) X-Received: by 10.98.236.133 with SMTP id e5mr53334399pfm.190.1497316532486; Mon, 12 Jun 2017 18:15:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497316532; cv=none; d=google.com; s=arc-20160816; b=bErQutFB8JhNhJUvqoAgS8kua8CAqgw5oQWzwUSB8mcArjsDUvLQlhHwqxeb6pE8YC sQKhgzGbe7Xgs8I3RsnXQMEoXdN7KHWP9W21vf8RJEF2yNim8AOcRDWFRSKATPPgBRkT 05eFLFXmuHF/Meo53K8Ggaca3cAcw1z8fcQ2GON4TqFDYvZP7YJ/JZTYh65X9UIB/3Sg G+V3X+dGWWHLzbkSB80a6HDQ7PMycOfjetiQlVF4K8jb/74Uucyz+JJI2yYNHfBk3J81 LRzaqkx1HXYJrG7vC09AUfxU/O1Vy3C4+l/qgI8Px9F4sznJdD+S2Q6oAvF4s2BxgLOp 8LwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=6TBJvGtZ2L9LBVIMeDwty4s4FcOHTs4fCpVcYmUTDCA=; b=K/vbxw+CrEGyVPHaNdi0Oba2GPlaqNgHsM333IA98avDntG3faAxJtTwkF69dlWHyC XMWoMoDI5atznFAw8/WTqlO6uxN/1y4uiFm4RBH0kUS5QFJxQ7PwcJfcp8Yh8qRvmIS5 iuoG8xBWr2u44uzdJh1/yigskWjd5Yi4Ko7dOGeUzjKQtvxpZ+HelKpOPpupjOUfVmZZ nZ1i8QJuDtQi8HuAzUsunxv7vsPQt5yq7ijN+L3Zo4D123wMBNOopOk6WfShQ9p/ROiD 7ceooy2ytkoGTY14MaJHx6sH5/ghRT6nsm6bMROkdxoGa/SvPKlbSXi9c/RkNKGGPrGU kdlg== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s129si214861pgc.407.2017.06.12.18.15.32; Mon, 12 Jun 2017 18:15:32 -0700 (PDT) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753333AbdFMBPI (ORCPT + 25 others); Mon, 12 Jun 2017 21:15:08 -0400 Received: from mx.socionext.com ([202.248.49.38]:7093 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753231AbdFMBPG (ORCPT ); Mon, 12 Jun 2017 21:15:06 -0400 Received: from unknown (HELO kinkan-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 13 Jun 2017 10:15:05 +0900 Received: from mail.mfilter.local (unknown [10.213.24.62]) by kinkan-ex.css.socionext.com (Postfix) with ESMTP id 11ECF1810FC; Tue, 13 Jun 2017 10:15:05 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Tue, 13 Jun 2017 10:15:05 +0900 Received: from plum.e01.socionext.com (unknown [10.213.132.32]) by kinkan.css.socionext.com (Postfix) with ESMTP id 5DB5E1A1209; Tue, 13 Jun 2017 10:15:04 +0900 (JST) From: Keiji Hayashibara To: wim@iguana.be, linux@roeck-us.net Cc: linux-watchdog@vger.kernel.org, linux-kernel@vger.kernel.org, robh+dt@kernel.org, devicetree@vger.kernel.org, masami.hiramatsu@linaro.org, jaswinder.singh@linaro.org, yamada.masahiro@socionext.com, hayashi.kunihiko@socionext.com, owada.kiyoshi@socionext.com, Keiji Hayashibara Subject: [PATCH V3 0/3] add UniPhier watchdog support Date: Tue, 13 Jun 2017 10:14:56 +0900 Message-Id: <1497316499-22254-1-git-send-email-hayashibara.keiji@socionext.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series adds support for watchdog timer implemented on UniPhier LD11 and LD20 SoCs. This driver supports watchdog and system reset for SoCs. patch V2 http://www.spinics.net/lists/linux-watchdog/msg11852.html patch V1 http://www.spinics.net/lists/linux-watchdog/msg11782.html Changes between V3 and V2 ========================= 1. Fix issues according to review comments. * Make it possible to take a timeout from devicetree. * Sort #include headlers alphabetically. * Correct the description of dt-bindings document and this patch comment. * Correct the description of license as GPLv2. * Correct MODULE_AUTHOR() * Remove unnecessary code. Changes between V2 and V1 ========================= 1. Add barrier code in uniphier_watchdog_ping() and __uniphier_watchdog_start(). 2. Fix issues according to review comments. Keiji Hayashibara (3): dt-bindings: watchdog: add description for UniPhier WDT controller watchdog: uniphier: add UniPhier watchdog driver arm64: dts: uniphier: add watchdog node for LD11 and LD20 .../devicetree/bindings/watchdog/uniphier-wdt.txt | 20 ++ Documentation/watchdog/watchdog-parameters.txt | 6 + arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi | 4 + arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi | 4 + drivers/watchdog/Kconfig | 11 + drivers/watchdog/Makefile | 1 + drivers/watchdog/uniphier_wdt.c | 268 +++++++++++++++++++++ 7 files changed, 314 insertions(+) create mode 100644 Documentation/devicetree/bindings/watchdog/uniphier-wdt.txt create mode 100644 drivers/watchdog/uniphier_wdt.c -- 2.7.4