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/tegra30-cardhu.dtsi | |
parent | ARM: tegra: Add reg property to Tegra20 EMC table device-tree nodes (diff) | |
download | linux-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/tegra30-cardhu.dtsi')
-rw-r--r-- | arch/arm/boot/dts/tegra30-cardhu.dtsi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/tegra30-cardhu.dtsi b/arch/arm/boot/dts/tegra30-cardhu.dtsi index 2dff14b87f3e..d9dd11569d4b 100644 --- a/arch/arm/boot/dts/tegra30-cardhu.dtsi +++ b/arch/arm/boot/dts/tegra30-cardhu.dtsi @@ -630,7 +630,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 TEGRA30_CLK_PLL_A>, <&tegra_car TEGRA30_CLK_PLL_A_OUT0>, |