From: Paul Kocialkowski <contact@paulk.fr>
To: Thierry Reding <thierry.reding@gmail.com>
Cc: linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
Jon Hunter <jonathanh@nvidia.com>,
Stephen Warren <swarren@wwwdotorg.org>,
Alexandre Courbot <gnurou@gmail.com>,
Mikko Perttunen <cyndis@kapsi.fi>, Peter Rosin <peda@axentia.se>
Subject: Re: [PATCH v2 2/6] ARM: tegra: nyan: Use external control for bq24735 charger
Date: Wed, 25 Jan 2017 12:01:55 +0100 [thread overview]
Message-ID: <1485342115.1224.0.camel@paulk.fr> (raw)
In-Reply-To: <20170125105940.GC9344@ulmo.ba.sec>
[-- Attachment #1: Type: text/plain, Size: 1146 bytes --]
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@paulk.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/
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2017-01-25 11:01 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-22 15:47 [PATCH v2 1/6] ARM: tegra: nyan: Use proper IRQ type definitions Paul Kocialkowski
2017-01-22 15:47 ` [PATCH v2 3/6] ARM: tegra: nyan-big: Include compatible revisions for proper detection Paul Kocialkowski
[not found] ` <20170122154753.31942-3-contact-W9ppeneeCTY@public.gmane.org>
2017-01-25 11:02 ` Thierry Reding
[not found] ` <20170125110246.GD9344-EkSeR96xj6Pcmrwk2tT4+A@public.gmane.org>
2017-01-25 11:08 ` Paul Kocialkowski
[not found] ` <1485342488.1224.3.camel-W9ppeneeCTY@public.gmane.org>
2017-01-25 11:14 ` Thierry Reding
2017-01-25 11:19 ` Paul Kocialkowski
[not found] ` <20170122154753.31942-1-contact-W9ppeneeCTY@public.gmane.org>
2017-01-22 15:47 ` [PATCH v2 2/6] ARM: tegra: nyan: Use external control for bq24735 charger Paul Kocialkowski
[not found] ` <20170122154753.31942-2-contact-W9ppeneeCTY@public.gmane.org>
2017-01-25 10:59 ` Thierry Reding
2017-01-25 11:01 ` Paul Kocialkowski [this message]
2017-01-22 15:47 ` [PATCH v2 4/6] ARM: tegra: nyan-blaze: Include compatible revisions for proper detection Paul Kocialkowski
[not found] ` <20170122154753.31942-4-contact-W9ppeneeCTY@public.gmane.org>
2017-01-25 11:04 ` Thierry Reding
2017-01-25 10:58 ` [PATCH v2 1/6] ARM: tegra: nyan: Use proper IRQ type definitions Thierry Reding
2017-01-22 15:47 ` [PATCH v2 5/6] ARM: tegra: nyan-big: Proper pinmux for TPM i2c Paul Kocialkowski
2017-01-25 11:06 ` Thierry Reding
[not found] ` <20170125110644.GF9344-EkSeR96xj6Pcmrwk2tT4+A@public.gmane.org>
2017-01-25 11:10 ` Jon Hunter
2017-01-25 11:16 ` Thierry Reding
2017-01-22 15:47 ` [PATCH v2 6/6] ARM: tegra: nyan-blaze: " Paul Kocialkowski
[not found] ` <20170122154753.31942-6-contact-W9ppeneeCTY@public.gmane.org>
2017-01-25 11:09 ` Thierry Reding
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1485342115.1224.0.camel@paulk.fr \
--to=contact@paulk.fr \
--cc=cyndis@kapsi.fi \
--cc=devicetree@vger.kernel.org \
--cc=gnurou@gmail.com \
--cc=jonathanh@nvidia.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=peda@axentia.se \
--cc=swarren@wwwdotorg.org \
--cc=thierry.reding@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).