From patchwork Tue Jan 27 15:11:29 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zubair Lutfullah Kakakhel X-Patchwork-Id: 433541 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 117A8140168 for ; Wed, 28 Jan 2015 02:12:29 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754804AbbA0PLo (ORCPT ); Tue, 27 Jan 2015 10:11:44 -0500 Received: from mailapp01.imgtec.com ([195.59.15.196]:40006 "EHLO mailapp01.imgtec.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752487AbbA0PLm (ORCPT ); Tue, 27 Jan 2015 10:11:42 -0500 Received: from KLMAIL01.kl.imgtec.org (unknown [192.168.5.35]) by Websense Email Security Gateway with ESMTPS id 51990675A40B0; Tue, 27 Jan 2015 15:11:38 +0000 (GMT) Received: from LEMAIL01.le.imgtec.org (192.168.152.62) by KLMAIL01.kl.imgtec.org (192.168.5.35) with Microsoft SMTP Server (TLS) id 14.3.195.1; Tue, 27 Jan 2015 15:11:40 +0000 Received: from zkakakhel-linux.le.imgtec.org (192.168.154.89) by LEMAIL01.le.imgtec.org (192.168.152.62) with Microsoft SMTP Server (TLS) id 14.3.210.2; Tue, 27 Jan 2015 15:11:40 +0000 From: Zubair Lutfullah Kakakhel To: CC: , , , , Subject: [PATCH 1/2] dt: watchdog: Add DT binding documentation for jz47xx watchdog timer Date: Tue, 27 Jan 2015 15:11:29 +0000 Message-ID: <1422371490-44402-2-git-send-email-Zubair.Kakakhel@imgtec.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1422371490-44402-1-git-send-email-Zubair.Kakakhel@imgtec.com> References: <1422371490-44402-1-git-send-email-Zubair.Kakakhel@imgtec.com> MIME-Version: 1.0 X-Originating-IP: [192.168.154.89] Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add binding for jz47xx watchdog timer. It is a simple watchdog timer. Needs rtc clock and register addresses Signed-off-by: Zubair Lutfullah Kakakhel --- The jz4740 is platform only at the moment. But DT support is being added See http://patchwork.linux-mips.org/bundle/paulburton/ci20-v3.20/ jz47xx is used because jz4780 will also use this driver --- .../devicetree/bindings/watchdog/ingenic,jz47xx-wdt.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Documentation/devicetree/bindings/watchdog/ingenic,jz47xx-wdt.txt diff --git a/Documentation/devicetree/bindings/watchdog/ingenic,jz47xx-wdt.txt b/Documentation/devicetree/bindings/watchdog/ingenic,jz47xx-wdt.txt new file mode 100644 index 0000000..bf4c404 --- /dev/null +++ b/Documentation/devicetree/bindings/watchdog/ingenic,jz47xx-wdt.txt @@ -0,0 +1,17 @@ +Ingenic Watchdog Timer (WDT) Controller for JZ47XX + +Required properties: +compatible: "ingenic,jz4740-watchdog" +reg: Register address and length for watchdog registers +clocks: phandle to rtcclk +clock-names: must be "rtc" + +Example: + +watchdog: jz47xx-watchdog@0x10002000 { + compatible = "ingenic,jz4780-watchdog"; + reg = <0x10002000 0x100>; + + clocks = <&rtclk>; + clock-names = "rtc"; +};