ARM: dts: exynos: Configure max77686 IRQ pin on Midas
authorSimon Shields <simon@lineageos.org>
Sat, 21 Jul 2018 12:50:52 +0000 (22:50 +1000)
committerKrzysztof Kozlowski <krzk@kernel.org>
Mon, 23 Jul 2018 17:11:31 +0000 (19:11 +0200)
This pin is externally pulled up, so we need to disable the
SoC's internal pull-down.

Signed-off-by: Simon Shields <simon@lineageos.org>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
arch/arm/boot/dts/exynos4412-midas.dtsi

index 58b298d8441c54949ed98916c8ba2e9150261b1e..dd56e4d531456c1c0e6f9187e46af735a0b585fc 100644 (file)
                compatible = "maxim,max77686";
                interrupt-parent = <&gpx0>;
                interrupts = <7 IRQ_TYPE_NONE>;
+               pinctrl-0 = <&max77686_irq>;
+               pinctrl-names = "default";
                reg = <0x09>;
                #clock-cells = <1>;
 
                samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
        };
 
+       max77686_irq: max77686-irq {
+               samsung,pins = "gpx0-7";
+               samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
+       };
+
        max77693_irq: max77693-irq {
                samsung,pins = "gpx1-5";
                samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;