From: Krzysztof Kozlowski Date: Sat, 30 May 2015 06:33:21 +0000 (+0900) Subject: ARM: dts: odroidxu3: Enable wake alarm of S2MPS11 RTC X-Git-Tag: submit/tizen/20160405.082219~78 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8f7da64d8a67a683baa99ef40841da738b461a45;p=platform%2Fkernel%2Flinux-exynos.git ARM: dts: odroidxu3: Enable wake alarm of S2MPS11 RTC 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 Change-Id: I3aa4d802ca9ff19f7b9cda2bbb178476aca19a9a Signed-off-by: Krzysztof Kozlowski Reviewed-by: Javier Martinez Canillas Signed-off-by: Kukjin Kim --- diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3.dts b/arch/arm/boot/dts/exynos5422-odroidxu3.dts index 8d789ebc484d..6b8f9cc8afd2 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 "exynos5800.dtsi" @@ -76,6 +77,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", @@ -468,6 +474,13 @@ samsung,pin-pud = <1>; samsung,pin-drv = <0>; }; + + s2mps11_irq: s2mps11-irq { + samsung,pins = "gpx0-4"; + samsung,pin-function = <0xf>; + samsung,pin-pud = <0>; + samsung,pin-drv = <0>; + }; }; &pinctrl_1 {