Commit 7eef616f authored by Fabrizio Castro's avatar Fabrizio Castro Committed by Simon Horman

ARM: dts: iwg23s-sbc: Fix SDHI2 VccQ regulator

SDR50 isn't working anymore because the GPIO regulator
driver is using descriptors since
commit d6cd33ad ("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: 9eb36b94 ("ARM: dts: iwg23s-sbc: Add uSD and eMMC support")
Signed-off-by: default avatarFabrizio Castro <fabrizio.castro@bp.renesas.com>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent d211650a
......@@ -63,7 +63,7 @@ vccq_sdhi2: regulator-vccq-sdhi2 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
gpios = <&gpio2 24 GPIO_ACTIVE_LOW>;
gpios = <&gpio2 24 GPIO_ACTIVE_HIGH>;
gpios-states = <1>;
states = <3300000 1
1800000 0>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment