Re: [PATCH v2 09/13] power: bq24257: Allow input current limit sysfs access

2015-09-10 Thread Laurentiu Palcu
On Tue, Sep 08, 2015 at 07:12:33PM -0500, Andreas Dannenberg wrote: > This patch allows reading (and writing, if the D+/D- USB signal-based > charger type detection is disabled) of the input current limit through > the POWER_SUPPLY_PROP_INPUT_CURRENT_LIMIT sysfs property. This allows > userspace to

[PATCH v2 09/13] power: bq24257: Allow input current limit sysfs access

2015-09-08 Thread Andreas Dannenberg
This patch allows reading (and writing, if the D+/D- USB signal-based charger type detection is disabled) of the input current limit through the POWER_SUPPLY_PROP_INPUT_CURRENT_LIMIT sysfs property. This allows userspace to see what charger was detected and to re-configure the maximum current drawn