summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2017-01-22 16:47:49 +0100
committerThierry Reding <treding@nvidia.com>2017-01-25 11:58:47 +0100
commit5fc01a9909273f5b9b6f01e96e1eded4adebd953 (patch)
treed5816708b4394ea7d25f88b97a09bd19d3b2630b
parent38333641b6dd0b7e3538d515cf7e4a0e25075065 (diff)
downloadlinux-5fc01a9909273f5b9b6f01e96e1eded4adebd953.tar.gz
linux-5fc01a9909273f5b9b6f01e96e1eded4adebd953.tar.bz2
linux-5fc01a9909273f5b9b6f01e96e1eded4adebd953.zip
ARM: tegra: nyan: Use external control for bq24735 charger
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> Signed-off-by: Thierry Reding <treding@nvidia.com>
-rw-r--r--arch/arm/boot/dts/tegra124-nyan.dtsi1
1 files changed, 1 insertions, 0 deletions
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 {