From patchwork Tue Oct 7 14:36:11 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 38411 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f72.google.com (mail-la0-f72.google.com [209.85.215.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 4AFEF2057C for ; Tue, 7 Oct 2014 14:36:53 +0000 (UTC) Received: by mail-la0-f72.google.com with SMTP id gq15sf4176648lab.7 for ; Tue, 07 Oct 2014 07:36:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=r7oBEHfZjLGtUJ9c6b7jVsp7qhz29/0vVDBwTzOjO6I=; b=gpcYbsxHr1WPtxqTYMwlCLi+18YhpcGXYbPYiIektq26cCzGDCFsQzsglMw+ZltXSy s0cTOSEeuq3Gn+noKeDAj3D9uBLpWSox6dUKkGLYTZYFTapLy7u/7cDy5dxCOVObYMO6 qa9E5wjmBjm6WsrjbiGDKT6Mwa8+2UKwc9RR3QuNZyGqw74DLqoXxp9zlyWjjX0YCObJ lEFj4Qc9CNUO89yjiysW+7rKjj15YuZCNVlTm3hUV/luVSXe1UqFGQxXPB9jXXYK/NGs mwhMMRpilBDrDnQZc4Q2IHyQYW4BVlw1j5spJN0FgCmmsHYbILnQfU1IRANKTPutO7FJ izJw== X-Gm-Message-State: ALoCoQnLfRvviLXCAC18DJN4AVq7uyNSTJYmC9n9Y0+VezHVbkWetj/GN3QQPDd8EbMpIC/h7OGi X-Received: by 10.181.25.234 with SMTP id it10mr641660wid.1.1412692612024; Tue, 07 Oct 2014 07:36:52 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.37.132 with SMTP id y4ls235104laj.73.gmail; Tue, 07 Oct 2014 07:36:51 -0700 (PDT) X-Received: by 10.152.163.66 with SMTP id yg2mr4617303lab.38.1412692611883; Tue, 07 Oct 2014 07:36:51 -0700 (PDT) Received: from mail-lb0-f171.google.com (mail-lb0-f171.google.com [209.85.217.171]) by mx.google.com with ESMTPS id g1si28982938lam.75.2014.10.07.07.36.51 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 07 Oct 2014 07:36:51 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.171 as permitted sender) client-ip=209.85.217.171; Received: by mail-lb0-f171.google.com with SMTP id z12so6312499lbi.16 for ; Tue, 07 Oct 2014 07:36:51 -0700 (PDT) X-Received: by 10.153.6.36 with SMTP id cr4mr4675189lad.40.1412692611757; Tue, 07 Oct 2014 07:36:51 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.130.169 with SMTP id of9csp361433lbb; Tue, 7 Oct 2014 07:36:51 -0700 (PDT) X-Received: by 10.66.146.35 with SMTP id sz3mr1934782pab.148.1412692609031; Tue, 07 Oct 2014 07:36:49 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ic5si15877323pbc.128.2014.10.07.07.36.48 for ; Tue, 07 Oct 2014 07:36:49 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754095AbaJGOgg (ORCPT + 27 others); Tue, 7 Oct 2014 10:36:36 -0400 Received: from mail-ig0-f172.google.com ([209.85.213.172]:59842 "EHLO mail-ig0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753970AbaJGOgb (ORCPT ); Tue, 7 Oct 2014 10:36:31 -0400 Received: by mail-ig0-f172.google.com with SMTP id r2so4248792igi.17 for ; Tue, 07 Oct 2014 07:36:30 -0700 (PDT) X-Received: by 10.43.151.5 with SMTP id kq5mr5455593icc.87.1412692590730; Tue, 07 Oct 2014 07:36:30 -0700 (PDT) Received: from localhost.localdomain (host109-148-233-9.range109-148.btcentralplus.com. [109.148.233.9]) by mx.google.com with ESMTPSA id qo8sm12189506igb.7.2014.10.07.07.36.28 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 07 Oct 2014 07:36:30 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: lee.jones@linaro.org, kernel@stlinux.com, wim@iguana.be, linux-watchdog@vger.kernel.org, linux@roeck-us.net, devicetree@vger.kernel.org, David Paris Subject: [PATCH 3/4] watchdog: st_wdt: Provide binding documentation for ST's LPC Watchdog driver Date: Tue, 7 Oct 2014 15:36:11 +0100 Message-Id: <1412692572-14031-4-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1412692572-14031-1-git-send-email-lee.jones@linaro.org> References: <1412692572-14031-1-git-send-email-lee.jones@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.171 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Cc: devicetree@vger.kernel.org Signed-off-by: David Paris Signed-off-by: Lee Jones --- .../devicetree/bindings/watchdog/st-lpc-wdt.txt | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Documentation/devicetree/bindings/watchdog/st-lpc-wdt.txt diff --git a/Documentation/devicetree/bindings/watchdog/st-lpc-wdt.txt b/Documentation/devicetree/bindings/watchdog/st-lpc-wdt.txt new file mode 100644 index 0000000..520ce90 --- /dev/null +++ b/Documentation/devicetree/bindings/watchdog/st-lpc-wdt.txt @@ -0,0 +1,30 @@ +STMicroelectronics LPC Watchdog +=============================== + +Required properties + +- compatible : Must be one of: + "st,stih407-watchdog" + "st,stih416-watchdog" + "st,stih415-watchdog" + "st,stid127-watchdog" +- reg : LPC registers base address + range +- reg-names : Register map "base" and "syscfg-en" are compulsory. "type" is + platform dependent and not required for the STiH407 +- clock-names : Should be "lpc_wdt" +- clocks : Clock used by LPC device +- timeout-sec : Watchdog timeout in seconds +- st,syscfg : Syscfg node used to configure CPU reset type and mask +- st,warm_reset : If present, reset type will be 'warm'. If not, it will be cold + +Example: + watchdog@fde05000 { + compatible = "st,stih416-lpc-watchdog"; + reg = <0xfde05000 0x1000> <0x204 0x4>; + reg-names = "base", "syscfg-en" + clock-names = "lpc_wdt"; + clocks = <&clk_s_d3_flexgen CLK_LPC_0>; + timeout-sec = <600>; + st,syscfg = <&syscfg_core>; + st,warm_reset; + };