From patchwork Tue Jun 10 10:36:24 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ming Lei X-Patchwork-Id: 357836 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) by ozlabs.org (Postfix) with ESMTP id 48C3A140081; Tue, 10 Jun 2014 20:37:01 +1000 (EST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.76) (envelope-from ) id 1WuJQI-0003l5-It; Tue, 10 Jun 2014 10:36:58 +0000 Received: from mail-pd0-f175.google.com ([209.85.192.175]) by huckleberry.canonical.com with esmtp (Exim 4.76) (envelope-from ) id 1WuJQD-0003jT-2W for kernel-team@lists.ubuntu.com; Tue, 10 Jun 2014 10:36:53 +0000 Received: by mail-pd0-f175.google.com with SMTP id z10so5972311pdj.34 for ; Tue, 10 Jun 2014 03:36:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=kABeSJcxh4Upga6gNVxPkJTKkCgjMHgPP38kJsSJ5go=; b=e/j9D4s6JuyoOkXgb+stPtehqwNpRaAcUiCZh+XYBLdPuT6Nnz3ms6Ri1JJ/Mr5suU l7xbVHV6IqoFLUu5GrY1kqquzhhsrsDexHxDEjdsOst/cjVhX76mHJ9bSZ/7TnCcNyUm F63xcI2Q/JvNd0cq3kFj7qO1yYgGgt8uyWiUPdRJrs4ANF3SrHoutRZNdvdOVFRI2pzG T5wfaXoPIoFZqfZPgkjyL/dS7Yoorixm7DBcBgWvw6qjqQgBMPViQgQ3cPKcipTOT48M CiuOrw1/6xO+Btm/1qWnjKlgtHeifeMXg1f6t5CngkKGZ/qDoqigdqUuYXcDKCo0qZTv Y4iA== X-Received: by 10.68.225.74 with SMTP id ri10mr10907846pbc.116.1402396612164; Tue, 10 Jun 2014 03:36:52 -0700 (PDT) Received: from localhost ([121.15.171.105]) by mx.google.com with ESMTPSA id nx12sm11192330pab.6.2014.06.10.03.36.49 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 10 Jun 2014 03:36:51 -0700 (PDT) From: Ming Lei To: kernel-team@lists.ubuntu.com Subject: [PATCH trusty SRU 2/4] Documentation/devicetree/bindings: add documentation for the APM X-Gene SoC RTC DTS binding Date: Tue, 10 Jun 2014 18:36:24 +0800 Message-Id: <1402396586-32462-3-git-send-email-ming.lei@canonical.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1402396586-32462-1-git-send-email-ming.lei@canonical.com> References: <1402396586-32462-1-git-send-email-ming.lei@canonical.com> X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.14 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: kernel-team-bounces@lists.ubuntu.com From: Loc Ho Signed-off-by: Rameshwar Prasad Sahu Signed-off-by: Loc Ho Cc: Jon Masters Cc: Alessandro Zummo Cc: Catalin Marinas Cc: Will Deacon Signed-off-by: Andrew Morton (cherry picked from commit 763fac8bc6b93193834dbf9f74400214ca3d89e1) Signed-off-by: Ming Lei --- .../devicetree/bindings/rtc/xgene-rtc.txt | 28 ++++++++++++++++++++ 1 file changed, 28 insertions(+) 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..fd195c3 --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/xgene-rtc.txt @@ -0,0 +1,28 @@ +* 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. +- #clock-cells: Should be 1. +- 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>; +};