lkml.org 
[lkml]   [2015]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 09/15] twl4030_charger: allow max_current to be managed via sysfs.

> > Is this in uA or mA? uA. Ok.
>
> uA, now described in Documentation/ABI/testing/sysfs-class-power-twl4030
>
> +What: /sys/class/power_supply/twl4030_ac/max_current
> + /sys/class/power_supply/twl4030_usb/max_current
> +Description:
> + Read/Write limit on current which which may
> + be drawn from the ac (Accessory Charger) or
> + USB port.
> +
> + Value is in micro-Amps.
> +
> + Value is set automatically to an appropriate
> + value when a cable is plugged on unplugged.
> +
> + Value can the set by writing to the attribute.
> + The change will only persist until the next
> + plug event. These event are reported via udev.

Thanks!
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html


\
 
 \ /
  Last update: 2015-03-05 09:41    [W:2.019 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site