diff options
author | Dmitry Osipenko <digetx@gmail.com> | 2021-05-10 22:25:55 +0200 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2021-05-31 10:56:14 +0200 |
commit | 5f45da704de425d74abd75feaa928fc8a3df03ba (patch) | |
tree | 7259f86f97b50983f02750d32240b40356da5d2c /arch/arm/boot/dts/tegra20-tec.dts | |
parent | ARM: tegra: Add reg property to Tegra20 EMC table device-tree nodes (diff) | |
download | linux-5f45da704de425d74abd75feaa928fc8a3df03ba.tar.xz linux-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-tec.dts')
-rw-r--r-- | arch/arm/boot/dts/tegra20-tec.dts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/tegra20-tec.dts b/arch/arm/boot/dts/tegra20-tec.dts index 44ced60315de..10ff09d86efa 100644 --- a/arch/arm/boot/dts/tegra20-tec.dts +++ b/arch/arm/boot/dts/tegra20-tec.dts @@ -61,7 +61,7 @@ nvidia,spkr-en-gpios = <&wm8903 2 GPIO_ACTIVE_HIGH>; nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(W, 2) - GPIO_ACTIVE_HIGH>; + GPIO_ACTIVE_LOW>; clocks = <&tegra_car TEGRA20_CLK_PLL_A>, <&tegra_car TEGRA20_CLK_PLL_A_OUT0>, |