[3.11.y.z extended stable] Patch "ARM: dts: Add max77686 RTC interrupt to cros5250-common" has been added to staging queue

Luis Henriques luis.henriques at canonical.com
Thu Dec 5 11:21:25 UTC 2013


This is a note to let you know that I have just added a patch titled

    ARM: dts: Add max77686 RTC interrupt to cros5250-common

to the linux-3.11.y-queue branch of the 3.11.y.z extended stable tree 
which can be found at:

 http://kernel.ubuntu.com/git?p=ubuntu/linux.git;a=shortlog;h=refs/heads/linux-3.11.y-queue

If you, or anyone else, feels it should not be added to this tree, please 
reply to this email.

For more information about the 3.11.y.z tree, see
https://wiki.ubuntu.com/Kernel/Dev/ExtendedStable

Thanks.
-Luis

------

>From 5cfa822e26c9b9f8e5449d392f1318e3bd517f46 Mon Sep 17 00:00:00 2001
From: Doug Anderson <dianders at chromium.org>
Date: Wed, 23 Oct 2013 06:11:01 -0700
Subject: ARM: dts: Add max77686 RTC interrupt to cros5250-common

commit c61248afa8190ae3f47ee67f46e3c9b584a73d31 upstream.

Without the interrupt you'll get problems if you enable
CONFIG_RTC_DRV_MAX77686.  Setup the interrupt properly in the device
tree.

Signed-off-by: Doug Anderson <dianders at chromium.org>
Tested-by: Marc Zyngier <marc.zyngier at arm.com>
Signed-off-by: Olof Johansson <olof at lixom.net>
Signed-off-by: Luis Henriques <luis.henriques at canonical.com>
---
 arch/arm/boot/dts/cros5250-common.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm/boot/dts/cros5250-common.dtsi b/arch/arm/boot/dts/cros5250-common.dtsi
index dc259e8b..9b186ac 100644
--- a/arch/arm/boot/dts/cros5250-common.dtsi
+++ b/arch/arm/boot/dts/cros5250-common.dtsi
@@ -27,6 +27,13 @@
 		i2c2_bus: i2c2-bus {
 			samsung,pin-pud = <0>;
 		};
+
+		max77686_irq: max77686-irq {
+			samsung,pins = "gpx3-2";
+			samsung,pin-function = <0>;
+			samsung,pin-pud = <0>;
+			samsung,pin-drv = <0>;
+		};
 	};

 	i2c at 12C60000 {
@@ -35,6 +42,11 @@

 		max77686 at 09 {
 			compatible = "maxim,max77686";
+			interrupt-parent = <&gpx3>;
+			interrupts = <2 0>;
+			pinctrl-names = "default";
+			pinctrl-0 = <&max77686_irq>;
+			wakeup-source;
 			reg = <0x09>;

 			voltage-regulators {
--
1.8.3.2





More information about the kernel-team mailing list