From patchwork Sat Dec 30 15:23:28 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Kocialkowski X-Patchwork-Id: 854113 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3z86pL6w0Rz9sRg for ; Sun, 31 Dec 2017 02:30:02 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751247AbdL3P37 (ORCPT ); Sat, 30 Dec 2017 10:29:59 -0500 Received: from gagarine.paulk.fr ([109.190.93.129]:57797 "EHLO gagarine.paulk.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751251AbdL3P3z (ORCPT ); Sat, 30 Dec 2017 10:29:55 -0500 Received: by gagarine.paulk.fr (Postfix, from userid 65534) id A9ACE21568; Sat, 30 Dec 2017 16:24:31 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on gagarine.paulk.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=KHOP_BIG_TO_CC autolearn=unavailable autolearn_force=no version=3.4.0 Received: from localhost.localdomain (collins [192.168.1.129]) by gagarine.paulk.fr (Postfix) with ESMTP id C868520B1D; Sat, 30 Dec 2017 16:24:00 +0100 (CET) From: Paul Kocialkowski To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@googlegroups.com Cc: Lee Jones , Rob Herring , Mark Rutland , Chen-Yu Tsai , Russell King , Maxime Ripard , Paul Kocialkowski Subject: [PATCH 1/3] dt-bindings: mfd: axp20x: Document backup battery charging property Date: Sat, 30 Dec 2017 16:23:28 +0100 Message-Id: <20171230152330.28946-2-contact@paulk.fr> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20171230152330.28946-1-contact@paulk.fr> References: <20171230152330.28946-1-contact@paulk.fr> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This adds documentation for the "backup" property of the axp20x driver, that controls the charging mechanism for the backup battery on axp20x. Signed-off-by: Paul Kocialkowski diff --git a/Documentation/devicetree/bindings/mfd/axp20x.txt b/Documentation/devicetree/bindings/mfd/axp20x.txt index 9455503b0299..382776b29932 100644 --- a/Documentation/devicetree/bindings/mfd/axp20x.txt +++ b/Documentation/devicetree/bindings/mfd/axp20x.txt @@ -58,6 +58,11 @@ Optional properties: See Documentation/devicetree/bindings/regulator/regulator.txt for more information on standard regulator bindings. +- backup: An array of two integers for backup battery charging (axp20x-only), + describing the charging voltage in mV first and the charging current + in uA second. Backup battery charging is only enabled when these two + fields are filled. + Optional properties for DCDC regulators: - x-powers,dcdc-workmode: 1 for PWM mode, 0 for AUTO (PWM/PFM) mode Default: Current hardware setting @@ -256,4 +261,6 @@ axp209: pmic@34 { /* unused but preferred to be managed by OS */ }; }; + + backup = <3000 200>; };