aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Drake <drake@endlessm.com>2014-07-16 04:50:05 -0400
committerOlof Johansson <olof@lixom.net>2014-08-19 17:12:26 -0400
commit4cde3733daa044961cdd3b9be63eee73c8b34589 (patch)
tree9803c85e1fb5a132485db88c7b68f631b86761da
parent7c3a9cd803c8d41aa56cedc1f04d123cf5e26dd7 (diff)
ARM: dts: Enable PMIC interrupts on ODROID
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> Tested-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Signed-off-by: Olof Johansson <olof@lixom.net>
-rw-r--r--arch/arm/boot/dts/exynos4412-odroid-common.dtsi11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi
index 6d6d23c83d30..cb6f55f24ccf 100644
--- a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi
+++ b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi
@@ -148,6 +148,10 @@
148 148
149 max77686: pmic@09 { 149 max77686: pmic@09 {
150 compatible = "maxim,max77686"; 150 compatible = "maxim,max77686";
151 interrupt-parent = <&gpx3>;
152 interrupts = <2 0>;
153 pinctrl-names = "default";
154 pinctrl-0 = <&max77686_irq>;
151 reg = <0x09>; 155 reg = <0x09>;
152 #clock-cells = <1>; 156 #clock-cells = <1>;
153 157
@@ -368,4 +372,11 @@
368 samsung,pins = "gpx1-3"; 372 samsung,pins = "gpx1-3";
369 samsung,pin-pud = <0>; 373 samsung,pin-pud = <0>;
370 }; 374 };
375
376 max77686_irq: max77686-irq {
377 samsung,pins = "gpx3-2";
378 samsung,pin-function = <0>;
379 samsung,pin-pud = <0>;
380 samsung,pin-drv = <0>;
381 };
371}; 382};