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>
This commit is contained in:
Simon Shields 2018-07-21 22:50:51 +10:00 committed by Krzysztof Kozlowski
parent 492413dd6d
commit e2bae133b5

View File

@ -188,6 +188,8 @@ max77693-fuel-gauge@36 {
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 @@ max77693_irq: max77693-irq {
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>;