Message ID | 20191101190705.13393-4-jeff.dagenais@gmail.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
Series | [1/7] power: supply: sbs-battery: use octal permissions on module param | expand |
Hi, Kernel patches should always have a long description. -- Sebastian On Fri, Nov 01, 2019 at 03:07:02PM -0400, Jean-Francois Dagenais wrote: > Signed-off-by: Jean-Francois Dagenais <jeff.dagenais@gmail.com> > --- > .../devicetree/bindings/power/supply/sbs_sbs-battery.txt | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/Documentation/devicetree/bindings/power/supply/sbs_sbs-battery.txt b/Documentation/devicetree/bindings/power/supply/sbs_sbs-battery.txt > index 4e78e51018eb..62ec842325b4 100644 > --- a/Documentation/devicetree/bindings/power/supply/sbs_sbs-battery.txt > +++ b/Documentation/devicetree/bindings/power/supply/sbs_sbs-battery.txt > @@ -15,6 +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 : Same as the module param, makes the probe skip the > + detection of the battery and assume it is (or will be) present. > > Example: > > @@ -24,4 +26,5 @@ Example: > sbs,i2c-retry-count = <2>; > sbs,poll-retry-count = <10>; > sbs,battery-detect-gpios = <&gpio-controller 122 1>; > + sbs,force-load; > } > -- > 2.23.0 >
diff --git a/Documentation/devicetree/bindings/power/supply/sbs_sbs-battery.txt b/Documentation/devicetree/bindings/power/supply/sbs_sbs-battery.txt index 4e78e51018eb..62ec842325b4 100644 --- a/Documentation/devicetree/bindings/power/supply/sbs_sbs-battery.txt +++ b/Documentation/devicetree/bindings/power/supply/sbs_sbs-battery.txt @@ -15,6 +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 : Same as the module param, makes the probe skip the + detection of the battery and assume it is (or will be) present. Example: @@ -24,4 +26,5 @@ Example: sbs,i2c-retry-count = <2>; sbs,poll-retry-count = <10>; sbs,battery-detect-gpios = <&gpio-controller 122 1>; + sbs,force-load; }
Signed-off-by: Jean-Francois Dagenais <jeff.dagenais@gmail.com> --- .../devicetree/bindings/power/supply/sbs_sbs-battery.txt | 3 +++ 1 file changed, 3 insertions(+)