summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/exynos4412-midas.dtsi
diff options
context:
space:
mode:
authorSimon Shields <simon@lineageos.org>2018-07-21 15:50:51 +0300
committerKrzysztof Kozlowski <krzk@kernel.org>2018-07-23 20:10:48 +0300
commite2bae133b5c41af3fd82f26edfa3222242a7ae6e (patch)
tree443cfe4c99b0640d8588940fcc0ad8d5ff79652f /arch/arm/boot/dts/exynos4412-midas.dtsi
parent492413dd6d19448c40e2ac946b65f8e60dd306e1 (diff)
downloadlinux-e2bae133b5c41af3fd82f26edfa3222242a7ae6e.tar.xz
ARM: dts: exynos: Add pinctrl for Midas fuelgauge IRQ pin
This pin is externally pulled up, so we should disable the SoC's pull down resistor in order for the interrupt to function properly. 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.dtsi7
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 635e5ea87a6c..58b298d8441c 100644
--- a/arch/arm/boot/dts/exynos4412-midas.dtsi
+++ b/arch/arm/boot/dts/exynos4412-midas.dtsi
@@ -188,6 +188,8 @@
compatible = "maxim,max17047";
interrupt-parent = <&gpx2>;
interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&max77693_fuel_irq>;
reg = <0x36>;
maxim,over-heat-temp = <700>;
@@ -1021,6 +1023,11 @@
samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
};
+ max77693_fuel_irq: max77693-fuel-irq {
+ samsung,pins = "gpx2-3";
+ samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
+ };
+
hdmi_hpd: hdmi-hpd {
samsung,pins = "gpx3-7";
samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;