]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
ARM: dts: exynos: Add max77693 pinctrl config for Midas
authorSimon Shields <simon@lineageos.org>
Sat, 21 Jul 2018 12:50:49 +0000 (22:50 +1000)
committerKrzysztof Kozlowski <krzk@kernel.org>
Mon, 23 Jul 2018 17:09:09 +0000 (19:09 +0200)
Currently, we assume that the bootloader has correctly configured
the interrupt pin for max77693. This might not actually be the case -
so it's better to configure it explicitly.

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

index dc11ca1673e8b21f9c49e7982813a6e2fd3e0d1a..4a194a35b8a031d5cde808b2cc486bba868cdfd4 100644 (file)
                        compatible = "maxim,max77693";
                        interrupt-parent = <&gpx1>;
                        interrupts = <5 IRQ_TYPE_EDGE_FALLING>;
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&max77693_irq>;
                        reg = <0x66>;
 
                        regulators {
        pinctrl-names = "default";
        pinctrl-0 = <&sleep1>;
 
+       max77693_irq: max77693-irq {
+               samsung,pins = "gpx1-5";
+               samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
+       };
+
        hdmi_hpd: hdmi-hpd {
                samsung,pins = "gpx3-7";
                samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;