diff options
author | Peter Rosin <peda@axentia.se> | 2016-12-15 10:28:46 +0100 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2017-01-04 21:59:23 +0100 |
commit | bf383fea1fdde944839c8aca6a19d338feea715b (patch) | |
tree | 1fc89eb7a9788ea8f96fd739c0dfaa875a3380ec /Documentation/devicetree/bindings/power/supply | |
parent | power: supply: axp288_fuel_gauge: Read 12 bit values 2 registers at a time (diff) | |
download | linux-bf383fea1fdde944839c8aca6a19d338feea715b.tar.xz linux-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/supply')
-rw-r--r-- | Documentation/devicetree/bindings/power/supply/ti,bq24735.txt | 2 |
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: |