Re: [PATCH 09/15] twl4030_charger: allow max_current to be managed via sysfs.

2015-03-07 Thread Sebastian Reichel
Hi, On Thu, Mar 05, 2015 at 05:26:00PM +1100, NeilBrown wrote: [...] +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

Re: [PATCH 09/15] twl4030_charger: allow max_current to be managed via sysfs.

2015-03-05 Thread Pavel Machek
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 +

Re: [PATCH 09/15] twl4030_charger: allow max_current to be managed via sysfs.

2015-03-04 Thread NeilBrown
On Mon, 2 Mar 2015 22:05:26 +0100 Pavel Machek pa...@ucw.cz wrote: On Tue 2015-02-24 15:33:52, NeilBrown wrote: 'max_current' sysfs attributes are created which allow the max to be set. Whenever a current source changes, the default is restored. This will be followed by a uevent, so

Re: [PATCH 09/15] twl4030_charger: allow max_current to be managed via sysfs.

2015-03-02 Thread Pavel Machek
On Tue 2015-02-24 15:33:52, NeilBrown wrote: 'max_current' sysfs attributes are created which allow the max to be set. Whenever a current source changes, the default is restored. This will be followed by a uevent, so user-space can decide to update again. Does this need Documentation update?