summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Drake <drake@endlessm.com>2014-07-16 09:50:05 +0100
committerMarek Szyprowski <m.szyprowski@samsung.com>2014-07-17 07:45:18 +0200
commit8a12b2b03b6c7bd41fbdb9f14a42c468f354b92a (patch)
treeeec997bae2235a15ebf104159cc5831ebd222a5b
parent94e73bb97ae020fc56a3d048b1e68f24a034efda (diff)
downloadlinux-3.10-8a12b2b03b6c7bd41fbdb9f14a42c468f354b92a.tar.gz
linux-3.10-8a12b2b03b6c7bd41fbdb9f14a42c468f354b92a.tar.bz2
linux-3.10-8a12b2b03b6c7bd41fbdb9f14a42c468f354b92a.zip
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> Change-Id: I67bb3df2f61d44a83ac96f57fc64cd1378f90cc4 Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
-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 efb2683aa9b..a20a5770c1c 100644
--- a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi
+++ b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi
@@ -125,6 +125,10 @@
max77686_pmic@09 {
compatible = "maxim,max77686";
+ interrupt-parent = <&gpx3>;
+ interrupts = <2 0>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&max77686_irq>;
reg = <0x09>;
voltage-regulators {
@@ -548,6 +552,13 @@
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>;