From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751780AbdAVPuB (ORCPT ); Sun, 22 Jan 2017 10:50:01 -0500 Received: from gagarine.paulk.fr ([109.190.93.129]:57943 "EHLO gagarine.paulk.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751655AbdAVPtt (ORCPT ); Sun, 22 Jan 2017 10:49:49 -0500 From: Paul Kocialkowski To: linux-tegra@vger.kernel.org Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Jon Hunter , Stephen Warren , Thierry Reding , Alexandre Courbot , Mikko Perttunen , Peter Rosin , Paul Kocialkowski Subject: [PATCH v2 2/6] ARM: tegra: nyan: Use external control for bq24735 charger Date: Sun, 22 Jan 2017 16:47:49 +0100 Message-Id: <20170122154753.31942-2-contact@paulk.fr> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170122154753.31942-1-contact@paulk.fr> References: <20170122154753.31942-1-contact@paulk.fr> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.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 --- 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