ARM: dts: Enable PMIC interrupts on ODROID
authorDaniel Drake <drake@endlessm.com>
Wed, 16 Jul 2014 08:50:05 +0000 (09:50 +0100)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 03:00:04 +0000 (12:00 +0900)
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>
Change-Id: I67bb3df2f61d44a83ac96f57fc64cd1378f90cc4
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
arch/arm/boot/dts/exynos4412-odroid-common.dtsi

index efb2683..a20a577 100644 (file)
 
                max77686_pmic@09 {
                        compatible = "maxim,max77686";
+                       interrupt-parent = <&gpx3>;
+                       interrupts = <2 0>;
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&max77686_irq>;
                        reg = <0x09>;
 
                        voltage-regulators {
                samsung,pin-pud = <0>;
        };
 
+       max77686_irq: max77686-irq {
+               samsung,pins = "gpx3-2";
+               samsung,pin-function = <0>;
+               samsung,pin-pud = <0>;
+               samsung,pin-drv = <0>;
+       };
+
        sd_cdn: sd_cdn {
                samsung,pins = "gpk2-2";
                samsung,pin-pud = <0>;