dt-bindings: power: supply: bq24735: reverse the polarity of ac-detect
authorPeter Rosin <peda@axentia.se>
Fri, 16 Dec 2016 09:44:00 +0000 (10:44 +0100)
committerSebastian Reichel <sre@kernel.org>
Wed, 4 Jan 2017 20:58:53 +0000 (21:58 +0100)
commit94c7073fe32a3254ac6bd3d194aa5ea230fed5c4
treeadc27fa8faf69618a215cdcd7c90f61e7618550e
parentd0ddcba9e9dea9b5d43782da096489b15ffca99f
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: Peter Rosin <peda@axentia.se>
Acked-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Documentation/devicetree/bindings/power/supply/ti,bq24735.txt