Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp10472195ybi; Wed, 24 Jul 2019 23:53:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqwTcNtHRu34+JYHQHUlgRc0Ofl/Yte2E077+a6ANYh3WvlMvCyos7OkfyfAun6XfFNpBHDZ X-Received: by 2002:a17:90a:372a:: with SMTP id u39mr91347922pjb.2.1564037596551; Wed, 24 Jul 2019 23:53:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564037596; cv=none; d=google.com; s=arc-20160816; b=uzgMeOY/nmbzW7RU7TjWKAM3ZJ8X83ON4Xilk3bDcTyiX5tW6Mo3cuLWHu5z8GZmTq o17DPNSMCpH0Q6H2DhFTlkU+miJ2xiJPslo5zQGbqtqAJVjepsTb1mdeGs3r/emMfuxc bhFhYhu7aY4HCIT1VIgJrm0YCqhER2V9bVPiP/A6plKFnexFByx1dUhlscnphRhFw4dH yfyokXZzF7ddkV4ipJXOuVTeQN8fPbcEB1JZQ9q+Jd5yYSd20wpGN27m0M3X3MQwpul0 c+iU030LwA74i+V4J+4WOo2f/EK9ooy4+FK1OgqBZFrgD3uECoUIFjgYkuaYvYKTJBEW eZGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:to:from; bh=h5PzagFxHXREoIMPffgc4w0kU8m1FZOkV7xV8mH0kEA=; b=sawljhKLjiuMWbl9w2gunhoMEDoqaY0Je5g5QHTdYzkhFTNJngz5VOusXL5uSFSQiX fkKySMUjBJOVGyg4oIlySgkadqcXI1CH53/2HRbQ2DFs/bho8WYAw+qWmG6WMZm1MT1J 5m3ADITu16UQDkgP4nJG84M1lrLpfuwreS/G+NKJDZdscDiziIa5/UgjVqNgn7TAslLO Y9YL5SA76fNlCewIFLclEIFmne76d49THwLOmZlgMTFlyaMj1GRTmj72q8wFG5pcH9KT y4YAwBS/6CV4yYOcd5prl/jxthmAdYeYdUpiVh1+zIS9BXK3Jy6CY0mDiBDvCDYKPlWR AiMg== 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 g7si14009068plp.171.2019.07.24.23.53.01; Wed, 24 Jul 2019 23:53:16 -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 S1728743AbfGYGuy (ORCPT + 99 others); Thu, 25 Jul 2019 02:50:54 -0400 Received: from icp-osb-irony-out1.external.iinet.net.au ([203.59.1.210]:59557 "EHLO icp-osb-irony-out1.external.iinet.net.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725808AbfGYGuy (ORCPT ); Thu, 25 Jul 2019 02:50:54 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2A9BwA9UDld/1/rO8tkghmDdhIXE40?= =?us-ascii?q?ZiBcBgkMBg1mFU5EZCQEBAQEBAQEBARscAQGEOgSDADcGDgEDAQEBBAEBAQE?= =?us-ascii?q?FAW2EZUWGJ3IHaRKDIoF3E64SiHaBSIE0hwmEboFAP4ERgmRshAMKG4VdIgS?= =?us-ascii?q?VN5U1CYEld5QSGZgLLYNoh0uBWJljIoFYTR8ZgyeCeY4aNTCLeIJSAQE?= X-IPAS-Result: =?us-ascii?q?A2A9BwA9UDld/1/rO8tkghmDdhIXE40ZiBcBgkMBg1mFU?= =?us-ascii?q?5EZCQEBAQEBAQEBARscAQGEOgSDADcGDgEDAQEBBAEBAQEFAW2EZUWGJ3IHa?= =?us-ascii?q?RKDIoF3E64SiHaBSIE0hwmEboFAP4ERgmRshAMKG4VdIgSVN5U1CYEld5QSG?= =?us-ascii?q?ZgLLYNoh0uBWJljIoFYTR8ZgyeCeY4aNTCLeIJSAQE?= X-IronPort-AV: E=Sophos;i="5.64,305,1559491200"; d="scan'208";a="228527497" 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; 25 Jul 2019 14:50:49 +0800 From: Richard Tresidder To: sre@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, rtresidd@electromag.com.au, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/1] dt-bindings: power/supply/sbs_sbs-battery: Addition of force_load binding Add device tree binding documentation for addition of force_load boolean value to allow loading a battery during boot even if not present at that time. Date: Thu, 25 Jul 2019 14:50:45 +0800 Message-Id: <1564037445-22936-1-git-send-email-rtresidd@electromag.com.au> X-Mailer: git-send-email 1.8.3.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Richard Tresidder --- Notes: Add device tree binding documentation for addition of force_load boolean value to allow loading a battery during boot even if not present at that time. Accompanying patch to drivers/power/supply/sbs-battery.c submitted to linux-pm@vger.kernel.org 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