aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorFabrizio Castro <fabrizio.castro@bp.renesas.com>2019-06-03 10:53:51 +0100
committerSimon Horman <horms+renesas@verge.net.au>2019-06-21 09:45:36 +0200
commitd211650a87edc7f4130651c0ccbc0a4583fd72d3 (patch)
tree1e0604c419a558acb86e2d43241ca9e6ac2b0ebb
parentARM: dts: rza2mevb: Add input switch (diff)
downloadwireguard-linux-d211650a87edc7f4130651c0ccbc0a4583fd72d3.tar.xz
wireguard-linux-d211650a87edc7f4130651c0ccbc0a4583fd72d3.zip
ARM: dts: iwg20d-q7-common: Fix SDHI1 VccQ regularor
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>
-rw-r--r--arch/arm/boot/dts/iwg20d-q7-common.dtsi2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/iwg20d-q7-common.dtsi b/arch/arm/boot/dts/iwg20d-q7-common.dtsi
index e2b1ab9b56e5..ae75a1db3d9a 100644
--- a/arch/arm/boot/dts/iwg20d-q7-common.dtsi
+++ b/arch/arm/boot/dts/iwg20d-q7-common.dtsi
@@ -87,7 +87,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>;