From patchwork Thu Apr 10 18:47:56 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Loc Ho X-Patchwork-Id: 3964241 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id D400CBFF02 for ; Thu, 10 Apr 2014 18:49:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E6E3220824 for ; Thu, 10 Apr 2014 18:49:27 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E5FA02080B for ; Thu, 10 Apr 2014 18:49:26 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WYK1n-0002bu-P8; Thu, 10 Apr 2014 18:48:47 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WYK1i-0003Hl-93; Thu, 10 Apr 2014 18:48:42 +0000 Received: from bombadil.infradead.org ([2001:1868:205::9]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WYK1Z-0003GR-Lq for linux-arm-kernel@merlin.infradead.org; Thu, 10 Apr 2014 18:48:33 +0000 Received: from exprod5og117.obsmtp.com ([64.18.0.149]) by bombadil.infradead.org with smtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WYK1Y-0005Ar-5n for linux-arm-kernel@lists.infradead.org; Thu, 10 Apr 2014 18:48:32 +0000 Received: from mail-pa0-f45.google.com ([209.85.220.45]) (using TLSv1) by exprod5ob117.postini.com ([64.18.4.12]) with SMTP ID DSNKU0bnbMB2fUL8NxVCAE9p2vwG0mCH6pkr@postini.com; Thu, 10 Apr 2014 11:48:32 PDT Received: by mail-pa0-f45.google.com with SMTP id kl14so4339128pab.32 for ; Thu, 10 Apr 2014 11:48:12 -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=FcNvwxyZIpEawrjeJ3dM+uB9txvUYdzgyfgxha7+C2I=; b=IXSnW9iW+aVPNJy9vZPlTfX6nFtvmp8Rc/JELFwtfVuK5YmDWPxXePvHU50WWtX8AZ L/pQrbHhrUeeilbZzzgJVfxjMSfQxi4H4dErOCpDIlLQgtwY1X3jxvW+4RPutnySjvmv l73DQfy8DAGyA1BXbWyJ664AwYEdRzfDKt36WaXOhS02aZSLGf9+vgCdT+tujczafEMs PpOPE1Y4EVVQuG1zLGv2Tpc9/BFqIOMzi6DTm78tyWJ6GF7+fgSVLZQB3r6k3KR6jUuV eBVTmChPFmv3M8AWvEiCGLQIv+oYP+SB9fXhfcxNfZYHyV41qhrBP04ywKICYQskL5zs /kDw== X-Gm-Message-State: ALoCoQn5+AV6DsLiNeecXAygvRG8+JgzVmbfox/e+eiCwHKGBP6ysorUWGiME5zWFi79A7a/HdQghwsppoIHA/iq7Hq2C2wgd99seXiJJAqRvVTQ8cz0QTqKT0CmwbELmjGk1x7pJL0T2+JXWXgRLZtNUIwbTXm80g== X-Received: by 10.68.203.39 with SMTP id kn7mr21344541pbc.141.1397155692058; Thu, 10 Apr 2014 11:48:12 -0700 (PDT) X-Received: by 10.68.203.39 with SMTP id kn7mr21344532pbc.141.1397155691989; Thu, 10 Apr 2014 11:48:11 -0700 (PDT) Received: from localhost ([198.137.200.11]) by mx.google.com with ESMTPSA id xk3sm10625779pbb.65.2014.04.10.11.48.10 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 10 Apr 2014 11:48:11 -0700 (PDT) From: Loc Ho To: a.zummo@towertech.it Subject: [PATCH v4 1/3] Documentation: Add documentation for the APM X-Gene SoC RTC DTS binding Date: Thu, 10 Apr 2014 12:47:56 -0600 Message-Id: <1397155678-26607-2-git-send-email-lho@apm.com> X-Mailer: git-send-email 1.5.5 In-Reply-To: <1397155678-26607-1-git-send-email-lho@apm.com> References: <1397155678-26607-1-git-send-email-lho@apm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140410_114832_238885_9A6B0970 X-CRM114-Status: GOOD ( 10.91 ) X-Spam-Score: -2.3 (--) Cc: devicetree@vger.kernel.org, rtc-linux@googlegroups.com, jcm@redhat.com, Rameshwar Prasad Sahu , patches@apm.com, Loc Ho , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds documentation for the APM X-Gene SoC RTC DTS binding. Signed-off-by: Rameshwar Prasad Sahu Signed-off-by: Loc Ho --- .../devicetree/bindings/rtc/xgene-rtc.txt | 27 ++++++++++++++++++++ 1 files changed, 27 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/rtc/xgene-rtc.txt diff --git a/Documentation/devicetree/bindings/rtc/xgene-rtc.txt b/Documentation/devicetree/bindings/rtc/xgene-rtc.txt new file mode 100644 index 0000000..2e9c503 --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/xgene-rtc.txt @@ -0,0 +1,27 @@ +* APM X-Gene Real Time Clock + +RTC controller for the APM X-Gene Real Time Clock + +Required properties: +- compatible : Should be "apm,xgene-rtc" +- reg: physical base address of the controller and length of memory mapped + region. +- interrupts: IRQ line for the RTC. +- clocks: Reference to the clock entry. + +Example: + +rtcclk: rtcclk { + compatible = "fixed-clock"; + #clock-cells = <1>; + clock-frequency = <100000000>; + clock-output-names = "rtcclk"; +}; + +rtc: rtc@10510000 { + compatible = "apm,xgene-rtc"; + reg = <0x0 0x10510000 0x0 0x400>; + interrupts = <0x0 0x46 0x4>; + #clock-cells = <1>; + clocks = <&rtcclk 0>; +};