From patchwork Thu Apr 3 06:17:51 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Loc Ho X-Patchwork-Id: 336532 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-oa0-x240.google.com (mail-oa0-x240.google.com [IPv6:2607:f8b0:4003:c02::240]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 684E3140141 for ; Thu, 3 Apr 2014 17:18:11 +1100 (EST) Received: by mail-oa0-f64.google.com with SMTP id n16sf293563oag.9 for ; Wed, 02 Apr 2014 23:18:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=mime-version:from:to:cc:subject:date:message-id:in-reply-to :references:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:sender:list-subscribe:list-unsubscribe:content-type; bh=quxo/y719OsAWWCt4pg8wrv5F/i6mZLGieABjPDwO44=; b=oEGMGjdNPqEc3PSQno7mHC5MFkuWOYGLSfk52Ho6u2+hBhj8+RAwjavZ44ei4nFuOI lg1PYFYlEYRK5qN+3MQdfFGy3KSxrPDGBqBYhkhCOy93sa/DuCnzwzq6scQPlTr2CvWc oDgn+JYnn65Z/WWGjCovvlmxzJjxhh99pCv6FLa8GRVSCX/yveXUOSTfBaEDVZYTnc4P VumcPIV5R+TmjWi4BW4HZBlMhy0mHrYUmzLKyUHDLtJxhBzrZZpr2s07aAc+eZKZiXT7 rouwG5Qa8cTFLJzVJVrZTgydg3e7ETk6JAkYXL7Gnf6fCCQ9276Zg4KHNUBMZqivcf8M APlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :in-reply-to:references:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe:content-type; bh=quxo/y719OsAWWCt4pg8wrv5F/i6mZLGieABjPDwO44=; b=lzNvH5NPoWFgufJcu1A12jmzFx4G2Fe6zZzNmO8X7jBMdh/H5i7f6CkDykyt3DJT4G S0YlovzyqFUwgwBYJpRBOVL7OlScW0l2zzaNpOWVLwEBbGLQh21X+b7X9j7S+FCX0U7j 2AXJYbtKS3RPkEFC0xreSjyrRjc0quiE0m5Z5Z18viPdWqZf0/VKzf+THm+gpvC6Jq49 vipvT+/P5TAzqB76hE/lP3O59Qn3lFRYzL8fz9iZC2fouKw5kDNcDVaLH3exjxo4v4GE 9NNlf60Nv5bG+0IULGD6rwGwcSgixbz07j/28FLzLPqxwmpYyXEYsf75O5MrcKWxHNdl Ajmw== X-Received: by 10.50.44.98 with SMTP id d2mr174031igm.9.1396505888439; Wed, 02 Apr 2014 23:18:08 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.50.79.166 with SMTP id k6ls1366845igx.26.gmail; Wed, 02 Apr 2014 23:18:08 -0700 (PDT) X-Received: by 10.67.2.101 with SMTP id bn5mr17709189pad.29.1396505888195; Wed, 02 Apr 2014 23:18:08 -0700 (PDT) Received: from exprod5og118.obsmtp.com (exprod5og118.obsmtp.com [64.18.0.160]) by gmr-mx.google.com with SMTP id al4si1867041pac.2.2014.04.02.23.18.07 for ; Wed, 02 Apr 2014 23:18:08 -0700 (PDT) Received-SPF: pass (google.com: domain of lho@apm.com designates 64.18.0.160 as permitted sender) client-ip=64.18.0.160; Received: from mail-pd0-f173.google.com ([209.85.192.173]) (using TLSv1) by exprod5ob118.postini.com ([64.18.4.12]) with SMTP ID DSNKUzz9H+P/UzVRCDcHX6YOZP2oGAVYWS/E@postini.com; Wed, 02 Apr 2014 23:18:08 PDT Received: by mail-pd0-f173.google.com with SMTP id z10so1297968pdj.18 for ; Wed, 02 Apr 2014 23:18:07 -0700 (PDT) X-Gm-Message-State: ALoCoQmP6GA9fJhyhwc++lI+s70D+fXT7PVSA+aOvg7viOJ/wQl6UUN3PZaKhEnujq7Id9CwWzGOXRxvNhkpKG7QCD/2skKGgDDaKMJtWECQT6DBqeBZw6k3m2VizTA3v/lUu37Q8z2I X-Received: by 10.68.245.162 with SMTP id xp2mr5039040pbc.69.1396505887322; Wed, 02 Apr 2014 23:18:07 -0700 (PDT) X-Received: by 10.68.245.162 with SMTP id xp2mr5039033pbc.69.1396505887261; Wed, 02 Apr 2014 23:18:07 -0700 (PDT) Received: from localhost ([198.137.200.11]) by mx.google.com with ESMTPSA id ci4sm8682280pbb.50.2014.04.02.23.18.05 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 02 Apr 2014 23:18:06 -0700 (PDT) From: Loc Ho To: a.zummo@towertech.it Cc: rtc-linux@googlegroups.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, jcm@redhat.com, patches@apm.com, Loc Ho , Rameshwar Prasad Sahu Subject: [rtc-linux] [PATCH v3 1/3] Documentation: Add documentation for the APM X-Gene SoC RTC DTS binding Date: Thu, 3 Apr 2014 00:17:51 -0600 Message-Id: <1396505873-5507-2-git-send-email-lho@apm.com> X-Mailer: git-send-email 1.5.5 In-Reply-To: <1396505873-5507-1-git-send-email-lho@apm.com> References: <1396505873-5507-1-git-send-email-lho@apm.com> X-Original-Sender: lho@apm.com X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of lho@apm.com designates 64.18.0.160 as permitted sender) smtp.mail=lho@apm.com Reply-To: rtc-linux@googlegroups.com Precedence: list Mailing-list: list rtc-linux@googlegroups.com; contact rtc-linux+owners@googlegroups.com List-ID: X-Google-Group-Id: 712029733259 List-Post: , List-Help: , List-Archive: Sender: rtc-linux@googlegroups.com List-Subscribe: , List-Unsubscribe: , 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>; +};