From patchwork Mon Mar 31 17:36:08 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Loc Ho X-Patchwork-Id: 335522 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-ig0-x23e.google.com (mail-ig0-x23e.google.com [IPv6:2607:f8b0:4001:c05::23e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id ABEBA1400B1 for ; Tue, 1 Apr 2014 04:36:29 +1100 (EST) Received: by mail-ig0-f190.google.com with SMTP id c1sf238844igq.17 for ; Mon, 31 Mar 2014 10:36:26 -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=DXbpPfLbJM95Q/ENpM/YvlhuHIUBBpB7C+tCAVQgVXM=; b=eipihrLJ6GYhUTUBLN/ScokViDYTcuxQqiLOu2Xq45WkyGNTur99ETBStWgFRSwsrC lmG1TLi5I+W3npQZWmPtMPD33DWGbrKV2eP65bKlafe7HkK8VcGu1n3qINScWWTwSzEs zeqslP/cDJ/Uv/tVSSaMfkb5JDTkJ6OPQdP/AFK3o5Pz7ydkpvtTpZVjFpRRThZeoi1G fN4MZ574WD/KzZlR/UgO/m9u+jNn5NbYNXC9svxxWomGR5o3BISEQfgL0FnBg7m7NLoT InUVUvRFAsTFBhQRzZHiCV0X/PhiUgneAuVrCbTCR2d+FZFZHDFSzIpKj9VeVlcyoyQM WCYw== 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=DXbpPfLbJM95Q/ENpM/YvlhuHIUBBpB7C+tCAVQgVXM=; b=C+SzB88ZNQPKuUfnJOkRkX6pGGp8xBkL0iOZcoy30aajo0taG+evC0E4mxlx59J54q SF0ZWuLe/s2w/yBp4jF12FbROaYeVBfsQ9qRF1j291F5O/1U15cPQy3Y73Zso2ab0cZx tT4nAvYsLrnYhM5sipYtdTmyuXeDMTC8fjFNKjSltuLBWNiG2pEoyWgLBXLM5XtnaiuC Y42IWgpr2gFxoK2fPZNs0fEdxxl8gsKFH7n4Jb470bT4En15lwAfqz+RXE4GIgMST+ls IGPi8n3PPC1CM5xbayDBbCbiV2EkcOSbey9M+xmVrNeYLOagRwbyf/3SAl8/beFXFzYt 51bA== X-Received: by 10.140.91.45 with SMTP id y42mr167118qgd.26.1396287386553; Mon, 31 Mar 2014 10:36:26 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.140.107.198 with SMTP id h64ls2567529qgf.84.gmail; Mon, 31 Mar 2014 10:36:26 -0700 (PDT) X-Received: by 10.236.83.112 with SMTP id p76mr8638909yhe.51.1396287386320; Mon, 31 Mar 2014 10:36:26 -0700 (PDT) Received: from exprod5og108.obsmtp.com (exprod5og108.obsmtp.com [64.18.0.186]) by gmr-mx.google.com with SMTP id hf9si695640pac.1.2014.03.31.10.36.25 for ; Mon, 31 Mar 2014 10:36:26 -0700 (PDT) Received-SPF: pass (google.com: domain of lho@apm.com designates 64.18.0.186 as permitted sender) client-ip=64.18.0.186; Received: from mail-pb0-f45.google.com ([209.85.160.45]) (using TLSv1) by exprod5ob108.postini.com ([64.18.4.12]) with SMTP ID DSNKUzmnmZ7tW/wjaAsZpLwkYx3fz+vgjU6E@postini.com; Mon, 31 Mar 2014 10:36:26 PDT Received: by mail-pb0-f45.google.com with SMTP id uo5so8506850pbc.4 for ; Mon, 31 Mar 2014 10:36:25 -0700 (PDT) X-Gm-Message-State: ALoCoQll6IKHQS3NfrpyEIhUkGHo6dKGmHvtyXhRXNWH6S+NHTLbEXaHYJUXVywFslOn2mjusTvejV4bLGJ26QrXy2rz7oxhUZNMPMGSwCAyXh720a//QhWfBrYaj2doWoc6CWExWkKhDA/sM9oVEsTGoYYavqHkkvt5Q8ME1sIcBVUz6w2AVrg= X-Received: by 10.66.243.70 with SMTP id ww6mr26456113pac.47.1396287385410; Mon, 31 Mar 2014 10:36:25 -0700 (PDT) X-Received: by 10.66.243.70 with SMTP id ww6mr26456104pac.47.1396287385347; Mon, 31 Mar 2014 10:36:25 -0700 (PDT) Received: from localhost ([198.137.200.11]) by mx.google.com with ESMTPSA id ss2sm43472816pab.8.2014.03.31.10.36.24 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 31 Mar 2014 10:36:24 -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 v2 1/3] Documentation: Add documentation for the APM X-Gene SoC RTC DTS binding Date: Mon, 31 Mar 2014 11:36:08 -0600 Message-Id: <1396287370-1011-2-git-send-email-lho@apm.com> X-Mailer: git-send-email 1.5.5 In-Reply-To: <1396287370-1011-1-git-send-email-lho@apm.com> References: <1396287370-1011-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.186 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 | 28 ++++++++++++++++++++ 1 files changed, 28 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..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>; +};