From patchwork Wed Oct 8 09:33:29 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 38466 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ee0-f69.google.com (mail-ee0-f69.google.com [74.125.83.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C75C6202E7 for ; Wed, 8 Oct 2014 09:34:16 +0000 (UTC) Received: by mail-ee0-f69.google.com with SMTP id b15sf3229141eek.4 for ; Wed, 08 Oct 2014 02:34:15 -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=JVGaaDxQLPS1p+fBcoD10sq6pdh0XQwaDkYZrDmkmjHaJPCGcxdg2toC66vmtm4Yf6 jI5krXtdRQ08PM1nM9MjbYweQKklpOYgKSyJqPi90NuX/6qmW3/RsNFTc0uBEhjbw0+7 yQuY3axW8E7Y4yRIt6jjOHwhhiR6i+MW6455Yakq+lFt+hE8ssN13qrNbvmPCqp+hBfs bysBZtjzK4VQVRXlC8TCnkQ8h4J1bPZQYpR5sQCUEWWIhmGY0kgvED8XnEW3SAb+/bF6 a+Kb5uCeh9Wsf6Q8Qs0c5e/ZCfz3YM6xsjjAZA0ag2oiga8jg4zDYPEQZNgPI8V2wTaw BKlw== X-Gm-Message-State: ALoCoQlFhjhTmt7CT6ic0/CVpId7fOq+RJYcFnc/MLGPlOqM3XnZpekOKPSM6Ya6qBPDEMgs5PdX X-Received: by 10.194.100.3 with SMTP id eu3mr11001wjb.6.1412760855946; Wed, 08 Oct 2014 02:34:15 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.42.171 with SMTP id p11ls31027lal.68.gmail; Wed, 08 Oct 2014 02:34:15 -0700 (PDT) X-Received: by 10.112.218.98 with SMTP id pf2mr9695934lbc.33.1412760855757; Wed, 08 Oct 2014 02:34:15 -0700 (PDT) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx.google.com with ESMTPS id d9si31988763lad.79.2014.10.08.02.34.15 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 08 Oct 2014 02:34:15 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.182 as permitted sender) client-ip=209.85.217.182; Received: by mail-lb0-f182.google.com with SMTP id z11so7803373lbi.13 for ; Wed, 08 Oct 2014 02:34:15 -0700 (PDT) X-Received: by 10.152.204.231 with SMTP id lb7mr10025162lac.44.1412760855690; Wed, 08 Oct 2014 02:34:15 -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.84.229 with SMTP id c5csp29966lbz; Wed, 8 Oct 2014 02:34:14 -0700 (PDT) X-Received: by 10.68.115.48 with SMTP id jl16mr9130154pbb.78.1412760854173; Wed, 08 Oct 2014 02:34:14 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id rh13si15197286pdb.36.2014.10.08.02.34.12 for ; Wed, 08 Oct 2014 02:34:14 -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 S1755997AbaJHJeI (ORCPT + 27 others); Wed, 8 Oct 2014 05:34:08 -0400 Received: from mail-vc0-f174.google.com ([209.85.220.174]:41026 "EHLO mail-vc0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755960AbaJHJdo (ORCPT ); Wed, 8 Oct 2014 05:33:44 -0400 Received: by mail-vc0-f174.google.com with SMTP id hq12so6354230vcb.19 for ; Wed, 08 Oct 2014 02:33:43 -0700 (PDT) X-Received: by 10.52.184.7 with SMTP id eq7mr7408047vdc.0.1412760823592; Wed, 08 Oct 2014 02:33:43 -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 ti1sm7211835vdb.28.2014.10.08.02.33.41 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 08 Oct 2014 02:33:43 -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: Wed, 8 Oct 2014 10:33:29 +0100 Message-Id: <1412760810-23199-4-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1412760810-23199-1-git-send-email-lee.jones@linaro.org> References: <1412760810-23199-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.182 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; + };