]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
ARM: dts: iwg20d-q7-common: Fix SDHI1 VccQ regularor
authorFabrizio Castro <fabrizio.castro@bp.renesas.com>
Mon, 3 Jun 2019 09:53:51 +0000 (10:53 +0100)
committerKhalid Elmously <khalid.elmously@canonical.com>
Fri, 14 Feb 2020 05:29:37 +0000 (00:29 -0500)
BugLink: https://bugs.launchpad.net/bugs/1863019
[ Upstream commit d211650a87edc7f4130651c0ccbc0a4583fd72d3 ]

SDR50 isn't working anymore because the GPIO regulator
driver is using descriptors since
commit d6cd33ad7102 ("regulator: gpio: Convert to use descriptors")
which in turn causes the system to use the polarity of the
GPIOs (as specified in the DT) for selecting the states,
but the polarity specified in the DT is wrong.
This patch fixes the regulator DT definition, and that fixes
SDR50.

Fixes: 029efb3a03c5 ("ARM: dts: iwg20d-q7: Add SDHI1 support")
Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
arch/arm/boot/dts/iwg20d-q7-common.dtsi

index efd8af9242d12fcfc909d33bd99e8729acf2cfee..4e9a76564bbf1d992353edd5ce24a6559481f678 100644 (file)
@@ -36,7 +36,7 @@
                regulator-min-microvolt = <1800000>;
                regulator-max-microvolt = <3300000>;
 
-               gpios = <&gpio2 30 GPIO_ACTIVE_LOW>;
+               gpios = <&gpio2 30 GPIO_ACTIVE_HIGH>;
                gpios-states = <1>;
                states = <3300000 1
                          1800000 0>;