lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170910204822.GA14100@xo-6d-61-c0.localdomain>
Date:   Sun, 10 Sep 2017 22:50:26 +0200
From:   Pavel Machek <pavel@....cz>
To:     Liam Breck <liam@...workimprov.net>
Cc:     "H. Nikolaus Schaller" <hns@...delico.com>,
        Sebastian Reichel <sre@...nel.org>,
        LKML <linux-kernel@...r.kernel.org>,
        Discussions about the Letux Kernel 
        <letux-kernel@...nphoenux.org>, kernel@...a-handheld.com
Subject: Re: dt-bindings: power: supply: bq27xxx: Add monitored-battery
 documentation

Hi!

> > Values match the 6000mAh specified by DT:
> >
> >         bat: battery {
> >                 compatible = "simple-battery", "pyra-battery";
> >                 voltage-min-design-microvolt = <3200000>;
> >                 energy-full-design-microwatt-hours = <22200000>;
> >                 charge-full-design-microamp-hours = <6000000>;
> >         };
> >
> > root@...ux:~# cat /sys/class/power_supply/bq27421-0/uevent
> > POWER_SUPPLY_NAME=bq27421-0
> > POWER_SUPPLY_STATUS=Discharging
> > POWER_SUPPLY_PRESENT=1
> > POWER_SUPPLY_VOLTAGE_NOW=3943000
> > POWER_SUPPLY_CURRENT_NOW=-634000
> > POWER_SUPPLY_CAPACITY=82
> > POWER_SUPPLY_CAPACITY_LEVEL=Normal
> > POWER_SUPPLY_TEMP=319
> > POWER_SUPPLY_TECHNOLOGY=Li-ion
> > POWER_SUPPLY_CHARGE_FULL=5467000
> > POWER_SUPPLY_CHARGE_NOW=4611000
> > POWER_SUPPLY_CHARGE_FULL_DESIGN=6000000
> > POWER_SUPPLY_MANUFACTURER=Texas Instruments
> > root@...ux:~#
> >
> > Anything else I should test?
> 
> Could you also test voltage-min-design-microvolt at 3177 to make sure
> that's configurable too?

That should be 3177000 microvolts, no?
									Pavel

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ