Thread (15 messages) 15 messages, 4 authors, 2017-01-09

Re: [PATCH v3] power: supply: bq24735-charger: optionally poll the ac-detect gpio

From: Rob Herring <robh@kernel.org>
Date: 2016-12-19 22:16:09
Also in: linux-pm, lkml

On Thu, Dec 15, 2016 at 10:28:46AM +0100, Peter Rosin wrote:
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 <redacted>
---

v2 -> v3 changes:
- use device_property_read_u32 instead of of_property_read_u32

v1 -> v2 changes:
- use poll-interval instead of ti,poll-interval-ms in the bindings

Cheers,
peda

 .../bindings/power/supply/ti,bq24735.txt           |  2 +
Acked-by: Rob Herring <robh@kernel.org>
 drivers/power/supply/bq24735-charger.c             | 49 +++++++++++++++++++---
 2 files changed, 46 insertions(+), 5 deletions(-)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help