aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/power
diff options
context:
space:
mode:
authorPeter Rosin <peda@axentia.se>2016-12-15 10:28:46 +0100
committerSebastian Reichel <sre@kernel.org>2017-01-04 21:59:23 +0100
commitbf383fea1fdde944839c8aca6a19d338feea715b (patch)
tree1fc89eb7a9788ea8f96fd739c0dfaa875a3380ec /Documentation/devicetree/bindings/power
parentpower: supply: axp288_fuel_gauge: Read 12 bit values 2 registers at a time (diff)
downloadlinux-dev-bf383fea1fdde944839c8aca6a19d338feea715b.tar.xz
linux-dev-bf383fea1fdde944839c8aca6a19d338feea715b.zip
power: supply: bq24735-charger: optionally poll the ac-detect gpio
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>
Diffstat (limited to 'Documentation/devicetree/bindings/power')
-rw-r--r--Documentation/devicetree/bindings/power/supply/ti,bq24735.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/power/supply/ti,bq24735.txt b/Documentation/devicetree/bindings/power/supply/ti,bq24735.txt
index c95e16e2dc56..efc2c6a78661 100644
--- a/Documentation/devicetree/bindings/power/supply/ti,bq24735.txt
+++ b/Documentation/devicetree/bindings/power/supply/ti,bq24735.txt
@@ -27,6 +27,8 @@ Optional properties :
- ti,external-control : Indicates that the charger is configured externally
and that the host should not attempt to enable/disable charging or set the
charge voltage/current.
+ - poll-interval : In case 'interrupts' is not specified, poll AC presence
+ on the ti,ac-detect-gpios GPIO with this interval (milliseconds).
Example: