Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1391687ybl; Fri, 16 Aug 2019 14:15:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqw0a3O7s66tuhan5/EYTcRTVZXCPUjQoJhhAVexRvq/Sd7StnppPk34QBj0sbkz/aDhu3F0 X-Received: by 2002:a63:2a41:: with SMTP id q62mr3176073pgq.444.1565990123562; Fri, 16 Aug 2019 14:15:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565990123; cv=none; d=google.com; s=arc-20160816; b=wv5PMlGRvAAxD2Np33fxDmud/Ufo/1pU073q/hM+DCEoLmX20EAlf1vGxDH7P0BWXu V+F/s7y4W8dZAB2W08CemMT6WYsqvoRghi2j7MMvQyyEdsaYL+O2BvZ5FmXqSYjIOEiC dzOAVEbXYFLxvcVRudVOFyTi1XuDEZEVx+IYVmqHndlsJGaCuXgOPTIihu/PuMPnVg1A piEFAFXLx0n88PGLDArpJDOwiLXUuag2u3J47/ROQXyfuRxqGBF48BHCIoGlDa5HF5qe 28ChPsZPcqHR3+r0KaqsLVY11Gl166ritaWzfJwNG+9g1+slqkjJ2UwMrgsCGtWynOAl l6BA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=4gRR6HvBg6u5veUlkvaSp6+HCcvQCdmIeBVhPgvLg/I=; b=sE0tdcg33GkxkHwinScIrZQPPFIv7jGpLdXha1QaOhPlpMuA3ih7Jj79x72NB6y034 3bn94u/MfGkKO02sxjgFsfnye7pYXmYM5/QvgrHJF7rFbKYLV6Fd0G7rRADudNOK8dva B+asgqxGa3S0bnB8hqsEn496oZWIt2xeFwgwf7h67Y5LQeAF2W0CmfK21sR3zsFGdLG4 cgpjG7J51xRc/CVrWZ8gxf0+8E4scOxXI+0rPgM3NSDBJXRUVQNFpk8uD+609HSgv1Vx vPcXWw2DP69j0JQD2sCyX7zvQB8akAoqyHd59XquB5GYPBBAQLZaD1mSjA5hfcit1rlV iiOg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v14si3668509pjb.82.2019.08.16.14.15.07; Fri, 16 Aug 2019 14:15:23 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727784AbfHPVOd (ORCPT + 99 others); Fri, 16 Aug 2019 17:14:33 -0400 Received: from mail-oi1-f194.google.com ([209.85.167.194]:40761 "EHLO mail-oi1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727649AbfHPVOd (ORCPT ); Fri, 16 Aug 2019 17:14:33 -0400 Received: by mail-oi1-f194.google.com with SMTP id h21so5794998oie.7; Fri, 16 Aug 2019 14:14:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=4gRR6HvBg6u5veUlkvaSp6+HCcvQCdmIeBVhPgvLg/I=; b=NLghpoLPSElcRSsklqLLctbkIfqC6ZkjLvrSvw60ruskZmUsNtHJ551HeTCg1Pw785 UgBb81J34MpcvYUj/YyXgh5X16p9EM+FUvkIh2aPBjOLePmGDHFQfUHAnY6Jia0t627B rjoa/ARNU/U7/0oXkDjPLSz6UrILJQfVZAl9e3nY9olUbwKFSpb0xVoEHDTRQ0yNkpaZ tX9tcTrIOUQVsco6qsakLyEGJpWtyDacswN9pqFvK2WLpG/9VjYZClX9UDnCCuv/I5uZ LIpNJosHsZqJ+1MN3wbyPqZreezLeCddfyuSCAn8ROlyLzOPGzF6X4NNiXW1IWOvM/Ti GO2g== X-Gm-Message-State: APjAAAWNgVR7c97BLfUmy8rs+tWBtpiw7S5iAee+EwfNZxRe1jYBsRzz zTsqzC4g4M0smm78sj4WKNMv57M= X-Received: by 2002:a05:6808:903:: with SMTP id w3mr5765893oih.119.1565990071859; Fri, 16 Aug 2019 14:14:31 -0700 (PDT) Received: from localhost (ip-173-126-47-137.ftwttx.spcsdns.net. [173.126.47.137]) by smtp.gmail.com with ESMTPSA id c11sm1095758otr.54.2019.08.16.14.14.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Aug 2019 14:14:31 -0700 (PDT) Date: Fri, 16 Aug 2019 16:14:30 -0500 From: Rob Herring To: Richard Tresidder Cc: sre@kernel.org, mark.rutland@arm.com, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [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. Message-ID: <20190816211430.GA8175@bogus> References: <1564037445-22936-1-git-send-email-rtresidd@electromag.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1564037445-22936-1-git-send-email-rtresidd@electromag.com.au> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 25, 2019 at 02:50:45PM +0800, Richard Tresidder wrote: > 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. What's a module? That's Linux specific and nothing to do with the binding. Can't you just force load if sbs,battery-detect-gpios is not present? Rob