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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 21 May 2014 11:32:20 -0700
From:	"Mark A. Greer" <mgreer@...malcreek.com>
To:	Laurent Pinchart <laurent.pinchart@...asonboard.com>
Cc:	linux-kernel@...r.kernel.org,
	David Woodhouse <dwmw2@...radead.org>,
	Dmitry Eremin-Solenikov <dbaryshkov@...il.com>,
	Anton Vorontsov <anton@...msg.org>
Subject: Re: bq24190: What's the correct API to turn boost mode (OTG) on
 for the battery charger ?

On Wed, May 21, 2014 at 11:25:43AM -0700, Mark A. Greer wrote:
> On Fri, May 16, 2014 at 12:35:34AM +0200, Laurent Pinchart wrote:

> > On a side note, is there any reference userspace implementation of a battery 
> > manager ? The vendor BSP I've received with the board hardcodes calls to the 
> > bq24190 in the MUSB driver to switch between OTG and trickle charge modes 
> > based on USB cable connection/disconnection events. That's pretty ugly, and I 
> > assume this should be handled in userspace - or is there a standard kernel 
> > infrastructure for that ? 
> 
> I don't have a good feel for what's out there but the charger-manager may
> be a good place to start:
> 
> Documentation/power/charger-manager.txt
> drivers/power/charger-manager.c

And,

http://elinux.org/images/c/c6/Elce11_ham.pdf
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ