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: 397580 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 20D871400EA for ; Wed, 8 Oct 2014 20:34:48 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754601AbaJHJeG (ORCPT ); Wed, 8 Oct 2014 05:34:06 -0400 Received: from mail-vc0-f182.google.com ([209.85.220.182]:34293 "EHLO mail-vc0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755958AbaJHJdo (ORCPT ); Wed, 8 Oct 2014 05:33:44 -0400 Received: by mail-vc0-f182.google.com with SMTP id la4so6507929vcb.27 for ; Wed, 08 Oct 2014 02:33:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=tN5boCZ0x/QsA+BPAY1MiZehWPB/txOfkj6Hkad7I28=; b=MPKOC6RO4hwRe55dWVcJ45DQHlvtfUufSC4Eo6O0Bj16WLLTVUxeQbyDfPrDxICYGa 2/isHGzkjWx3i5DHDopMMfRETT718Xf4ccM8ph1bC+nFhMrMNM5VuTObYqAOXvcJZ5fI TqUXVkw9DDxqwUrFCsoay2srJIxNokzfsh6Cg3z5wojQ7ZewrOejra5icAUBtEI5eOcW JHevYByFRo4mbRa/XDzDUEr4vPADuej7xebmGgO+cfn7lTYmI48hRw0imQ5W/OhgfVNp oktsO5NeK1K8/PLxLYCht64ZeYOFSxUBNlcLVB+jfhqnJ/JpGCVj+6X9bE/lE1wKIVMh N74w== X-Gm-Message-State: ALoCoQkcjoi9rCOKmivkwNdA53LAa30uDbLwJtK+kBvHKJmmRhAiTGkHjGTwe9ZHXfhpOS0V0NmZ 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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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; + };