diff options
author | Simon Shields <simon@lineageos.org> | 2018-07-21 14:50:52 +0200 |
---|---|---|
committer | Krzysztof Kozlowski <krzk@kernel.org> | 2018-07-23 19:11:31 +0200 |
commit | 73d2f79471f85bd9931e5e88307049e490f10970 (patch) | |
tree | f16a4b2fa39031c5a14a2f96dfc249c24b5248ee /arch/arm/boot/dts/exynos4412-midas.dtsi | |
parent | ARM: dts: exynos: Add pinctrl for Midas fuelgauge IRQ pin (diff) | |
download | linux-73d2f79471f85bd9931e5e88307049e490f10970.tar.xz linux-73d2f79471f85bd9931e5e88307049e490f10970.zip |
ARM: dts: exynos: Configure max77686 IRQ pin on Midas
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>
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 58b298d8441c..dd56e4d53145 100644 --- a/arch/arm/boot/dts/exynos4412-midas.dtsi +++ b/arch/arm/boot/dts/exynos4412-midas.dtsi @@ -580,6 +580,8 @@ compatible = "maxim,max77686"; interrupt-parent = <&gpx0>; interrupts = <7 IRQ_TYPE_NONE>; + pinctrl-0 = <&max77686_irq>; + pinctrl-names = "default"; reg = <0x09>; #clock-cells = <1>; @@ -1018,6 +1020,11 @@ 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>; |