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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Jan 2020 13:50:57 +0000 (14:50 +0100)
commit9b1b59b540ec38f9bce4ed1f9a68ea0a72c92c97
tree9bccc5ff3ca1cd29604459d230237202f1cb4bce
parenta2a73d6390de9c0c87c5fc4c485cbb004d39d662
ARM: dts: iwg20d-q7-common: Fix SDHI1 VccQ regularor

[ 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>
arch/arm/boot/dts/iwg20d-q7-common.dtsi