On Sat, Feb 04, 2017 at 01:15:58AM -0800, Liam Breck wrote: > From: Matt Ranostay <matt@ranostay.consulting> > > From: Matt Ranostay <matt@ranostay.consulting> > > Document monitored-battery = <&battery_node> > > Cc: Rob Herring <robh@xxxxxxxxxx> > Cc: devicetree@xxxxxxxxxxxxxxx > Signed-off-by: Matt Ranostay <matt@ranostay.consulting> > Signed-off-by: Liam Breck <kernel@xxxxxxxxxxxxxxxxx> > --- > Documentation/devicetree/bindings/power/supply/bq27xxx.txt | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/Documentation/devicetree/bindings/power/supply/bq27xxx.txt b/Documentation/devicetree/bindings/power/supply/bq27xxx.txt > index b0c95ef..f799181 100644 > --- a/Documentation/devicetree/bindings/power/supply/bq27xxx.txt > +++ b/Documentation/devicetree/bindings/power/supply/bq27xxx.txt > @@ -28,9 +28,18 @@ Required properties: > * "ti,bq27621" - BQ27621 > - reg: integer, i2c address of the device. > > +Optional properties: > +- monitored-battery: phandle of battery information devicetree node > + > + See Documentation/devicetree/bindings/power/supply/battery.txt > + If either of the referenced battery's *-full-design-*-hours properties are set, > + then both must be. > + > Example: > > bq27510g3 { charger@55 Or fuel-gauge@..., I can't tell. > compatible = "ti,bq27510g3"; > reg = <0x55>; > + > + monitored-battery = <&bat>; > }; > -- > 2.9.3 > -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html