Skip to content
Commit 94c7073f authored by Peter Rosin's avatar Peter Rosin Committed by Sebastian Reichel
Browse files

dt-bindings: power: supply: bq24735: reverse the polarity of ac-detect



The ACOK pin on the bq24735 is active-high, of course meaning that when
AC is OK the pin is high. However, all Tegra dts files have incorrectly
specified active-high even though the signal is inverted on the Tegra
boards. This has worked since the Linux driver has also inverted the
meaning of the GPIO. Fix this situation by simply specifying in the
bindings what everybody else agrees on; that the ti,ac-detect-gpios is
active on AC adapter absence.

Signed-off-by: default avatarPeter Rosin <peda@axentia.se>
Acked-by: default avatarJon Hunter <jonathanh@nvidia.com>
Signed-off-by: default avatarSebastian Reichel <sre@kernel.org>
parent d0ddcba9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment