diff options
author | Simon Shields <simon@lineageos.org> | 2018-07-21 15:50:49 +0300 |
---|---|---|
committer | Krzysztof Kozlowski <krzk@kernel.org> | 2018-07-23 20:09:09 +0300 |
commit | 43efe4fab743149df2310c3293c8f7f4fb3a53e1 (patch) | |
tree | ac545206b4c13e86a1db2968a60127f408c2dc6a /arch/arm/boot/dts/exynos4412-midas.dtsi | |
parent | eac058068107152ca176ec04c28e84499e596a49 (diff) | |
download | linux-43efe4fab743149df2310c3293c8f7f4fb3a53e1.tar.xz |
ARM: dts: exynos: Add max77693 pinctrl config for Midas
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>
Diffstat (limited to 'arch/arm/boot/dts/exynos4412-midas.dtsi')
-rw-r--r-- | arch/arm/boot/dts/exynos4412-midas.dtsi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/exynos4412-midas.dtsi b/arch/arm/boot/dts/exynos4412-midas.dtsi index dc11ca1673e8..4a194a35b8a0 100644 --- a/arch/arm/boot/dts/exynos4412-midas.dtsi +++ b/arch/arm/boot/dts/exynos4412-midas.dtsi @@ -138,6 +138,8 @@ compatible = "maxim,max77693"; interrupt-parent = <&gpx1>; interrupts = <5 IRQ_TYPE_EDGE_FALLING>; + pinctrl-names = "default"; + pinctrl-0 = <&max77693_irq>; reg = <0x66>; regulators { @@ -1007,6 +1009,11 @@ 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>; |