Re: [PATCH 1/2] ARM: dts: Enable PMIC interrupts on ODROID

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/12/14 08:06, Tomeu Vizoso wrote:
Tested on an Odroid-U2:

Tested-by: Tomeu Vizoso<tomeu@xxxxxxxxxxxxxxx>

Thanks,

Tomeu


On 16 July 2014 10:50, Daniel Drake<drake@xxxxxxxxxxxx>  wrote:
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@xxxxxxxxxxxx>
---
  arch/arm/boot/dts/exynos4412-odroid-common.dtsi | 11 +++++++++++
  1 file changed, 11 insertions(+)

diff --git a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi
index 6d6d23c..cb6f55f 100644
--- a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi
+++ b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi
@@ -148,6 +148,10 @@

                 max77686: pmic@09 {
                         compatible = "maxim,max77686";
+                       interrupt-parent =<&gpx3>;
+                       interrupts =<2 0>;
+                       pinctrl-names = "default";
+                       pinctrl-0 =<&max77686_irq>;
                         reg =<0x09>;
                         #clock-cells =<1>;

@@ -368,4 +372,11 @@
                 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>;
+       };
  };

Thanks, applied this series.

- Kukjin
--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SoC Development]     [Linux Rockchip Development]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Linux SCSI]     [Yosemite News]

  Powered by Linux