linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: contact@paulk.fr (Paul Kocialkowski)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/5] ARM: tegra: nyan: Use external control for bq24735 charger
Date: Sun, 22 Jan 2017 15:44:12 +0100	[thread overview]
Message-ID: <20170122144415.31208-2-contact@paulk.fr> (raw)
In-Reply-To: <20170122144415.31208-1-contact@paulk.fr>

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(+)

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 at b {
-- 
2.11.0

  reply	other threads:[~2017-01-22 14:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-22 14:44 [PATCH 1/5] ARM: tegra: nyan: Use proper IRQ type definitions Paul Kocialkowski
2017-01-22 14:44 ` Paul Kocialkowski [this message]
2017-01-22 14:44 ` [PATCH 3/5] ARM: tegra: nyan-big: Include compatible revisions for proper detection Paul Kocialkowski
2017-01-22 14:44 ` [PATCH 4/5] ARM: tegra: nyan-big: Proper pinmux for TPM i2c Paul Kocialkowski
2017-01-22 14:44 ` [PATCH 5/5] ARM: tegra: nyan-blaze: " Paul Kocialkowski

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=20170122144415.31208-2-contact@paulk.fr \
    --to=contact@paulk.fr \
    --cc=linux-arm-kernel@lists.infradead.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).