[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1485342115.1224.0.camel@paulk.fr>
Date: Wed, 25 Jan 2017 12:01:55 +0100
From: Paul Kocialkowski <contact@...lk.fr>
To: Thierry Reding <thierry.reding@...il.com>
Cc: linux-tegra@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, devicetree@...r.kernel.org,
Jon Hunter <jonathanh@...dia.com>,
Stephen Warren <swarren@...dotorg.org>,
Alexandre Courbot <gnurou@...il.com>,
Mikko Perttunen <cyndis@...si.fi>,
Peter Rosin <peda@...ntia.se>
Subject: Re: [PATCH v2 2/6] ARM: tegra: nyan: Use external control for
bq24735 charger
Le mercredi 25 janvier 2017 à 11:59 +0100, Thierry Reding a écrit :
> On Sun, Jan 22, 2017 at 04:47:49PM +0100, Paul Kocialkowski wrote:
> > Nyan boards come with an embedded controller that controls when to
> > enable and disable the charge. Thus, it should not be left up to the
> > kernel to handle that.
> >
> > Using the ti,external-control property allows specifying this use-case.
> >
> > Signed-off-by: Paul Kocialkowski <contact@...lk.fr>
> > ---
> > arch/arm/boot/dts/tegra124-nyan.dtsi | 1 +
> > 1 file changed, 1 insertion(+)
>
> Is the ti,ac-detect-gpios property still useful in that case? I guess it
> would still allow to monitor whether or not a charger is connected, even
> if the EC determines that it shouldn't charge.
Yes, this is mostly what the bq24735 is used for in nyan devices: reporting
connection and disconnection events.
> Anyway, I've applied this.
Thanks!
--
Paul Kocialkowski, developer of free digital technology at the lower levels
Website: https://www.paulk.fr/
Coding blog: https://code.paulk.fr/
Git repositories: https://git.paulk.fr/ https://git.code.paulk.fr/
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists