Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1939269imm; Tue, 22 May 2018 11:50:36 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrZMeX6KP/Aw1mz4z1t5QjJXl1hmK+ZXOEeAbREHW7l7g9/l1NuOfV9K9CxSXMkFZ/eyVV7 X-Received: by 2002:a65:5789:: with SMTP id b9-v6mr6653157pgr.417.1527015036915; Tue, 22 May 2018 11:50:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527015036; cv=none; d=google.com; s=arc-20160816; b=ALdAZ8VxyFQtGb7lmrKCy9WBpjvNca4xGxdHTsABPBXhkybSsnuxVMQcXs1EsYw4XB Q/oA3UkzTXZ7ANnD8tNA/60JxKFTGbZgh445pXx3uOuxs91NAi/pyLqjep/hHAkQQqZA oi7RM43RbNMGwEsyPqhkrt/b9W76OrdCnvaUzLn/yYgWZ1PVmkz+SLj/hLJ9O8yBfj8s Spek8OkJCDPuuRexMC3swI9N9Tcg1kLIigPfuTJfxmDgtFyDABMFKh6ijNnGivR6reaf YQeDgnDTA2sst/RIMl2ZQIzBPrSzFR2bdUsE9pCCdcp7JFe1XbtzuGZzenN+eFDWpk9V 7nCg== 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 :dkim-signature:arc-authentication-results; bh=KHb8zxfFKUwLhDPMotZFAd/NSY7e8H9FDZm1Hwp2abE=; b=O4SOuItf7wt8Mce/lEgWMJfi7dQ3Bem5t0FwrJDDblOg8vYarp7OIHrkZxC0TpvFza VYIH4mPnJOzwxxmFu0zSNbBebAfGVlKU0ekU9UWB9Wao05mplZCpotf1ULA9DfNBBZxF fQMGsbE93/bS29HaCQFSSO7xpDsS8R2vJ50iKtgj8YVFo9XbP6VWb3Lgd2rS0bTqo1r/ V8x5gHmi0qU6XivHysSd27eE1uizXUu4TqCUudBkVBeYKLxPO1hWLOm+/WdTX8lF5QfJ 4hRa+3HEJ8HUFcGQ5uOfVCUVpurKUnDo5Id4r/eTjovKoFyeZhlTCVmdyIBCAOn6ZFwY za2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=C7UQtdi3; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e13-v6si10763899pgt.332.2018.05.22.11.50.22; Tue, 22 May 2018 11:50:36 -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; dkim=pass header.i=@broadcom.com header.s=google header.b=C7UQtdi3; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751532AbeEVSre (ORCPT + 99 others); Tue, 22 May 2018 14:47:34 -0400 Received: from mail-qk0-f195.google.com ([209.85.220.195]:45733 "EHLO mail-qk0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751343AbeEVSrb (ORCPT ); Tue, 22 May 2018 14:47:31 -0400 Received: by mail-qk0-f195.google.com with SMTP id a8-v6so15424015qkj.12 for ; Tue, 22 May 2018 11:47:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id; bh=KHb8zxfFKUwLhDPMotZFAd/NSY7e8H9FDZm1Hwp2abE=; b=C7UQtdi3fQuMzS+XY4IaXc50VZV0oQMOE3KAxUvRWggp/GgVrhKE1MA3hQxKQsJvTt E4NtjIfI81FVa9MYqKbsTDc05U3BAX/M3eXrRjj8NnnOYwwTTKjLAWCk62BIwBdrtFOF m9pSooBhTTdNcmfR1oNQud6pXPdZZ0CiFEaEQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=KHb8zxfFKUwLhDPMotZFAd/NSY7e8H9FDZm1Hwp2abE=; b=fIZVjb0a3oFz+tI09etYvDLtHTI/r524mO5gTEkGNMXJJXBzd13O0maN8qekPgCQiD q9oUOHDR/hGaEy6ViLZ/qdTE00fdkONgW32zRfEQILsF9fJTgbkfisM2YKd0CM+ua9iH 4DjuWzMrZrW5hBC+aNNaVSVxHMoHLaqKGDnrqjPOhbMeCs7T84RMlUX71b9Kq9l2/TO0 UDyuYOhpxt+zT8Q1rw+dZ5slGMRQGwbXnmWpX/MYhtc7U0yRRYDVK6Hm/F6cP187PafE nCjTM9BjcoZWz+Z3Kdt/y2lKe3BxYu/sHJu5BhVsoDFYxsMuRr7m3OH7Q5CPzdKUC7Fw RIJg== X-Gm-Message-State: ALKqPwe7neuLkDncznEJ/sRwhUHtVM0KQegzy5SH0pZ6ySzKFzQfF6gY dwBVxy0xe+xprAKbMquoQqi7nA== X-Received: by 2002:a37:7783:: with SMTP id s125-v6mr22632453qkc.27.1527014851162; Tue, 22 May 2018 11:47:31 -0700 (PDT) Received: from lbrmn-lnxub44-1.ric.broadcom.com ([192.19.228.250]) by smtp.gmail.com with ESMTPSA id i69-v6sm192501qke.87.2018.05.22.11.47.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 22 May 2018 11:47:29 -0700 (PDT) From: Ray Jui To: Wim Van Sebroeck , Guenter Roeck , Rob Herring , Mark Rutland , Frank Rowand , Catalin Marinas , Will Deacon 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 0/5] Enhance support for the SP805 WDT Date: Tue, 22 May 2018 11:47:15 -0700 Message-Id: <1527014840-21236-1-git-send-email-ray.jui@broadcom.com> X-Mailer: git-send-email 2.1.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk 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-v1 Ray Jui (5): 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/sp805-wdt.txt | 2 ++ .../arm64/boot/dts/broadcom/stingray/stingray.dtsi | 1 + arch/arm64/configs/defconfig | 1 + drivers/watchdog/sp805_wdt.c | 31 +++++++++++++++++++++- 4 files changed, 34 insertions(+), 1 deletion(-) -- 2.1.4