]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: mediatek: fix reset GPIO level on pumpkin
authorFabien Parent <fparent@baylibre.com>
Tue, 23 Feb 2021 22:18:26 +0000 (23:18 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 May 2021 08:49:42 +0000 (10:49 +0200)
[ Upstream commit a7dceafed43a4a610d340da3703653cca2c50c1d ]

The tca6416 chip is active low. Fix the reset-gpios value.

Fixes: e2a8fa1e0faa ("arm64: dts: mediatek: fix tca6416 reset GPIOs in pumpkin")
Signed-off-by: Fabien Parent <fparent@baylibre.com>
Link: https://lore.kernel.org/r/20210223221826.2063911-1-fparent@baylibre.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/mediatek/pumpkin-common.dtsi

index 63fd70086bb85ed66b08027a41e0ee8b8fd5ebb6..9f27e7ed5e225761365558e7f19378f1237ea445 100644 (file)
@@ -56,7 +56,7 @@
        tca6416: gpio@20 {
                compatible = "ti,tca6416";
                reg = <0x20>;
-               reset-gpios = <&pio 65 GPIO_ACTIVE_HIGH>;
+               reset-gpios = <&pio 65 GPIO_ACTIVE_LOW>;
                pinctrl-names = "default";
                pinctrl-0 = <&tca6416_pins>;