From patchwork Mon May 25 11:44:13 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 6473701 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id C38FEC0020 for ; Mon, 25 May 2015 11:45:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 635822041A for ; Mon, 25 May 2015 11:45:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A02362049C for ; Mon, 25 May 2015 11:45:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752187AbbEYLou (ORCPT ); Mon, 25 May 2015 07:44:50 -0400 Received: from mail-pd0-f171.google.com ([209.85.192.171]:33234 "EHLO mail-pd0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751520AbbEYLot (ORCPT ); Mon, 25 May 2015 07:44:49 -0400 Received: by pdbqa5 with SMTP id qa5so68563004pdb.0; Mon, 25 May 2015 04:44:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=0/owdjGHC86I+eLJlqNoVBODTzcfnE9zXnjmWDRaS1k=; b=uvBVUO7CQTX45xKZyvOONiZXV6LZbtqyq3Ej76dam1Ofd7qDC9tGxNNIU2vF+gz5DA HQuO5hXrnxVxyRDt7swxyoTSlBZrZuXLq7ZdDZ3/BAc8GPz2MMMQZ86qFAI3yxocWJoH fkAdmbKuy0p42oaq/NBGb8TplpRUQvZ5YDga7ks5XHoRLjO4KP1oVNqA086ABB8JaoDN MHLc0RDy+xXnE1Avff6qbpesJZWbP2rRgrhB6un8e0Y4BymQp3DmdZa28xmqX13gp/Lf Mo8hURx9Xsf7TzgeX8di1Njn/D+BN169g+Kv4UTc23D/CBEW+CaaIYv4XJiIYSW35r4A 4+2w== X-Received: by 10.66.216.161 with SMTP id or1mr39121072pac.34.1432554289370; Mon, 25 May 2015 04:44:49 -0700 (PDT) Received: from localhost.localdomain ([125.130.175.98]) by mx.google.com with ESMTPSA id fk10sm9896650pab.18.2015.05.25.04.44.46 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 25 May 2015 04:44:48 -0700 (PDT) From: Krzysztof Kozlowski To: Kukjin Kim , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Javier Martinez Canillas , Krzysztof Kozlowski Subject: [PATCH] ARM: dts: odroidxu3: Enable wake alarm of S2MPS11 RTC Date: Mon, 25 May 2015 20:44:13 +0900 Message-Id: <1432554253-25886-1-git-send-email-k.kozlowski.k@gmail.com> X-Mailer: git-send-email 2.1.4 Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 The IRQB of S2MPS11 PMIC is wired to XEINT4 (GPX0-4) through pull-up resistor. Add interrupt properties and pinctrl configuration to enable RTC wake alarm of rtc-s5m driver. This also removes a warning: sec_pmic 4-0066: No interrupt specified, no interrupts Signed-off-by: Krzysztof Kozlowski Reviewed-by: Javier Martinez Canillas --- arch/arm/boot/dts/exynos5422-odroidxu3.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3.dts b/arch/arm/boot/dts/exynos5422-odroidxu3.dts index c16987950aa1..27014bb0c586 100644 --- a/arch/arm/boot/dts/exynos5422-odroidxu3.dts +++ b/arch/arm/boot/dts/exynos5422-odroidxu3.dts @@ -12,6 +12,7 @@ /dts-v1/; #include +#include #include #include #include "exynos5800.dtsi" @@ -153,6 +154,11 @@ s2mps11,buck3-ramp-enable = <1>; s2mps11,buck4-ramp-enable = <1>; + interrupt-parent = <&gpx0>; + interrupts = <4 IRQ_TYPE_EDGE_FALLING>; + pinctrl-names = "default"; + pinctrl-0 = <&s2mps11_irq>; + s2mps11_osc: clocks { #clock-cells = <1>; clock-output-names = "s2mps11_ap", @@ -473,6 +479,13 @@ samsung,pin-pud = <0>; samsung,pin-drv = <0>; }; + + s2mps11_irq: s2mps11-irq { + samsung,pins = "gpx0-4"; + samsung,pin-function = <0xf>; + samsung,pin-pud = <0>; + samsung,pin-drv = <0>; + }; }; &pwm {