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: 385859 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 24A051401F6 for ; Fri, 5 Sep 2014 00:42:24 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753960AbaIDOkw (ORCPT ); Thu, 4 Sep 2014 10:40:52 -0400 Received: from mail-yh0-f50.google.com ([209.85.213.50]:46056 "EHLO mail-yh0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753889AbaIDOkt (ORCPT ); Thu, 4 Sep 2014 10:40:49 -0400 Received: by mail-yh0-f50.google.com with SMTP id f10so6533450yha.9 for ; Thu, 04 Sep 2014 07:40:48 -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=ZQw19cVWfItUsJ0bFfIC0Rf9XmzIsGCP3BmtUPOrBMI=; b=eQH1XgwTm9NfZQ8IHF160i1OPXX3aTblhU8sw7FuU0fRVRJeO2QG0ugeISnEL2gKxX XQxUFIIkhzosM7kMvREFujMEUuh15O3/rwHKZHx3jCZREeBIgkqL7yHo7z0xXeHZYHu+ LP5bOgB0Pzs3UPTwXIvj/43cVuO9RWsOzzerlTxisOKYUwYAvFjoHWc34XM5JRJZQ/Vo FxwBlohJM+TacMGEKuUhayvle4Zw3rX2XXXYHmWfsEL+GAcqwv3ccX9xJ2KOQiHNMgoR aVvJm7aHliN+KhkWkfcaAY4KAMrBMR3UuamTypIro7zqC7mxxtzba4lCjY0ipOZc8th0 dmwg== X-Gm-Message-State: ALoCoQk6rwtV+x4agtrTb2yyLCc8syz+5QFWrM/V2qYS7s+2pADN8IPsxZj+jQ+f26pQdk2nZJRW 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: 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 | 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; + }; +