summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/power/supply/ti,bq24735.txt
Commit message (Collapse)AuthorAgeFilesLines
* power: supply: bq24735: allow polling even if there is no ac-detect gpioPeter Rosin2017-01-041-2/+2
| | | | | | | | | It is possible to verify AC adapter presence via a register read, without any physical connection to the ACOK pin on the charger. Allow this. Signed-off-by: Peter Rosin <peda@axentia.se> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Sebastian Reichel <sre@kernel.org>
* power: supply: bq24735-charger: optionally poll the ac-detect gpioPeter Rosin2017-01-041-0/+2
| | | | | | | | | If the ac-detect gpio does not support interrupts, provide a fallback to poll the gpio at a configurable interval. Signed-off-by: Peter Rosin <peda@axentia.se> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Sebastian Reichel <sre@kernel.org>
* dt-bindings: power: supply: bq24735: reverse the polarity of ac-detectPeter Rosin2017-01-041-2/+4
| | | | | | | | | | | | | | 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>
* power/supply: unify DT documentationSebastian Reichel2016-08-111-0/+35
Currently the power supply device tree documentation is spread in .../bindings/power_supply and .../bindings/power. This unifies the files for chargers and battery fuel gauges in .../bindings/power/supply and the ones for system reset/shutdown in .../bindings/power/reset (same structure as used for the drivers itself). Signed-off-by: Sebastian Reichel <sre@kernel.org>
OpenPOWER on IntegriCloud