diff options
author | Dmitry Osipenko <digetx@gmail.com> | 2021-05-10 23:25:55 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2021-05-31 10:56:14 +0200 |
commit | 5f45da704de425d74abd75feaa928fc8a3df03ba (patch) | |
tree | 7259f86f97b50983f02750d32240b40356da5d2c /arch/arm/boot/dts/tegra20-seaboard.dts | |
parent | b39a16b577cc11c7ab3fb67c8723c7ea057d96d4 (diff) |
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-seaboard.dts')
-rw-r--r-- | arch/arm/boot/dts/tegra20-seaboard.dts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/tegra20-seaboard.dts b/arch/arm/boot/dts/tegra20-seaboard.dts index c24d4a37613e..92d494b8c3d2 100644 --- a/arch/arm/boot/dts/tegra20-seaboard.dts +++ b/arch/arm/boot/dts/tegra20-seaboard.dts @@ -911,7 +911,7 @@ nvidia,audio-codec = <&wm8903>; nvidia,spkr-en-gpios = <&wm8903 2 GPIO_ACTIVE_HIGH>; - nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(X, 1) GPIO_ACTIVE_HIGH>; + nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(X, 1) GPIO_ACTIVE_LOW>; clocks = <&tegra_car TEGRA20_CLK_PLL_A>, <&tegra_car TEGRA20_CLK_PLL_A_OUT0>, |