[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150305081751.GA9093@amd>
Date: Thu, 5 Mar 2015 09:17:51 +0100
From: Pavel Machek <pavel@....cz>
To: NeilBrown <neilb@...e.de>
Cc: Samuel Ortiz <sameo@...ux.intel.com>,
Tony Lindgren <tony@...mide.com>,
Lee Jones <lee.jones@...aro.org>,
Sebastian Reichel <sre@...nel.org>,
Dmitry Eremin-Solenikov <dbaryshkov@...il.com>,
David Woodhouse <dwmw2@...radead.org>,
GTA04 owners <gta04-owner@...delico.com>,
linux-omap@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-pm@...r.kernel.org
Subject: Re: [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
--
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