ARM: tegra: nyan: Use external control for bq24735 charger
authorPaul Kocialkowski <contact@paulk.fr>
Sun, 22 Jan 2017 15:47:49 +0000 (16:47 +0100)
committerThierry Reding <treding@nvidia.com>
Wed, 25 Jan 2017 10:58:47 +0000 (11:58 +0100)
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>
arch/arm/boot/dts/tegra124-nyan.dtsi

index ef430aa30152c82a73a2f27832479aedf58b5295..5cf987b5401eb6f45601ea37a3c3c591fd67a486 100644 (file)
                                        ti,ac-detect-gpios = <&gpio
                                                        TEGRA_GPIO(J, 0)
                                                        GPIO_ACTIVE_HIGH>;
+                                       ti,external-control;
                                };
 
                                battery: sbs-battery@b {