aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/tegra20-medcom-wide.dts
diff options
context:
space:
mode:
authorDmitry Osipenko <digetx@gmail.com>2021-05-10 23:25:55 +0300
committerThierry Reding <treding@nvidia.com>2021-05-31 10:56:14 +0200
commit5f45da704de425d74abd75feaa928fc8a3df03ba (patch)
tree7259f86f97b50983f02750d32240b40356da5d2c /arch/arm/boot/dts/tegra20-medcom-wide.dts
parentARM: tegra: Add reg property to Tegra20 EMC table device-tree nodes (diff)
downloadlinux-dev-5f45da704de425d74abd75feaa928fc8a3df03ba.tar.xz
linux-dev-5f45da704de425d74abd75feaa928fc8a3df03ba.zip
ARM: tegra: wm8903: Fix polarity of headphones-detection GPIO in device-trees
All Tegra boards which use WM8903 audio codec are specifying a wrong polarity for the headphones detection GPIO. The kernel driver hardcodes the polarity to active-low, which is the correct polarity, so we can fix the device-trees safely. Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'arch/arm/boot/dts/tegra20-medcom-wide.dts')
-rw-r--r--arch/arm/boot/dts/tegra20-medcom-wide.dts2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/tegra20-medcom-wide.dts b/arch/arm/boot/dts/tegra20-medcom-wide.dts
index a348ca30e522..b31c9bca16e6 100644
--- a/arch/arm/boot/dts/tegra20-medcom-wide.dts
+++ b/arch/arm/boot/dts/tegra20-medcom-wide.dts
@@ -84,7 +84,7 @@
nvidia,audio-codec = <&wm8903>;
nvidia,spkr-en-gpios = <&wm8903 2 GPIO_ACTIVE_HIGH>;
- nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(W, 2) GPIO_ACTIVE_HIGH>;
+ nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(W, 2) GPIO_ACTIVE_LOW>;
clocks = <&tegra_car TEGRA20_CLK_PLL_A>,
<&tegra_car TEGRA20_CLK_PLL_A_OUT0>,