ARM: dts: exynos: Disable pull control for PMIC IRQ line on Artik5 board
authorMarek Szyprowski <m.szyprowski@samsung.com>
Fri, 7 Sep 2018 07:46:59 +0000 (09:46 +0200)
committerKrzysztof Kozlowski <krzk@kernel.org>
Mon, 10 Sep 2018 16:55:37 +0000 (18:55 +0200)
S2MPS14 PMIC interrupt line on Exynos3250-based Artik5 evaluation board
has external pull-up resistors, so disable any pull control for it in
controller node. This fixes support for S2MPS14 PMIC interrupts and
enables operation of wakeup from S2MPS14 RTC alarm.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
arch/arm/boot/dts/exynos3250-artik5.dtsi

index 620b50c..7c22cbf 100644 (file)
@@ -69,6 +69,8 @@
                compatible = "samsung,s2mps14-pmic";
                interrupt-parent = <&gpx3>;
                interrupts = <5 IRQ_TYPE_NONE>;
+               pinctrl-names = "default";
+               pinctrl-0 = <&s2mps14_irq>;
                reg = <0x66>;
 
                s2mps14_osc: clocks {
                samsung,pin-drv = <EXYNOS4_PIN_DRV_LV3>;
                samsung,pin-val = <1>;
        };
+
+       s2mps14_irq: s2mps14-irq {
+               samsung,pins = "gpx3-5";
+               samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
+       };
 };
 
 &rtc {