Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp4588805ybi; Tue, 30 Jul 2019 04:46:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqwww9HZcB6k5sFleoWg69A+Sgeu2AUfRbl4YQXC4w1plYjwzK2VDwhmF2C9fuX+y4eYGJzc X-Received: by 2002:a17:90b:94:: with SMTP id bb20mr118588086pjb.16.1564487217643; Tue, 30 Jul 2019 04:46:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564487217; cv=none; d=google.com; s=arc-20160816; b=R/SXHyGah8j38RlCh4g8tYOuzioJHtClBMq8dOjWFmi9LEI+qFMbC1UBNIwumL6cMf GE/6NMI9F8E0N7qxqIwcohtJYk4da+RGGn3+3M8eFYtBX6DN36S72XgiQB3VYep9fWyU D7pIAIJGnKF/j1nVC8XDsBfZp9hHf0ecxQk7Yq1ktXBiTRzsODYXBoFOg2/La0QKXKnC cNGNqbEZXxfzhijrd9vuAu3U18GlyqIKqhiFZAiDBPAaWfnnzrOWTw01bxQ3BKVys3EI I+Vme/lR47hRUZ0l4tgMCyT1OxuPbrmlvT3Pg4UDreh3buJ2roujnKjmk3WDfHwle8vz ZMtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:to:from; bh=+JZgLOwxzBIEY0tdcjg+O4QQfe1teJsw6jmtVbIFEbw=; b=w5/cddIDw5VfOq/PbMQYOtPNqLqqYUwV0f4mkxnFk30iRlNlgShCLFIbtvvucTjD/4 MoU6kcN7nrFYD+22EUnKr/7Dlop/2VzJIPTdIfJEJ/Tt60/pvx3YM1mpT2GiZLAqkTij f+PxWQw5gEZ/uemYbMHrdw6TGwdx2R3O0iGc3plEtRKSbYTFGtboy5nIzDDRK8xHyBYi NGbNx9fj+rFGwTtE0H0JWRDQXUchETONO/Eoh15/wst8rL1Xjcv62oG9vZy8UpSXERKK ehojkAJkMOa+o2cmtmo6qvSdkJYpFFivu8gnpq0XJ6tPeIFWF3mghysdTeJ+36PLHEnF 3s+A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v45si28132845pgn.10.2019.07.30.04.46.42; Tue, 30 Jul 2019 04:46:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729781AbfG3KKL (ORCPT + 99 others); Tue, 30 Jul 2019 06:10:11 -0400 Received: from icp-osb-irony-out1.external.iinet.net.au ([203.59.1.210]:44712 "EHLO icp-osb-irony-out1.external.iinet.net.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727360AbfG3KKJ (ORCPT ); Tue, 30 Jul 2019 06:10:09 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2BcBwDsFkBd/1/rO8tmHgEfBgeBTgK?= =?us-ascii?q?DUwwVEhcTjRqIHQGCQwGJLJEbCQEBAQEBAQEBARscAQGEOgQCAoJkNwYOAQM?= =?us-ascii?q?BAQEEAQEBAQUBbYRlRYVLBlYzPxJXBxKDIoF3E64KhAYBhHKBSIE0hwmEboF?= =?us-ascii?q?AP4ERg1CEAwobhV0iBJU6lUMJgSV3lBgZmBEtizeBWZloIoFYTR8ZgyeQT0Q?= =?us-ascii?q?1MIt0glIBAQ?= X-IPAS-Result: =?us-ascii?q?A2BcBwDsFkBd/1/rO8tmHgEfBgeBTgKDUwwVEhcTjRqIH?= =?us-ascii?q?QGCQwGJLJEbCQEBAQEBAQEBARscAQGEOgQCAoJkNwYOAQMBAQEEAQEBAQUBb?= =?us-ascii?q?YRlRYVLBlYzPxJXBxKDIoF3E64KhAYBhHKBSIE0hwmEboFAP4ERg1CEAwobh?= =?us-ascii?q?V0iBJU6lUMJgSV3lBgZmBEtizeBWZloIoFYTR8ZgyeQT0Q1MIt0glIBAQ?= X-IronPort-AV: E=Sophos;i="5.64,326,1559491200"; d="scan'208";a="229598849" Received: from 203-59-235-95.perm.iinet.net.au (HELO rtcentos7.electromag.com.au) ([203.59.235.95]) by icp-osb-irony-out1.iinet.net.au with ESMTP; 30 Jul 2019 18:10:06 +0800 From: Richard Tresidder To: sre@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, rtresidd@electromag.com.au, kstewart@linuxfoundation.org, gregkh@linuxfoundation.org, tglx@linutronix.de, rfontana@redhat.com, allison@lohutok.net, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [RESEND v2 1/2] dt-binding docs: sbs_sbs-battery: Addition of force_load binding Date: Tue, 30 Jul 2019 18:10:03 +0800 Message-Id: <1564481404-39505-2-git-send-email-rtresidd@electromag.com.au> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1564481404-39505-1-git-send-email-rtresidd@electromag.com.au> References: <1564481404-39505-1-git-send-email-rtresidd@electromag.com.au> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add device tree binding documentation for addition of force_load boolean value to allow loading a battery during boot even if notpresent at that time. Signed-off-by: Richard Tresidder --- Documentation/devicetree/bindings/power/supply/sbs_sbs-battery.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/power/supply/sbs_sbs-battery.txt b/Documentation/devicetree/bindings/power/supply/sbs_sbs-battery.txt index 4e78e51..187d7bb 100644 --- a/Documentation/devicetree/bindings/power/supply/sbs_sbs-battery.txt +++ b/Documentation/devicetree/bindings/power/supply/sbs_sbs-battery.txt @@ -15,7 +15,8 @@ Optional properties : after an external change notification. - sbs,battery-detect-gpios : The gpio which signals battery detection and a flag specifying its polarity. - + - sbs,force-load : Allow loading of a hot-pluggable battery when there is no + GPIO detect available and the module is statically built. Example: battery@b { @@ -24,4 +25,5 @@ Example: sbs,i2c-retry-count = <2>; sbs,poll-retry-count = <10>; sbs,battery-detect-gpios = <&gpio-controller 122 1>; + sbs,force-load; } -- 1.8.3.1