From patchwork Thu Sep 4 14:39:50 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 36719 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f198.google.com (mail-ie0-f198.google.com [209.85.223.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id A27DC202E4 for ; Thu, 4 Sep 2014 14:41:47 +0000 (UTC) Received: by mail-ie0-f198.google.com with SMTP id rl12sf51628371iec.9 for ; Thu, 04 Sep 2014 07:41:47 -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=JkSpjnubq3qjViVK6Kx2Y34EXmTuug3j1U0UncrTuEc=; b=jm7/CDlNeS1YAEwLLgPg+6wq4S3d0la9Q9u1yAtsTXZWQjNl0efoWEynEIuNSP+Ol4 n94H+9JRWJ2jfNQKNgJZ+V4tl884HQf83qjw2FWF/HamNwvaWNO1fADjPyCZZ3858xGf p31KxgyD+59L3yT8lHrx8nFIX0wPKgYk4NjFo5a5N8ce94B8iOcxp4dYofnAdtWhsM6g cF5+adVyIO8H8f84ddgeZRjLlHz0W5OzYr5aeHGQLkhB+wE72SVK7seWs3A1CbJJdgLy HdAY6rIM4xLPjVNPJoitiv4AkNFQ/+AYyWFzitZ5zWM7KuYzsCewv9LO4KA5hmvFkkST TjjQ== X-Gm-Message-State: ALoCoQkfHWnnu9RZEBceTFCxcYn2lPFnBVC1lzpui7f4UIql2kmc2dZ/UPhz1J2A6h+kRzkF4dCa X-Received: by 10.50.80.111 with SMTP id q15mr2695981igx.0.1409841707338; Thu, 04 Sep 2014 07:41:47 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.83.230 with SMTP id j93ls287420qgd.40.gmail; Thu, 04 Sep 2014 07:41:47 -0700 (PDT) X-Received: by 10.220.190.134 with SMTP id di6mr1760304vcb.43.1409841707189; Thu, 04 Sep 2014 07:41:47 -0700 (PDT) Received: from mail-vc0-f173.google.com (mail-vc0-f173.google.com [209.85.220.173]) by mx.google.com with ESMTPS id vp6si3079518vdc.5.2014.09.04.07.41.47 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 04 Sep 2014 07:41:47 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.173 as permitted sender) client-ip=209.85.220.173; Received: by mail-vc0-f173.google.com with SMTP id im17so10742071vcb.32 for ; Thu, 04 Sep 2014 07:41:47 -0700 (PDT) X-Received: by 10.52.73.202 with SMTP id n10mr1349174vdv.86.1409841707106; Thu, 04 Sep 2014 07:41:47 -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.221.45.67 with SMTP id uj3csp848694vcb; Thu, 4 Sep 2014 07:41:46 -0700 (PDT) X-Received: by 10.67.4.163 with SMTP id cf3mr8947350pad.92.1409841705706; Thu, 04 Sep 2014 07:41:45 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id qz5si3902548pab.214.2014.09.04.07.41.45 for ; Thu, 04 Sep 2014 07:41:45 -0700 (PDT) Received-SPF: none (google.com: linux-watchdog-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 S1753957AbaIDOkv (ORCPT ); Thu, 4 Sep 2014 10:40:51 -0400 Received: from mail-yk0-f171.google.com ([209.85.160.171]:40309 "EHLO mail-yk0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753901AbaIDOkt (ORCPT ); Thu, 4 Sep 2014 10:40:49 -0400 Received: by mail-yk0-f171.google.com with SMTP id 9so6107157ykp.16 for ; Thu, 04 Sep 2014 07:40:48 -0700 (PDT) X-Received: by 10.236.86.101 with SMTP id v65mr5837740yhe.103.1409841648567; Thu, 04 Sep 2014 07:40:48 -0700 (PDT) Received: from localhost.localdomain (host109-149-129-153.range109-149.btcentralplus.com. [109.149.129.153]) by mx.google.com with ESMTPSA id m28sm8695336yhb.50.2014.09.04.07.40.46 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 04 Sep 2014 07:40:48 -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, devicetree@vger.kernel.org, David Paris Subject: [PATCH 3/4] watchdog: st_wdt: Provide binding documentation for ST's LPC Watchdog driver Date: Thu, 4 Sep 2014 15:39:50 +0100 Message-Id: <1409841592-18890-4-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1409841592-18890-1-git-send-email-lee.jones@linaro.org> References: <1409841592-18890-1-git-send-email-lee.jones@linaro.org> Sender: linux-watchdog-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-watchdog@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.220.173 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 | 27 ++++++++++++++++++++++ 1 file changed, 27 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..f0e57ba --- /dev/null +++ b/Documentation/devicetree/bindings/watchdog/st-lpc-wdt.txt @@ -0,0 +1,27 @@ +STMicroelectronics LPC Watchdog +=============================== + +Required properties + +- compatible : "st,-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 : Qatchdog 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; + }; +