[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20161219221604.zkwxoodte4tp7u6q@rob-hp-laptop>
Date: Mon, 19 Dec 2016 16:16:04 -0600
From: Rob Herring <robh@...nel.org>
To: Peter Rosin <peda@...ntia.se>
Cc: linux-kernel@...r.kernel.org, Sebastian Reichel <sre@...nel.org>,
Mark Rutland <mark.rutland@....com>, linux-pm@...r.kernel.org,
devicetree@...r.kernel.org
Subject: Re: [PATCH v3] power: supply: bq24735-charger: optionally poll the
ac-detect gpio
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 <peda@...ntia.se>
> ---
>
> 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@...nel.org>
> drivers/power/supply/bq24735-charger.c | 49 +++++++++++++++++++---
> 2 files changed, 46 insertions(+), 5 deletions(-)
Powered by blists - more mailing lists