From patchwork Wed Mar 5 19:29:36 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josh Cartwright X-Patchwork-Id: 3778741 Return-Path: X-Original-To: patchwork-linux-arm-msm@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 65A0EBF540 for ; Wed, 5 Mar 2014 19:33:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8505420220 for ; Wed, 5 Mar 2014 19:33:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B593820219 for ; Wed, 5 Mar 2014 19:33:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755592AbaCETdN (ORCPT ); Wed, 5 Mar 2014 14:33:13 -0500 Received: from smtp.codeaurora.org ([198.145.11.231]:59864 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753986AbaCETc0 (ORCPT ); Wed, 5 Mar 2014 14:32:26 -0500 Received: from smtp.codeaurora.org (localhost [127.0.0.1]) by smtp.codeaurora.org (Postfix) with ESMTP id 1C5C913EF20; Wed, 5 Mar 2014 19:32:26 +0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 486) id 0E3A313F14D; Wed, 5 Mar 2014 19:32:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,KHOP_BIG_TO_CC, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from joshc.qualcomm.com (rrcs-67-52-129-61.west.biz.rr.com [67.52.129.61]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: joshc@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id C33B613EF20; Wed, 5 Mar 2014 19:32:25 +0000 (UTC) Received: by joshc.qualcomm.com (Postfix, from userid 1000) id 5A7CE63536; Wed, 5 Mar 2014 13:29:38 -0600 (CST) From: Josh Cartwright To: Alessandro Zummo , linux-kernel@vger.kernel.org Cc: linux-arm-msm@vger.kernel.org, Stephen Boyd , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Rob Landley , devicetree@vger.kernel.org, linux-doc@vger.kernel.org Subject: [PATCH 6/6] documentation: bindings: document PMIC8921/8058 RTC Date: Wed, 5 Mar 2014 13:29:36 -0600 Message-Id: <1394047776-13827-7-git-send-email-joshc@codeaurora.org> X-Mailer: git-send-email 1.9.0 In-Reply-To: <1394047776-13827-1-git-send-email-joshc@codeaurora.org> References: <1394047776-13827-1-git-send-email-joshc@codeaurora.org> X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Spam-Level: * X-Virus-Scanned: ClamAV using ClamSMTP This RTC is found on the Qualcomm 8921 and 8058 PMICs. Signed-off-by: Josh Cartwright --- .../devicetree/bindings/rtc/qcom,pm8xxx-rtc.txt | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/qcom,pm8xxx-rtc.txt diff --git a/Documentation/devicetree/bindings/rtc/qcom,pm8xxx-rtc.txt b/Documentation/devicetree/bindings/rtc/qcom,pm8xxx-rtc.txt new file mode 100644 index 0000000..699bd30 --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/qcom,pm8xxx-rtc.txt @@ -0,0 +1,29 @@ +* Real-Time Clock for Qualcomm 8058/8921 PMICs + +Required properties: +- compatible: should be one of the following. + * "qcom,pm8058-rtc" + * "qcom,pm8921-rtc" +- reg: base address of the register region +- reg-names: corresponding reg names for the regions listed in the 'reg' + property, must contain: + "rtc_base" - base of the RTC register region +- interrupts: interrupt list for the RTC, must contain a single interrupt + specifier for the alarm interrupt +- interrupt-names: corresponding interrupt names for the interrupts listed in + the 'interrupts' property, must contain: + "alarm" - summary interrupt for PMIC peripherals + +Option properties: +- linux,allow-set-time: indicates that the setting of RTC time is allowed by + the host CPU + +Example: + + rtc { + compatible = "qcom,pm8921-rtc"; + reg = <0x11D>; + reg-names = "rtc_base"; + interrupts = <0x27 0>; + interrupt-names = "alarm"; + };