Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753729AbbHFFH3 (ORCPT ); Thu, 6 Aug 2015 01:07:29 -0400 Received: from nasmtp02.atmel.com ([204.2.163.16]:16193 "EHLO SJOEDG01.corp.atmel.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751650AbbHFFH1 (ORCPT ); Thu, 6 Aug 2015 01:07:27 -0400 From: Wenyou Yang To: , , , , , CC: , , , , , , , Subject: [PATCH v4 0/2] add a new driver to support SAMA5D4 watchdog timer Date: Thu, 6 Aug 2015 12:59:28 +0800 Message-ID: <1438837170-4518-1-git-send-email-wenyou.yang@atmel.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1573 Lines: 39 Hello, Because the watchdog WDT_MR register can be written more than once, its work mechanism is different from the at91sam9260 watchdog driver. Open the device file to enable the watchdog hardware, close to disable it, and ping it from the user space directly to keep it alive. Changes from v3.0 1./ Change the driver name to 'sama5d4_wdt' for more acceptable. 2./ Change the prefix of function name and struct name from 'atmel_' to 'sama5d4_', and others. Changes from v2.0 1./ Use a specific driver name, at91_sama5d4_wdt.c. 2./ Remove '-' at the end of macro name and unnecessary check. 3./ Use alphabetic order for include files. Wenyou Yang (2): drivers: watchdog: add a driver to support SAMA5D4 watchdog timer Documentation: dt: binding: atmel-sama5d4-wdt: for SAMA5D4 watchdog driver .../bindings/watchdog/atmel-sama5d4-wdt.txt | 35 +++ drivers/watchdog/Kconfig | 9 + drivers/watchdog/Makefile | 1 + drivers/watchdog/at91sam9_wdt.h | 2 + drivers/watchdog/sama5d4_wdt.c | 279 ++++++++++++++++++++ 5 files changed, 326 insertions(+) create mode 100644 Documentation/devicetree/bindings/watchdog/atmel-sama5d4-wdt.txt create mode 100644 drivers/watchdog/sama5d4_wdt.c -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/