From patchwork Thu Sep 4 14:39:51 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 36721 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oi0-f71.google.com (mail-oi0-f71.google.com [209.85.218.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C0D18202E4 for ; Thu, 4 Sep 2014 14:41:50 +0000 (UTC) Received: by mail-oi0-f71.google.com with SMTP id v63sf48749860oia.6 for ; Thu, 04 Sep 2014 07:41:50 -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=9sDz75FdO4JnNFfNoN+iBlzF9Ye6tQodJe5b2f/wZeg=; b=MQAh3LB4lg5EW9TBpibvtG0Npyo6fDN3zlZWDfv53OvA78xXGTZz3YGgg/0+/Zbqdv YKSQE2p/gDSTKC/SnZuNDZr1NIyvNSrpG/fhH/C5wqGVbuyDdFH/JZO9MHeTvBLPL/K6 85jwzoST3T+ZwLrqrlsbnyL8qZJV2/GMQkZgQ9prsX7avg0g6UURfuE1LWMxslHhUEYj 4I0XAbxeCfNDoNpmWvUSH8GIoBK9qncifk09Md48MBcPE0OvRyyvCe4Gkvk1+Qp7b4HA hEvV5hYpVcD5zFgLeHs0TRFQi9LaJ92JpdzVi9Ck5BUZQWwfMJCwkQ0W8UwV1xIWHNgO uVfA== X-Gm-Message-State: ALoCoQkIf0FX3kTWTsIk3C3oTmXpY29g0MkV7AacmqwdyN+ex3e8RMKPyeZRuDtFV/rmPjYv07DW X-Received: by 10.42.90.209 with SMTP id l17mr1173471icm.34.1409841710371; Thu, 04 Sep 2014 07:41:50 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.21.200 with SMTP id 66ls295495qgl.75.gmail; Thu, 04 Sep 2014 07:41:50 -0700 (PDT) X-Received: by 10.52.61.136 with SMTP id p8mr3602593vdr.15.1409841710156; Thu, 04 Sep 2014 07:41:50 -0700 (PDT) Received: from mail-vc0-f180.google.com (mail-vc0-f180.google.com [209.85.220.180]) by mx.google.com with ESMTPS id cc10si5800882vcb.48.2014.09.04.07.41.50 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 04 Sep 2014 07:41:50 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.180 as permitted sender) client-ip=209.85.220.180; Received: by mail-vc0-f180.google.com with SMTP id lf12so10670842vcb.39 for ; Thu, 04 Sep 2014 07:41:50 -0700 (PDT) X-Received: by 10.52.3.40 with SMTP id 8mr3668922vdz.24.1409841710054; Thu, 04 Sep 2014 07:41:50 -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 uj3csp848704vcb; Thu, 4 Sep 2014 07:41:49 -0700 (PDT) X-Received: by 10.70.49.2 with SMTP id q2mr9711277pdn.28.1409841708936; Thu, 04 Sep 2014 07:41:48 -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.48 for ; Thu, 04 Sep 2014 07:41:48 -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 S1754129AbaIDOlW (ORCPT + 26 others); Thu, 4 Sep 2014 10:41:22 -0400 Received: from mail-yh0-f50.google.com ([209.85.213.50]:41495 "EHLO mail-yh0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753816AbaIDOkv (ORCPT ); Thu, 4 Sep 2014 10:40:51 -0400 Received: by mail-yh0-f50.google.com with SMTP id f10so6377898yha.37 for ; Thu, 04 Sep 2014 07:40:51 -0700 (PDT) X-Received: by 10.236.230.70 with SMTP id i66mr6118251yhq.26.1409841651107; Thu, 04 Sep 2014 07:40:51 -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.48 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 04 Sep 2014 07:40:50 -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, 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:51 +0100 Message-Id: <1409841592-18890-5-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-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.220.180 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: , 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; + }; +