devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Paul Kocialkowski <contact-W9ppeneeCTY@public.gmane.org>
To: linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Jon Hunter <jonathanh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>,
	Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>,
	Thierry Reding
	<thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	Alexandre Courbot
	<gnurou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	Mikko Perttunen <cyndis-/1wQRMveznE@public.gmane.org>,
	Peter Rosin <peda-koto5C5qi+TLoDKTGw+V6w@public.gmane.org>,
	Paul Kocialkowski <contact-W9ppeneeCTY@public.gmane.org>
Subject: [PATCH v2 2/6] ARM: tegra: nyan: Use external control for bq24735 charger
Date: Sun, 22 Jan 2017 16:47:49 +0100	[thread overview]
Message-ID: <20170122154753.31942-2-contact@paulk.fr> (raw)
In-Reply-To: <20170122154753.31942-1-contact-W9ppeneeCTY@public.gmane.org>

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-W9ppeneeCTY@public.gmane.org>
---
 arch/arm/boot/dts/tegra124-nyan.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/tegra124-nyan.dtsi b/arch/arm/boot/dts/tegra124-nyan.dtsi
index ef430aa30152..5cf987b5401e 100644
--- a/arch/arm/boot/dts/tegra124-nyan.dtsi
+++ b/arch/arm/boot/dts/tegra124-nyan.dtsi
@@ -335,6 +335,7 @@
 					ti,ac-detect-gpios = <&gpio
 							TEGRA_GPIO(J, 0)
 							GPIO_ACTIVE_HIGH>;
+					ti,external-control;
 				};
 
 				battery: sbs-battery@b {
-- 
2.11.0

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2017-01-22 15:47 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
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
     [not found] ` <20170122154753.31942-1-contact-W9ppeneeCTY@public.gmane.org>
2017-01-22 15:47   ` Paul Kocialkowski [this message]
     [not found]     ` <20170122154753.31942-2-contact-W9ppeneeCTY@public.gmane.org>
2017-01-25 10:59       ` [PATCH v2 2/6] ARM: tegra: nyan: Use external control for bq24735 charger Thierry Reding
2017-01-25 11:01         ` Paul Kocialkowski
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

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=20170122154753.31942-2-contact@paulk.fr \
    --to=contact-w9ppeneecty@public.gmane.org \
    --cc=cyndis-/1wQRMveznE@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=gnurou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=jonathanh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
    --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=peda-koto5C5qi+TLoDKTGw+V6w@public.gmane.org \
    --cc=swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org \
    --cc=thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    /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).