From patchwork Thu Oct 23 15:18:43 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 39373 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f198.google.com (mail-lb0-f198.google.com [209.85.217.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 40B0220341 for ; Thu, 23 Oct 2014 15:20:00 +0000 (UTC) Received: by mail-lb0-f198.google.com with SMTP id 10sf729642lbg.1 for ; Thu, 23 Oct 2014 08:19:58 -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=mE2uU1pEU2xoe3j2nsrFi5/GU+b/WAWbgk5wRot7bbM=; b=DKIcmVT/m1BVTNWahoRpnlW1I0FcV0ARgWOhKwni3XF02pH5KZ7P8yOUYnZWQsiLXk SN7Z9t/ACHK9oLatMl5Z7q3McbgfU+VBjjbzMaFWuKvx+TtzOXWbkRF38BhSX6TX3In2 9kI0zIssxPzd8T2y7oo6VeWqBp/TWWQe5TlC8prKAxhdr7OrdBdHvmZr+i91+V3vzwSj X5PbUn6jVIKmgAzTvfvIKCwCguIvs67+MGISc6+3OJP0kWzHkLxam9EZYOANBsVK3szV ps7imjWnpgtaC+vxoeyrHs/Ocq4rG0tQObAIM5DZDqrPW95Coslu7UMIIbg5jBzwVUrU P+cA== X-Gm-Message-State: ALoCoQlORia/50gpivtmP//WalsGIkWUogHar+iSM/RLubRRi1vMZoRuR/YJyAPpCCRpsfhOyO+H X-Received: by 10.152.26.72 with SMTP id j8mr1184360lag.3.1414077598538; Thu, 23 Oct 2014 08:19:58 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.204.44 with SMTP id kv12ls324912lac.44.gmail; Thu, 23 Oct 2014 08:19:58 -0700 (PDT) X-Received: by 10.152.30.9 with SMTP id o9mr5982921lah.8.1414077598260; Thu, 23 Oct 2014 08:19:58 -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 zw4si3029685lbb.116.2014.10.23.08.19.58 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 Oct 2014 08:19:58 -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 z12so1039389lbi.16 for ; Thu, 23 Oct 2014 08:19:58 -0700 (PDT) X-Received: by 10.112.221.197 with SMTP id qg5mr5863766lbc.32.1414077598102; Thu, 23 Oct 2014 08:19:58 -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 c5csp273682lbz; Thu, 23 Oct 2014 08:19:57 -0700 (PDT) X-Received: by 10.68.200.100 with SMTP id jr4mr5623174pbc.69.1414077595052; Thu, 23 Oct 2014 08:19:55 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id rc17si1875342pab.100.2014.10.23.08.19.54 for ; Thu, 23 Oct 2014 08:19:55 -0700 (PDT) Received-SPF: none (google.com: devicetree-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 S1755376AbaJWPTw (ORCPT + 5 others); Thu, 23 Oct 2014 11:19:52 -0400 Received: from mail-yh0-f49.google.com ([209.85.213.49]:48024 "EHLO mail-yh0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754412AbaJWPTL (ORCPT ); Thu, 23 Oct 2014 11:19:11 -0400 Received: by mail-yh0-f49.google.com with SMTP id a41so1034477yho.22 for ; Thu, 23 Oct 2014 08:19:11 -0700 (PDT) X-Received: by 10.170.79.65 with SMTP id v62mr405260ykv.18.1414077550928; Thu, 23 Oct 2014 08:19:10 -0700 (PDT) Received: from localhost.localdomain (host109-148-232-230.range109-148.btcentralplus.com. [109.148.232.230]) by mx.google.com with ESMTPSA id jd6sm1219612igb.16.2014.10.23.08.19.08 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 23 Oct 2014 08:19:10 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, wim@iguana.be, linux-watchdog@vger.kernel.org, linux@roeck-us.net Cc: lee.jones@linaro.org, kernel@stlinux.com, devicetree@vger.kernel.org, David Paris Subject: [PATCH 3/4] watchdog: st_wdt: Provide binding documentation for ST's LPC Watchdog driver Date: Thu, 23 Oct 2014 16:18:43 +0100 Message-Id: <1414077524-6469-4-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1414077524-6469-1-git-send-email-lee.jones@linaro.org> References: <1414077524-6469-1-git-send-email-lee.jones@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@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 | 31 ++++++++++++++++++++++ 1 file changed, 31 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..2d0328b --- /dev/null +++ b/Documentation/devicetree/bindings/watchdog/st-lpc-wdt.txt @@ -0,0 +1,31 @@ +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 + size +- reg-names : Register map "base" and "syscfg-en" are compulsory. + "syscfg-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; + };