From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932605AbeE1SB4 (ORCPT ); Mon, 28 May 2018 14:01:56 -0400 Received: from mail-qk0-f193.google.com ([209.85.220.193]:41556 "EHLO mail-qk0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932544AbeE1SBw (ORCPT ); Mon, 28 May 2018 14:01:52 -0400 X-Google-Smtp-Source: ADUXVKKZdPkSyjrqRgG8ltZfHr+d90RiG4UZ6Gj79e7m6+pCPmYo4p5yrBWvjd2tLPDZiV5c4qBJzQ== From: Ray Jui To: Wim Van Sebroeck , Guenter Roeck , Rob Herring , Mark Rutland , Frank Rowand , Catalin Marinas , Will Deacon , Robin Murphy Cc: linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, Ray Jui Subject: [PATCH v4 0/6] Enhance support for the SP805 WDT Date: Mon, 28 May 2018 11:01:31 -0700 Message-Id: <1527530497-10392-1-git-send-email-ray.jui@broadcom.com> X-Mailer: git-send-email 2.1.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series enhances the support for the SP805 watchdog timer. First of all, 'timeout-sec' devicetree property is added. In addition, support is also added to allow the driver to reset the watchdog if it has been detected that watchdot has been started in the bootloader. In this case, the driver will initiate the ping service from the kernel watchdog subsystem, before a user mode daemon takes over. This series also enables SP805 in the default ARM64 defconfig This patch series is based off v4.17-rc5 and is available on GIHUB: repo: https://github.com/Broadcom/arm64-linux.git branch: sp805-wdt-v4 Changes since v3: - Improve description of 'timeout-sec' in the binding document, per recommendation from Guenter Roeck Changes since v2: - Fix indent and format to make them consistent within arm,sp805.txt Changes since v1: - Consolidate two duplicated SP805 binding documents into one - Slight change of the wdt_is_running implementation per discussion Ray Jui (6): Documentation: DT: Consolidate SP805 binding docs Documentation: DT: Add optional 'timeout-sec' property for sp805 watchdog: sp805: add 'timeout-sec' DT property support watchdog: sp805: set WDOG_HW_RUNNING when appropriate arm64: dt: set initial SR watchdog timeout to 60 seconds arm64: defconfig: add CONFIG_ARM_SP805_WATCHDOG .../devicetree/bindings/watchdog/arm,sp805.txt | 29 +++++++++++++++----- .../devicetree/bindings/watchdog/sp805-wdt.txt | 31 ---------------------- .../arm64/boot/dts/broadcom/stingray/stingray.dtsi | 1 + arch/arm64/configs/defconfig | 1 + drivers/watchdog/sp805_wdt.c | 28 ++++++++++++++++++- 5 files changed, 51 insertions(+), 39 deletions(-) delete mode 100644 Documentation/devicetree/bindings/watchdog/sp805-wdt.txt -- 2.1.4 From mboxrd@z Thu Jan 1 00:00:00 1970 From: ray.jui@broadcom.com (Ray Jui) Date: Mon, 28 May 2018 11:01:31 -0700 Subject: [PATCH v4 0/6] Enhance support for the SP805 WDT Message-ID: <1527530497-10392-1-git-send-email-ray.jui@broadcom.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org This patch series enhances the support for the SP805 watchdog timer. First of all, 'timeout-sec' devicetree property is added. In addition, support is also added to allow the driver to reset the watchdog if it has been detected that watchdot has been started in the bootloader. In this case, the driver will initiate the ping service from the kernel watchdog subsystem, before a user mode daemon takes over. This series also enables SP805 in the default ARM64 defconfig This patch series is based off v4.17-rc5 and is available on GIHUB: repo: https://github.com/Broadcom/arm64-linux.git branch: sp805-wdt-v4 Changes since v3: - Improve description of 'timeout-sec' in the binding document, per recommendation from Guenter Roeck Changes since v2: - Fix indent and format to make them consistent within arm,sp805.txt Changes since v1: - Consolidate two duplicated SP805 binding documents into one - Slight change of the wdt_is_running implementation per discussion Ray Jui (6): Documentation: DT: Consolidate SP805 binding docs Documentation: DT: Add optional 'timeout-sec' property for sp805 watchdog: sp805: add 'timeout-sec' DT property support watchdog: sp805: set WDOG_HW_RUNNING when appropriate arm64: dt: set initial SR watchdog timeout to 60 seconds arm64: defconfig: add CONFIG_ARM_SP805_WATCHDOG .../devicetree/bindings/watchdog/arm,sp805.txt | 29 +++++++++++++++----- .../devicetree/bindings/watchdog/sp805-wdt.txt | 31 ---------------------- .../arm64/boot/dts/broadcom/stingray/stingray.dtsi | 1 + arch/arm64/configs/defconfig | 1 + drivers/watchdog/sp805_wdt.c | 28 ++++++++++++++++++- 5 files changed, 51 insertions(+), 39 deletions(-) delete mode 100644 Documentation/devicetree/bindings/watchdog/sp805-wdt.txt -- 2.1.4