ARM: dts: Enable PMIC interrupts for exynos4412-odroid-common
authorDaniel Drake <drake@endlessm.com>
Mon, 18 Aug 2014 16:39:50 +0000 (11:39 -0500)
committerKukjin Kim <kgene.kim@samsung.com>
Mon, 18 Aug 2014 16:39:50 +0000 (11:39 -0500)
The ODROID kernel shows that the PMIC interrupt line is hooked up
to pin GPX3-2.

This is needed for the max77686-irq driver to create the PMIC IRQ
domain, which is needed by max77686-rtc.

Signed-off-by: Daniel Drake <drake@endlessm.com>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Tested-by: Tomeu Vizoso <tomeu@tomeuvizoso.net>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/boot/dts/exynos4412-odroid-common.dtsi

index 6d6d23c83d30a70e63eae3f5d04d9b8a77da8013..cb6f55f24ccfbdc88c9f90bcd4d8ac2a4d6d3647 100644 (file)
 
                max77686: pmic@09 {
                        compatible = "maxim,max77686";
+                       interrupt-parent = <&gpx3>;
+                       interrupts = <2 0>;
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&max77686_irq>;
                        reg = <0x09>;
                        #clock-cells = <1>;
 
                samsung,pins = "gpx1-3";
                samsung,pin-pud = <0>;
        };
+
+       max77686_irq: max77686-irq {
+               samsung,pins = "gpx3-2";
+               samsung,pin-function = <0>;
+               samsung,pin-pud = <0>;
+               samsung,pin-drv = <0>;
+       };
 };