From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754062AbaCJStm (ORCPT ); Mon, 10 Mar 2014 14:49:42 -0400 Received: from smtp.codeaurora.org ([198.145.11.231]:37195 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752563AbaCJSrq (ORCPT ); Mon, 10 Mar 2014 14:47:46 -0400 From: Josh Cartwright To: Andrew Morton , Alessandro Zummo , linux-kernel@vger.kernel.org Cc: linux-arm-msm@vger.kernel.org, rtc-linux@googlegroups.com, Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Rob Landley , devicetree@vger.kernel.org, linux-doc@vger.kernel.org Subject: [PATCH v2 6/6] documentation: bindings: document PMIC8921/8058 RTC Date: Mon, 10 Mar 2014 13:44:49 -0500 Message-Id: <1394477089-3996-7-git-send-email-joshc@codeaurora.org> X-Mailer: git-send-email 1.9.0 In-Reply-To: <1394477089-3996-1-git-send-email-joshc@codeaurora.org> References: <1394477089-3996-1-git-send-email-joshc@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This RTC is found on the Qualcomm 8921 and 8058 PMICs. Signed-off-by: Josh Cartwright --- .../devicetree/bindings/rtc/qcom,pm8xxx-rtc.txt | 21 +++++++++++++++++++++ 1 file changed, 21 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..3eaa582 --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/qcom,pm8xxx-rtc.txt @@ -0,0 +1,21 @@ +* 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 +- interrupts: interrupt list for the RTC, must contain a single interrupt + specifier for the alarm interrupt + +Optional properties: +- allow-set-time: indicates that the setting of RTC time is allowed by + the host CPU + +Example: + + rtc@11d { + compatible = "qcom,pm8921-rtc"; + reg = <0x11d>; + interrupts = <0x27 0>; + }; -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation