From patchwork Thu Jul 3 13:14:02 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanimir Varbanov X-Patchwork-Id: 4473131 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 2265EBEEAA for ; Thu, 3 Jul 2014 13:18:11 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 658A52028D for ; Thu, 3 Jul 2014 13:18:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 55E74201CD for ; Thu, 3 Jul 2014 13:18:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757601AbaGCNRZ (ORCPT ); Thu, 3 Jul 2014 09:17:25 -0400 Received: from ns.mm-sol.com ([37.157.136.199]:35210 "EHLO extserv.mm-sol.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757408AbaGCNRE (ORCPT ); Thu, 3 Jul 2014 09:17:04 -0400 Received: from localhost.localdomain (unknown [37.157.136.206]) by extserv.mm-sol.com (Postfix) with ESMTPSA id 5D0384F881; Thu, 3 Jul 2014 16:17:02 +0300 (EEST) From: Stanimir Varbanov To: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Rob Herring , Kumar Gala , Grant Likely , Courtney Cavin , Lee Jones , Josh Cartwright , Stanimir Varbanov Subject: [RFC PATCH v2 4/5] dt: msm8974: add qpnp rtc device node Date: Thu, 3 Jul 2014 16:14:02 +0300 Message-Id: <1404393243-7324-5-git-send-email-svarbanov@mm-sol.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1404393243-7324-1-git-send-email-svarbanov@mm-sol.com> References: <1404393243-7324-1-git-send-email-svarbanov@mm-sol.com> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add QPNP RTC device tree node. The RTC device resides into pm8941 and is attached on usid0. Signed-off-by: Stanimir Varbanov --- arch/arm/boot/dts/qcom-msm8974.dtsi | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi index 9166b8e..f6fe27b 100644 --- a/arch/arm/boot/dts/qcom-msm8974.dtsi +++ b/arch/arm/boot/dts/qcom-msm8974.dtsi @@ -3,6 +3,7 @@ #include "skeleton.dtsi" #include +#include #include / { @@ -258,6 +259,13 @@ reg = <0x0 SPMI_USID>; #address-cells = <1>; #size-cells = <0>; + + pm8941_rtc@6000 { + compatible = "qcom,qpnp-rtc"; + reg = <0x6000 0x6100>; + reg-names = "rtc", "alarm"; + interrupts = <0x0 0x61 0x1 IRQ_TYPE_EDGE_RISING>; + }; }; usid1: pm8941@1 {